.ImageSlider {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background-color: #f0f0f0;
}

.ImageSlider::before,
.ImageSlider::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  animation: fade 12s ease-in-out infinite;
  opacity: 0;
}

.ImageSlider::before {
  background-image: url('./IMG_20250812_203114.jpg');
  animation-delay: 0s;
}

.ImageSlider::after {
  background-image: url('./IMG_20250812_203106.jpg');
  animation-delay: 0s;
}
.ImageSlider .third-image {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('./6368d75a9c7e80680e0314d9jpeg.jpg');
  background-size: cover;
  background-position: center;
  animation: fade 5s ease-in-out 0s infinite;
  opacity: 0;
}

@keyframes fade {
  0%, 33.33% {
    opacity: 0;
    animation-timing-function: ease-in;
  }
  5%, 28.33% {
    opacity: 1;
    animation-timing-function: ease-out;
  }
  33.33% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ImageSlider {
    height: 200px;
    object-fit: cover;
  }
}
