/*
FONT -----------------------------------------------
*/

@font-face {
  font-family: "K22 Lucifer No. 1";
  src: url("../fonts/K22 Lucifer No. 1.otf") format("opentype");
}

html {
  font-size: 20px;
}

body {
  background-color: white;
  margin: 0;
}

html,
body {
  height: 100%;
}
::-webkit-scrollbar {
  display: none;
}
/* Page d'acceuil -----------------------------------------------*/

.panel {
  z-index: 200;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(0, 0);
  transition: transform 0.9s ease-in-out;
  width: 100%;
  height: 100%;
}

.panel.panel-hide {
  transform: translate(0, -110%);
}

/*wrapper 2 = bloc 3+4 */
.colonnehist-1 {
  flex-grow: 1;
  flex: 0 0 50%;
  flex-flow: wrap;
}

.colonnehist-2 {
  flex-grow: 1;
  flex: 0 0 50%;
  flex-flow: wrap;
}
.colonnehist-3 {
  flex-grow: 1;
  flex: 0 0 50%;
  flex-flow: wrap;
}
.colonnehist-4 {
  flex-grow: 1;
  flex: 0 0 50%;
  flex-flow: wrap;
}
.colonnehist-5 {
  flex-grow: 1;
  flex: 0 0 50%;
  flex-flow: wrap;
}
.colonnehist-6 {
  flex-grow: 1;
  flex: 0 0 50%;
  flex-flow: wrap;
}
.colonnehist-7 {
  flex-grow: 1;
  flex: 0 0 50%;
  flex-flow: wrap;
}
.colonnehist-8 {
  flex-grow: 1;
  flex: 0 0 50%;
  flex-flow: wrap;
}
.colonnehist-9 {
  flex-grow: 1;
  flex: 0 0 50%;
  flex-flow: wrap;
}
.colonnehist-10 {
  flex-grow: 1;
  flex: 0 0 50%;
  flex-flow: wrap;
}
.colonnehist-11 {
  flex-grow: 1;
  flex: 0 0 50%;
  flex-flow: wrap;
}
.colonnehist-12 {
  flex-grow: 1;
  flex: 0 0 50%;
  flex-flow: wrap;
}
.colonnehist-13 {
  flex-grow: 1;
  flex: 0 0 50%;
  flex-flow: wrap;
}
.colonnehist-14 {
  flex-grow: 1;
  flex: 0 0 50%;
  flex-flow: wrap;
}
.colonnehist-15 {
  flex-grow: 1;
  flex: 0 0 50%;
  flex-flow: wrap;
}
.colonnehist-16 {
  flex-grow: 1;
  flex: 0 0 50%;
  flex-flow: wrap;
}

.colonnehist-1 > div {
  /* changes l'espace entre les 2 colonnes*/
  margin: 0px 0px;
  /* changes l'espace entre le titre et le cube*/
  margin-bottom: 0px;
  padding: 0px;
  background-color: #8bffa5;
}
.colonnehist-2 > div {
  margin: 0px 0px;
  margin-bottom: 0px;
  padding: 30px;
  background-color: #c5ebfe;
}
.colonnehist-3 > div {
  margin: 0px 0px;
  margin-bottom: 0px;
  padding: 30px;
  background-color: #ffb5da;
}
.colonnehist-4 > div {
  margin: 0px 0px;
  margin-bottom: 0px;
  padding: 30px;
  background-color: #fefd97;
}
.colonnehist-5 > div {
  margin: 0px 0px;
  margin-bottom: 0px;
  padding: 30px;
  background-color: #d9ffb5;
}
.colonnehist-6 > div {
  margin: 0px 0px;
  margin-bottom: 0px;
  padding: 0px;
  background-color: #ebc7ff;
}
.colonnehist-7 > div {
  margin: 0px 00px;
  margin-bottom: 0px;
  padding: 30px;
  background-color: #8bffa5;
}
.colonnehist-8 > div {
  margin: 0px 00px;
  margin-bottom: 0px;
  padding: 30px;
  background-color: #c5ebfe;
}
.colonnehist-9 > div {
  margin: 0px 00px;
  margin-bottom: 0px;
  padding: 0px;
  background-color: #ffb5da;
}
.colonnehist-10 > div {
  margin: 0px 00px;
  margin-bottom: 0px;
  padding: 30px;
  background-color: #8bffa5;
}

