@import url("https://use.typekit.net/ltm8xed.css");

@font-face {
  src: url("https://use.typekit.net/ltm8xed.css");
  font-family: jaf-domus-titling-web, sans-serif;
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: "TYPO-CHARLOTTE-JULIE";
  src: url("styles/fonts/TYPO-CHARLOTTE-JULIE.otf") format("opentype");
}

/* New Accueil */

/* variables */

/* page general */
body {
  margin: 0;
  /* overflow: hidden; */

  overflow-y: hidden;
}
::-webkit-scrollbar {
  display: none;
}

* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* homepage general */
.menu {
  /* background-color: red; */
  position: fixed;
  width: 100vw;
  height: auto;
  display: flex;
  /* align-items: center; */
  justify-content: space-around;
  z-index: 9999;
  margin-top: 1vh;
}

.contour-histoire {
  /* margin-bottom: 20vh; */
  position: relative;

  /* margin-bottom: 15vh; */
  width: 10%;
  height: auto;
}
.contour-histoire:hover {
  width: 15%;

  /* margin-top: 20vh; */
  height: auto;
  transition: 0.5s;
}
.contour-accueil {
  position: relative;

  /* margin-bottom: 20vh; */
  /* margin-bottom: 15vh; */
  width: 10%;
  height: auto;
}
.contour-accueil:hover {
  width: 15%;

  /* margin-top: 20vh; */
  height: auto;
  transition: 0.5s;
}
.contour-recette {
  position: relative;
  /* margin-bottom: 15vh; */
  /* margin-bottom: 20vh; */
  width: 10%;
  height: auto;
}
.contour-recette:hover {
  width: 15%;
  /* margin-left: 5vw; */

  /* margin-top: 20vh; */
  height: auto;
  transition: 0.5s;
}

main {
  width: 100vw;
  height: 100vh;
  /* background-color: white; */
  background: rgb(0, 200, 255);
  /* background: linear-gradient(
    180deg,
    rgba(255, 234, 246, 1) 0%,
    rgba(0, 65, 255, 1) 83%,
    rgba(3, 38, 138, 1) 100%
  ); */
}

a {
  z-index: 100;
  font-size: 3vw;
  font-family: "TYPO-CHARLOTTE-JULIE", sans-serif;
  text-decoration: none;
  color: black;
}

/* homepage top */

.nav-top {
  position: relative;
  width: 100vw;
  height: calc(100vh / 3);
  display: flex;
  justify-content: center;
  /* align-items: center; */
  font-family: "TYPO-CHARLOTTE-JULIE", sans-serif;
  font-size: 3vw;
  z-index: 100;
}
#img-top {
  margin-top: 6vh;
  position: absolute;
  width: 20%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: -10;
  background-size: cover;
  /* margin-top: -110px; */
}
#histoire-text {
  margin-top: 7vh;
}

.container-histoire {
  width: 100vw;
  height: 100vh;
  background-image: url("img/fond_histoire_1400px.png");
  background-position: center;
  background-size: cover;
}
.tele {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
#animation {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.controls {
  margin-top: 5vh;
  margin-left: -20vh;
  width: 12vw;
  z-index: 100;
}

#starttelecommande {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 14vw;
  height: auto;
  margin: auto;
}

.histoire-retour-container {
  width: 100vw;
  height: 30vh;
  margin-top: 80vh;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#img_background {
  width: 100%;
}
#firstLottie {
  width: 40vw;
  height: auto;
}
.bouton_retour {
  /* position: relative; */
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "TYPO-CHARLOTTE-JULIE", sans-serif;
  font-size: 3vw;
  margin-right: 10vw;
}
#bouton_retour {
  display: flex;
  justify-content: center;
  align-items: center;
}

#img-retour {
  /* position: absolute; */
  width: 20%;
  height: auto;
  /* margin-right: -15%;
  margin-top:58%; */

  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: -10;
  /* background-size: cover; */
}
/* homepage center */

.farandolle {
  width: 100vw;
  height: calc(100vh / 3);
  display: flex;
  justify-content: center;
  align-items: center;
}

.animation {
  width: 90vw;
  height: auto;
  /* background: yellow; */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* homepage bottom */

.nav-bot {
  position: relative;
  width: 100vw;
  height: calc(100vh / 3);
  display: flex;
  justify-content: center;
  font-family: "TYPO-CHARLOTTE-JULIE", sans-serif;
  font-size: 3vw;
  z-index: 100;
}
#img-bot {
  margin-bottom: 7vh;
  width: 20%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: -10;
  background-size: cover;
  align-items: center;
  display: flex;
}
#text_recette {
  margin-bottom: 7vh;
}

/* footer découpe */

/* découpe générale */
html {
  scroll-behavior: smooth;
}

