﻿
.listcustomer {
    background-color: #ffffff;
    padding: 2rem 0;
}

.listcustomer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.customer-title {
    text-align: center;
    color: #1a1a1ab5;
    font-weight: 600;
    font-size: 2.375rem;
    margin-bottom: 2rem;
    font-family: 'interB';
}


.img-customer {
    width: 100%;
    overflow: hidden;
    padding: 4rem 0;
}

.img-customer-marquee {
    display: flex;
    gap: 2.5rem;
    animation: scroll-left 20s linear infinite;
    height: 100px;
    flex-shrink: 0;
    white-space: nowrap;
}

.img-customer:hover .img-customer-marquee {
    animation-play-state: paused;
}

.img-customer-marquee img {
    width: 461px;
    height: 96px;
    object-fit: contain;
    flex-shrink: 0;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
    /* hoặc -100% tùy layout */
}

#customerTrack {
    display: flex;
    animation: scrollMarquee 15s linear infinite;
}
/* Responsive Design */


/* Tablet (≤1023px) */
@media (max-width: 1023px) {
    .listcustomer {
        padding-top: 40px;
    }

    .customer-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .img-customer {
        padding: 3rem 0;
    }

    .img-customer-marquee {
        gap: 2rem;
        animation-duration: 18s;
        height: 90px;
    }

        .img-customer-marquee img {
            width: 360px;
            height: 75px;
        }
}

/* Mobile (≤480px) */
@media (max-width: 480px) {
    .listcustomer {
        padding: 1rem 0;
    }

    .listcustomer-container {
        padding: 0 0.5rem;
    }

    .customer-title {
        font-size: 1.6rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .img-customer {
        padding: 1.5rem 0;
    }

    .img-customer-marquee {
        gap: 1rem;
        animation-duration: 12s;
        height: 60px;
    }

        .img-customer-marquee img {
            width: 200px;
            height: 42px;
        }
}
