/* Style du body */
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(to bottom, #cccccc, #ffffff);
  font-family: 'Great Vibes', cursive;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  box-sizing: border-box;
}

/* Background fixe */
.background-shape {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('pic/division-diagonale-arrondie.svg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

/* Titre principal */
h1 {
  margin-top: 10px;
  font-size: 2em;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  text-align: center;
}

/* Sous-titres */
h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 2em;
  margin: 10px 0;
  text-align: center;
}

/* Paragraphes */
p {
  font-family: 'Satisfy', cursive;
  font-size: 1.2em;
  line-height: 1.4;
}


a {  color: #5f2e54; /* violet */}
a:visited {  color: #5f2e54; /* violet */}
a:hover {  color: #e8bdbd; /* rose */}
a:active {  color: #e8bdbd; /* rose */}






/* Menu fixe en haut */
header {
  justify-content: space-around;
  width: 100%;
    display: flex;
  flex-wrap: wrap;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.2);
  z-index: 10;
  display: flex;
  padding: 5px 5px;
  border-radius: 40PX 40PX 40px 40px;
}

.menu ul {
  justify-content: space-around;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 10;
  padding:0;
  gap: 50px;
}

.menu li {
  display: flex;
  align-items: center;
  justify-content: space-around; /* répartit les éléments uniformément */
}

.menu li img {
  justify-content: space-around; /* répartit les éléments uniformément */
  width: 30px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s;
}

.menu li img:hover {
  transform: scale(1.1);
}

/* Conteneur principal */
.contenu {
  margin-top: 10px; /* pour décaler du menu fixe */
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* Sections */
.section {
  background-color: rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  width: 100%;
}

/* Positionnement images (absolu) */
.img-top-left {
  max-width: 80px;
  width: 100%;
  height: auto;
  margin: 10px auto;
  display: block;
  position: static; /* on désactive position absolue en mobile */
  transform: none;
    position: fixed; /* fixe l’image par rapport à la fenêtre */
  top: 10%;       /* positionnée en bas */
  left:4%;       /* centrer horizontalement */
}



.img-top-right {
  max-width: 80px;
  width: 100%;
  height: auto;
  margin: 10px auto;
  display: block;
  position: static; /* on désactive position absolue en mobile */
  transform: none;
    position: fixed; /* fixe l’image par rapport à la fenêtre */
  top: 10%;       /* positionnée en bas */
  right: 4%;       /* centrer horizontalement */
}


.img-bottom-left{
  max-width: 80px;
  width: 100%;
  height: auto;
  margin: 10px auto;
  display: block;
  position: static; /* on désactive position absolue en mobile */
transform: none;
    position: fixed; /* fixe l’image par rapport à la fenêtre */
  bottom: 4%;       /* positionnée en bas */
  left: 4%;       /* centrer horizontalement */
}



.img-bottom-right{
  max-width: 80px;
  width: 100%;
  height: auto;
  margin: 10px auto;
  display: block;
  position: static; /* on désactive position absolue en mobile */
  transform: none;
    position: fixed; /* fixe l’image par rapport à la fenêtre */
  bottom: 4%;       /* positionnée en bas */
  right: 4%;       /* centrer horizontalement */
}




.img-center{
    max-width: 200px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.img-bottom-center {
  max-width: 80px;
  width: 100%;
  height: auto;
  margin: 10px auto;
  display: block;
  position: static; /* on désactive position absolue en mobile */
  transform: none;
    position: fixed; /* fixe l’image par rapport à la fenêtre */
  bottom: 4%;       /* positionnée en bas */
  right: 50%;       /* centrer horizontalement */
}





  /* Menu horizontal en haut */
  .menu {
    position: static;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    border-radius: 0;
  }

  /* Menu list en ligne */
  .menu ul {
    flex-direction: row;
    gap: 10px;
  }

  /* Taille des images du menu */
  .menu li img {
    width: 40px;
  }

  /* Contenu */
  .contenu {
    margin-top: 10px;
    padding: 10px;
  }

  /* Sections */
  .section {
    padding: 15px;
  }




/* Conteneur du diaporama */
.slideshow-container {
  justify-content: center;
  position: relative;
  max-width: 700px;
  width: 90%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Slides */
.slide {
  display: none; /* caché par défaut */
  width: 100%;
  height: 400px; /* ou hauteur souhaitée */
}

/* Slide active */
.slide.active {
  display: block;
  animation: fadeIn 1s ease-in-out;
}

/* Animation fadeIn */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide img {
  max-width: 80%; /* ou autre valeur selon ta préférence */
  max-height: 400px; /* hauteur maximale */
  display: block;
  margin: 0 auto;
  object-fit: contain; /* pour garder le ratio */
  border-radius: 40px;
}

/* Indicateurs */
.indicators {
  margin-top: 15px;
  text-align: center;
}

/* Points */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active, .dot:hover {
  background-color: #717171;
}


}