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://elearning.explor-k.cl/CDN/wpexplork/car12.webp');
    background-position: center center;
    background-size: auto;
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.banner-text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 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: 90%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    margin-bottom: 5%;
}

.carousel-images {
    display: flex;
    animation: scrollInfinite 20s linear infinite;
}

.carousel-images img {
    width: 400px;
    height: 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;
    }
}