.container-decoupe {
  width: 100vw;
  background: rgba(255, 253, 130, 1);
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}
img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
#button-explication-recette {
  /* position: relative;
  height: 5vh;
  width: auto; */
  cursor: pointer;
}
#esmeralda_recette {
  position: relative;
  width: 32vw;

  height: auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.bouton-retour-conception {
  width: 100vw;
  height: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
#bouton-retour-conception {
  margin-top: 7%;
  position: absolute;
  width: 20%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  /* z-index: -10; */
  background-size: cover;
}
#bouton-retour {
  display: flex;
  justify-content: center;
  align-items: center;
}
.legumes {
  overflow: scroll;
  /* padding: 10px; */
  width: 100vw;
  height: auto;
  flex-direction: row;
  display: flex;
}
#tapis-roulant {
  width: 100vw;
  height: auto;
  background-image: url("img/tapis.png");
  background-position: center;
  /* background-size: cover; */
  /* position: absolute;
  margin-top: 14%; */
  /* overflow: scroll;
  width: 100vw;
  height: auto;
  flex-direction: row;
  display: flex; */
}

.assiettes {
  z-index: 2;
  width: 100vw;
  height: 30vh;
  margin-top: 0%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.assiette {
  /* flex-shrink: 0; */

  height: 20vh;
  width: 20vh;
  margin: 5px;
  margin-top: 10vh;
  /* background-color: yellow; */
}
.assiette img {
  width: 100%;
  height: 100%;
  margin-bottom: -100%;
}

.next {
  width: 100vw;
  height: auto;
  margin-right: 50px;
  display: center;
  justify-content: flex-end;
  align-items: center;
  font-family: "TYPO-CHARLOTTE-JULIE", sans-serif;
  font-size: 3vw;
}

.retour {
  position: absolute;
  width: auto;
  height: 40vh;
  /* position: relative; */
  /* margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 40px; */
  /* z-index: 100; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "TYPO-CHARLOTTE-JULIE", sans-serif;
  font-size: 3vw;
}
::-webkit-scrollbar {
  display: none;
}
* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.legume {
  z-index: 0;
  flex-shrink: 0;
  height: 40vh;
  width: 40vh;
  /* background-color: red; */
  /* margin: 10px; */
  margin-top: 10%;
  align-items: center;
}

.legume:hover {
  cursor: pointer;
}
.hiddenSlice {
  opacity: 0%;
}
.sliced-veggie {
  z-index: 5;
}
.assemblage {
  z-index: 1000;
  /*height: 50vh; */
  /* position: relative; */
  width: 100vw;
  text-align: center;
  display: flex;
  justify-content: space-around;
  align-items: right;
  margin-top: -10vh;
  /* background-color: brown; */
  background: rgba(255, 253, 130, 1);
  /* background: linear-gradient(
    180deg,
    rgba(254, 255, 14, 1) 0%,
    rgba(254, 175, 71, 1) 68%,
    rgba(255, 158, 0, 1) 100%
  ); */

  /* margin-top: 0vh;
  padding-top: 0%; */
  /* transition: all 0.5s ease-in-out; */
}

.changeSize {
  margin-top: -70vh;
  padding-top: 30%;
  /* background-color: blueviolet; */
}
#target {
  /* position: absolute; */
  /* width: 50% !important; */
  border-radius: 100% !important;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sauce {
  z-index: 100 !important;
  width: 6% !important;
  border-radius: 8% !important;
  /* margin-top: -100vh; */
}

#durum {
  width: 50% !important;
  border-radius: 50% !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
  z-index: 0;
}
.durum-container {
  z-index: 10 !important;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.durum-et-animation {
  /* z-index: 1000; */
  /* margin-top: 23%;
  margin-bottom: 72%; */
  position: relative;
  width: 75%;
  margin-bottom: 7vh;
  /* margin-left: 12%;
  margin-right: 15%; */
}
#animation-finale {
  transform: rotate(180deg);
  height: auto;
  display: none;
}

lottie-player {
  z-index: 9999 !important;
}
lottie-player #lottie_accueil  {
  z-index: 9999 !important;
}

#esmeralda {
  width: 20vw;
}

#startR {
  z-index: 3;
  margin-right: 3vw;
}
#startB {
  z-index: 3;
  margin-right: 3vw;
}
#sauceR,
#sauceB {
  margin-top: 13vh;
  margin-left: -15vw;
  width: auto;
  height: 70%;
}
#button-explication-assemblage {
  /* position: relative; */
  /* height: 5vh;
  width: auto; */
  /* margin-top: 67vh;
  margin-bottom: auto;
  margin-left: -9.5vh;
  margin-right: auto; */
  /* visibility: hidden; */
  cursor: pointer;
}
.bouton-assembler {
  width: 100vw;
  height: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#img-assembler {
  width: 26vw;
}

