@font-face {
  font-family: "round";
  src: url("../fonts/HelveticaRounded.otf") format("opentype");
}

html {
  overflow: hidden;
}

body {
  position: relative;
  overflow: hidden;
  font-family: "round";
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, red 0%, white 20%);
}

header {
  display: flex;
  flex-wrap: nowrap;
  width: 100vw;
  z-index: 100;
}

.header-circles {
  width: 100vw;
  position: absolute;
  transform: translate(0%, -50%);
}

.cercle {
  z-index: 100;
  background: black;
  width: 50%;
  height: 30%;
  border-radius: 0 0 10000px 10000px;
}

.header-gauche {
  display: flex;
  flex-wrap: nowrap;
  background-color: none;
  height: 10vh;
  width: 25vw;
}

.header-nav {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  background: none;
  height: 10vh;
  width: 100%;
  z-index: 100;
}

.header-droite {
  display: flex;
  flex-wrap: nowrap;
  background-color: none;
  height: 10vh;
  width: 25vw;
}

.cercle-deco {
  background-color: black;
  height: 0;
  border-radius: 0 0 10000px 10000px;
}

header a {
  height: 100%;
  width: 70%;
  background-color: black;
  border-radius: 0 0 25px 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6vw;
}

.nav-recette {
  height: 10vh;
  width: 25vw;
  color: white;
  border-radius: 0 0 25px 25px;
}

.title-recette a {
  height: 47.5%;
  padding-bottom: 0.9vh;
  background-color: black;
  border-radius: 0 0 25px 25px;
  width: 100%;
  display: flex;
  justify-content: center;
  transition: 0.2s;
}

.title-recette:hover a {
  height: 61%;
}

.nav-takoyaki {
  height: 10vh;
  width: 30%;
  color: white;
  border-radius: 0 0 25px 25px;
}

.title-takoyaki h1 {
  width: 100%;
  display: flex;
  justify-content: center;
  transition-duration: 0.2s;
  height: 80%;
}

.title-takoyaki:hover h1 {
  height: 100%;
}

h1 {
  height: 120%;
  width: 80%;
  background-color: black;
  border-radius: 0 0 25px 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3.9vw;
  text-align: center;
}

.nav-histoire {
  height: 10vh;
  width: 25vw;
  color: white;
  border-radius: 0 0 25px 25px;
}

.title-histoire a {
  height: 47.5%;
  padding-bottom: 0.9vh;
  background-color: black;
  border-radius: 0 0 25px 25px;
  width: 100%;
  display: flex;
  justify-content: center;
  transition: 0.2s;
}

.title-histoire:hover a {
  height: 61%;
  transition: 0.2s;
}

.etape0,
.layer-1,
.layer-2,
.layer-3,
.layer-4 {
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
}

.layer-1 {
  z-index: 40;
}

.budget {
  transform: translate(-50%, -50%);
  width: 25vw;
  height: 25vh;
  position: absolute;
  top: 20vh;
  left: 10vw;
  animation: anim-budget 0.5s ease-in infinite alternate-reverse;
}

@keyframes anim-budget {
  from {
    width: 25vw;
    height: 25vh;
  }
  to {
    width: 30vw;
    height: 30vh;
  }
}

.min-40 {
  width: 40vw;
  height: 40vw;
  position: absolute;
  top: 10vh;
  left: 65vw;
  animation: anim-min-40 0.5s ease-in-out infinite alternate-reverse;
}

@keyframes anim-min-40 {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 10deg;
  }
}

.easy {
  width: 38vw;
  height: 38vw;
  position: absolute;
  top: 70vh;
  left: 74vw;
}

.miam {
  width: 30vw;
  height: 30vw;
  position: absolute;
  top: 35vh;
  left: 22vw;
  animation: anim-miam 1s ease-in-out infinite alternate-reverse;
}

.min-40-2 {
  display: none;
}

.paquet-tako {
  display: none;
}

@keyframes anim-miam {
  from {
    rotate: 10deg;
  }
  to {
    rotate: 0deg;
  }
}

.layer-2 {
  z-index: 30;
}

.poulpy {
  width: 50vw;
  height: 50vw;
  position: absolute;
  top: 35vh;
  left: -10vw;
  animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
}

@keyframes anim-poulpy {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 10deg;
  }
}

.takoyaki-img {
  z-index: 31;
  width: 75vw;
  position: absolute;
  top: 13vh;
  left: 23vw;
  background-size: cover;
}

.ecr-jap-rouge {
  z-index: 32;
  width: 50vw;
  height: 50vw;
  position: absolute;
  top: 40vh;
  left: 40vw;
}

.layer-3 {
  z-index: 10;
}

.traits-rouges {
  width: 30vw;
  height: 30vw;
  position: absolute;
  top: 22vh;
  left: 13vw;
}

.layer-4 {
  z-index: -100;
}

.languette {
  width: 40vw;
  height: 40vw;
  position: absolute;
  top: -10vh;
  left: -15vw;
}

.ecr-jap-noir {
  width: 50vw;
  height: 40vw;
  position: absolute;
  top: -5vh;
  left: 15vw;
}

.etape0 {
  height: 100%;
}

.etape1-layer-1 {
  z-index: 20;
}

.e1-ok {
  width: 30vw;
  height: 30vw;
  position: absolute;
  top: 38vh;
  right: 6vw;
  z-index: 10;
  transition: 0.2s;
  animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
}

.e1-ok:hover {
  width: 32vw;
  height: 32vw;
  top: 36.5vh;
  right: 5vw;
  transition: 0.2s;
  animation: anim-poulpy 0.1s ease-in-out infinite alternate-reverse;
}