.colonnehist-11 > div {
  margin: 0px 00px;
  margin-bottom: 0px;
  padding: 30px;
  background-color: #c5ebfe;
}

.colonnehist-12 > div {
  margin: 0px 00px;
  margin-bottom: 0px;
  padding: 0px;
  background-color: #ffb5da;
}

.colonnehist-13 > div {
  margin: 0px 00px;
  margin-bottom: 0px;
  padding: 30px;
  background-color: #d9ffb5;
}

.colonnehist-14 > div {
  margin: 0px 00px;
  margin-bottom: 0px;
  padding: 30px;
  background-color: #fefd97;
}

.colonnehist-15 > div {
  margin: 0px 00px;
  margin-bottom: 0px;
  padding: 0px;
  background-color: #c5ebfe;
}

.colonnehist-16 > div {
  margin: 0px 00px;
  margin-bottom: 0px;
  padding: 30px;
  background-color: #8bffa5;
}

/*Choix de la saison ------------------------------------------------------------------------------------------*/

.wrapper {
  display: flex;
  flex-flow: wrap;
  width: 100%;
}

.wrapper2 {
  width: 100%;
  position: fixed;
}

.colonne {
  flex-grow: 1;
  flex: 0% 0% 50%;
}

.colonne > div {
  margin: 0px 0px;
  margin-bottom: 0px;
  height: 100%;
}



.printemps {
  text-align: center;
  color: rgb(0, 4, 255);
  font-family: "K22 Lucifer No. 1";
  font-size: 4.5rem;
  background-color: #ffb5da;
}
.été {
  text-align: center;
  position: relative;
  color: rgb(0, 4, 255);
  font-family: "K22 Lucifer No. 1";
  font-size: 4.5rem;
  background-color: #fefd97;
  border-radius: 0;
}
.automne {
  text-align: center;
  position: relative;
  color: rgb(0, 4, 255);
  font-family: "K22 Lucifer No. 1";
  font-size: 4.5rem;
  background-color: #d9ffb5;
  border-radius: 0;
}
.hiver {
  text-align: center;
  position: relative;
  color: rgb(0, 4, 255);
  font-family: "K22 Lucifer No. 1";
  font-size: 4.5rem;
  background-color: #c5ebfe;
  border-radius: 0;
}

/*Textes & FONTS STYLES ----------------------------------------------------------------------*/
h4{
  text-align: center;
  background: rgb(0, 4, 255);
  font-family: "roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  color: #8bffa5;
  padding: 20px;
  border-radius: 60px / 60px;
  margin-bottom: 20px;
}

h3 {
  text-align: center;
  background: transparent;
  font-family: "K22 Lucifer No. 1";
  font-weight: medium;
  font-size: 4.5rem;
  color: rgb(0, 4, 255);
  margin: 0px auto;
}

h5{
  text-align: center;
  background: #ffb5da;
  font-family: "roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  color: rgb(0, 4, 255);
  padding: 20px;
  border-radius: 60px / 60px;
}

h6{
  text-align: center;
  background: #ffb5da;
  font-family: "roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  color: rgb(0, 4, 255);
  padding: 20px;
  border-radius: 60px / 60px;
}


.listfood {
  text-align: center;
  background: transparent;
  font-family: "roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  line-height: normal;
  color: rgb(0, 4, 255);
  padding-bottom: 40px;
  margin: 0px auto;
  max-width: 500px;
}

