/* Reset général */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Style pour le corps */
html,
body {
  height: 100%;
  font-family: sans-serif;
  background: radial-gradient(circle, #be0822 5%, #efaab0 75%);
  overflow: hidden;
  cursor: url("img/aero_arrow__pink.cur"), auto;
}

a:hover,
button:hover,
.gallery img:hover {
  cursor: url("img/aero_link__pink.cur"), pointer;
}

/* Conteneur principal */
.page {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Header (titre principal) */
.header h1 {
  color: #fff9f5;
  font-size: 16vw; /* Taille adaptative */
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 800;
  line-height: 0.8;
  text-align: center;
  margin-bottom: 1.5%;

  position: relative;
  z-index: 1;
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.1);
}
.header h2 {
  color: #fff9f5;
  font-size: 2vw; /* Taille adaptative */
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 800;
  line-height: 0.8;
  text-align: center;

  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
}

/* Contenu */
.content {
  width: 100%; /* Occupe toute la largeur */
  display: flex;
  justify-content: space-between; /* Place les éléments aux extrémités */
  position: absolute; /* Permet de placer les boutons en dehors du flux principal */
  top: 95%; /* Centre verticalement */
  transform: translateY(-50%); /* Ajuste pour un centrage parfait */
  padding: 0 2vw; /* Ajoute un espace sur les bords gauche et droit */
}

.button {
  text-decoration: none; /* Supprime le soulignement des liens */
  font-size: 8.5vw; /* Taille adaptative */
  font-family: "Nighty DEMO", cursive;
  font-weight: 400;
  color: #be0822;
  transition: all 0.3s ease; /* Animation de survol */
  margin-bottom: 2.5%;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}

.button:hover {
  color: #fff9f5; /* Change la couleur du texte au survol */
}

/* Responsivité : Petits écrans */
@media (max-width: 768px) {
  .header h1 {
    font-size: 8vw;
  }

  .button {
    font-size: 4vw; /* Ajuste la taille du texte */
    padding: 2vw 3vw; /* Ajuste le padding */
  }
}

/* Étoile 1 – DERRIÈRE */
.star-container {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
}

.rotating-star {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70vw;
  height: auto;
  transform: translate(-50%, -50%);
  animation: rotate-star 15s linear infinite;
}

@keyframes rotate-star {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Étoile 2 – DEVANT (mais toujours derrière le texte) */
.star-container2 {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
}

.rotating-star2 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 55vw;
  height: auto;
  transform: translate(-50%, -50%);
  animation: rotate-star2 25s linear infinite;
}

@keyframes rotate-star2 {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

.texture-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/back2.jpeg"); /* ← adapte le chemin */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.1; /* ← opacité faible */
  z-index: 0.5; /* ← entre le background (0) et les étoiles (1) */
  pointer-events: none; /* ← pour ne pas bloquer les clics */
}

.fond {
  position: fixed;
  bottom: -10%;
  right: 0%;
  width: 1900px;
  z-index: 0;
  animation: 12s ease-in-out infinite;
  pointer-events: none; /* Évite les bugs de clic */
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-40px);
  }
  100% {
    transform: translateY(0px);
  }
}
