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

.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/Vinyl2.png") no-repeat 25% 25%;
  background-size: contain;
}

.right {
  background: url("../images/Vinyl3.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(0px);
  }
}

@keyframes unblur_opacity {
  0% {
    opacity: 0;
    filter: blur(9px);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
    transform: translateX(0);
  }
}

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

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

.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%);
  opacity: 0.75;
  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: "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;
  padding: 1em;
  background-color: #202020;
  color: #fff;
}

.outro h1 {
  font-size: 3em;
  font-weight: 400;
  line-height: 1;
}

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

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

/* -------------------------------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: 100%;
  height: 100%;
  position: absolute;
  left: 10%;
  object-fit: contain;
}

.cellule {
  position: absolute;
  width: 39%;
  height: auto;
  top: -50%;
  left: 6%;
  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: 400px;
  height: auto;
  top: 62.5px;
  left: 520px;
  animation: scaleDown 4s ease-in-out forwards;
}

@keyframes scaleDown {
  from {
    transform: scale(1.5);
  }
  to {
    transform: scale(1);
  }
}

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

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

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

.ensemble p {
  animation: unblur 3s ease-out forwards;
}

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

.contenu h1 {
  font-family: "Hakgyoansim", serif;
  font-size: 38px;
}

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

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

.animation {
  transform: translateX(-30px);
  animation: unblur_opacity 1.5s ease-in-out forwards;
}

.animation_2 {
  animation: unblur_opacity2 1.5s ease-in-out forwards;
}

@keyframes unblur_opacity2 {
  0% {
    opacity: 0;
    transform: translateY(30px) translateX(15px) rotate(-15deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

.son p {
  font-weight: bold;
}

.son p:nth-of-type(2) {
  opacity: 0.5;
}

.explication {
  line-height: 2;
}

audio {
  display: none;
}

.centrage {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 450px;
}

.custom-audio-player {
  color: rgb(255, 255, 255);
  font-family: "Figtree", Tahoma, Geneva, Verdana, sans-serif;
  padding: 1rem;
  width: 415px;
}

#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;
  cursor: pointer;
}

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

.button:active {
  filter: blur(0px);
}

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

.ensemble {
  position: absolute;
  width: 100%;
  height: 80%;
  display: flex;
  flex-direction: wrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.volume {
  width: 10%;
  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;
}

.albums {
  padding-top: 5%;
  margin-right: -10%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.album {
  display: flex;
  flex-direction: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0.4;
  filter: blur(1px);
  transition: filter 0.75s ease-in-out, opacity 0.5s ease-in-out;
}

.album.active,
.album.active:hover {
  filter: blur(0) !important;
  opacity: 1 !important;
  transition: filter 0.75s ease-in-out, opacity 0.5s ease-in-out;
}

.album:hover {
  filter: blur(0px);
  opacity: 1 !important;
  transition: filter 0.75s ease-in-out, opacity 0.5s ease-in-out;
}

.albums button {
  background-color: transparent;
  border-radius: 0;
  border: none;
  cursor: pointer;
}

.album p {
  font-size: 16px;
  font-family: "Figtree", Tahoma, Geneva, Verdana, sans-serif;
  text-align: justify;
  position: relative;
  top: 0%;
  left: 0%;
  transform: translate(0%, 0%);
  font-weight: bold;
}

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

.timeline {
  opacity: 0.5;
  width: 40%;
}

.titre_artiste {
  width: 26.5%;
}

.titre_artiste p:nth-of-type(2) {
  opacity: 0.5;
}

.epoques {
  position: absolute;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  top: 600px;
}

.border {
  width: 90%;
  height: 1.5px;
  background: rgba(117, 113, 113, 0.2);
  filter: blur(1px);
}

.periodes {
  width: 100%;
  display: flex;
  flex-direction: wrap;
  justify-content: center;
  align-items: center;
  gap: 24rem;
}

.button a {
  text-decoration: none;
  color: white;
  border: 1px solid white;
  padding: 15px 20px;
  font-size: calc(1vw + 0.1rem);
  filter: blur(0.5px);
  opacity: 0.75;
  display: inline-block;
  transition: transform 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55), filter 0.3s;
  background-color: #d4d2d225;
  backdrop-filter: blur(100px);
}

.active a::before {
  content: "→";
  margin-right: 10px;
  display: inline-block;
  transition: inherit;
}

.active a {
  filter: blur(0px);
  cursor: default;
}

.non_active a:hover {
  filter: blur(0px);
  transform: translateX(6px);
}

@media (max-width: 430px) {
  body {
    overflow: hidden !important;
  }

  .volume {
    display: none;
  }

  .albums {
    display: none;
  }

  .explication {
    display: none;
  }

  .disque {
    width: 82.5%;
    top: 25%;
    left: 10.5%;
  }

  .epoques {
    width: 410px;
  }

  .contenu {
    width: 100%;
    margin-left: 20px;
  }

  .son {
    display: flex;
    flex-direction: wrap;
  }

  .titrage {
    width: 80%;
    display: flex;
    flex-direction: column;
  }

  .contenu p {
    width: 100%;
  }

  .periodes {
    gap: 2rem;
  }

  .periodes a {
    font-size: 10px;
  }

  .periodes .desktop {
    display: none;
  }
  .periodes .mobile {
    display: inline;
  }

  .burger {
    display: flex;
  }

  .onglet {
    display: none;
    flex-direction: column;
    background: #161616;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem;
    z-index: 9999999;
  }

  .onglet.open {
    display: flex;
  }

  .menu {
    position: relative;
    flex-wrap: wrap;
  }

  .bouttons {
    gap: 4%;
  }

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

@media (min-width: 431px) {
  .periodes .desktop {
    display: inline;
  }
  .periodes .mobile {
    display: none;
  }
}

@media (max-width: 380px) {
  .disque {
    width: 52.5%;
    top: 32%;
    left: 25%;
  }
}