#img-bouton-assembler {
  position: absolute;
  width: 20%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  /* z-index: -10; */
  background-size: cover;
}
.esme {
  width: 100vw;
}
#telecommande {
  width: auto;
  height: 100%;
}
.mobile {
  display: none;
}
@media only screen and (max-width: 700px) {
  .desktop {
    display: none;
  }
  .mobile {
    height: 100vh;
    display: block;
  }
  .contour-histoire {
    width: 20%;
    height: auto;
  }
  .contour-histoire:hover {
    width: 30%;
    height: auto;
  }
  .contour-accueil {
    width: 20%;
    height: auto;
  }
  .contour-accueil:hover {
    width: 30%;
    height: auto;
  }
  .contour-recette {
    width: 20%;
    height: auto;
  }
  .contour-recette:hover {
    width: 30%;
    height: auto;
  }
  #esmeralda_recette {
    width: 100%;
  }
  .assiettes {
    /* width: 27vw; */
    height: 24vh;
    padding-top: 4vh;
  }
  .assiette {
    width: 100px;
    height: 100px;
    margin-top: 0;
    /* margin-bottom: -3vh; */
  }
  #retour {
    /* position: relative; */
    /* margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 40px; */
    z-index: 100;
    /* display: flex;
    justify-content: right;
    align-items: right; */
    font-family: "TYPO-CHARLOTTE-JULIE", sans-serif;
    font-size: 3vw;
  }

  #img_background {
    height: 100vh;
    width: auto;
  }

  .changeSize {
    margin-top: 15vh;
  }
  #sauceR,
  #sauceB {
    width: auto;
    height: 30%;
    margin-left: -22vw;
    margin-top: 17vh;
  }
  
  #startB {
    width: 9vw;
    margin-right: 52vw;
    height: auto;
  }
  #startB {
    width: 9vw;
    /* margin-right: 30vw; */
    height: auto;
  }

  .sauce {
    width: 10% !important;
    /* width: 30vw; */
  }
  #target {
    position: absolute;
    /* width: 50% !important; */
    border-radius: 50% !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .durum-et-animation {
    width: 100vw;
    margin-top: 0%;
    margin-left: 0%;
    margin-right: 0%;
    margin-bottom: 90%;
  }
  .assemblage {
    width: auto;
    /* height: 77%; */
    display: row;
    flex-wrap: wrap;
    /* justify-content: space-between; */
  }
  #esmeralda {
    margin-bottom: 2vh;
    width: 100%;
  }

  .assemblage .esmeralda-container {
      width: 50%;
      order: 5;
      position: absolute;
      z-index: 100;
      margin-top: 45vh;
      margin-left: 49vw;
  }

  .assemblage #startB {
    order: 3;
    /* margin-right: 60vw; */
  }
  .assemblage #startR {
    order: 2;
  }
  .assemblage #target {
    order: 1;
  }
  .assemblage #starttelecommande {
   
    order: 4;
    width: 20vw;
    /* width: 24%; */
    /* margin: ; */
    
  }
  .durum-container {
    /* width: auto; */
    height: 49vh;
    margin-top: 10vh;
  }
  #next {
    width: 100%;
  }

  .controls {
    margin-top: 5vh;
    margin-left: -20vh;
    width: 34vw;
    z-index: 100;
  }

  .container-esmeralda-recette {
    width: auto;
    margin-bottom: 5vh;
  }
  .legumes {
    margin-top: 11vh;
  }
  #img-assembler {
    width: 43vw;
  }
}

.hideanim dotlottie-player {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
}

.hideanim {
  opacity: 50%;
  /* transition: opacity 0.5s ease-in-out; */
}

.visibleAnim {
  opacity: 100%;
}
.container-esmeralda-recette {
  /* margin-top: 20vh; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
.container-esmeralda-recette button {
  z-index: 100;
  position: absolute;
  right: 0%;
  bottom: 53%;
  width: 14%;
  height: 14%;
  opacity: 0;
}
.esmeralda-container {
  /* position: absolute; */
  /* top: 14vw; */
  width: 36vw;
  height: auto;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  position: relative;
}

.esmeralda-container button {
  position: absolute;
  right: 10%;
  bottom: 14%;
  width: 4vw;
  height: 24%;
  opacity: 0;
}

/* .esme-eye1 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 5%;
  height: 5%;
  background-color: red;
} */

.plier {
  display: flex;
  justify-content: center;
  margin-bottom: 5vh;
}

#next {
  width: 100%;
}

#vrai-final {
  width: 100vw;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -10vh;
  background: rgba(255, 253, 130, 1);
}

.animation-vraie {
  width: 100vw;
 
  display: flex;
  justify-content: center;
  align-items: center;

  background: rgba(255, 253, 130, 1);
}
#final{
  width:100vw;
  height: 100vh;
  background: rgba(255, 253, 130, 1);
  }
  
  .space{
    background: rgba(255, 253, 130, 1);
    width: 100vw;
    height: 10vh;
    }