.carousel-container {
    background-color: #FBFBFB;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 254px;
}

.carousel-container h2 {
    font-size: 52px;
    font-weight: bold;
    margin-bottom: 60px;
}

.carousel-container p {
    font-size: 30px;
    font-weight: 300;
    line-height: 40px;
    text-align: center;
    color: black;
    font-style: normal;
    padding: 0 126px;
}

.carousel-content {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin-top: 60px;
    margin-bottom: 60px;
}

.carousel-inner {
    display: flex;
    width: max-content;
    animation: scroll-marquee 10s linear infinite;
}

.carousel-inner>div {
    flex: 0 0 calc(100% / 19);
    /* 6 elementos visibles */
    margin-right: 30px;
}

.carousel-inner img {
    width: 188px;
    height: 42px;
    display: block;
    object-fit: contain;
}

.carousel-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.carousel-footer p strong {
    font-weight: bold;
    color: #6327E4;
}

.carousel-container .carousel-footer p {
    font-size: 30px;
    font-weight: bold;
    line-height: 40px;
    text-align: center;
    color: black;
    font-style: normal;
}

/* Animación continua */
@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (min-width: 1200px) and (max-width: 1670px) {
    .carousel-container {
        padding: 100px 99px;
    }

    .carousel-container h2 {
        font-size: 45px;
    }

    .carousel-container p {
        font-size: 20px;
        line-height: 30px;
    }

    .carousel-container .carousel-footer p {
        font-size: 20px;
        line-height: 30px;
    }
}

@media (max-width: 768px) {

    .carousel-container {
        padding: 40px 20px;
    }

    .carousel-container h2 {
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 16px;
    }

    .carousel-container p {
        font-size: 16px;
        line-height: 22px;
        padding: 0;
        text-align: left;
    }

    .carousel-content {
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .carousel-inner img {
        width: 90px;
        height: 20px;
    }

    .carousel-inner>div {
        margin-right: 20px;
    }

    .carousel-container .carousel-footer p {
        font-size: 16px;
        line-height: 20px;
    }

    .carousel-footer {
        gap: 16px;
    }
}