@font-face {
  font-family: "Hakgyoansim";
  src: url("../fonts/Hakgyoansim/HakgyoansimRikodeoR.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

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

html,
body {
  width: 100%;
  height: 1000vh;
  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;
}

.logo p {
  left: 30%;
}

.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;
  top: 10px;
  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;
}

/* -------------------------------Page figure------------------------------------- */

.hero-image {
  position: absolute;
  top: 10px;
  transform: translate(50%, 65%);
  width: 50%;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wrapper-img {
  position: absolute;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  width: 50%;
  height: 100vh;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.box {
  background-color: #161616;
  opacity: 1;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 2;
}

.images {
  position: absolute;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.img {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-0%, -50%);
  width: 325px;
  height: 425px;
  background: white;
}

.left {
  background: url("../images/vinyl-2.png") no-repeat 25% 25%;
  background-size: contain;
}

.right {
  background: url("../images/vinyl-3.png") no-repeat 25% 25%;
  background-size: contain;
}

p {
  width: 100%;
  text-align: center;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-family: "Figtree", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 120px;
  white-space: normal; /* Permet les sauts de ligne */
  animation: unblur 9s ease-out forwards; /* Animation pour enlever le flou */
}

.title .letter2 {
  display: inline-block;
  line-height: 1em;
  color: #f3f1f6;
}

.sidebar-text {
  font-family: "Figtree", Tahoma, Geneva, Verdana, sans-serif;
  position: absolute;
  top: 20%;
  right: 0.4em;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: transparent;
  -webkit-text-stroke: 1px rgb(117, 113, 113);
}

.projects {
  position: absolute;
  bottom: 10%;
  left: 10%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  font-family: "Figtree", Tahoma, Geneva, Verdana, sans-serif;
}

.img-nav {
  position: absolute;
  right: 10%;
  bottom: 13%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  color: #ffffff;
  font-family: "Figtree", Tahoma, Geneva, Verdana, sans-serif;
}

.next {
  position: relative;
  top: 40px;
  left: 80px;
  font-family: "Figtree", Tahoma, Geneva, Verdana, sans-serif;
}

/* Scroll du texte*/
.main-container-x {
  height: 100vh;
}
.container-x {
  position: fixed;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.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;
}

@keyframes unblur {
  0% {
    filter: blur(9px);
  }
  100% {
    filter: blur(0.1px);
  }
}

.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);
  }
}

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

.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: 100px;
  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;
}

.animated-heading {
  color: white;
  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: white;
  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;
}

/* Opacité texte au hover */
.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: start;
}

/* 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: 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;
}

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

button {
  all: unset;
}

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

/* -------------------------------Page playlist------------------------------------- */
body.playlist {
  width: 100%;
  height: 100vh;
  background-color: #161616;
  font-family: "Figtree", Tahoma, Geneva, Verdana, sans-serif;
  color: #f3f1f6;
  overflow: hidden;
}

.signature {
  width: 80%;
  height: 70%;
  position: absolute;
  left: 21%;
}

