body {
  overflow: hidden;
  padding: 0;
  margin: 0;
  /* background-color: #449aff; */
  /* background-image: url(../../medias/INFOLYSKIDS_MENU_BG_picto_ref.png); */
  /* background-position: 100% 100%; */
  background-repeat: repeat;
  height: 100vh;
  display: flex;
  animation: moveBackground 200s linear infinite;
}

@keyframes moveBackground {
  0% {
    background-position: 0px 0px;
  }
  100% {
    background-position: 1920px 1080px;
  }
}

body.white {
  background-image: none;
  background-color: white;
}

#wrapper {
  display: flex;
  flex-direction: column;
}
#wrapper:before, #wrapper:after {
  content: "";
  flex: 1;
}

#content {
  width: 100%;
  position: relative;
  text-align: center;
}

#background img {
  width: 100vw;
  object-fit: contain;
  max-height: 100vh;
  margin: 0 auto;
}

#video, #quiz, .quiz, #image {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  max-height: 100vh;
  margin: 0 auto;
}

#videoBG{
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  max-height: 100vh;
  /* margin: 0 auto; */
}

.quiz {
  cursor: pointer;
}

#transition, #transition2 {
  background-color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  display: none;
}

#transition2 {
  background-color: #ffffff;
}

#content-wrapper {
  width: 100vw;
  object-fit: contain;
  max-height: 100vh;
  margin: 0 auto;
}


.item {
  cursor: pointer;
  position: absolute;
  transition: transform 0.3s;
}
.item:hover {
  transform: scale(1.1);
}
#btn-back:hover {
  transform: scale(1.1);
}
.item img {
  width: 100%;
  height: 100%;
}

#wrp img {
  width: 100%;
  height: 100%;
}

.item2 {
  position: absolute;
}
.item2 img {
  width: 100%;
  height: 100%;
}

#logo-maif {
  position: fixed;
  top: 0;
  height: 200px;
  width: 200px;
}

#logo-infolys {
  position: fixed;
  top: 0;
  right: 0;
  height: 200px;
  width: 301px;
}

#wrp{
  position: fixed;
  bottom: 1%;
  right: 0.5%;
  height: 150px;
  width: 150px;
}
.mainMenu {
  display: none;
}

#start {
  animation: animateHeart 4s infinite;
  width: 500px;
  cursor: pointer;
  transition: transform 0.3s;
}

#btn-back, #btn-next, #btn-exit-quizz {
  cursor: pointer;
  width: 100%;
  height: 100%;
  position: absolute;
  transition: transform 0.3s;
  display: none;
}
#start:hover {
  transform: scale(1.1);
}

@keyframes animateHeart {
  0% {
    transform: scale(0.975);
  }
  5% {
    transform: scale(0.98);
  }
  10% {
    transform: scale(0.985);
  }
  15% {
    transform: scale(0.99);
  }
  20% {
    transform: scale(0.975);
  }
  25% {
    transform: scale(0.98);
  }
  30% {
    transform: scale(0.975);
  }
  35% {
    transform: scale(0.98);
  }
  40% {
    transform: scale(0.985);
  }
  45% {
    transform: scale(0.99);
  }
  50% {
    transform: scale(0.975);
  }
  55% {
    transform: scale(0.98);
  }
  60% {
    transform: scale(0.975);
  }
  65% {
    transform: scale(0.98);
  }
  70% {
    transform: scale(0.985);
  }
  75% {
    transform: scale(0.99);
  }
  80% {
    transform: scale(0.98);
  }
  85% {
    transform: scale(0.98);
  }
  90% {
    transform: scale(0.975);
  }
  95% {
    transform: scale(0.98);
  }
  100% {
    transform: scale(0.975);
  }
}
