*,
*:before,
*:after {
  box-sizing: border-box;
}
body {
  /*width: 50vw;
  height: 50vh;*/
  font-family: 'Russo One', sans-serif;
  font-weight: 900;
  font-size: 85px;
  background-color: #111;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  opacity: 0;
  transition: opacity 16s ease-in-out;
  overflow: hidden; /* Empêche le défilement pendant l'animation */
}
body.loaded_content {
  opacity: 1;
}
body::before {
  content: '';
  position: fixed; /* Fixe l'image par rapport à la fenêtre */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/odio-concept-human.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  /* Applique l'effet de fondu */
  opacity: 0;
  transition: opacity 4s ease-in-out;
}

body.loaded_img::before {
  opacity: 1;
}
.inspiration {
  position: fixed;
  bottom: 0;
  right: 0;
  padding: 10px;
  font-size: 12px;
}
.inspiration img {
  width: 0px;
  filter: invert(0.8);
}
.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 15px;
}
.text {
  position: absolute;
  font-weight: 900;
  transform: translate(-50%, -50%);
  animation: move 3s ease-in-out infinite;
  will-change: transform;
}
.text:first-child:hover,
.text:first-child:hover ~ .text {
  animation-play-state: paused;
}
.text:nth-child(1) {
  color: #fff;
  z-index: 13;
  animation-delay: 0ms;
  --move: 20px;
}
.text:nth-child(2) {
  color: #fbca00;
  z-index: 12;
  animation-delay: 100ms;
  --move: 25px;
}
.text:nth-child(3) {
  color: #fba317;
  z-index: 11;
  animation-delay: 200ms;
  --move: 30px;
}
.text:nth-child(4) {
  color: #f58023;
  z-index: 10;
  animation-delay: 300ms;
  --move: 35px;
}
.text:nth-child(5) {
  color: #e96618;
  z-index: 9;
  animation-delay: 400ms;
  --move: 40px;
}
.text:nth-child(6) {
  color: #ee1f23;
  z-index: 8;
  animation-delay: 500ms;
  --move: 45px;
}
.text:nth-child(7) {
  color: #dc068e;
  z-index: 7;
  animation-delay: 600ms;
  --move: 50px;
}
.text:nth-child(8) {
  color: #ac1f8d;
  z-index: 6;
  animation-delay: 700ms;
  --move: 55px;
}
.text:nth-child(9) {
  color: #622b89;
  z-index: 5;
  animation-delay: 800ms;
  --move: 60px;
}
.text:nth-child(10) {
  color: #2c2f81;
  z-index: 4;
  animation-delay: 900ms;
  --move: 65px;
}
.text:nth-child(11) {
  color: #1c428e;
  z-index: 3;
  animation-delay: 1000ms;
  --move: 70px;
}
.text:nth-child(12) {
  color: #065b9d;
  z-index: 2;
  animation-delay: 1100ms;
  --move: 75px;
}
.text:nth-child(13) {
  color: #007da5;
  z-index: 1;
  animation-delay: 1200ms;
  --move: 80px;
}
@-moz-keyframes move {
  0%, 100% {
    transform: translate(-50%, calc(-50% + var(--move)));
  }
  50% {
    transform: translate(-50%, calc(-50% - var(--move)));
  }
}
@-webkit-keyframes move {
  0%, 100% {
    transform: translate(-50%, calc(-50% + var(--move)));
  }
  50% {
    transform: translate(-50%, calc(-50% - var(--move)));
  }
}
@-o-keyframes move {
  0%, 100% {
    transform: translate(-50%, calc(-50% + var(--move)));
  }
  50% {
    transform: translate(-50%, calc(-50% - var(--move)));
  }
}
@keyframes move {
  0%, 100% {
    transform: translate(-50%, calc(-50% + var(--move)));
  }
  50% {
    transform: translate(-50%, calc(-50% - var(--move)));
  }
}