@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-3500px); /* Adjust for desktop */
  }
}
.slider {
  background: black;
  /*height: 700px; /* Fixed height for desktop */
  margin: 0 auto;
  overflow-x: hidden; /* Prevent images from running off the container */
  position: relative;
  /*width: 65vw;*/
  max-width: 100%;
  padding: 20px 0;
}
.slider::before, .slider::after {
  background: linear-gradient(to right, rgb(0, 0, 0) 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 10;
}
.slider::before {
  left: 0;
}
.slider::after {
  right: 0;
  transform: rotateZ(180deg);
}
.slider .slide-track {
  animation: scroll 40s linear infinite;
  display: flex;
  width: 6000px; /* Adjust for desktop */
}
.slider .slide {
  width: 250px;
  padding: 0 10px;
}
.slider img {
  width: 100%;
  height: 100%; /* Ensure images fit the container */
  object-fit: cover; /* Ensure proper fitting of the image */
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .slider {
    height: auto; /* Allow the height to adapt to content */
    padding: 20px 0;
    overflow-x: hidden; /* Ensure no overflow on mobile */
    width: 100vw;
  }
  .slide {
    width: 150px; /* Smaller width for tablets */
    height: auto;
  }
  .slide-track {
    width: 2400px; /* Adjust track width for mobile */
  }
  img {
    width: 100%;
    height: auto; /* Ensure images are not cut off */
    object-fit: contain; /* Ensure the full image is visible */
  }
}
@media (max-width: 480px) {
  .slider {
    height: auto; /* Ensure flexibility on mobile */
    padding: 20px 0;
  }
  .slide {
    width: 120px; /* More compact width for smaller screens */
    height: auto;
    padding: 0 10px;
  }
  .slide-track {
    width: 1680px; /* Adjust track width for small screens */
  }
  img {
    width: 100%;
    height: auto; /* No cropping of the image */
    object-fit: contain; /* Ensure the entire image fits in the slide */
  }
}

/*# sourceMappingURL=carousel.css.map */