.e1-poulpe {
  width: 45vw;
  position: absolute;
  top: 30vh;
  left: -10vw;
  animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
}

.e1-bulle1 {
  width: 55vw;
  position: absolute;
  top: 12vh;
  left: 12vw;
  z-index: 10;
}

.e1-bulle2 {
  width: 45vw;
  position: absolute;
  top: 43vh;
  left: 30vw;
  z-index: 10;
}

.e1-bulle3 {
  display: none;
}

.e1-lait {
  width: 27vw;
  position: absolute;
  top: 46vh;
  left: 15vw;
  z-index: 10;
  animation-delay: 1s;
  animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
  animation-delay: 0.8s;
}

.etape1-layer-2 {
  z-index: 40;
}

.e1-soja {
  width: 80vw;
  position: absolute;
  top: -20vh;
  right: -20vw;
  animation: anim-soja 1s ease-in-out infinite alternate-reverse;
}

@keyframes anim-soja {
  from {
    transform: translate(0%, 3%);
  }
  to {
    transform: translate(0%, 0%);
  }
}

.e1-bol {
  width: 35vw;
  position: absolute;
  top: 43vh;
  right: 25vw;
  animation: anim-min-40 0.5s ease-in-out infinite alternate-reverse;
}

.e1-tirets-rouge {
  width: 35vw;
  position: absolute;
  top: 46vh;
  right: 32vw;
  z-index: -1;
  animation: anim-tirets-rouge 0.5s ease-in-out infinite alternate-reverse;
}

@keyframes anim-tirets-rouge {
  from {
    transform: scale(90%);
  }
  to {
    transform: scale(100%);
  }
}

.e1-dashi {
  width: 20vw;
  position: absolute;
  top: 65vh;
  right: 2vw;
  z-index: 1;
  animation: dashi 0.5s ease-in-out infinite alternate-reverse;
}

@keyframes dashi {
  from {
    transform: rotate(5deg);
  }
  to {
    transform: rotate(-5deg);
  }
}

.e1-poudre {
  width: 20vw;
  position: absolute;
  top: 60vh;
  right: -4vw;
  z-index: -1;
  animation: poudre 0.5s ease-in-out infinite alternate-reverse;
}

@keyframes poudre {
  from {
    transform: scale(95%);
  }
  to {
    transform: scale(100%);
  }
}

.etape2-layer-1 {
  z-index: 20;
}

.e2-poulpe {
  width: 40vw;
  position: absolute;
  top: 20vh;
  right: -4vw;
  animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
}

.e2-bulle1 {
  width: 50vw;
  position: absolute;
  top: 25vh;
  left: 27vw;
  z-index: 1;
}

.e2-bulle2 {
  width: 40vw;
  position: absolute;
  top: 43vh;
  left: 30vw;
}

.e2-bulle3 {
  display: none;
}

.e2-fait {
  width: 30vw;
  position: absolute;
  top: 17vh;
  left: 6vw;
  transition: 0.2s;
  animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
}

.e2-fait:hover {
  width: 32vw;
  top: 14vh;
  left: 5vw;
  transition: 0.2s;
  animation: anim-poulpy 0.2s ease-in-out infinite alternate-reverse;
}

.e2-stars1 {
  width: 8vw;
  position: absolute;
  top: 70vh;
  right: 55vw;
  animation: anim-poulpy 0.5s ease-in-out infinite alternate-reverse;
}

.e2-stars2 {
  width: 8vw;
  position: absolute;
  top: 17vh;
  right: 20vw;
  animation: anim-poulpy 0.5s ease-in-out infinite alternate-reverse;
}

.etape2-layer-2 {
  z-index: 20;
}

.e2-ciboulette {
  width: 50vw;
  position: absolute;
  top: 20vh;
  right: 18vw;
  z-index: -1;
  animation: e2-ciboulette 0.5s ease-in-out infinite alternate-reverse;
}

@keyframes e2-ciboulette {
  from {
    transform: rotate(2deg);
  }
  to {
    transform: rotate(-2deg);
  }
}

.e2-poulpefood {
  width: 27vw;
  position: absolute;
  top: 14vh;
  left: 8vw;
  z-index: -1;
  animation: e2-poulpefood 0.5s ease-in-out infinite alternate-reverse;
}

@keyframes e2-poulpefood {
  from {
    transform: rotate(-2deg);
  }
  to {
    transform: rotate(2deg);
  }
}

.etape3-layer-1 {
  z-index: 20;
}

.e3-plaque {
  width: 77vw;
  position: absolute;
  bottom: 0vh;
  right: -20vw;
  z-index: -1;
}

.e3-fait {
  width: 37vw;
  position: absolute;
  top: 32vh;
  left: 20vw;
  z-index: 30;
  animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
}

.e3-fait:hover {
  animation: anim-poulpy 0.2s ease-in-out infinite alternate-reverse;
}

.e3-signes {
  width: 50vw;
  position: absolute;
  top: 20vh;
  right: -5vw;
  z-index: -1;
  animation: e2-poulpefood 1s ease-in-out infinite alternate-reverse;
}

.e3-bulle1 {
  width: 40vw;
  position: absolute;
  top: 18vh;
  left: 18vw;
  z-index: 1;
}

.e3-bulle2 {
  width: 40vw;
  position: absolute;
  top: 43vh;
  left: 38vw;
  z-index: -1;
}

.e3-bulle3 {
  display: none;
}

