.carousel {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 600px;
  overflow: hidden;
  margin: auto;
}

.slides {
  display: flex;
  transition: transform 1.5s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  height: 600px;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.nav-buttons button {
  background-color: rgba(0,0,0,0.5);
  border: none;
  color: white;
  padding: 10px 20px;
  font-size: 18px;
  cursor: pointer;
}

.indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.indicator {
  width: 15px;
  height: 15px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
}

.indicator.active {
  background-color: white;
}


/* Media query pour petits écrans */
@media (max-width: 480px) {
  .carousel {
    height: 300px;
  }

  .slide {
    height: 300px;
  }

  .nav-buttons {
    left: -5%;
  }

}