﻿.topbar_slider {
    position: relative;
    overflow: hidden;
    height: 40px; /* adjust based on your text height */
}

.topbar_txt {
    display: none;
    position: absolute;
    width: 100%;
    text-align: center;
    margin: 0;
    animation: fadeSlide 0.5s ease-in-out;
}

    .topbar_txt.active {
        display: block;
    }

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
