.brands {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.brands-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.brand-items {
    display: flex;
    align-items: center;
    width: max-content;
    direction: ltr;
    animation: marquee 25s linear infinite;
    background: var(--p-color);
    padding: 24px;
}

.brands-content .section-title h3 {
    color: var(--t-color);
}

.brand-items img {
    height: 60px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    margin-right: 80px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-25%);
    }
}


.brands-content .section-title {
    margin-bottom: 0;
}

@media (max-width: 992px) {

    .brand-items img {
        height: 60px;
    }
}

@media (max-width: 768px) {

    .brands-content {
        gap: 40px;
        padding: 20px 0;
    }

    .brand-items img {
        height: 80px;
    }
}

@media (max-width: 576px) {
    .brands-content {
        gap: 30px;
        padding: 20px 0;
    }

    .brand-items img {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .brands-content {
        gap: 30px;
        padding: 0;
    }

    .brand-items img {
        height: 50px;
    }
}

@media (max-width: 390px) {

    .brands-content {
        gap: 20px;
    }
}

@media (max-width: 360px) {}