:root {
    --duration: 150s;
}

.logo-carousel-section h2 {
    color: #F8F6EE;
    font-size: 20px !important;
    text-transform: uppercase;
}

.ticker-wrap {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    white-space: nowrap;
}

.odd-ticker {
    display: inline-flex;
    margin-top: 5px;
    animation: marquee var(--duration) linear infinite;
    align-items: center;
}

.even-ticker {
    display: inline-flex;
    margin-top: 5px;
    animation: marqueeEven var(--duration) linear infinite;
    align-items: center;
}

.odd-ticker .item-collection-1 {
    display: inline-flex;
    position: relative;
    left: 0%;
    animation: swap var(--duration) linear infinite;
    align-items: center;
}

.odd-ticker .item-collection-2 {
    display: inline-flex;
}

.even-ticker .item-collection-1 {
    display: inline-flex;
    position: relative;
    left: 0%;
    animation: swapEven var(--duration) linear infinite;
    align-items: center;
}

.even-ticker .item-collection-2 {
    display: inline-flex;
    align-items: center;
}

.item {
    display: inline-block;
    padding: 0 4rem;
    font-size: 2rem;
    color: black;   
    font-weight: 800;
    font-family: sans-serif;
    width: 275px;
    justify-content: center;
    align-items: center;
    display: flex;
}

.item img {
    max-width: 100%;
    height: auto;
    max-height: 87px;
    object-fit: contain;
}

/* Animations */
@keyframes marquee {
    0% {
        transform: translateX(0)
    }
    100% {
        transform: translateX(-100%)
    }
}

@keyframes marqueeEven {
    0% {
        transform: translateX(-100%)
    }
    100% {
        transform: translateX(0)
    }
}

@keyframes swap {
    0%, 50% {
        left: 0%;
    }
    50.01%, 100% {
        left: 100%;
    }
}

@keyframes swapEven {
    0%, 50% {
        left: 100%;
    }
    50.01%, 100% {
        left: 0%;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .item {
        width: 200px;
        padding: 0 2rem;
    }
    
    .logo-carousel {
        gap: 4px;
    }
} 