.Mures:hover {
  border-bottom: 1px solid;
}
.Pitahaya:hover {
  border-bottom: 1px solid;
}
.Litchis:hover {
  border-bottom: 1px solid;
}
.Kiwi:hover {
  border-bottom: 1px solid;
}
.Mielliquide:hover {
  border-bottom: 1px solid;
}
.Mirabelles:hover {
  border-bottom: 1px solid;
}
.Pureedamandes:hover {
  border-bottom: 1px solid;
}
.Jusdecitron:hover {
  border-bottom: 1px solid;
}
.Jusenergisant:hover {
  border-bottom: 1px solid;
}
.Floconsdavoine:hover {
  border-bottom: 1px solid;
}
.Ananasenmorceaux:hover {
  border-bottom: 1px solid;
}
.Epinardsenbranche:hover {
  border-bottom: 1px solid;
}
.Mandarines:hover {
  border-bottom: 1px solid;
}
.AgarAgar:hover {
  border-bottom: 1px solid;
}
.Eaudecoco:hover {
  border-bottom: 1px solid;
}
.Geleedemoutdepommes:hover {
  border-bottom: 1px solid;
}
.Pommesacidulees:hover {
  border-bottom: 1px solid;
}
.Citron:hover {
  border-bottom: 1px solid;
}
.Epinardsenbranche:hover {
  border-bottom: 1px solid;
}
.Gingembrerape:hover {
  border-bottom: 1px solid;
}
.Kakispersimon:hover {
  border-bottom: 1px solid;
}
.Fruitdelapassion:hover {
  border-bottom: 1px solid;
}
.Canelle:hover {
  border-bottom: 1px solid;
}
.Mueslicroquant:hover {
  border-bottom: 1px solid;
}
.Framboises:hover {
  border-bottom: 1px solid;
}
.Muesli:hover {
  border-bottom: 1px solid;
}
.Laitdavoine:hover {
  border-bottom: 1px solid;
}
.Raisinets:hover {
  border-bottom: 1px solid;
}
.Cerises:hover {
  border-bottom: 1px solid;
}
.Courettes:hover {
  border-bottom: 1px solid;
}
.Bananes:hover {
  border-bottom: 1px solid;
}
.LaitdeCoco:hover {
  border-bottom: 1px solid;
}
.JusdOrangessanguines:hover {
  border-bottom: 1px solid;
}
.Ricotta:hover {
  border-bottom: 1px solid;
}
.Carottes:hover {
  border-bottom: 1px solid;
}
.ChouKale:hover {
  border-bottom: 1px solid;
}
.Jusdepommes:hover {
  border-bottom: 1px solid;
}
.Mangues:hover {
  border-bottom: 1px solid;
}

.listmix {
  font-family: "roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  color: blue;
  background-color: transparent;
  border: solid 2px rgb(0, 4, 255);
  padding: 10px;
  padding-bottom: 0px;
  border-radius: 60px / 60px;
  
}

.listmix2 {
  font-family: "roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  color: blue;
  background-color: transparent;
  border: solid 2px rgb(0, 4, 255);
  padding: 10px;
  padding-bottom: 0px;
  border-radius: 60px / 60px;
  
}

.align-mix {
	justify-content: center;
}


.flexliste {
  display: flex;
  flex: 1 1 auto;
  justify-content: space-between;
  padding-right: 20px;
  
}

.histoire-intro {
  text-align: center;
  background: transparent;
  font-family: "K22 Lucifer No. 1";
  font-weight: medium;
  font-size: 4.5rem;
  color: rgb(0, 4, 255);
}

.histoire-chap1 {
  text-align: left;
  color: rgb(0, 4, 255);
  font-family: "Roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  line-height: normal;
}

.quizz-chap1 {
  text-align: center;
  background: #c5ebfe;
  font-family: "roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  line-height: normal;
  padding: 20px;
  color: rgb(0, 4, 255);
}

.quizz-chap2 {
  text-align: left;
  background: #fefd97;
  font-family: "roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  line-height: normal;
  color: rgb(0, 4, 255);
  padding: 20px;
}

.quizz-chap3 {
  text-align: left;
  background: #ffb5da;
  font-family: "roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  line-height: normal;
  color: rgb(0, 4, 255);
  padding: 20px;
}

.quizz-chap4 {
  text-align: left;
  background: #d9ffb5;
  font-family: "roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  line-height: normal;
  color: rgb(0, 4, 255);
  padding: 20px;
}


.quizz-chap5 {
  text-align: left;
  background: #d9ffb5;
  font-family: "roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  line-height: normal;
  color: rgb(0, 4, 255);
  padding: 20px;
}

.quizz-chap6 {
  text-align: left;
  background: #c5ebfe;
  font-family: "roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  line-height: normal;
  color: rgb(0, 4, 255);
  padding: 20px;
}