.e3-poulpe {
  width: 50vw;
  position: absolute;
  top: 5vh;
  left: -15vw;
  z-index: -1;
  animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
}

.etape4-layer-1 {
  z-index: 20;
}

.e4-poulpe {
  width: 45vw;
  position: absolute;
  top: 4vh;
  right: 6vw;
  animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
}

.e4-bulle1 {
  width: 70vw;
  position: absolute;
  top: 50vh;
  left: 3vw;
  z-index: 1;
}

.e4-bulle2 {
  width: 40vw;
  position: absolute;
  top: 43vh;
  right: 38vw;
}

.e4-bulle3 {
  display: none;
}

.e4-ok {
  width: 30vw;
  position: absolute;
  top: 3.5vh;
  left: 19vw;
  animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
}

.e4-ok:hover {
  animation: anim-poulpy 0.2s ease-in-out infinite alternate-reverse;
}

.e4-signes {
  width: 20vw;
  position: absolute;
  top: 9vh;
  left: 3vw;
  animation: e2-poulpefood 0.5s ease-in-out infinite alternate-reverse;
}

.e4-tirets-rouge {
  width: 140vw;
  position: absolute;
  top: 20vh;
  left: -30vw;
  z-index: -1;
  animation: anim-e4-tirets-rouge 1s ease-in-out infinite alternate-reverse;
}

@keyframes anim-e4-tirets-rouge {
  from {
    transform: scale(100%, 100%);
  }
  to {
    transform: scale(98%, 98%);
  }
}

.e4-plat {
  width: 46vw;
  position: absolute;
  top: 20vh;
  left: -2vw;
  animation: e2-poulpefood 1s ease-in-out infinite alternate-reverse;
}

.etape5-layer-5 {
  z-index: 20;
}

.e5-bulle1 {
  width: 56vw;
  position: absolute;
  top: 55vh;
  left: 13vw;
  z-index: 1;
}

.e5-bulle2 {
  width: 46vw;
  position: absolute;
  top: 47vh;
  left: 25vw;
  z-index: 1;
}

.e5-bulle3 {
  display: none;
}

.e5-fait {
  width: 30vw;
  position: absolute;
  bottom: -1vh;
  right: 10vw;
  z-index: 3;
  animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
}

.e5-fait:hover {
  animation: anim-poulpy 0.2s ease-in-out infinite alternate-reverse;
}

.e5-tako {
  width: 56vw;
  position: absolute;
  top: 02vh;
  right: -2vw;
  animation: anim-e6-tako 1s ease-in-out infinite alternate-reverse;
}

@keyframes anim-e6-tako {
  from {
    transform: translate(0.5%, 1%);
  }
  to {
    transform: translate(0%, 0%);
  }
}

.e5-signes {
  width: 90vw;
  position: absolute;
  top: 7vh;
  left: 5vw;
  z-index: 1;
  animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
}

.e5-poulpe {
  width: 46vw;
  position: absolute;
  top: 6vh;
  left: -8vw;
  animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
}

.etape6-layer-5 {
  z-index: 20;
}

.e6-bulle1 {
  width: 56vw;
  position: absolute;
  top: 55vh;
  left: 13vw;
  z-index: 1;
}

.e6-bulle2 {
  width: 46vw;
  position: absolute;
  top: 44vh;
  left: 22vw;
  z-index: 1;
}

.e6-bulle3 {
  display: none;
}

.e6-ready {
  width: 35vw;
  position: absolute;
  bottom: -13vh;
  right: 5vw;
  z-index: 30;
  animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
}

.e6-ready:hover {
  animation: anim-poulpy 0.2s ease-in-out infinite alternate-reverse;
}

.e6-dressage {
  width: 50vw;
  position: absolute;
  top: -2vh;
  right: -2vw;
  z-index: -2;
  animation: anim-e6-tako 1s ease-in-out infinite alternate-reverse;
}

.e6-poulpe {
  width: 46vw;
  position: absolute;
  top: 6vh;
  left: -8vw;
  animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
}

.etape6-layer-5 {
  z-index: 20;
}

.e7-bulle1 {
  width: 32vw;
  position: absolute;
  top: 35vh;
  left: 23vw;
  z-index: 1;
}

.e7-bulle2 {
  width: 45vw;
  position: absolute;
  top: 19vh;
  left: 3vw;
  z-index: 1;
}

.e7-bulle3 {
  display: none;
}

.e7-ok {
  width: 30vw;
  position: absolute;
  bottom: -6vh;
  left: 30vw;
  z-index: 1;
  animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
}

.e7-ok:hover {
  animation: anim-poulpy 0.2 s ease-in-out infinite alternate-reverse;
}

.e7-titan-poulpe {
  width: 95vw;
  position: absolute;
  top: 15.5vh;
  left: 1vw;
  animation: anim-e7-titan 1s ease-in-out infinite alternate-reverse;
}

@keyframes anim-e7-titan {
  from {
    transform: rotate(-0.5deg);
  }
  to {
    transform: rotate(0.5deg);
  }
}

.start-ingred,
.start-ingred-layer-1,
.start-ingred-layer-2,
.start-ingred-layer-3,
.start-ingred-layer-4 {
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
}

.start-ingred-layer-1 {
  pointer-events: none;
  z-index: 40;
}

.ingredients {
  width: 25vw;
  height: 25vw;
  position: absolute;
  top: 20vh;
  left: 10vw;
}

.start {
  width: 11vw;
  height: 11vw;
  position: absolute;
  top: 33vh;
  left: 75vw;
}

