/* 🌌 Style global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Michroma", sans-serif;
  color: #ffffff;
  overflow-x: hidden;
}

/* 🎬 Vidéo de fond */
.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}

/* 🧭 Barre de navigation */
.header {
  position: relative;
  width: 100%;
  padding: 1.5vh 4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 0, 20, 0.5);
  backdrop-filter: blur(0.5em);
  z-index: 100;
}

.logo img {
  width: 8vw;
  max-width: 80px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1);
}

/* 📋 Navigation */
.nav ul {
  list-style: none;
  display: flex;
  gap: 2vw;
}

.nav a {
  text-decoration: none;
  color: #ffffff;
  font-size: 1em;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.nav a:hover {
  color: #ff0000;
  text-shadow: 0 0 0.5em #000000;
  transform: scale(1.05);
}

/* 🍔 Menu burger */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 2em;
  color:  #ff0000;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-icon:hover {
  transform: scale(1.1);
}

/* 💫 Contenu principal */
.content {
  text-align: center;
  padding: 10vh 10vw;
}

/* 🎯 Section intro */
.intro .tuj1 {
  font-size: 3em;
  color: transparent;
  font-family: "Audiowide", sans-serif;
  text-shadow: 0 0 1em  #ff0000;
  -webkit-text-stroke: 0.0em  #ff0000;
  background: url(back.png);
  -webkit-background-clip: text;
  background-position: 0 0;
  animation: back 22s linear infinite;
  transition: transform 0.3s ease;
}
.intro .tuj1:hover {
  transform: scale(0.95);
}

.intro .tuj {
  font-size: 5em;
  color: transparent;
  text-shadow: 0 0 1em  #ff0000;
  font-family: "Bebas Neue", sans-serif;
  -webkit-text-stroke: 0.01em  #ff0000;
  background: url(back.png);
  -webkit-background-clip: text;
  background-position: 0 0;
  animation: back 30s linear infinite;
  transition: transform 0.3s ease;
}
.intro .tuj:hover {
  transform: scale(0.95);
}

.intro .tuj2 {
  font-size: 2em;
  color: #ffffff;
  font-family: "Michroma", sans-serif;
  margin-bottom: 5vh;
  transition: transform 0.3s ease;
}
.intro .tuj2:hover {
  transform: scale(0.95);
}

@keyframes back {
  100% {
    background-position: 2000px 0;
  }
}

/* 🧍 Section À propos */
.about {
  background: rgba(0, 0, 0, 0.5);
  padding: 4vh 6vw;
  border-radius: 2em;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 0 3em  #ff0000;
  transition: transform 0.3s ease;
}
.about:hover {
  transform: scale(1.02);
}

.about .m {
  font-size: 1.8em;
  color: transparent;
  font-family: "Nosifer", sans-serif;
  text-shadow: 0 0 1em  #ff0000;
  -webkit-text-stroke: 0.01em rgb(240, 240, 240);
  background: url(back.png);
  -webkit-background-clip: text;
  background-position: 0 0;
  animation: back 25s linear infinite;
  transition: transform 0.3s ease;
}
.about .m:hover {
  transform: scale(0.95);
}

.about .c,
.about .er {
  font-size: 1em;
  line-height: 1.5em;
  color: #ffffff;
  margin-bottom: 1.5em;
  transition: transform 0.3s ease;
}
.about .c:hover,
.about .er:hover {
  transform: scale(1.02);
}

.about .q {
  font-size: 2em;
  font-style: italic;
  color: transparent;
  border-left: 0.3em solid  #ff0000;
  padding-left: 1em;
  font-family: "Bebas Neue", sans-serif;
  text-shadow: 0 0 1em #2d282d;
  -webkit-text-stroke: 0.01em rgb(207, 207, 207);
  background: url(back.png);
  -webkit-background-clip: text;
  background-position: 0 0;
  animation: back 22s linear infinite;
  transition: transform 0.3s ease;
}
.about .q:hover {
  transform: scale(1.05);
}

/* 🔗 Liens sociaux */
.social-links {
  display: flex;
  justify-content: center;
  gap: 3vw;
  margin-top: 6vh;
}

.social-links img {
  width: 4vw;
  max-width: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.2);
  
}

/* 🎵 Bouton musique */
.music-button {
  position: fixed;
  bottom: 3vh;
  right: 3vw;
  width: 5vw;
  max-width: 45px;
  cursor: pointer;
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.music-button:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    background:  #000000;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .nav ul {
    flex-direction: column;
    align-items: center;
    padding: 2vh 0;
  }

  .nav a {
    font-size: 1.2em;
  }

  .menu-toggle:checked + .menu-icon + .nav {
    max-height: 50vh;
  }

  .logo img {
    width: 15vw;
  }

  .intro .tuj {
    font-size: 2.2em;
  }

  .intro .tuj2 {
    font-size: 1em;
  }

  .about {
    padding: 6vh 8vw;
  }

  .social-links img {
    width: 10vw;
  }

  .music-button {
    width: 12vw;
  }
}