body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  position: relative;
}

/* 2. Fond animé qui prend toute la page */
.banderole {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1; /* très important : en fond */
}

.contenu {
  width: 400%;
  height: 100%;
  background: url("images/heavenly") repeat-x;
  background-size: cover;
  animation: defilement 60s linear infinite;
}

/* 3. Animation */
@keyframes defilement {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


.nuage {
  position: fixed;
  top: -29%;
  left: 1%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100%;
  animation: flotter 8s ease-in-out infinite;
  z-index: 10;
  pointer-events: none;
  position: relative; /* ← à ne pas oublier ! */
  overflow: hidden; /* ← au cas où l'image déborde */
}

.nuage img {
  width: 100%;          /* s’adapte au conteneur */
  height: auto;
  display: block;
  max-width: 100%; 
}



@keyframes flotter {
  0% { transform: translate(0, 0); }
  50% { transform: translate(10px, -10px); }
  100% { transform: translate(0, 0); }
}

.menu {
  position: fixed;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 24px 40px;
  display: flex;
  gap: 40px;
  z-index: 20;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.menu a {
  text-decoration: none;
  color: #ff5f9e;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  padding: 10px 16px;
  border-radius: 20px;
}

.menu a:hover {
  background: #ff5f9e;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.radio {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
}

#playButton {
  background: #ffb3d1;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
}

#playButton:hover {
  background: #ff6fa0;
  transform: scale(1.05);
}

#volumeSlider {
  appearance: none;
  width: 100px;
  height: 6px;
  background: #ffd1e4;
  border-radius: 5px;
  outline: none;
  transition: opacity 0.2s;
  cursor: pointer;
}

#volumeSlider::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff6fa0;
  cursor: pointer;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

#volumeSlider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff6fa0;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .menu a {
    font-size: 16px;
    padding: 8px 12px;
  }
}



/* 4. Contenu normal par-dessus */
/*.menu {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.8);
  padding: 20px;
  text-align: center;
  font-size: 24px;
}

.contenu-page {
  position: relative;
  z-index: 1;
  padding: 40px;
  color: black;
}

.projets {
  background: rgba(255, 255, 255, 0.85);
  padding: 20px;
  border-radius: 10px;
}