* {
  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: 16px;
}

.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: "Figtree", Tahoma, Geneva, Verdana, sans-serif;
  position: absolute;
  top: 45%;
  right: 0.4em;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: transparent;
  -webkit-text-stroke: 1px rgb(117, 113, 113);
}

.container-tak {
  width: 100%;
  height: 100vh;
}

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

.left-tak {
  position: relative;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: url("../images/tak/07.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/tak/001.jpg") no-repeat 50% 50%;
  background-size: cover;
}

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

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

.img-4 {
  background: url("../images/tak/005.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: "Figtree", Tahoma, Geneva, Verdana, sans-serif;
  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 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);
  }
}

.rideau {
  position: relative;
  margin-top: 150px;
}

.frames {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  padding: 2.5%;
}

.clip {
  width: 40%;
  height: 100%;
  z-index: 2;
  position: relative;
  transition: width 0.3s;
}

.fond {
  object-fit: cover;
  height: 100%;
  width: 100%;
  z-index: 1000;
}

.imageries {
  width: 30%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4.5%;
  gap: 4%;
}

.image_1,
.image_2 {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 50%;
  filter: grayscale(5%);
}

#tak1 {
  background-image: url(/assets/images/tak/tak1.jpg);
}

#tak2 {
  background-image: url(/assets/images/tak/tak2.jpg);
}

#tak3 {
  background-image: url(/assets/images/tak/tak3.jpg);
}

#tak4 {
  background-image: url(/assets/images/tak/tak4.jpg);
}

/* Carroussel d'images */
.souvenirs {
  padding: 0;
  margin: 0;
  height: 600vh;
  width: 100vw;
  color: #f3f1f6;
  min-height: 200vh;
  position: relative;
}

.header_souvenirs {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 60vh;
  display: flex;
  align-items: top;
  justify-content: center;
  cursor: default;
}

.h2_souvenirs {
  font-size: 8vw;
  font-family: "Figtree", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: lighter;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 1rem 0;
}

.slider-section {
  height: 22vh;
  bottom: 0;
  position: fixed;
  width: 100%;
  pointer-events: none;
}

.wheel {
  position: fixed;
  top: 50vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300vw;
  height: 300vw;
  max-width: 2000px;
  max-height: 2000px;
  pointer-events: none;
  z-index: 10;
}

.clip,
.fond,
iframe {
  z-index: 1000 !important;
  position: relative;
  pointer-events: auto;
}

iframe {
  pointer-events: auto;
  position: relative;
  z-index: 1001; /* s'assurer qu'elle est au-dessus */
}

.wheel__card {
  position: absolute;
  top: 0;
  left: 0;
  width: 6%;
  max-width: 200px;
  aspect-ratio: 1 /1;
  pointer-events: none;
  z-index: 10;
}

.wheel__card img {
  width: 100%;
  pointer-events: none;
  z-index: 10000;
  pointer-events: none;
  transform: rotate(180deg);
}

#img-overlay {
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-overlay-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1;
}

#img-overlay-img {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 0 32px #000;
}

@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;
  }
}

@media (max-width: 420px) {
  .img-tak {
    display: none;
  }
}
