/* Ajout du style pour les classes de langue */
.fr {
  display: block; /* Le contenu en français est visible par défaut */
}

.en {
  display: none; /* Le contenu en anglais est masqué par défaut */
}

/* SCANS et OTHER BUTTONS - Style similaire au bouton du footer */
@font-face {
  font-family: "Kleemax DEMO";
  src: url("fonts/kleemaxdemo.ttf") format("truetype");
  font-style: normal;
}

#loading-screen {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #000;
  color: rgba(127, 0, 255, 0.7);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.loader {
  border: 3px solid rgb(128, 0, 255);
  border-top: 3px solid rgba(127, 0, 255, 0.7);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

.loading-text {
  font-family: Arial, sans-serif;
  font-size: 18px;
  color: rgba(127, 0, 255, 0.7);
}

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

.fullscreen-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.fullscreen-modal.active {
  display: flex;
}

.fullscreen-modal img,
.fullscreen-modal video {
  max-width: auto;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.autre-link {
  display: flex;
  align-items: center; /* Centré verticalement */
  justify-content: center; /* Centré horizontalement */
  width: 210px; /* largeur fixe */
  padding: 15px 30px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: lighter;
  text-decoration: none;
  color: aliceblue;
  background-color: rgb(0, 0, 0);
  border-radius: 50px;
  border: 2px solid black;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  margin-top: 50px;
  margin-left: 50px;
  text-align: center;
  white-space: normal; /* Permet les retours à la ligne si nécessaire */
}

.scan-link {
  display: flex;
  align-items: center; /* Centré verticalement */
  justify-content: center; /* Centré horizontalement */
  width: 200px; /* largeur fixe */
  padding: 15px 30px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: lighter;
  text-decoration: none;
  color: black;
  background-color: aliceblue;
  border-radius: 50px;
  border: 2px solid aliceblue;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  margin-top: 50px;
  margin-left: 50px;
  text-align: center;
  white-space: normal; /* Permet les retours à la ligne si nécessaire */
}

/* Effet au survol du bouton */
.scan-link:hover {
  background-color: rgba(
    127,
    0,
    255,
    0.7
  ); /* Change la couleur de fond au survol */
  color: aliceblue; /* Change la couleur du texte au survol */
  transform: translateY(-5px); /* Léger effet de levée */
}
.autre-link:hover {
  background-color: rgba(
    127,
    0,
    255,
    0.7
  ); /* Change la couleur de fond au survol */
  color: #000; /* Change la couleur du texte au survol */
  transform: translateY(-5px); /* Léger effet de levée */
}

/* Effet lors du focus sur le lien */
.scan-link:focus,
.autre-link:focus {
  outline: none; /* Enlève le contour par défaut du focus */
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6); /* Ajoute une ombre autour du bouton */
}

/* Effet au clic sur le lien (pression) */
.scan-link:active,
.autre-link:active {
  transform: translateY(2px); /* Effet de pression */
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  cursor: none;
}

/* CURSEUR PERSO */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(126, 126, 126, 0.7);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

/* TEXTES */
p {
  font-family: Arial, Helvetica, sans-serif;
}

h2 {
  font-family: "Kleemax DEMO", sans-serif;
  font-size: 3em;
  text-transform: uppercase;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3vh; /* Assure-toi que la hauteur est suffisante pour centrer les éléments */
  background-color: rgba(11, 11, 11, 0.9);
  padding: 10px 0;
  z-index: 1000;
  display: flex;
  align-items: center; /* Centrer verticalement les éléments */
  justify-content: center;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  align-items: center; /* Centrer verticalement les éléments de la liste */
}

.navbar ul li {
  display: flex; /* Permet d'utiliser l'alignement flex dans chaque élément */
  align-items: center; /* Centrer verticalement le contenu dans chaque élément */
}

.navbar ul li a {
  color: rgb(177, 177, 177);
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 1.2rem;
  padding: 10px 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-block;
  vertical-align: middle;
  line-height: 1; /* Assure une hauteur de ligne correcte pour les éléments */
}

.navbar ul li a:hover {
  color: rgba(127, 0, 255, 0.7);
  border-radius: 5px;
}

/* TRANSITIONS SUR ELEMENTS */
a,
p,
button,
img,
.workshop-images img,
.autre-images video {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover,
.workshop-images img:hover,
.autre-images img:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* HEADER */
header {
  position: relative;
  width: 100%;
  height: 100vh;
  z-index: 1;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.5);
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

header div {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: end;
  height: 100%;
  color: aliceblue;
}

header h2 {
  font-size: 3rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: lighter;
  font-style: italic;
  margin-bottom: 1rem;
  padding-left: 50px;
  margin-top: 0;
}

h1 {
  font-size: 6rem;
  font-family: "Kleemax DEMO", sans-serif;
  text-transform: uppercase;
  padding-left: 50px;
  margin: 0;
}

/* ABOUT ME SECTION */
.aboutme,
.workshop,
.scans,
.autre {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 100px;
}

.aboutme {
  background-color: black;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.5);
  height: 100%;
}

.aboutme video {
  padding: 25px 50px;
  max-width: 30%;
  height: auto;
}

.aboutme h2 {
  margin-top: 200px;
  margin-bottom: 1rem;
  margin-left: 50px;
}

.aboutme-text {
  flex: 1;
  max-width: 50%;
  color: aliceblue;
  margin: 100px;
  flex-direction: row; /* Aligne les éléments verticalement */
  align-items: center; /* Centre le contenu horizontalement */
  justify-content: center; /* Aligne le contenu verticalement si nécessaire */
}

/* Icône de la flèche */
.arrow-icon {
  display: inline-block; /* Assure que l'icône soit un bloc en ligne */
  margin-top: 150px; /* Espace entre le texte et l'icône */
  font-size: 36px; /* Taille de l'icône */
  color: rgba(127, 0, 255, 0.7); /* Couleur de l'icône */
  animation: bounce 1s infinite; /* Animation de rebond */
  margin-left: 300px;
}

/* Animation de rebond pour la flèche */
@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);
  }
}

