
/* =========================================
   SCALEA2Z - LOGO SLIDER TWO
   Continuous Infinite Animation
========================================= */

.hecc-logo-two {
    width: 100%;
    overflow: hidden;
    position: relative;
    --logo-two-speed: 30s;
    --logo-two-gap: 40px;
}

.hecc-logo-two-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: heccLogoTwoScroll
        var(--logo-two-speed) linear infinite;
    will-change: transform;
}

.hecc-logo-two-group {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: var(--logo-two-gap);
    padding-right: var(--logo-two-gap);
}

.hecc-logo-two-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 100px;
}

.hecc-logo-two-item img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Seamless infinite movement */

@keyframes heccLogoTwoScroll {
    from {
        transform: translateX(0);
    }

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

/* Pause on hover */

.hecc-logo-two:hover .hecc-logo-two-track {
    animation-play-state: paused;
}

/* Tablet */

@media (max-width: 1024px) {
    .hecc-logo-two-item {
        width: 140px;
        height: 90px;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .hecc-logo-two-item {
        width: 110px;
        height: 75px;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .hecc-logo-two-track {
        animation: none;
    }
}