.cellule {
  position: absolute;
  width: 50%;
  height: auto;
  top: 0%;
  left: -44%;
  margin-top: -10px;
  transform: rotate(-10deg) translateX(450px);
  z-index: 1000;
  transition: width 0.85s cubic-bezier(0.4, 0, 0.2, 1),
    left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.disque {
  position: absolute;
  width: 48%;
  height: auto;
  top: 12.5%;
  left: -22.5%;
}

.disque.spin {
  animation: spin 7s linear infinite;
  animation-play-state: running;
}

.disque.spin.paused {
  animation-play-state: paused;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.contenu {
  width: 70%;
  height: 100%;
  right: 5px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-left: -10%;
}

.contenu h1 {
  font-family: "Hakgyoansim", serif;
  font-size: 38px;
  animation: anim_unblur 1s ease-out forwards;
}

.contenu p {
  width: 40%;
  font-size: 16px;
  animation: anim_unblur 1s ease-out forwards;
  font-family: "Figtree", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: lighter;
  text-align: justify;
  position: relative;
  top: 0%;
  left: 0%;
  transform: translate(0%, 0%);
}

.son img {
  width: 30%;
  height: auto;
  transition: filter 2.3s ease-out;
  object-fit: contain;
  filter: drop-shadow(0px 10px 30px rgba(0, 0, 0, 0.5));
}

.son p {
  opacity: 0.6;
  font-weight: bold;
}

.explication {
  line-height: 1.5;
}

audio {
  display: none;
}

.custom-audio-player {
  color: white;
  font-family: sans-serif;
  padding: 1rem;
  border-radius: 12px;
  max-width: 400px;
}

#waveform {
  margin-bottom: 1rem;
}
.controls {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  font-size: 1.5rem;
}

.controls img {
  width: 24px;
  height: 24px;
}

.custom-audio-player button {
  color: #161616;
  background: #161616;
  border-radius: 0;
  border: none;
}

.time {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0 0.5rem;
  opacity: 0.6;
}

.custom-audio-player button:hover img {
  filter: brightness(0) saturate(100%) invert(50%) sepia(100%) saturate(1%)
    hue-rotate(357deg) brightness(98%) contrast(119%) invert(1);
  transition: filter 0.3s ease;
}

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

.ensemble {
  position: absolute;
  width: 100%;
  height: 80%;
  top: 13%;
  left: 12.5%;
  display: flex;
  flex-direction: wrap;
  justify-content: center;
  align-items: center;
}

.volume {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000000;
}

#volumeSlider {
  -webkit-appearance: none;
  appearance: none;
  width: 400px;
  height: 4px;
  background: transparent;
  left: 50%;
  top: 0;
  transform: rotate(-90deg);
  outline: none;
  z-index: 2;
}

.volume-slider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 500px;
  position: relative;
  margin: 0 20px;
}

.volume-plus,
.volume-minus {
  color: #ccc;
  opacity: 0.5;
  font-size: 24px;
  margin: 4px 0;
  user-select: none;
}

.volume-track {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
}

#volumeSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 36px;
  height: 18px;
  background: #e0e0e0;
  border: 2px solid #888;
  border-radius: 2px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  margin-top: -7px;
  transition: background 0.2s;
}

#volumeSlider:focus::-webkit-slider-thumb {
  background: #fff;
}

#volumeSlider::-webkit-slider-runnable-track {
  height: 3px;
  background: #3c3c3c;
  border-radius: 1px;
}

#volumeSlider::-ms-fill-lower,
#volumeSlider::-ms-fill-upper {
  background: #888;
}

#volumeSlider:focus {
  outline: none;
}

#volumeSlider::-moz-range-thumb {
  width: 36px;
  height: 18px;
  background: #e0e0e0;
  border: 2px solid #888;
  border-radius: 2px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background 0.2s;
}

#volumeSlider::-moz-range-track {
  height: 4px;
  background: #888;
  border-radius: 2px;
}

#volumeSlider::-ms-thumb {
  width: 36px;
  height: 18px;
  background: #e0e0e0;
  border: 2px solid #888;
  border-radius: 2px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background 0.2s;
}

#volumeSlider::-ms-fill-lower {
  background: #888;
}
#volumeSlider::-ms-fill-upper {
  background: #888;
}

#volumeSlider:focus::-ms-fill-lower {
  background: #888;
}
#volumeSlider:focus::-ms-fill-upper {
  background: #888;
}

.volume-ticks {
  position: absolute;
  left: 44%;
  top: 0;
  height: 400px;
  width: 40px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;
  pointer-events: none;
}

.volume-ticks span {
  display: block;
  width: 12px;
  height: 2px;
  background: #474747;
  margin: 0 auto;
  opacity: 0.7;
}

@media (max-width: 100px) {
  body {
    overflow: hidden;
  }
}
