.clients {
    max-width: 100vw;
    overflow: hidden;

    .clients__heading {
        position: relative;
        top: 0;
        transition: opacity 0.5s ease-in, top 0.5s ease;
        margin-bottom: 50px;
    }

    .h2_header {
        text-align: center;
    }

    .clients__description {
        text-align: center;
        max-width: 701px;
        margin: 0 auto;
    }

    .clients__track {
        display: flex;
        width: max-content;
        animation: clients-marquee 120s linear infinite, opacity 0.5s ease-in, top 0.5s ease;
        margin-bottom: 80px;
        position: relative;
        top: 0;
    }

    .clients__group {
        display: flex;
        gap: 30px;
        align-items: center;
    }

    .clients__item {
        height: 80px;
        max-width: 160px;
        width: auto;
        object-fit: contain;
        filter: saturate(0);
        transition: filter .4s ease;

        &:hover {
            filter: saturate(1);
        }
    }

    @media screen and (max-width: 1200px) {
        .clients__track {
            animation: clients-marquee 80s linear infinite;
        }
    }

    @media screen and (max-width: 768px) {
        .clients__track {
            animation: clients-marquee 50s linear infinite;
        }
    }
}

@keyframes clients-marquee {
    to {
        transform: translateX(-50%);
    }
}

.clients:not(._animated) {
    .clients__heading,
    .clients__track {
        top: 20px;
        opacity: 0;
    }
}