body {margin: 60px;																			/* Propriétés correspondantes à la balise structurante de "body" */
	margin-top: 30px;																		/* Margin et margin-top, sert à séparer les éléments les uns par rapport au autres */
	margin-bottom: 4%;																	/* Border : bordure de couleur gris et de taille 1 px */
border: gray 1px;																			/* Background est une propriétés qui permet de définir less différentes valeurs des propriétés liées aux arrières plans 																			(l'image de fond, répétition, couleur, l'attachement) */
background-image:url("bas.jpg") ;
background-repeat: no-repeat;
background-size: 100% ;
background-position: bottom; 
}

header{																						/* Propriétés correspondantes à la balise structurante "header" */
text-align: center;																			/* L'alignement du texte */
color:gray;																				/* Couleur du texte */
font-size: 100%;														                            /* border-radius: permet de définir des coins arrondis pour la bordure d'un élément afin de mettre du relief */																		
clear:both;																					/* clear permet le placement des éléments les uns par rapports aux autres */
height: 15%;}																				/* height correspond à la hauteur de l'élément */




.styled {
  border: 0;
  font-size: 50%; 
position: absolute;
    line-height: 1.5;
 width: 3%;
 margin-bottom:0.2%; 
color:rgba(255, 255, 255,1);
  border-radius: 10px;
  background-color: rgba(127, 0, 0, 1);
  box-shadow:
 inset -2px -2px 3px rgba(0, 0, 0, 0.6),
    inset 2px 2px 3px rgba(255, 255, 255, 0.6);
}

.styled:hover {
color:rgba(127, 0, 0, 1);
 background-color: rgba(255, 255, 255,1);
 background-image: none;
   text-shadow: none;
  box-shadow:
 inset -2px -2px 3px rgba(0, 0, 0, 0.6),
    inset 2px 2px 3px rgba(255, 255, 255, 0.6);
}

.styled:active {
color:rgba(127, 0, 0, 1);
 background-color: rgba(255, 255, 255,1);
 background-image: none;
   text-shadow: none;
  box-shadow:
 inset -2px -2px 3px rgba(255, 255, 255, 0.6),
    inset 2px 2px 3px rgba(0, 0, 0, 0.6);
}


a:link{color:rgb(127,0,0);	
 text-decoration: none;
}				
		
 a:visited {
      color: rgb(127,0,0);
	  text-decoration: none;
      }
	  
	  
a:hover {
      color: black;
	   text-decoration: none;
      }

	
h1 {font-size: 250%;																		/* Propriétés correspondantes aux "h2" */
	padding: 10px;
	padding-left: 5px;
	}


h2 {font-size: 100%;																		/* Propriétés correspondantes aux "h2" */
	border : gray solid 3px;
	padding: 10px;
	padding-left: 5px;
	}

h3 {text-align: center;																		/* Propriétés correspondantes aux "h3" */
	font-size: 50%;
	font-style: italic;
    text-shadow: 2px 2px 4px black;
	color:white;
	background-color:rgb(143,143,143); 
	border : gray solid 3px;
	padding: 10px;
	font-size: 150%;
	border-radius: 10px;
	margin-left: 10%;
	margin-right: 10%}

section {margin-left: 2%;																	/* Propriétés correspondantes à la balise structurante "section" */
		margin-right: 2%;
		margin-bottom: 2%;}


}
p{text-align: center;}	


header td ul {																					/* Propriétés correspondantes aux li qui sont eux même dans des li (listes imbriqués), dans la balise structurantes "nav" */
	display:none;																			/* display: permet de gérer différents types de boîte, la valeur none qui permet de ne pas afficher un élément */
	}
header td:hover ul {
	display:list-item;
	}
																	/* Propriétés correspondantes aux paragraphes */

.tableau{text-align: center;	
	font-size:100%;																					/* Propriétés correspondantes aux "td" (les tableaux) */
	width:20%
}

.tableau2{text-align: center;																						/* Propriétés correspondantes aux "td" (les tableaux) */
	
}

.blanc{color:white;	
}

