@font-face {
    font-family: "Montserrat Black";
    src: url("/fonts/Montserrat/static/Montserrat-Black.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body{
    width: 672px;
    height: 35px;
}

@keyframes slide-in {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes slide-out {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.banner-container {
    width: 672px;
    height: 35px;
    display: flex;
    position: absolute;
    overflow: hidden;
    background-color: #008AB6;
    animation: slide-in 1s ease-out forwards;
}

.slide-out {
    animation: slide-out 1s ease-out forwards;
}

.banner-rate, .banner-time {
    width: 336px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: "Montserrat Black";
    text-align: center;
    padding: 0 10px;
    opacity: 0;
    transition: opacity 1s ease-out;
}

.rate-title {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.multiline {
    display: flex;
    flex-direction: column;
    white-space: normal;
    text-align: center;
    line-height: 1.1;
}

.multiline span {
    display: block;
    line-height: 0.9;
}

.multiline strong {
    font-size: 15px;
    font-weight: bold;
}

.multiline .small {
    font-weight: 100;
    font-size: 10px;
}

.separator {
    width: 1px;
    height: 20px;
    background-color: white;
    margin: 0 10px;
    border-radius: 1px;
}

.separator-with-image {
    width: 4px;
    height: 15px;
    background-image: url(../assets/flecha.svg);
    background-size: cover;
    background-position: center;
    margin: 0 8px;
}

.rate-value {
    white-space: nowrap;
}

.clock{
    width: 20px;
    height: 20px;
    background-image: url(../assets/reloj.svg);
    object-fit: cover;
    display: flex;
    align-items: center;
    margin-right: 5px;
}

.time {
    display: flex;
    align-items: center;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 1s ease-out;
}

.banner-container.reveal-content .banner-rate, 
.banner-container.reveal-content .banner-time, 
.banner-container.reveal-content .time {
    opacity: 1;
}

@keyframes reveal-text {
    0% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }
    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

.reveal {   
    animation: reveal-text 1s ease-out forwards;
}