/*
0-600     telephone
600-900   tablette portrait
900-1200  tablette paysage
1200-1800 style normal 
1800+     grand ecran > 1800px

$breakpoint -> argument
phone      (telephone)
tab_port   (tablette  portrait)
tab-land   (tablette  paysage)
desktop    (ordinateur)

ORDER: Base + typography > general layout > page layout >  components

1em = 16px
*/

/* hexadecimal */
/* Primary color */
.color-primary-0 { color: #FF9000 }	
.color-primary-1 { color: #FFD7A4 }
.color-primary-2 { color: #FFC170 }
.color-primary-3 { color: #D97A00 }
.color-primary-4 { color: #A75E00 }
/* Secondary color (1) */
.color-secondary-1-0 { color: #FFC900 }	
.color-secondary-1-1 { color: #FFEBA4 }
.color-secondary-1-2 { color: #FFE070 }
.color-secondary-1-3 { color: #D9AB00 }
.color-secondary-1-4 { color: #A78300 }
/* Secondary color (2) */
.color-secondary-2-0 { color: #FF2800 }	
.color-secondary-2-1 { color: #FFB2A4 }
.color-secondary-2-2 { color: #FF8670 }
.color-secondary-2-3 { color: #D92200 }
.color-secondary-2-4 { color: #A71A00 }

/* RGBa */
/* Primary color */
.rgba-primary-0 { color: rgba(255,144,  0,1) }	
.rgba-primary-1 { color: rgba(255,215,164,1) }
.rgba-primary-2 { color: rgba(255,193,112,1) }
.rgba-primary-3 { color: rgba(217,122,  0,1) }
.rgba-primary-4 { color: rgba(167, 94,  0,1) }
/* Secondary color (1) */
.rgba-secondary-1-0 { color: rgba(255,201,  0,1) }	
.rgba-secondary-1-1 { color: rgba(255,235,164,1) }
.rgba-secondary-1-2 { color: rgba(255,224,112,1) }
.rgba-secondary-1-3 { color: rgba(217,171,  0,1) }
.rgba-secondary-1-4 { color: rgba(167,131,  0,1) }
/* Secondary color (2) */
.rgba-secondary-2-0 { color: rgba(255, 40,  0,1) }	
.rgba-secondary-2-1 { color: rgba(255,178,164,1) }
.rgba-secondary-2-2 { color: rgba(255,134,112,1) }
.rgba-secondary-2-3 { color: rgba(217, 34,  0,1) }
.rgba-secondary-2-4 { color: rgba(167, 26,  0,1) }

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
}

@media (min-width: 112.5em) {
  html {
    font-size: 75%;
  }
}

body {
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
  font-family: "arial"; 
  line-height: 1.4;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

body .wrapper {
  display: grid; 
  max-width: 1600px;
  min-width: 400px;
}

body .container {
  max-width: 90vw; 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 35px;
  margin: 0 auto;
  padding: 0 0 60px 0;
}
body .container .card {
  position: relative;
  width: 300px;
  height: 560px;  
  margin: 0 auto;
  background: #FFEBA4;
  border-radius: 80px 15px 15px 15px;
  box-shadow: 20PX 20px 20px rgba(100, 60, 0, 0.5);
}
body .container .card .face {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
body .container .card .face.face1 {
  box-sizing: border-box;
  padding: 20px;
}
body .container .card .face.face1 h2 {
  margin: 0;
  padding: 0;
}
body .container .card .face.face2 {
  transition: 0.6s;
}
body .container .card .face.face2 h2 {
  margin: 0;
  padding: 0;
  font-size: 2em;
  color: #775510;
  transition: 0.5s;
  text-shadow: 0 2px 5px rgba(255, 215, 164, .8);
  z-index: 10;
}
body .container .card .face.face1 ul {
  list-style: none;
  width: 80%;
  margin: 0 auto;
}
body .container .card .face.face1 ul li {
  text-align: center;
  font-family: "Arial";
  font-size: 1.2rem;
  padding: .2rem;
  color: #A71A00; 
}
body .container .card .face.face1 .addentum {
	color: #D97B00;
	font-size: 1rem;
	font-style : italic;
}
body .container .card:hover .face.face2 {
  height: 60px;
}
body .container .card:hover .face.face2 h2 {
  font-size: 1.5em;
}
body .container .card:nth-child(1) .face.face2 {
  background-image: linear-gradient(40deg, #fffc00 0%, #fc00ff 45%, #00fffc 100%);
  border-radius: 80px 15px 15px 15px;
}
body .container .card:nth-child(2) .face.face2 {
  background-image: linear-gradient(40deg, #fc00ff 0%, #00fffc 45%, #fc00ff 100%);  
  border-radius: 80px 15px 15px 15px;
}
body .container .card:nth-child(3) .face.face2 {
  background-image: linear-gradient(40deg, #00fffc 0%, #fc00ff 45%, #fffc00 100%);
  border-radius: 80px 15px 15px 15px;
}
body h1 {
	font-size: 3rem;
	padding: 1rem 0;
	color: #A71A00;	
}
body h2 {
	font-size: 1.8rem;
	padding: 1rem 0;
	color: #A71A00;	
}

/* petits ecrans ( < 600px ) */
@media only screen and (max-width: 599px) {	
	body .container .card {
	  width: 300px;
	  height: 500px;
	}
	.navigation__button {
	  height: 4.5rem;
	  width: 4.5rem; 
	  position: fixed;
	  top: 2rem;
	  right: 2.5rem; 
	}
	.navigation__background {
	  height: 3.5rem;
	  width: 3.5rem;
	  top: 2.5rem;
	  right: 3rem;
	}
	.navigation__link:link, .navigation__link:visited {
	  font-size: 1.2rem;
	  font-weight: 300; 
	}
	.navigation__link:hover {
	  font-weight: 700;
	} 
	.navigation__icon {
	  position: relative;
	  margin-top: 1.9rem;
	}
	.navigation__icon, .navigation__icon::before, .navigation__icon::after {
	  width: 2.3rem;
	  height: 3px;
	}
	.navigation__icon::before {
	  top: -.7rem;
	}
	.navigation__icon::after {
	  top: .7rem;
	}
	.navigation__button:hover .navigation__icon::before {
	  top: -.8rem;
	}
	.navigation__button:hover .navigation__icon::after {
	  top: .8rem;
	}

	.marge {
	  margin: 10px 10% 40px 10%;  
	}
	p {
		padding: 0.5rem 0rem 0.5rem 0rem;
		font-size: 1.5rem;
		color: #661400;
	}
	.font-max {
		font-size: 1.5rem;
	}
}

/* petits ecrans ( >600px ) */
@media only screen and (min-width: 600px) {
	body .container .card {
	  width: 300px;
	  height: 500px;
	}
	.navigation__button {
	  height: 5rem;
	  width: 5rem; 
	  position: fixed;
	  top: 2rem;
	  right: 2.5rem; 
	}
	.navigation__background {
	  height: 4rem;
	  width: 4rem;
	  top: 2.5rem;
	  right: 3rem;
	}
	.navigation__link:link, .navigation__link:visited {
	  font-size: 1.8rem;
	  font-weight: 300; 
	}
	.navigation__link:hover {
	  letter-spacing: .2rem; 
	  font-weight: 700;
	} 
	.navigation__icon {
	  position: relative;
	  margin-top: 2.1rem;
	}
	.navigation__icon, .navigation__icon::before, .navigation__icon::after {
	  width: 2.5rem;
	  height: 3px;
	}
	.navigation__icon::before {
	  top: -.8rem;
	}
	.navigation__icon::after {
	  top: .8rem;
	}
	.navigation__button:hover .navigation__icon::before {
	  top: -.9rem;
	}
	.navigation__button:hover .navigation__icon::after {
	  top: .9rem;
	}
	.marge {
	  margin: 30px 10% 70px 10%;  
	}
	p {
		padding: 0rem 2rem 0.5rem 2rem;
		font-size: 1.6rem;
		color: #661400;
	}
	.font-max {
		font-size: 1.5rem;
	}
}

/* Ecrans Moyens ( >768px ) */
@media only screen and (min-width: 768px) {

	.navigation__button {
	  height: 5.5rem;
	  width: 5.5rem; 
	  position: fixed;
	  top: 3rem;
	  right: 2.5rem; 
	}
	.navigation__background {
	  height: 4.5rem;
	  width: 4.5rem;
	  top: 3.5rem;
	  right: 3rem;
	}
	.navigation__link:link, .navigation__link:visited {
	  font-size: 2rem;
	  font-weight: 300; 
	}
	.navigation__link:hover {
	  letter-spacing: .2rem; 
	  font-weight: 700;
	} 
	.navigation__icon {
	  position: relative;
	  margin-top: 2.4rem;
	}
	.navigation__icon, .navigation__icon::before, .navigation__icon::after {
	  width: 2.7rem;
	  height: 3px;
	}
	.navigation__icon::before {
	  top: -.9rem;
	}
	.navigation__icon::after {
	  top: .9rem;
	}
	.navigation__button:hover .navigation__icon::before {
	  top: -1rem;
	}
	.navigation__button:hover .navigation__icon::after {
	  top: 1rem;
	}
	.marge {
	  margin: 30px 10% 70px 10%;  
	} 
	p {
		padding: 0rem 2rem 1rem 2rem;
		font-size: 1.8rem;
		color: #661400;
	}
	.font-max {
		font-size: 2rem;
	}
}

/* Grand Ecrans ( > 889px) */
@media only screen and (min-width: 889px) {

	.navigation__button {
	  height: 6rem;
	  width: 6rem; 
	  position: fixed;
	  top: 3.5rem;
	  right: 2.5rem; 
	}
	.navigation__background {
	  height: 5rem;
	  width: 5rem;
	  top: 4rem;
	  right: 3rem;
	}
	.navigation__link:link, .navigation__link:visited {
	  font-size: 2.5rem;
	  font-weight: 300; 
	}
	.navigation__link:hover {
	  letter-spacing: .2rem; 
	  font-weight: 700;
	} 
	.navigation__icon {
	  position: relative;
	  margin-top: 2.6rem;
	}
	.navigation__icon, .navigation__icon::before, .navigation__icon::after {
	  width: 2.9rem;
	  height: 3px;
	}
	.navigation__icon::before {
	  top: -1rem;
	}
	.navigation__icon::after {
	  top: 1rem;
	}
	.navigation__button:hover .navigation__icon::before {
	  top: -1.1rem;
	}
	.navigation__button:hover .navigation__icon::after {
	  top: 1.1rem;
	}
	.marge {
	  margin: 30px 10% 70px 10%;  
	} 
	p {
		padding: 0rem 2rem 1rem 2rem;
		font-size: 2rem;
		color: #661400;
	}
	.font-max {
		font-size: 2.5rem;
	}
}

/* Trés Grands Ecrans  ( >1200px ) */
@media only screen and (min-width: 1200px) {
	.navigation__button {
	  height: 7rem;
	  width: 7rem; 
	  position: fixed;
	  top: 4rem;
	  right: 2.5rem; 
	}
	.navigation__background {
	  height: 6rem;
	  width: 6rem;
	  top: 4.5rem;
	  right: 3rem;
	}
	.navigation__link:link, .navigation__link:visited {
	  font-size: 3.4rem;
	  font-weight: 300; 
	}
	.navigation__link:hover {
	  letter-spacing: .4rem; 
	  font-weight: 700;
	} 
	.navigation__icon {
	  position: relative;
	  margin-top: 3.1rem;
	}
	.navigation__icon, .navigation__icon::before, .navigation__icon::after {
	  width: 3.5rem;
	  height: 5px;
	}
	.navigation__icon::before {
	  top: -1.1rem;
	}
	.navigation__icon::after {
	  top: 1.1rem;
	}
	.navigation__button:hover .navigation__icon::before {
	  top: -1.3rem;
	}
	.navigation__button:hover .navigation__icon::after {
	  top: 1.2rem;
	}
	.marge {
	  margin: 30px 10% 70px 10%;  
	} 
	p {
		padding: 0rem 2rem 1rem 2rem;
		font-size: 2.2rem;
		color: #661400;
	}
	.font-max {
		font-size: 3rem;
	}
}

/* Menu navigation */
.navigation__chekbox {
  display: none;
}
.navigation__button {
  position: fixed;
  border-radius: 50%;
  z-index: 2000;
  text-align: center;
  cursor: pointer;
  border-style: solid;
  border-width: 2px;
  border-color: rgba(0,130, 0, 1);
}
.navigation__button:hover .navigation__button__background {
  border-style: solid;
  border-width: 20px;
  border-color: #00f;
  background-color: rgba(255, 144, 0, 1);  
}
.navigation__background {
  border-radius: 50%; 
  position: fixed;
  background-color: rgba(102, 204, 0, 1 );
  z-index: 1000;
  transition: transform 0.8s cubic-bezier(0.86, 0, 0.07, 1);
}
.navigation__nav {
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1500;
  opacity: 0;
  width: 0;
  transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.navigation__list {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  list-style: none;
  text-align: center;
}
.navigation__item {
  margin: 4rem;
}
.navigation__link:link, .navigation__link:visited {
  padding: 1rem 2rem;
  color: rgba(0,120, 0, 1);
  text-decoration: none;
  text-transform: uppercase;
  background: linear-gradient(120deg, transparent, transparent 70%, #66FF00 30%, transparent); 
  background-size: 200%;
  transition: all .8s;
}
.navigation__link:hover, .navigation__link:active {
  background-position: 200%;
  color: rgba(0, 255, 0, 1);
}
.navigation__chekbox:checked ~ .navigation__background {
  transform: scale(70);
}
.navigation__chekbox:checked ~ .navigation__nav {
  opacity: 1;
  width: 100%;
}
.navigation__icon, .navigation__icon::before, .navigation__icon::after {
  height: 3px;
  background-color: rgba(0,120, 0, 1);
  display: inline-block;
}
.navigation__icon::before, .navigation__icon::after {
  content: "";
  position: absolute;
  left: 0;
  transition: all .2s;
}
.navigation__button:hover .navigation__icon, .navigation__button:hover .navigation__icon::before, .navigation__button:hover .navigation__icon::after {
  background-color: #00ff00;
} 
.navigation__chekbox:checked + .navigation__button .navigation__icon {
  background-color: transparent;
}
.navigation__chekbox:checked + .navigation__button .navigation__icon::before {
  top: 0;
  transform: rotate(45deg);
   background-color: $color-white;
}
.navigation__chekbox:checked + .navigation__button .navigation__icon::after {
  top: 0;
  transform: rotate(-45deg);
}
.navigation__chekbox:checked + .navigation__button .navigation__icon::before, .navigation__chekbox:checked + .navigation__button .navigation__icon::after {
  background-color: rgba(0,120, 0, 1); 
}
.navigation__chekbox:checked + .navigation__button {
  background-color: rgba(0,180, 0, 1);
} 
.navigation__chekbox:checked + .navigation__button:hover {
  background-color: rgba(0, 220, 0, 1);
  border-style: solid;
  border-width: 2px; 
  border-color:rgba(0, 255, 0, 1); 
}
.navigation__chekbox:checked + .navigation__button:hover .navigation__icon::before, .navigation__chekbox:checked + .navigation__button:hover .navigation__icon::after {
  background-color: rgba(0, 255, 0, 1);
} 

.banniere {
	margin: 0 0;
}
.text-bold {
	font-weight: bold;
}
.text-underline {
	text-decoration: underline;
}
.indentation { 
	text-indent: 30px;
}
.center-text {
	text-align: center;
}
.text-mini {
	font-size: 1.4rem;;
}
.addentum {
	font-size: 1rem;
	font-style : italic;
	padding: .2rem;
	color: #A71A00;
}
.marge-bottom {
	margin: 0 0 5% 0;
}
.marge-Top {
	margin: 5% 0 0 0;
}