.paragraphe {color:white; 																	/* Propriétés correspondantes aux class nommées "paragraphe" */
	text-shadow: 2px 2px 4px black; 
	font-size:120%;
	float:left; 
	margin-left:10%; 
	background-color:rgb(143,143,143); 
	padding:3%;
	border : gray solid 3px;}

.paragraphe2 {																				/* Propriétés correspondantes aux class nommées "paragraphe2" */
	color:white; 
	text-shadow: 2px 2px 4px black; 
	font-size:120%;
	margin:3%; 
	margin-right: 20%;
	background-color:rgb(143,143,143); 
	padding:2%;
	border : gray solid 3px;
	width: 40%;
	float: left;}


.paragraphe3 {color:white; 																	/* Propriétés correspondantes aux class nommées "paragraphe3" */
	text-shadow: 2px 2px 4px black; 
	font-size:120%;
	margin:5%; 
	background-image:url("fondchamp.jpg");
	background-size: 100%;
	padding:3%;
}
.paragraphe4 {
	color:white; 
	text-shadow: 2px 2px 4px black; 
	font-size:120%;
	margin:3%; 
	margin-left: 6%;
	background-color:rgb(143,143,143); 
	padding:2%;
	border : gray solid 3px;
	width: 35%;
	float: left;}

.footer {
	color:rgb(50,50,50); 
	font-size:70%;
	text-align: right;
}


.accueil {	
																				/* Propriétés correspondantes à la class nommée "accueil" */
	color:rgb(127,0,0); 
	padding: 1%;
	font-size:250%;
	border-radius: 10px;
}

.accueil2 {	
	text-align: left;																				/* Propriétés correspondantes à la class nommée "accueil" */
	color:rgb(127,0,0); 
	padding: 1%;
	font-size:150%;
	border-radius: 10px;
	margin-right: 5%;
	margin-top: 5%;
}

.accueil3 {	
	text-align: left;																				/* Propriétés correspondantes à la class nommée "accueil" */
	color:rgb(127,0,0); 
	padding: 1%;
	font-size:150%;
	border-radius: 10px;
	margin-right: 5%;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.bienvenu {																					/* Propriétés correspondantes aux class nommées "bienvenu" */
	border:solid gray;
	width: 20%;
	margin-top:3%;}

.texteaccueil {																				/* Propriétés correspondantes aux class nommées "texteaccueil"*/
	text-align: justify;
	color:rgb(43,43,43); 
	float:left;  
	padding:1%;
	font-size: 110%;
	width:40%;
	margin-left: 2%;
	margin-right: 6%;
	
	 }
	 
	 .texteaccueil3 {																				/* Propriétés correspondantes aux class nommées "texteaccueil"*/
	text-align: justify;
	color:rgb(43,43,43); 
	
	font-size: 110%;

	
	 }
	 
.texteaccueil2 {																				/* Propriétés correspondantes aux class nommées "texteaccueil"*/
	text-align: justify;
	color:rgb(43,43,43);   
	padding:1%;
	font-size: 110%;
	margin-left: 2%;
	 }

.photoaccueil {width:30%;																	/* Propriétés correspondantes aux class nommées "photoaccueil" */
	border-radius: 9px;
	margin-left: 5%;
	margin-top:7%;}

em {color:black;}																			/* Propriétés correspondantes aux éléments des <em>  */


.mots {color:rgb(6, 62, 62);
width: 120%;																			/* Propriétés correspondantes aux class nommées "mots" */
	 }	
	 
.mots2 {color:rgb(127, 0, 0);
width: 180%;																			/* Propriétés correspondantes aux class nommées "mots" */
	 }	

header {
	color:rgb(127, 0, 0);
}
	
.dropdown {
  display: inline-block;
  position: relative;
}
.dropdown-content {
  display: none;
  position: absolute;
  width: 100%;
  overflow: auto;
  box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.4);
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown-content a {
  display: block;
  color: rgb(127,0,0); 
  padding: 5px;
  text-decoration: none;
  background-color: rgb(255,255,255);
}
.dropdown-content a:hover {
  color: #FFFFFF;
  background-color: rgb(127,0,0);
}


a span { /* définition de la 
balise <span> inclue dans <a> */
display: none;
}
a:hover span { /* définition de 
la balise <span> au survol */
display: inline;
text-align: center;
color: black;
 text-decoration: none;
 background-color: none;
}

div.spoiler {
    width: 100%;
    cursor: pointer; 
	text-align: justify;
	color:rgb(43,43,43);   
	padding:1%;
	font-size: 105%;
	margin-right: 5%;
}
 
div.spoiler div.contenuSpoiler {
    display: none;
	text-align: justify;
	color:rgb(43,43,43);   
	padding:1%;
	font-size: 105%;
	margin-right: 5%;
}


figure ::before,
figure ::after {
  content: "";
}

figure > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}


