/* Conteneur plein écran */
.slideshow {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  text-align: center;
}

/* le contenu fixe sur toutes les slides */
.texte {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translate(-50%);
  width: 100%;
  max-width: 1500px;
  min-width: 755px;
  z-index: 10;
  text-align: center;
  color: white;
  /*text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  font-family: sans-serif;*/
  padding: 0px;
}

/* Style commun à toutes les slides */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  animation: fadeZoom 15s linear infinite;  
}

/* Slides avec image + décalage dans l'animation */
.slide1 {
  background-image: url('/img/image1.jpg');
  animation-delay: 0s;
}

.slide2 {
  background-image: url('/img/image2.jpg');
  animation-delay: 5s;
}

.slide3 {
  background-image: url('/img/image3.jpg');
  animation-delay: 10s;
}


/* Animation combinée */
@keyframes fadeZoom {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  5% {
    opacity: 1;
    transform: scale(1.05);
  }
  33% {
    opacity: 1;
    transform: scale(1.33);
  }
  38% {
    opacity: 0;
    transform: scale(1.38);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}