* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  background-color: #161616;
  font-family: "Figtree", Tahoma, Geneva, Verdana, sans-serif;
  color: #f3f1f6;
  transition: background-color 0.8s ease, color 0.8s ease;
}

.noise::before {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  content: "";
  opacity: 0.02;
  z-index: 1000;
  pointer-events: none;
  background: url("noise.gif");
}

/* Menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.burger span {
  width: 18px;
  height: 1.5px;
  background-color: #f3f1f6;
  display: block;
}

.logo {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
}

.logo img {
  width: 20%;
  display: flex;
}

.img_menu1 {
  width: 16px;
  height: 19px;
}

.img_menu2 {
  width: 16px;
  height: 16px;
}

#logo {
  font-style: italic;
  font-weight: bolder;
  font-size: 22px !important;
  filter: blur(0px);
  letter-spacing: 3px;
  color: #f3f1f6;
  font-family: "times", serif;
  opacity: 1;
  text-transform: lowercase;
  position: relative;
  animation: unblur 2s ease-out forwards;
}

.bouttons {
  display: flex;
  flex-direction: row;
  gap: 10%;
}

button {
  all: unset; /* Réinitialise les styles par défaut */
  display: inline-block; /* Nécessaire pour appliquer vos styles */
}

.button_2 {
  width: 54px; /* Largeur fixe, ajuste si besoin */
  height: 54px; /* Hauteur fixe, ajuste si besoin */
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0 4px; /* Optionnel : petit espace entre les boutons */
  border: 1px solid #f3f1f6;
  color: #f3f1f6;
  opacity: 0.75;
}

.button_2 button {
  text-decoration: none;
  padding: 15px 20px;
  font-size: calc(1vw + 0.28rem);
  display: inline-block;
  transition: background-color 0.4s ease, transform 0.7s ease;
}

.button_2:hover {
  background-color: #d4d2d270;
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(6px); /* pour Safari */
}

.button_2 a {
  text-decoration: none;
  padding: 10px 10px;
  font-size: calc(1vw - 0.05rem);
  display: inline-block;
}
.menu {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5% 4%;
}

.rolling-text {
  display: inline-block;
  font-size: 16px;
  line-height: 25px;
  height: 25px;
  text-decoration: none;
  overflow: hidden;
  color: #f3f1f6;
  opacity: 0.5;
  filter: blur(0.4px);
  padding: 0px 15px;
}

.onglet_active {
  opacity: 1;
  filter: blur(0px);
}

.rolling-text:hover {
  filter: blur(0px);
}

.rolling-text:hover .letter,
.rolling-text.play .letter {
  transform: translateY(-100%);
}

.rolling-text .block:last-child {
  opacity: 1;
}

.rolling-text .letter {
  display: inline-block;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

.letter:nth-child(1) {
  transition-delay: 0s;
}

.letter:nth-child(2) {
  transition-delay: 0.015s;
}

.letter:nth-child(3) {
  transition-delay: 0.03s;
}

.letter:nth-child(4) {
  transition-delay: 0.045;
}

.letter:nth-child(5) {
  transition-delay: 0.06s;
}

.letter:nth-child(6) {
  transition-delay: 0.075s;
}

.letter:nth-child(7) {
  transition-delay: 0.09s;
}

.letter:nth-child(8) {
  transition-delay: 0.105s;
}

.letter:nth-child(9) {
  transition-delay: 0.12s;
}

.sidebar-text {
  font-family: "Monument Extended";
  position: absolute;
  top: 45%;
  left: 2em;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: transparent;
  -webkit-text-stroke: 1px rgb(117, 113, 113);
}

.container-tak {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: row-reverse;
}

.column {
  width: 50%;
  height: 100vh;
}

.left-tak {
  position: relative;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: url("../images/jin/14.gif") no-repeat 50% 50%;
  background-size: cover;
  padding: 20px;
}

.right-tak {
  display: flex;
  padding: 120px 0;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.img-tak {
  width: 160px;
  height: 200px;
  margin: 6px;
}

.img-1 {
  background: url("../images/jin/1.gif") no-repeat 50% 50%;
  background-size: cover;
}

.img-2 {
  background: url("../images/jin/5.jpg") no-repeat 50% 50%;
  background-size: cover;
}

.img-3 {
  background: url("../images/jin/3.jpg") no-repeat 50% 50%;
  background-size: cover;
}

.img-4 {
  background: url("../images/jin/4.jpg") no-repeat 50% 50%;
  background-size: cover;
}

.header-tak {
  color: #f3f1f6;
  font-size: 30px;
}

.header-tak h1 {
  position: relative;
  display: inline-block;
  font-family: "Voyage";
  line-height: 1em;
  color: #f3f1f6;
  opacity: 0.5;
  animation: anim_unblur 5s ease-out forwards;
}

.ml12 .letter-tak {
  display: inline-block;
  line-height: 1em;
}

.text-intro {
  padding: 7%;
  text-align: center;
  font-size: 18px;
  line-height: 2;
  opacity: 0.7;
}

.scroll-text {
  font-family: "Figtree", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  font-weight: lighter;
  position: fixed;
  bottom: 50px;
  right: 50px;
  text-transform: uppercase;
  z-index: 100000;
}

/* Scroll du texte*/
.container-x {
  margin: 125px 0px 0px 0px;
  position: relative;
}
.text {
  width: 100%;
  overflow-x: hidden;
}

.ticker-reel {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: 100%;
  will-change: transform;
}
.reel-item {
  font-weight: lighter;
  font-family: "Figtree", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 40px;
  filter: blur(1px);
  opacity: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px #f3f1f6;
}

/* Blocs de textes */
.main-container-y {
  display: flex; /* Active Flexbox */
  flex-direction: row-reverse;
  justify-content: space-between; /* Espace entre les conteneurs */
  align-items: flex-start;
  width: 100%; /* Prend toute la largeur */
  padding: 10%; /* Espacement interne */
  margin-bottom: -250px;
}

.container-left {
  flex: 1; /* Prend tout l'espace disponible à gauche */
  text-align: left; /* Aligne le texte à gauche */
  position: relative; /* Permet un positionnement normal */
}

.container-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  overflow: hidden; /* Cache les parties des images en dehors du conteneur */
  position: sticky;
  top: 0;
  margin-left: -10px;
  margin-right: 100px;
  height: 100vh;
}

.desktopContentSection {
  height: 100vh;
  opacity: 0;
}

.photo {
  position: absolute;
  top: 50px;
  right: 100px;
  width: 500px;
  height: 80vh;
  transition: clip-path 1.5s ease, opacity 1.5s ease;
  object-fit: cover;
}

.animated-heading {
  color: #f3f1f6;
  opacity: 0.75;
  font-family: "Figtree", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 50px;
  position: static; /* Supprime tout positionnement absolu */
  margin: 0; /* Réinitialise les marges */
  margin-bottom: 20px;
}

.animated-text {
  color: #f3f1f6;
  font-family: "Figtree", Tahoma, Geneva, Verdana, sans-serif;
  transform: translate(-0%, -0%);
  text-align: left;
  font-size: 18px;
  line-height: 2;
  position: static; /* Supprime tout positionnement absolu */
  margin: 0; /* Réinitialise les marges */
  animation: none;
}

.scroll-text {
  font-family: "Figtree", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  font-weight: lighter;
  position: fixed;
  bottom: 50px;
  left: 50%;
  text-transform: uppercase;
  animation: arrow-bounce 1s infinite alternate;
}

@keyframes arrow-bounce {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(20px);
  }
}