.btn {
  display: inline-block;
  text-transform: uppercase;
  border: 2px solid #2c3e50;
  margin-top: 100px; 
  font-size: 0.7em;
  font-weight: 700;
  padding: 0.1em 0.4em;
  text-align: center;
  -webkit-transition: color 0.3s, border-color 0.3s;
  -moz-transition: color 0.3s, border-color 0.3s;
  transition: color 0.3s, border-color 0.3s;
}


.btn:hover {
  border-color: #2c3e50;
  color: #2c3e50;
}

/* basic grid, only for this demo */

.align  {
  clear: both;
  width: 100%;
  max-width: 1170px;
  text-align: center;
}

.align  > li {
  width: 500px;
  min-height: 300px;
  display: inline-block;
  margin: 30px 20px 30px 30px;
  padding: 0 0 0 60px;
  vertical-align: top;
}

/* ///////////////////////////////////////////////////

HARDCOVER
Table of Contents

1. container
2. background & color
3. opening cover, back cover and pages
4. position, transform y transition
5. events
6. Bonus
  - Cover design
  - Ribbon
  - Figcaption
7. mini-reset

/////////////////////////////////////////////////////*/

/*
  1. container
*/

.book {
  position: relative;
  width: 160px; 
  height: 220px;
  -webkit-perspective: 1000px;
  -moz-perspective: 1000px;
  perspective: 1000px;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

/*
  2. background & color
*/

/* HARDCOVER FRONT */
.hardcover_front li:first-child {
  background-color: #eee;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* reverse */
.hardcover_front li:last-child {
  background: #fffbec;
}

/* HARDCOVER BACK */
.hardcover_back li:first-child {
  background: #fffbec;
}

/* reverse */
.hardcover_back li:last-child {
  background: #fffbec;
}

.book_spine li:first-child {
  background: #eee;
}
.book_spine li:last-child {
  background: #333;
}

/* thickness of cover */

.hardcover_front li:first-child:after,
.hardcover_front li:first-child:before,
.hardcover_front li:last-child:after,
.hardcover_front li:last-child:before,
.hardcover_back li:first-child:after,
.hardcover_back li:first-child:before,
.hardcover_back li:last-child:after,
.hardcover_back li:last-child:before,
.book_spine li:first-child:after,
.book_spine li:first-child:before,
.book_spine li:last-child:after,
.book_spine li:last-child:before {
  background: #999;
}

/* page */

.page > li {
  background: -webkit-linear-gradient(left, #e1ddd8 0%, #fffbf6 100%);
  background: -moz-linear-gradient(left, #e1ddd8 0%, #fffbf6 100%);
  background: -ms-linear-gradient(left, #e1ddd8 0%, #fffbf6 100%);
  background: linear-gradient(left, #e1ddd8 0%, #fffbf6 100%);
  box-shadow: inset 0px -1px 2px rgba(50, 50, 50, 0.1), inset -1px 0px 1px rgba(150, 150, 150, 0.2);
  border-radius: 0px 5px 5px 0px;
}

/*
  3. opening cover, back cover and pages
*/

.hardcover_front {
  -webkit-transform: rotateY(-34deg) translateZ(8px);
  -moz-transform: rotateY(-34deg) translateZ(8px);
  transform: rotateY(-34deg) translateZ(8px);
  z-index: 100;
}

.hardcover_back {
  -webkit-transform: rotateY(-15deg) translateZ(-8px);
  -moz-transform: rotateY(-15deg) translateZ(-8px);
  transform: rotateY(-15deg) translateZ(-8px);
}

.page li:nth-child(1) {
  -webkit-transform: rotateY(-28deg);
  -moz-transform: rotateY(-28deg);
  transform: rotateY(-28deg);
}

.page li:nth-child(2) {
  -webkit-transform: rotateY(-30deg);
  -moz-transform: rotateY(-30deg);
  transform: rotateY(-30deg);
}

.page li:nth-child(3) {
  -webkit-transform: rotateY(-32deg);
  -moz-transform: rotateY(-32deg);
  transform: rotateY(-32deg);
}

.page li:nth-child(4) {
  -webkit-transform: rotateY(-34deg);
  -moz-transform: rotateY(-34deg);
  transform: rotateY(-34deg);
}

.page li:nth-child(5) {
  -webkit-transform: rotateY(-36deg);
  -moz-transform: rotateY(-36deg);
  transform: rotateY(-36deg);
}

/*
  4. position, transform & transition
*/

.hardcover_front,
.hardcover_back,
.book_spine,
.hardcover_front li,
.hardcover_back li,
.book_spine li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.hardcover_front,
.hardcover_back {
  -webkit-transform-origin: 0% 100%;
  -moz-transform-origin: 0% 100%;
  transform-origin: 0% 100%;
}

.hardcover_front {
  -webkit-transition: all 0.8s ease, z-index 0.6s;
  -moz-transition: all 0.8s ease, z-index 0.6s;
  transition: all 0.8s ease, z-index 0.6s;
}

/* HARDCOVER front */
.hardcover_front li:first-child {
  cursor: default;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-transform: translateZ(2px);
  -moz-transform: translateZ(2px);
  transform: translateZ(2px);
}

.hardcover_front li:last-child {
  -webkit-transform: rotateY(180deg) translateZ(2px);
  -moz-transform: rotateY(180deg) translateZ(2px);
  transform: rotateY(180deg) translateZ(2px);
}

/* HARDCOVER back */
.hardcover_back li:first-child {
  -webkit-transform: translateZ(2px);
  -moz-transform: translateZ(2px);
  transform: translateZ(2px);
}

.hardcover_back li:last-child {
  -webkit-transform: translateZ(-2px);
  -moz-transform: translateZ(-2px);
  transform: translateZ(-2px);
}

/* thickness of cover */
.hardcover_front li:first-child:after,
.hardcover_front li:first-child:before,
.hardcover_front li:last-child:after,
.hardcover_front li:last-child:before,
.hardcover_back li:first-child:after,
.hardcover_back li:first-child:before,
.hardcover_back li:last-child:after,
.hardcover_back li:last-child:before,
.book_spine li:first-child:after,
.book_spine li:first-child:before,
.book_spine li:last-child:after,
.book_spine li:last-child:before {
  position: absolute;
  top: 0;
  left: 0;
}

/* HARDCOVER front */
.hardcover_front li:first-child:after,
.hardcover_front li:first-child:before {
  width: 4px;
  height: 100%;
}

.hardcover_front li:first-child:after {
  -webkit-transform: rotateY(90deg) translateZ(-2px) translateX(2px);
  -moz-transform: rotateY(90deg) translateZ(-2px) translateX(2px);
  transform: rotateY(90deg) translateZ(-2px) translateX(2px);
}

.hardcover_front li:first-child:before {
  -webkit-transform: rotateY(90deg) translateZ(158px) translateX(2px);
  -moz-transform: rotateY(90deg) translateZ(158px) translateX(2px);
  transform: rotateY(90deg) translateZ(158px) translateX(2px);
}

.hardcover_front li:last-child:after,
.hardcover_front li:last-child:before {
  width: 4px;
  height: 160px;
}

.hardcover_front li:last-child:after {
  -webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(80px) translateX(-2px) translateY(-78px);
  -moz-transform: rotateX(90deg) rotateZ(90deg) translateZ(80px) translateX(-2px) translateY(-78px);
  transform: rotateX(90deg) rotateZ(90deg) translateZ(80px) translateX(-2px) translateY(-78px);
}
.hardcover_front li:last-child:before {
  box-shadow: 0px 0px 30px 5px #333;
  -webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(-140px) translateX(-2px) translateY(-78px);
  -moz-transform: rotateX(90deg) rotateZ(90deg) translateZ(-140px) translateX(-2px) translateY(-78px);
  transform: rotateX(90deg) rotateZ(90deg) translateZ(-140px) translateX(-2px) translateY(-78px);
}

/* thickness of cover */

.hardcover_back li:first-child:after,
.hardcover_back li:first-child:before {
  width: 4px;
  height: 100%;
}

.hardcover_back li:first-child:after {
  -webkit-transform: rotateY(90deg) translateZ(-2px) translateX(2px);
  -moz-transform: rotateY(90deg) translateZ(-2px) translateX(2px);
  transform: rotateY(90deg) translateZ(-2px) translateX(2px);
}
.hardcover_back li:first-child:before {
  -webkit-transform: rotateY(90deg) translateZ(158px) translateX(2px);
  -moz-transform: rotateY(90deg) translateZ(158px) translateX(2px);
  transform: rotateY(90deg) translateZ(158px) translateX(2px);
}

.hardcover_back li:last-child:after,
.hardcover_back li:last-child:before {
  width: 4px;
  height: 160px;
}

.hardcover_back li:last-child:after {
  -webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(80px) translateX(2px) translateY(-78px);
  -moz-transform: rotateX(90deg) rotateZ(90deg) translateZ(80px) translateX(2px) translateY(-78px);
  transform: rotateX(90deg) rotateZ(90deg) translateZ(80px) translateX(2px) translateY(-78px);
}

.hardcover_back li:last-child:before {
  box-shadow: 10px -1px 80px 20px #666;
  -webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(-140px) translateX(2px) translateY(-78px);
  -moz-transform: rotateX(90deg) rotateZ(90deg) translateZ(-140px) translateX(2px) translateY(-78px);
  transform: rotateX(90deg) rotateZ(90deg) translateZ(-140px) translateX(2px) translateY(-78px);
}

/* BOOK SPINE */
.book_spine {
  -webkit-transform: rotateY(60deg) translateX(-5px) translateZ(-12px);
  -moz-transform: rotateY(60deg) translateX(-5px) translateZ(-12px);
  transform: rotateY(60deg) translateX(-5px) translateZ(-12px);
  width: 16px;
  z-index: 0;
}

.book_spine li:first-child {
  -webkit-transform: translateZ(2px);
  -moz-transform: translateZ(2px);
  transform: translateZ(2px);
}

.book_spine li:last-child {
  -webkit-transform: translateZ(-2px);
  -moz-transform: translateZ(-2px);
  transform: translateZ(-2px);
}

/* thickness of book spine */
.book_spine li:first-child:after,
.book_spine li:first-child:before {
  width: 4px;
  height: 100%;
}

.book_spine li:first-child:after {
  -webkit-transform: rotateY(90deg) translateZ(-2px) translateX(2px);
  -moz-transform: rotateY(90deg) translateZ(-2px) translateX(2px);
  transform: rotateY(90deg) translateZ(-2px) translateX(2px);
}

.book_spine li:first-child:before {
  -webkit-transform: rotateY(-90deg) translateZ(-12px);
  -moz-transform: rotateY(-90deg) translateZ(-12px);
  transform: rotateY(-90deg) translateZ(-12px);
}

.book_spine li:last-child:after,
.book_spine li:last-child:before {
  width: 4px;
  height: 16px;
}

.book_spine li:last-child:after {
  -webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(8px) translateX(2px) translateY(-6px);
  -moz-transform: rotateX(90deg) rotateZ(90deg) translateZ(8px) translateX(2px) translateY(-6px);
  transform: rotateX(90deg) rotateZ(90deg) translateZ(8px) translateX(2px) translateY(-6px);
}

.book_spine li:last-child:before {
  box-shadow: 5px -1px 100px 40px rgba(0, 0, 0, 0.2);
  -webkit-transform: rotateX(90deg) rotateZ(90deg) translateZ(-210px) translateX(2px) translateY(-6px);
  -moz-transform: rotateX(90deg) rotateZ(90deg) translateZ(-210px) translateX(2px) translateY(-6px);
  transform: rotateX(90deg) rotateZ(90deg) translateZ(-210px) translateX(2px) translateY(-6px);
}

.page,
.page > li {
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.page {
  width: 100%;
  height: 98%;
  top: 1%;
  left: 3%;
  z-index: 10;
}

.page > li {
  width: 100%;
  height: 100%;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  transform-origin: left center;
  -webkit-transition-property: transform;
  -moz-transition-property: transform;
  transition-property: transform;
  -webkit-transition-timing-function: ease;
  -moz-transition-timing-function: ease;
  transition-timing-function: ease;
}

.page > li:nth-child(1) {
  -webkit-transition-duration: 0.6s;
  -moz-transition-duration: 0.6s;
  transition-duration: 0.6s;
}

.page > li:nth-child(2) {
  -webkit-transition-duration: 0.6s;
  -moz-transition-duration: 0.6s;
  transition-duration: 0.6s;
}

.page > li:nth-child(3) {
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
}

.page > li:nth-child(4) {
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

.page > li:nth-child(5) {
  -webkit-transition-duration: 0.6s;
  -moz-transition-duration: 0.6s;
  transition-duration: 0.6s;
}

/*
  5. events
*/

.book:hover > .hardcover_front {
  -webkit-transform: rotateY(-145deg) translateZ(0);
  -moz-transform: rotateY(-145deg) translateZ(0);
  transform: rotateY(-145deg) translateZ(0);
  z-index: 0;
}

.book:hover > .page li:nth-child(1) {
  -webkit-transform: rotateY(-30deg);
  -moz-transform: rotateY(-30deg);
  transform: rotateY(-30deg);
  -webkit-transition-duration: 1.5s;
  -moz-transition-duration: 1.5s;
  transition-duration: 1.5s;
}

.book:hover > .page li:nth-child(2) {
  -webkit-transform: rotateY(-35deg);
  -moz-transform: rotateY(-35deg);
  transform: rotateY(-35deg);
  -webkit-transition-duration: 1.8s;
  -moz-transition-duration: 1.8s;
  transition-duration: 1.8s;
}

.book:hover > .page li:nth-child(3) {
  -webkit-transform: rotateY(-118deg);
  -moz-transform: rotateY(-118deg);
  transform: rotateY(-118deg);
  -webkit-transition-duration: 1.6s;
  -moz-transition-duration: 1.6s;
  transition-duration: 1.6s;
}

.book:hover > .page li:nth-child(4) {
  -webkit-transform: rotateY(-130deg);
  -moz-transform: rotateY(-130deg);
  transform: rotateY(-130deg);
  -webkit-transition-duration: 1.4s;
  -moz-transition-duration: 1.4s;
  transition-duration: 1.4s;
}

.book:hover > .page li:nth-child(5) {
  -webkit-transform: rotateY(-140deg);
  -moz-transform: rotateY(-140deg);
  transform: rotateY(-140deg);
  -webkit-transition-duration: 1.2s;
  -moz-transition-duration: 1.2s;
  transition-duration: 1.2s;
}

/*
  6. Bonus
*/

/* cover CSS */

.coverDesign {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}

.coverDesign::after {
  background-image: -webkit-linear-gradient( -135deg, rgba(255, 255, 255, 0.45) 0%, transparent 100%);
  background-image: -moz-linear-gradient( -135deg, rgba(255, 255, 255, 0.45) 0%, transparent 100%);
  background-image: linear-gradient( -135deg, rgba(255, 255, 255, 0.45) 0%, transparent 100%);
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.coverDesign h1 {
  color: #fff;
  font-size: 2.2em;
  letter-spacing: 0.05em;
  text-align: center;
  margin: 54% 0 0 0;
  text-shadow: -1px -1px 0 rgba(0,0,0,0.1);
}

.coverDesign p {
  color: #f8f8f8;
  font-size: 1em;
  text-align: center;
  text-shadow: -1px -1px 0 rgba(0,0,0,0.1);
}

.yellow {
  background-color: #f1c40f;
  background-image: -webkit-linear-gradient(top, #f1c40f 58%, #e7ba07 0%);
  background-image: -moz-linear-gradient(top, #f1c40f 58%, #e7ba07 0%);
  background-image: linear-gradient(top, #f1c40f 58%, #e7ba07 0%);
}

.blue {
  background-color: #3498db;
  background-image: -webkit-linear-gradient(top, #3498db 58%, #2a90d4 0%);
  background-image: -moz-linear-gradient(top, #3498db 58%, #2a90d4 0%);
  background-image: linear-gradient(top, #3498db 58%, #2a90d4 0%);
}

.bordeau {
  background-image: url("hatcher.jpg") ;
  background-repeat: no-repeat;
background-size: 100% ;
background-position: center; 
}

.jaune {
  background-image: url("operads.jpg") ;
  background-repeat: no-repeat;
background-size: 100% ;
background-position: center; 
}

.Lee {
  background-image: url("Lee.jpg") ;
  background-repeat: no-repeat;
background-size: 100% ;
background-position: center; 
}



.grey {
  background-color: #f8e9d1;
  background-image: -webkit-linear-gradient(top, #f8e9d1 58%, #e7d5b7 0%);
  background-image: -moz-linear-gradient(top, #f8e9d1 58%, #e7d5b7 0%);
  background-image: linear-gradient(top, #f8e9d1 58%, #e7d5b7 0%);
}

/* Basic ribbon */

.ribbon {
  background: #c0392b;
  color: #fff;
  display: block;
  font-size: 0.7em;
  position: absolute;
  top: 11px;
  right: 1px;
  width: 40px;
  height: 20px;
  line-height: 20px;
  letter-spacing: 0.15em; 
  text-align: center;
  -webkit-transform: rotateZ(45deg) translateZ(1px);
  -moz-transform: rotateZ(45deg) translateZ(1px);
  transform: rotateZ(45deg) translateZ(1px);
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  z-index: 10;
}

.ribbon::before,
.ribbon::after{
  position: absolute;
  top: -20px;
  width: 0;
  height: 0;
  border-bottom: 20px solid #c0392b;
  border-top: 20px solid transparent;
}

.ribbon::before{
  left: -20px;
  border-left: 20px solid transparent;
}

.ribbon::after{
  right: -20px;
  border-right: 20px solid transparent;
}


/* Adaptations générales pour mobiles */
/* Adaptations générales pour mobiles */
@media (max-width: 768px) {

  body {
    margin: 20px;
    margin-top: 10px;
    margin-bottom: 2%;
    background-size: cover; /* Adapter la taille du fond */
  }

  header {
    text-align: center;
    font-size: 90%; /* Réduire légèrement la taille */
    height: auto;
  }

  .styled {
    font-size: 70%;
    line-height: 1.2;
    width: 20%;
    margin-bottom: 5%;
  }

  h1 {
    font-size: 180%;
    padding: 5px;
  }

  h2 {
    font-size: 90%;
    padding: 5px;
  }

  h3 {
    font-size: 100%;
    margin-left: 5%;
    margin-right: 5%;
  }

  section {
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 5%;
  }

  .paragraphe, .paragraphe2, .paragraphe4 {
    font-size: 100%;
    margin: 5%;
    padding: 5%;
    width: auto;
    float: none; /* Annuler le flottant */
  }

  .paragraphe3 {
    font-size: 100%;
    margin: 5%;
    padding: 5%;
  }

  .texteaccueil, .texteaccueil2 {
    font-size: 100%;
    width: auto;
    margin: 5%;
    float: none; /* Annuler le flottant */
  }

  .photoaccueil {
    width: 80%;
    margin: 5% auto; /* Centrer l'image */
  }

  .center {
    width: 90%;
  }

  .bienvenu {
    width: 80%;
    margin: 5% auto; /* Centrer */
  }

  .tableau {
    width: 100%;
    font-size: 90%;
  }

  .dropdown {
    display: block;
    width: 100%;
  }

  .dropdown-content {
    display: none;
    position: static;
    background-color: #f9f9f9;
    box-shadow: none;
    width: 100%;
    padding: 10px 0;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    display: block;
    padding: 10px;
    text-align: left;
  }
}