.quizz-chap7 {
  text-align: left;
  background: #8bffa5;
  font-family: "roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  line-height: normal;
  color: rgb(0, 4, 255);
  padding: 20px;
}

.quizz-chap8 {
  text-align: left;
  background: #ebc7ff;
  font-family: "roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  line-height: normal;
  color: rgb(0, 4, 255);
  padding: 20px;
}

.quizz-chap9 {
  text-align: left;
  background: #fefd97;
  font-family: "roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  line-height: normal;
  color: rgb(0, 4, 255);
  padding: 20px;
}

.quizz-chap10 {
  text-align: left;
  background: #ffb5da;
  font-family: "roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  line-height: normal;
  color: rgb(0, 4, 255);
  padding: 20px;
}

.quizz-chap11 {
  text-align: center;
  background:transparent;
  font-family: "roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  line-height: normal;
  padding: 20px;
  color: rgb(0, 4, 255);
}

.quizz-chap12 {
  text-align: center;
  background: #ebc7ff;
  font-family: "roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  line-height: normal;
  color: rgb(0, 4, 255);
  padding: 20px;
}

.quizz-chap13 {
  text-align: left;
  background: #c5ebfe	;
  color: rgb(0, 4, 255);
  font-family: "Roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  line-height: normal;
  padding: 20px;
margin-bottom: 20px;
}

.quizz-chap14 {
  text-align: center;
  background: #fefd97;
  font-family: "roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  line-height: normal;
  padding: 20px;
  color: rgb(0, 4, 255);
}

.quizz-chap20 {
  text-align: left;
  background: #c5ebfe	;
  color: rgb(0, 4, 255);
  border-radius: 100px / 100px;
  font-family: "Roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  line-height: normal;
  padding: 100px;
}


header {
  position: sticky;
  bottom: 0;
  left: 0;
  text-align: center;
  font-family: "roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  line-height: normal;
  color: rgb(0, 4, 255);
  padding-bottom: 40px;
  padding-top: 40px;
}
/* WRAPPERS ET COLONNES STYLES DE GRILLES GENERAUX ----------------------------------- */