.container-z {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  width: 100%;
  margin-bottom: -100vh;
}

.text-z > p {
  background: linear-gradient(
    to right,
    rgb(255, 255, 255) 50%,
    rgb(37, 37, 37) 50%
  );
  background-size: 200% 100%;
  background-position-x: 100%;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  /*margin-bottom: -250px;*/
  margin-left: 50px;
  line-height: normal;
  position: static;
  transform: translate(0%, 0%);
  text-align: end;
  font-family: "Figtree", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 120px;
  white-space: normal;
}

/* Effet de l'image*/
.sticky-cards img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sticky-cards p {
  all: unset; /* Réinitialise tous les styles hérités */
  display: block;
  color: initial;
  font-family: "Figtree", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  position: static;
  transform: none;
  top: auto;
  left: auto;
  text-align: left;
  animation: none;
  color: #f3f1f6;
}

section {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.outro {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #000000;
  color: #fff;
}

.outro h1 {
  position: absolute;
  left: 20px;
  bottom: 740px;
  font-size: 2em;
  font-weight: 400;
  line-height: 1;
  font-family: "Figtree", Tahoma, Geneva, Verdana, sans-serif;
  z-index: 300000;
}

.card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
  width: 25%;
  height: 50%;
  padding: 0.5em;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  background-color: #202020;
  color: #fff;
}

.card-img {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
}

.card-content {
  flex: 0 0 12px;
  display: flex;
  align-items: center;
}

.card-content p {
  text-transform: uppercase;
  font-family: "Figtree", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 12px;
}

.fond {
  position: fixed;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: -100;
  pointer-events: none;
}

/* Trailer */
.trailer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100vh;
  padding: 3% 5%;
}

.content_trailer {
  display: flex;
  flex-direction: wrap;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}

.option_trailer {
  display: flex;
  flex-direction: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 50px;
  width: 60%;
}

.option_trailer a {
  text-decoration: none;
  color: white;
  padding: 15px 20px;
  font-size: calc(1vw + 0.1rem);
  opacity: 0.75;
  display: inline-block;
  transition: background-color 0.4s ease;
}

.option_trailer a:hover {
  color: white;
  opacity: 1;
  font-weight: 400;
}

canvas {
  width: 100%;
  height: 100%;
}

#enable-sound {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: absolute;
  bottom: 10px;
  left: 10px;
}

@media (max-width: 900px) {
  .card {
    width: 75%;
  }
}

video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@keyframes anim_unblur {
  0% {
    filter: blur(9px);
  }
  100% {
    filter: blur(0.01px);
  }
}

@media (min-width: 900px) {
  .container-tak {
    display: flex;
  }

  .images {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 900px) {
  .column {
    width: 100%;
  }

  .img-tak {
    width: 400px;
    height: 400px;
  }

  .header-tak {
    font-size: 20px;
    padding: 80px 0;
  }
}
