body {
  background-color: #ffffff !important;
  color: white;
}

.banner {
  background-image:
    linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 30%),
    linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 30%),
    url("https://app.explor-k.com/CDN/wpexplork/car12.webp");
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 300px;
  position: relative;
  overflow: hidden;
}

.banner-text {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 700px;
  color: #ffffff;
  font-size: clamp(1rem, 3.5vw, 1.5rem);
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  text-align: center;
}

.container {
  width: 90%;
  margin: 0 auto;
  text-align: center;
  margin-top: 5%;
}

.titulo {
  font-size: 35px;
  color: #ffffff;
  text-align: center;
  margin-top: 85px;
}

.container p,
.container h1,
.container h2,
.container h3,
.container h4,
.container h5,
.container h6 {
  color: rgb(0, 0, 0);
}

.centered-image img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 300%;
}

.carousel-item {
  flex: 1 0 100%;
}

.carousel-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.infinite-carousel {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  margin-bottom: 5%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.carousel-images {
  display: flex;
  width: max-content;
  animation: scrollInfinite 20s linear infinite;
}

.carousel-images img {
  width: clamp(180px, 30vw, 400px);
  height: clamp(130px, 22vw, 300px);
  object-fit: cover;
  margin-right: 20px;
  border-radius: 12px;
}

@keyframes scrollInfinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logo-principal {
  display: block;
  margin: 0 auto;
  width: 200px;
  height: auto;
  margin-bottom: 5%;
}

@media (max-width: 768px) {
  .grid-imagenes {
    grid-template-columns: 1fr;
  }

  .titulo {
    font-size: 30px;
    margin-top: 95px;
  }
}