.bulle-start-ingred {
  width: 40vw;
  height: 40vw;
  position: absolute;
  top: 45vh;
  left: 30vw;
}

.start-ingred-layer-2 {
  pointer-events: none;
  z-index: 30;
}

.etabli {
  width: 100vw;
  height: 100vw;
  position: absolute;
  top: 0vh;
  left: -0vw;
}

.etabli-mq {
  display: none;
}

.ingred-jap {
  width: 15vw;
  position: absolute;
  top: 28vh;
  left: 10vw;
  background-size: cover;
}

.start-jap {
  width: 25vw;
  position: absolute;
  top: 30vh;
  left: 61vw;
}

.start-ingred-layer-3 {
  z-index: 10;
}

.right-arrow {
  width: 30vw;
  height: 30vw;
  position: absolute;
  top: 22vh;
  left: 67vw;
  animation: anim-right-arrow 1s ease-in-out infinite alternate-reverse;
  transition: 0.2s;
}

.right-arrow:hover {
  width: 32vw;
  height: 32vw;
  top: 20vh;
  animation: anim-right-arrow 0.2s ease-in-out infinite alternate-reverse;
  transition: 0.2s;
}

@keyframes anim-right-arrow {
  from {
    transform: translate(0%, 0%);
  }
  to {
    transform: translate(-5%, 0%);
  }
}

.left-arrow {
  width: 30vw;
  height: 30vw;
  position: absolute;
  top: 22vh;
  left: 2vw;
  animation: anim-left-arrow 1s ease-in-out infinite alternate-reverse;
  transition: 0.2s;
}

.left-arrow:hover {
  width: 32vw;
  height: 32vw;
  top: 20vh;
  animation: anim-right-arrow 0.2s ease-in-out infinite alternate-reverse;
  transition: 0.2s;
}

@keyframes anim-left-arrow {
  from {
    transform: translate(0%, 0%);
  }
  to {
    transform: translate(5%, 0%);
  }
}

.poulpy-start-ingred {
  width: 40vw;
  height: 40vw;
  position: absolute;
  top: 15vh;
  left: 30vw;
  animation: anim-poulpy-start 1s ease-in-out infinite alternate-reverse;
}

@keyframes anim-poulpy-start {
  from {
    transform: translate(0%, 1%);
  }
  to {
    transform: translate(0%, 0%);
  }
}

.background {
  width: 79vw;
  height: 79vw;
  position: absolute;
  top: -20vh;
  left: 10.5vw;
  z-index: -10;
}

.background-mq {
  display: none;
}

.ingred-page,
.ingred-page-layer-1,
.ingred-page-layer-2,
.singred-page-layer-3,
.ingred-page-layer-4 {
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
}

.ready {
  width: 20vw;
  height: 20vw;
  position: absolute;
  top: 5vh;
  left: 75vw;
  transition: 0.2s;
  animation: anim-ready 1s ease-in-out infinite alternate-reverse;
}

.ready:hover {
  width: 23vw;
  height: 23vw;
  top: 4vh;
  left: 73vw;
  transition: 0.2s;
  animation: anim-ready 0.2s ease-in-out infinite alternate-reverse;
}

.ingred-bulle {
  z-index: 100;
}

@keyframes anim-ready {
  from {
    rotate: 10deg;
  }
  to {
    rotate: 0deg;
  }
}

.bulle-ingred {
  width: 40vw;
  height: 40vw;
  position: absolute;
  top: 45vh;
  left: 54vw;
}

.ingred-lait {
  width: 10vw;
  height: 10vw;
  position: absolute;
  top: 75vh;
  left: 17vw;
}

.ingred-farine {
  width: 10vw;
  height: 10vw;
  position: absolute;
  top: 75vh;
  left: 25vw;
}

.ingred-huile {
  width: 10vw;
  height: 10vw;
  position: absolute;
  top: 77vh;
  left: 15vw;
}

.ingred-nori {
  width: 6vw;
  height: 6vw;
  position: absolute;
  top: 87vh;
  left: 32vw;
}

.ingred-gingembre {
  width: 10vw;
  height: 10vw;
  position: absolute;
  top: 73vh;
  left: 40vw;
}

.ingred-oeuf {
  width: 10vw;
  height: 10vw;
  position: absolute;
  top: 74vh;
  left: 32vw;
}

.ingred-eau {
  width: 10vw;
  height: 10vw;
  position: absolute;
  top: 83vh;
  left: 32vw;
}

.ingred-mayo {
  width: 10vw;
  height: 10vw;
  position: absolute;
  top: 79vh;
  left: 22vw;
}

.ingred-poulpe {
  width: 15vw;
  height: 15vw;
  position: absolute;
  top: 70vh;
  left: 5vw;
}

.ingred-ciboulette {
  width: 7vw;
  height: 7vw;
  position: absolute;
  top: 86vh;
  left: 25vw;
}

.ingred-soja {
  width: 10vw;
  height: 10vw;
  position: absolute;
  top: 80vh;
  left: 17vw;
}

.ingred-dashi {
  width: 10vw;
  height: 10vw;
  position: absolute;
  top: 86vh;
  left: 39vw;
}

.ingred-bonite {
  width: 10vw;
  height: 10vw;
  position: absolute;
  top: 86vh;
  left: 8vw;
}

.ingred-sauce {
  width: 10vw;
  height: 10vw;
  position: absolute;
  top: 80vh;
  left: 40vw;
}

.customcb {
  width: 1.5vw;
  height: 1.5vw;
  margin: 2px 0 2px 0;
  background: white;
  border-radius: 100%;
  position: relative;
}

