.slider {
  width: 80%; /* Ajustement de la largeur */
  max-width: 800px; /* Limiter la largeur maximale */
  overflow: hidden;
  margin: 0 auto;
  margin-top: 2%;
  margin-bottom: 1%;
  position: relative;
  height: 500px; /* Réglez une hauteur fixe */
  border-radius: 10px; /* Ajouter des angles arrondis */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Ajouter une ombre portée */
}

.slides {
  display: flex;
  position: relative;
  transition: transform 0.3s ease;
  margin-left: -80%; /* Ajustez en fonction de la largeur de votre conteneur */
  margin-right: -80%; /* Ajustez en fonction de la largeur de votre conteneur */
  height: 100%; /* Hauteur égale à la hauteur du slider parent */
}

.slide-image {
  width: 100%; /* Ajustez en fonction de vos besoins */
  margin: 0 auto; /* Pour centrer l'image horizontalement */
  flex-shrink: 0;
  object-fit: contain; /* Modifier ici */
  object-position: center;
  height: 100%; /* Hauteur égale à la hauteur du slider parent */
}

.slider-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

.slider-navigation__left-arrow,
.slider-navigation__right-arrow {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 20px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 1s ease;
  border-radius: 50%; /* Ajouter des angles arrondis */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Ajouter une ombre portée */
}

.slider-navigation__left-arrow:hover,
.slider-navigation__right-arrow:hover {
  background-color: rgba(0, 0, 0, 0.7);
  transform: scale(1.1); /* Agrandir légèrement lors du survol */

}

.slider-navigation__left-arrow {
  left: 10px;
}

.slider-navigation__right-arrow {
  right: 10px;
}

.slider-navigation__left-arrow:focus,
.slider-navigation__right-arrow:focus {
  outline: none;
}

.indicators {
    display: flex;
    justify-content: center;
    margin-bottom:2%;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: gray;
    margin: 0 5px;
    cursor: pointer;
  }
  
  .indicator.active {
    background-color: black;
  }

  h1 {
    color: #717787;
    margin-top: 1%;
    font-size: 2.5rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    padding: 20px;
    margin-left:45%;
    margin-bottom:30px;
    display: inline-block;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
    text-align:center;
}

.slides img{
  border-radius:20px;
}

.slides{
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
}

h2{
  color: #717787;
  margin-top: 1%;
  font-size: 2rem;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  padding: 20px;
  margin-bottom:30px;
  display: inline-block;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
  text-align:center;
  width:100%;
}

h3{
  color: #717787;
  margin-top: 1%;
  font-size: 2rem;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  padding: 20px;
  margin-left:5%;
  margin-bottom:30px;
  display: inline-block;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
  text-align:center;
}

.text{
  text-align:center;
  margin-left:50px;
  margin-right:50px;
}

.containerList{
  display:flex;
  margin:auto;
  width:60%;
  margin-left:30%;
  margin-bottom:50px;
  margin-top:50px;
}

.equipements{
  font-size:1.5rem;
  text-align:center;
}

.gauche{
  border-right:1px solid gray;
  padding-right:30px;
}

.droite{
  border-left: 1px solid gray;
  padding-left:10px;
}

.listLeft{
  margin-right:40px;
}

.listRight{
  margin-left:40px;
}

.calendrier{
  width: 100%;
  height: 300px;
  margin-left:25%;
}


@media screen and (max-width: 768px) {
  .calendar {
    width: 100%; /* Limiter la largeur maximale à 80% de l'écran */
  }

  .calendrier {
    width: 250%; /* Limiter la largeur maximale à 80% de l'écran */
 
    margin-left:0;
  }

  .containerList{
    display:flex;
    margin:auto;
    width:100%;
    margin:auto;
  }

  .containerList li, h2{
    font-size:0.9rem;
  }

  .h3{
    margin-left:20%;
  }
}