.workshop h2,
.scans h2,
.autre h2 {
  margin-left: 50px;
  margin-top: 300px;
  margin-bottom: 1rem;
}

.aboutme p,
.workshop p,
.scans p,
.autre p {
  line-height: 1.6;
  margin-bottom: 1rem;
  margin-left: 50px;
}

/* WORKSHOP IMAGES */
.workshop-content,
.scans-content,
.autre-content {
  flex: 1;
  max-width: 50%;
  margin: 50px;
}

.workshop-images,
.scans-viewers,
.autre-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  flex: 1;
  max-width: 50%;
  margin: 50px;
  margin-left: 50px;
}

.workshop img,
.scans-viewers,
.autre img,
.autre video {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

/* SCANS */
.scans {
  background-color: black;
  color: aliceblue;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.5);
}

.scans-viewers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 90%;
  margin: 50px auto;
  margin-left: 50px;
}

.scans iframe {
  width: 100%;
  height: 400px;
  border-radius: 5px;
  border: none;
}

/* FOOTER */
footer {
  position: relative;
  width: 100%;
  height: 900px;
  overflow: hidden;
}

footer video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.footer-overlay {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: aliceblue;
  z-index: 2;
}

.footer-overlay h1 {
  font-family: "Kleemax DEMO", sans-serif;
  text-transform: uppercase;
  font-size: 6rem;
  margin-bottom: 20px;
}

.footer-links {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 50px;
  box-sizing: border-box;
  margin-bottom: 50px;
}

.footer-links a {
  display: inline-block;
  padding: 15px 30px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: lighter;
  text-decoration: none;
  color: black; /* Couleur du texte */
  background-color: aliceblue; /* Couleur de fond du bouton */
  border-radius: 50px; /* Coins arrondis */
  border: 2px solid aliceblue; /* Bordure noire */
  transition: all 0.3s ease; /* Animation fluide */
  letter-spacing: 1px; /* Espacement des lettres */
  margin-top: 10px;
  margin-left: 50px;
}