.customcb label.inner {
  display: flex;
  width: 100%;
  height: 100%;
  border-radius: 100px;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  transition: all 0.5s ease;
  cursor: pointer;
  position: relative;
  top: 0.125vw;
  left: 0.121vw;
  z-index: 1;
  background: black;
}

.customcb [type="checkbox"] {
  display: none;
}

.red.customcb input[type="checkbox"]:checked + label.inner {
  background: red;
}

.etabli {
  width: 100vw;
  height: 100vw;
  position: absolute;
  top: 0vh;
  left: -0vw;
  z-index: -30;
}

.tableau-container {
  display: flex;
}

.tableau {
  width: 30vw;
  height: 30vw;
  position: absolute;
  top: 19vh;
  left: 10vw;
}

@keyframes anim-poulpy {
  from {
    transform: translate(0%, 1%);
  }
  to {
    transform: translate(0%, 0%);
  }
}

.ingred-page-layer-4 {
  z-index: -100;
}

.background {
  width: 79vw;
  height: 100vh;
  position: absolute;
  top: 0vh;
  left: 10.5vw;
}

.poulpy-ingred {
  width: 40vw;
  height: 40vw;
  position: absolute;
  top: 10vh;
  left: 50vw;
  z-index: 100;
  animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
}

.hover-button {
  cursor: pointer;
}

#tableau {
  width: 40vw;
  height: 60vh;
  transform: translate(12vw, 13vh);
  background-color: white;
  border-radius: 50px;
  border: 5px solid black;
  position: absolute;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.tableau-title {
  font-size: 3vw;
  padding-bottom: 5px;
  border-bottom: 5px solid black;
  margin: 10px;
}

.tableau-lines {
  margin: 10px;
  font-size: 1.5vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tableau-line {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.tableau-ingredient {
  width: 20vw;
}

.tableau-contenance {
  width: 10vw;
}

.hide-ingredient {
  opacity: 0;
  transition: 0.3s opacity ease-in-out;
}

.showIngred {
  opacity: 100%;
}

#histoire-bulle,
.histoire-bulle {
  width: 55vw;
  height: 60vh;
  transform: translate(22vw, 12vh);
  background-color: white;
  border-radius: 50px;
  border: 6px solid black;
  position: absolute;
  overflow: scroll;
  z-index: 200;
}

.histoire-bulle::-webkit-scrollbar {
  display: none;
}

.histoire-bulle p {
  padding: 1em;
  font-size: 1.8em;
  text-transform: 5000px;
  color: black;
}

.histoire-img1 {
  width: 80vw;
  position: absolute;
  top: 20vh;
  left: 10vw;
}

.histoire-bg-images {
  width: 100%;
  height: 100%;
}

.histoire-bg-images .bg-img-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.bg-img-container img {
  width: 100%;
  height: auto;
}

#bg-img1 {
  width: 20%;
  left: 90%;
  top: 20%;
}

#bg-img2 {
  width: 20%;
  left: 12%;
  top: 25%;
}

#bg-img3 {
  width: 20%;
  left: 70%;
  top: 25%;
  transform: rotate(15deg);
}

#bg-img4 {
  width: 25%;
  left: 95%;
  top: 50%;
}

#bg-img5 {
  width: 20%;
  left: 10%;
  top: 30%;
  transform: rotate(30deg);
}

#bg-img6 {
  width: 35%;
  left: -5%;
  top: 40%;
  transform: rotate(45deg);
}

#bg-img7 {
  width: 40%;
  left: 50%;
  top: 45%;
  transform: rotate(45deg);
}

#bg-img8 {
  width: 35%;
  left: 20%;
  top: 85%;
}

#bg-img9 {
  width: 35%;
  left: 85%;
  top: 85%;
}

#bg-img10 {
  width: 35%;
  left: 40%;
  top: 90%;
}

.hidden-bg-img {
  opacity: 0%;
  transition: 0.5s opacity ease-in-out;
}

.show-bg-img {
  opacity: 100%;
}

