/* Top Bar */
.top-bar {
    background-color: var(--champagne-mr);
    height: 5vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.top-bar-scroll {
    display: flex;
    width: fit-content;
    animation: scroll 65s linear infinite;
}

.top-bar-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    height: 5vh;
}

.top-bar-text {
    color: var(--blu-mr);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin: 0;
    padding: 0 3rem;
}

.top-bar-separator {
    color: var(--blu-mr);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0 2rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.top-bar:hover .top-bar-scroll {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 767.98px) {
    .top-bar,
    .top-bar-content {
        height: 50px;
    }
    
    .top-bar-text {
        font-size: 0.85rem;
        letter-spacing: 1px;
        padding: 0 2rem;
    }
    
    .top-bar-separator {
        font-size: 0.85rem;
        padding: 0 1.5rem;
    }
    
    .top-bar-scroll {
        animation-duration: 65s;
    }
}

@media (max-width: 575.98px) {
    .top-bar,
    .top-bar-content {
        height: 45px;
    }
    
    .top-bar-text {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
        padding: 0 1.5rem;
    }
    
    .top-bar-separator {
        font-size: 0.75rem;
        padding: 0 1rem;
    }
    
    .top-bar-scroll {
        animation-duration: 45s;
    }
}