.footer-links a:hover {
  background-color: rgba(127, 0, 255, 0.7);
  /* Change la couleur de fond au survol */
  color: aliceblue;
  /* Change la couleur du texte au survol */
  transform: translateY(-5px);
  /* Léger effet de levée */
}

.footer-email,
.footer-phone,
.footer-address {
  text-align: center;
}

.footer-copyright {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  color: white;
  font-size: 0.6rem;
}

.autre-images video {
  width: 100%;
  height: auto;
  border-radius: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.autre-images video:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* SECTION MUSIC */
/* ... (ton code d'origine inchangé jusqu'ici) ... */

/* SECTION MUSIC */
.music {
  background-color: aliceblue;
  color: rgb(0, 0, 0);
  display: flex;
  align-items: center;
  gap: 100px;
}

.music h2 {
  margin-left: 100px;
  margin-top: 50px;
  margin-bottom: 1rem;
}

.music p {
  line-height: 1.6;
  margin-left: 100px;
  margin-bottom: 1rem;
}

.music-viewer,
.music-content {
  flex: 1;
  width: 100%;
  height: 20%;
}

.music-viewer iframe {
  width: 100%;
  height: 600px;
  border-radius: 5px;
  border: none;
  margin-top: 150px;
}

/* MENU BURGER PAR DÉFAUT MASQUÉ */
.hamburger {
  display: none;
}

/* NAV DESKTOP PAR DÉFAUT */
.navbar ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

/* --- MEDIA QUERY POUR ÉCRANS MOBILES --- */
@media (max-width: 768px) {
  /* Responsive navbar */
  .hamburger {
    display: block; /* ← active le bouton hamburger */
    font-size: 2rem;
    color: white;
    cursor: pointer;
    margin-left: 20px;
  }

  .navbar {
    justify-content: space-between;
    padding: 10px 20px;
    height: auto;
  }

  .navbar ul {
    display: none;
    flex-direction: column;
    background-color: rgba(11, 11, 11, 0.89);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 10px 0;
  }

  .navbar ul.show {
    display: flex;
  }

  .navbar ul li {
    justify-content: center;
    padding: 10px 0;
  }

  html,
  body {
    overflow-x: hidden;
  }

  h1 {
    font-size: 3rem;
    padding-left: 20px;
  }

  h2 {
    font-size: 2rem;
    margin-left: 20px !important;
    margin-top: 50px !important;
  }

  p {
    font-size: 1rem;
    margin-left: 20px !important;
    margin-right: 20px;
  }

  .aboutme,
  .workshop,
  .scans,
  .autre,
  .music {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .aboutme {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: auto;
    padding-bottom: 250px;
  }

  .aboutme video {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }

  .aboutme-text {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    color: aliceblue;
    z-index: 1;
  }

  .workshop-images,
  .scans-viewers,
  .autre-images,
  .music-viewer {
    max-width: 100%;
    margin: 0;
  }

  .aboutme-text,
  .workshop-content,
  .scans-content,
  .autre-content,
  .music-content {
    max-width: 100%;
    margin: 20px;
  }

  .scan-link,
  .autre-link,
  .footer-links a {
    margin: 20px auto;
    display: block;
    width: fit-content;
    font-size: 1rem;
    padding: 10px 20px;
  }

  .arrow-icon {
    font-size: 28px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
  }

  header h2 {
    padding-left: 20px;
    font-size: 1.8rem;
  }

  header div {
    align-items: center;
    text-align: center;
  }

  .footer-overlay {
    padding: 20px;
  }

  .footer-overlay h1 {
    font-size: 2.5rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 10px;
  }

  .footer-links a {
    margin: 10px 0;
    font-size: 1rem;
    padding: 10px 20px;
  }

  .footer-email,
  .footer-phone,
  .footer-address {
    font-size: 0.9rem;
    padding: 5px 5px;
  }

  .music-viewer iframe {
    height: 450px;
    margin-bottom: 100px;
    margin-top: 0;
  }

  .scans iframe {
    height: 250px;
  }

  img,
  video {
    max-width: 100%;
    height: auto;
  }

  .autre-images video,
  .workshop-images img {
    pointer-events: none; /* Empêche les clics sur mobile */
  }
}