@media screen and (max-width: 800px) {
  .etape0,
.layer-1,
.layer-2,
.layer-3,
.layer-4 {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
  }
  .header-circles {
    width: 200vw;
    position: absolute;
    transform: translate(0%, -40%);
  }
  header {
    display: flex;
    flex-wrap: nowrap;
    width: 100vw;
    z-index: 100;
  }
  h1 {
    height: 120%;
    width: 80%;
    background-color: black;
    border-radius: 0 0 25px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5.6vw;
    text-align: center;
  }
  header a {
    height: 70%;
    width: 90%;
    background-color: black;
    border-radius: 0 0 25px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3.6vw;
  }
  .nav-recette {
    height: 10vh;
    width: 25vw;
    color: white;
    border-radius: 0 0 25px 25px;
  }
  .title-recette {
    display: flex;
    justify-content: center;
    transition: 0.2s;
  }
  .title-recette:hover {
    height: 52%;
    transition: 0.2s;
  }
  .title-takoyaki {
    display: flex;
    justify-content: center;
    transition-duration: 1s;
  }
  .title-takoyaki:hover {
    height: 50%;
  }
  .title-histoire {
    display: flex;
    justify-content: center;
    transition: 0.2s;
  }
  .title-histoire:hover {
    height: 52%;
    transition: 0.2s;
  }
  .easy {
    width: 70vw;
    height: 79vw;
    position: absolute;
    top: 78vh;
    left: 53vw;
  }
  .miam {
    width: 75vw;
    height: 75vw;
    position: absolute;
    top: 35vh;
    left: 18vw;
    animation: anim-miam 1s ease-in-out infinite alternate-reverse;
  }
  .poulpy {
    width: 120vw;
    height: 120vw;
    position: absolute;
    top: 20vh;
    left: -40vw;
    animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
  }
  .languette {
    display: none;
  }
  .ecr-jap-noir {
    display: none;
  }
  .budget {
    transform: translate(-50%, -50%);
    width: 38vw;
    position: absolute;
    top: 20vh;
    left: 12vw;
    animation: none;
  }
  .ecr-jap-rouge {
    z-index: -10;
    width: 90vw;
    height: 90vw;
    position: absolute;
    top: -6vh;
    left: 20vw;
    transform: rotate(10deg);
  }
  .takoyaki-img {
    z-index: -1;
    width: 140vw;
    position: absolute;
    top: 13vh;
    left: -10vw;
    background-size: cover;
    transform: rotate(-10deg);
  }
  .min-40-2 {
    display: inline;
    width: 72vw;
    position: absolute;
    top: 69vh;
    left: -6vw;
  }
  .min-40 {
    display: none;
  }
  .paquet-tako {
    display: inline;
    width: 90vw;
    position: absolute;
    top: 45vh;
    right: -31vw;
    z-index: -1;
  }
  .e1-ok {
    width: 70vw;
    height: 70vw;
    position: absolute;
    top: 64vh;
    right: 14vw;
    z-index: 10;
    transition: 0.2s;
    animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
  }
  .e1-ok:hover {
    width: 70vw;
    height: 70vw;
    top: 64vh;
    right: 5vw;
    right: 14vw;
    transition: 0.2s;
    animation: anim-poulpy 0.2s ease-in-out infinite alternate-reverse;
  }
  .e1-poulpe {
    width: 125vw;
    position: absolute;
    top: 8vh;
    left: -40vw;
    animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
  }
  .e1-bulle1 {
    width: 90vw;
    position: absolute;
    top: 18.5vh;
    left: 5vw;
    z-index: 10;
  }
  .e1-bulle2 {
    display: none;
  }
  .e1-bulle3 {
    display: inline;
    width: 20vw;
    position: absolute;
    top: 11vh;
    left: 39vw;
    z-index: 3;
  }
  .e1-lait {
    width: 57vw;
    position: absolute;
    top: 55vh;
    left: -7vw;
    z-index: 10;
    animation-delay: 1s;
    animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
    animation-delay: 0.8s;
  }
  .etape1-layer-2 {
    z-index: 40;
  }
  .e1-soja {
    width: 130vw;
    position: absolute;
    top: 15vh;
    right: -50vw;
    animation: anim-soja 1s ease-in-out infinite alternate-reverse;
  }
  .e1-bol {
    width: 70vw;
    position: absolute;
    top: 46vh;
    right: 14vw;
    animation: anim-min-40 0.5s ease-in-out infinite alternate-reverse;
  }
  .e1-tirets-rouge {
    display: none;
  }
  .e1-dashi {
    width: 40vw;
    position: absolute;
    top: 75vh;
    right: -10vw;
    z-index: 1;
    animation: dashi 0.5s ease-in-out infinite alternate-reverse;
  }
  .e1-poudre {
    width: 40vw;
    position: absolute;
    top: 65vh;
    right: -4vw;
    z-index: -1;
    animation: poudre 0.5s ease-in-out infinite alternate-reverse;
  }
  .e2-poulpe {
    width: 115vw;
    position: absolute;
    top: 10vh;
    right: -42vw;
  }
  .e2-fait {
    width: 70vw;
    position: absolute;
    top: 53vh;
    left: 14vw;
    transform: translate(10vw, 38vh);
  }
  .e2-fait:hover {
    width: 70vw;
    top: 64vh;
    top: 53vh;
    left: 14vw;
    transition: 0.2s;
    animation: anim-poulpy 0.2s ease-in-out infinite alternate-reverse;
  }
  .e2-stars1 {
    width: 22vw;
    position: absolute;
    top: 30vh;
    left: 4vw;
  }
  .e2-stars2 {
    width: 20vw;
    position: absolute;
    top: 52vh;
    left: -3vw;
    z-index: 2;
  }
  .e2-ciboulette {
    width: 130vw;
    position: absolute;
    top: 28vh;
    left: -7vw;
    z-index: -1;
  }
  .e2-poulpefood {
    width: 60vw;
    position: absolute;
    top: 30vh;
    left: 0vw;
    z-index: -1;
  }
  .e2-bulle1 {
    width: 95vw;
    position: absolute;
    top: 19vh;
    left: 2vw;
    z-index: 3;
  }
  .e2-bulle2 {
    display: none;
  }
  .e2-bulle3 {
    display: inline;
    width: 20vw;
    position: absolute;
    top: 11vh;
    left: 39vw;
    z-index: 3;
  }
  .e3-plaque {
    width: 170vw;
    position: absolute;
    top: 59vh;
    bottom: 0vh;
    right: -40vw;
    z-index: -1;
  }
  .e3-fait {
    width: 70vw;
    position: absolute;
    top: 70vh;
    left: 14vw;
    transform: translate(10vw, 38vh);
  }
  .e3-fait:hover {
    animation: anim-poulpy 0.2s ease-in-out infinite alternate-reverse;
  }
  .e3-signes {
    width: 100vw;
    position: absolute;
    top: 45vh;
    right: -20vw;
    z-index: -1;
  }
  .e3-bulle1 {
    width: 90vw;
    position: absolute;
    top: 19vh;
    left: 4vw;
    z-index: 1;
  }
  .e3-bulle2 {
    display: none;
  }
  .e3-bulle3 {
    display: inline;
    width: 20vw;
    position: absolute;
    top: 11vh;
    left: 39vw;
    z-index: 3;
  }
  .e3-poulpe {
    width: 140vw;
    position: absolute;
    top: 8vh;
    left: -65vw;
    transform: rotate(-30deg);
    z-index: -1;
    animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
  }
  .e4-poulpe {
    width: 85vw;
    position: absolute;
    top: 12vh;
    right: 8vw;
    z-index: 1;
    transform: rotate(-8deg);
    animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
  }
  .e4-bulle1 {
    width: 94vw;
    position: absolute;
    top: 65vh;
    left: 3vw;
    z-index: 1;
  }
  .e4-bulle2 {
    display: none;
  }
  .e4-bulle3 {
    display: inline;
    width: 20vw;
    position: absolute;
    top: 11vh;
    left: 39vw;
    z-index: 3;
  }
  .e4-ok {
    width: 70vw;
    position: absolute;
    top: 70vh;
    left: 14vw;
    transform: translate(10vw, 38vh);
  }
  .e4-ok:hover {
    animation: anim-poulpy 0.2s ease-in-out infinite alternate-reverse;
  }
  .e4-signes {
    width: 40vw;
    position: absolute;
    top: 15vh;
    left: 3vw;
    z-index: 2;
    transform: rotate(-15deg);
  }
  .e4-tirets-rouge {
    display: none;
  }
  .e4-plat {
    width: 100vw;
    transform: rotate(4deg);
    position: absolute;
    top: 45vh;
    left: -2vw;
  }
  .e5-bulle1 {
    width: 90vw;
    position: absolute;
    top: 55vh;
    left: 4vw;
    z-index: 1;
  }
  .e5-bulle2 {
    display: none;
  }
  .e5-bulle3 {
    display: inline;
    width: 20vw;
    position: absolute;
    top: 11vh;
    left: 39vw;
    z-index: 3;
  }
  .e5-fait {
    width: 70vw;
    position: absolute;
    top: 70vh;
    left: 14vw;
    transform: translate(10vw, 38vh);
  }
  .e5-fait:hover {
    animation: anim-poulpy 0.2s ease-in-out infinite alternate-reverse;
  }
  .e5-tako {
    width: 130vw;
    position: absolute;
    top: 0vh;
    right: -12vw;
  }
  .e5-signes {
    width: 90vw;
    position: absolute;
    top: 16vh;
    left: 5vw;
    z-index: 1;
  }
  .e5-poulpe {
    width: 120vw;
    position: absolute;
    top: 15vh;
    left: -45vw;
  }
  .e6-bulle1 {
    width: 94vw;
    position: absolute;
    top: 45vh;
    left: 2.5vw;
    z-index: 1;
  }
  .e6-bulle2 {
    display: none;
  }
  .e6-bulle3 {
    display: inline;
    width: 20vw;
    position: absolute;
    top: 11vh;
    left: 39vw;
    z-index: 3;
  }
  .e6-ready {
    width: 75vw;
    position: absolute;
    top: 63vh;
    left: 12.5vw;
    z-index: 30;
    animation: anim-poulpy 1s ease-in-out infinite alternate-reverse;
  }
  .e6-ready:hover {
    animation: anim-poulpy 0.2s ease-in-out infinite alternate-reverse;
  }
  .e6-dressage {
    width: 105vw;
    position: absolute;
    top: 40vh;
    right: 0vw;
    z-index: -2;
  }
  .e6-poulpe {
    width: 110vw;
    position: absolute;
    transform: rotate(14deg);
    top: 4vh;
    left: -6vw;
  }
  .e7-bulle1 {
    width: 85vw;
    position: absolute;
    top: 19vh;
    left: 10vw;
    z-index: 1;
  }
  .e7-bulle2 {
    display: none;
  }
  .e7-bulle3 {
    display: inline;
    width: 20vw;
    position: absolute;
    top: 11vh;
    left: 39vw;
    z-index: 3;
  }
  .e7-ok {
    width: 70vw;
    position: absolute;
    top: 70vh;
    left: 14vw;
    transform: translate(10vw, 38vh);
  }
  .e7-ok:hover {
    animation: anim-poulpy 0.2s ease-in-out infinite alternate-reverse;
  }
  .e7-titan-poulpe {
    width: 300vw;
    position: absolute;
    transform: rotate(0deg);
    top: 10vh;
    left: -35vw;
  }
  .start-ingred,
.start-ingred-layer-1,
.start-ingred-layer-2,
.start-ingred-layer-3,
.start-ingred-layer-4 {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
  }
  .start-ingred-layer-1 {
    pointer-events: none;
    z-index: 40;
  }
  .ingredients {
    width: 36vw;
    position: absolute;
    top: 10vh;
    left: 8vw;
  }
  .start {
    width: 18vw;
    position: absolute;
    top: 14vh;
    left: 75vw;
  }
  .bulle-start-ingred {
    width: 80vw;
    height: 80vh;
    position: absolute;
    top: 45vh;
    left: 10vw;
  }
  .start-ingred-layer-2 {
    pointer-events: none;
    z-index: 1;
  }
  .etabli {
    display: none;
  }
  .etabli-mq {
    display: inline;
    position: absolute;
    top: 36vh;
    width: 100vw;
    height: 100vh;
  }
  .ingred-jap {
    width: 15vw;
    position: absolute;
    top: 19vh;
    left: 10vw;
    background-size: cover;
  }
  .start-jap {
    width: 25vw;
    position: absolute;
    top: 19vh;
    left: 61vw;
  }
  .start-ingred-layer-3 {
    z-index: 10;
  }
  .right-arrow {
    width: 35vw;
    position: absolute;
    top: 22vh;
    left: 60vw;
    animation: anim-right-arrow 1s ease-in-out infinite alternate-reverse;
    transition: 0.2s;
  }
  .left-arrow {
    width: 35vw;
    position: absolute;
    top: 22vh;
    left: 5vw;
    animation: anim-left-arrow 1s ease-in-out infinite alternate-reverse;
    transition: 0.2s;
  }
  #tableau {
    width: 80vw;
    height: 60vh;
    left: -6vw;
    transform: translate(12vw, 11.5vh);
    background-color: white;
    border-radius: 30px;
    border: 5px solid black;
    position: absolute;
    z-index: 2000;
    display: flex;
    overflow: scroll;
    flex-direction: column;
    padding: 10px;
  }
  .tableau-title {
    font-size: 5.2vw;
    padding-bottom: 5px;
    border-bottom: 5px solid black;
    margin: 10px;
  }
  .tableau-lines {
    margin: 10px;
    font-size: 5.2vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .tableau-line {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  .tableau-ingredient {
    width: 20vw;
  }
  .tableau-contenance {
    width: 10vw;
  }
  .poulpy-ingred {
    display: none;
  }
  .bulle-ingred {
    display: none;
  }
  .ingred-lait {
    width: 30vw;
    height: 30vw;
    position: absolute;
    top: 75vh;
    left: 17vw;
  }
  .ingred-farine {
    width: 24vw;
    height: 24vw;
    position: absolute;
    top: 78vh;
    left: 58vw;
  }
  .ingred-huile {
    width: 24vw;
    height: 24vw;
    position: absolute;
    top: 77vh;
    left: -3vw;
  }
  .ingred-nori {
    width: 20vw;
    height: 20vw;
    position: absolute;
    top: 87vh;
    left: 80vw;
  }
  .ingred-gingembre {
    width: 23vw;
    height: 23vw;
    position: absolute;
    top: 88vh;
    left: 10vw;
  }
  .ingred-oeuf {
    width: 24vw;
    height: 24vw;
    position: absolute;
    top: 77vh;
    left: 76vw;
    z-index: -2;
  }
  .ingred-eau {
    width: 20vw;
    height: 20vw;
    position: absolute;
    top: 83vh;
    left: 8vw;
    z-index: -2;
  }
  .ingred-mayo {
    width: 20vw;
    height: 20vw;
    position: absolute;
    top: 79vh;
    left: 14vw;
  }
  .ingred-poulpe {
    width: 30vw;
    height: 30vw;
    position: absolute;
    top: 87vh;
    left: -10vw;
  }
  .ingred-ciboulette {
    width: 25vw;
    height: 25vw;
    position: absolute;
    top: 86vh;
    left: 71vw;
    z-index: -4;
  }
  .ingred-soja {
    width: 13vw;
    height: 13vw;
    position: absolute;
    top: 78vh;
    left: 8vw;
    z-index: -3;
  }
  .ingred-dashi {
    width: 24vw;
    height: 24vw;
    position: absolute;
    top: 86vh;
    left: 59vw;
    z-index: -6;
  }
  .ingred-bonite {
    width: 25vw;
    height: 25vw;
    position: absolute;
    top: 88.5vh;
    left: 24vw;
    z-index: -3;
  }
  .ingred-sauce {
    width: 24vw;
    height: 24vw;
    position: absolute;
    top: 73vh;
    left: 70vw;
    z-index: -4;
  }
  .customcb {
    width: 4.5vw;
    height: 4.5vw;
    margin: 2px 0 2px 0;
    background: white;
    border-radius: 100%;
    position: relative;
  }
  .ready {
    width: 46vw;
    height: 46vw;
    position: absolute;
    top: 75vh;
    left: 28vw;
    transition: 0.2s;
    z-index: 10;
    animation: anim-ready 1s ease-in-out infinite alternate-reverse;
  }
  .ready:hover {
    width: 52vw;
    height: 52vw;
    position: absolute;
    top: 72vh;
    left: 26vw;
    transition: 0.2s;
    animation: anim-ready 1s ease-in-out infinite alternate-reverse;
  }
  .poulpy-start-ingred {
    width: 85vw;
    height: 85vh;
    position: absolute;
    top: 15vh;
    left: 7.5vw;
    animation: anim-poulpy-start 1s ease-in-out infinite alternate-reverse;
    pointer-events: none;
  }
  .background {
    display: none;
  }
  .background-mq {
    display: inline;
    position: absolute;
    top: -6vh;
    left: -55vw;
    width: 210vw;
    height: 93vh;
  }
  #histoire-bulle {
    width: 75vw;
    height: 70vh;
    left: -11vw;
    background-color: white;
    border-radius: 40px;
    border: 6px solid black;
    position: absolute;
    overflow: scroll;
    z-index: 200;
  }
  .histoire-bulle p {
    padding: 0.6em;
    font-size: 1.4em;
    text-transform: 5000px;
    color: black;
  }
  .histoire-img1 {
    width: 200vw;
    position: absolute;
    top: 40vh;
    left: -60vw;
  }
}

.isAnimated > * {
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
  transform: scale(0);
  opacity: 0%;
}

.isAnimated.scaleUp > * {
  transform: scale(1);
  opacity: 100%;
}