.wrapper {
  display: flex;
  flex-flow: wrap;
}
.colonne {
  flex-grow: 1;
  flex: 0 0 50%;
  overflow: hidden;
}
.colonne > div {
  margin: 0px 0px;
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.colonne2 {
  flex-grow: 1;
  flex: 0 0 33%;
}
.colonne2 > div {
  margin: 0px 0px;
  margin-bottom: 0px;
  padding: 20px;
  text-align: left;
}

.colonne3 {
  flex-grow: 1;
  flex: 0 0 33%;
}
.colonne3 > div {
  margin: 0px 0px;
  margin-top: 60px;
  padding: 20px;
  text-align: center;
}

.colonne4 {
  flex-grow: 1;
  flex: 0 0 50%;
  overflow: hidden;
}
.colonne4 > div {
  margin: 0px 0px;
  margin-bottom: 0px;
  align-items: center;
  justify-content: center;
}

.footer {
  flex-grow: 1;
  flex: 0 0 50%;
}
.footer > div {
  margin: 30px 30px;
  margin-top: 60px;
  padding: 20px;
  text-align: center;
}

.header-histoire {
  position: sticky;
  bottom: 0;
  left: 0;
  text-align: center;
  font-family: "roboto", sans-serif;
  font-weight: medium;
  font-size: 0.8rem;
  line-height: normal;
  color: rgb(0, 4, 255);
  padding-bottom: 40px;
  padding-top: 40px;
}

.backgroundhistoire {
  background-color: #8bffa5;
  background-image: url(../images/image\ 5.png);
  vertical-align: baseline;
  background-size: 100%;
  background-position: center;  margin: 0;
}

.backgroundmain {
  background-size: 100%;
}


.backgroundsummer {
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: #fefd97;
}

.backgroundspring {
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: #ffb5da;
}

.backgroundwinter {
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: #c5ebfe;
}

.backgroundautumn {
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: #d9ffb5;
}

.backgroundquizz {
  background-color: #8bffa5;
  background-image: url(../images/image\ 5.png);
  vertical-align: baseline;
  background-size: 100%;
  background-position: center;  margin: 0;
}
 
.backggradient {
  top: 0;
  left: 0;
  transition: transform 0.9s ease-in-out;
  background: linear-gradient(-45deg, #fefd97, #ffb5da, #c5ebfe, #8bffa5);
  background-size: 400% 400%;
  animation: gradient 5s ease infinite;
}



@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


/* MOUVEMENT DU TITRE ------------------------------------------- */

:root {
  --axis-x: 1px;
  --axis-y: 1rem;
  --delay: 10;
  --color-white: rgb(0, 4, 255);
  --color-foreground: var(--color-white);
}
.c-rainbow__layer {
  --text-color: var(--color-foreground);
  counter-increment: rainbow;
  font-family: "K22 Lucifer No. 1";
  color: var(--text-color);
  animation: rainbow 3s ease-in-out infinite;
  text-align: center;
  background: transparent;
  font-size: 4.5rem;
  margin-top: 30px;
  margin-left: 60px;
  margin-right: 60px;
  margin-bottom: 60px;
}
@keyframes rainbow {
  0%,
  100% {
    transform: translatey(var(--axis-y));
  }
  50% {
    transform: translatey(calc(var(--axis-y) * -1));
  }
}
/* BOUTONS DESIGN ---------------------------------------------------------- */
.imageblender {
  overflow: hidden;
  transition-duration: 0.8s;
  transition-property: transform;
}
.imageblender:hover {
  transform: rotate(1440deg);
  -webkit-transform: rotate(1440deg);
}
button {
  background-color: transparent;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgb(0, 4, 255);
  cursor: pointer;
  padding: 0;
  margin-top: 4px;
  pointer-events: all;
}
button.checked {
  background-color: rgb(0, 4, 255);
  outline: none;
}
button.second {
  background-color: transparent;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgb(0, 4, 255);
  cursor: pointer;
  padding: 0;
  margin-top: 4px;
  pointer-events: all;
}
input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgb(0, 4, 214);
  transition: 0.2s all linear;
  margin-right: 0px;
  position: relative;
}
input:checked {
  background-color: rgb(0, 4, 214);
  outline: none;
}

.quizz-chap1 > h1 {
  cursor: pointer;
}

.quizz-chap1 p {
  display: none;
}

.quizz-chap1 p.show {
  display: block;
}

#seasons {
  height: 100%;
}

/*PARTIE CANVA TEST de HARRY BLOCH________________________________________ */
.button {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 200;
  width: 5em;
  height: 5em;
  background-color: rgba(0, 0, 0, 1);
  color: rgba(255, 255, 255, 1);
  border-radius: 50%;
  cursor: pointer;
  transform: translate3d(-50%, -50%, 0);
}
.button.circle {
  top: 0;
  left: 0;
  transform: translate3d(0%, 0%, 0);
}
.button.line {
  top: 5em;
  left: 0;
  transform: translate3d(0%, 0%, 0);
}
.button:hover {
  background-color: rgba(255, 255, 255, 1);
  color: rgba(0, 0, 0, 1);
}

.button p {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;

  transform: translate3d(-50%, -50%, 0);
}
.container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vmin;
  height: 100vmin;
  transform: translate3d(-50%, -50%, 0);
  background-color: transparent;
  border-radius: 50%;
  overflow: hidden;
}
canvas {
  position: fixed;
  width: 100vw;
  height: 100vh;
  transition: all 1s ease-in-out;
  z-index: -1;
  filter: url(#swirl);
  top: 0;
  left: 0;
}
/*RESPONSIVE________________________________________ */

@media screen and (max-width: 1000px) {
	.colonne, [class^="colonnehist-"] {
		flex: 0 0 100%;
	}
  .colonne2, [class^="colonnehist-"] {
		flex: 0 0 100%;
	}
  .colonne3, [class^="colonnehist-"] {
		flex: 0 0 100%;
	}
  .colonne4, [class^="colonnehist-"] {
		flex: 0 0 100%;
	}

	.listfood {
		max-width: 300px;
	  }

	  .c-rainbow__layer {
		font-size: 2.8rem;
	  }
    h3{
      font-size: 2.8rem;
      }
    h1{
      font-size: 2.8rem;
      }
}

