@font-face {
    font-family: "Montserrat";
    src: url("/css/fonts/Montserrat/static/Montserrat-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("/css/fonts/Montserrat/static/Montserrat-Bold.ttf") format("truetype");
    font-weight: 700;
    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";
    font-weight: 900;
    text-align: center;
    padding: 0 20px;
    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 {
    position: relative;
    width: 10px;
    height: 20px;
    background-color: white;
    margin: 0 8px;
    border-radius: 1px;
}

.separator-with-image {
    width: 4px;
    height: 16px;
    background-image: url(../assets/flecha.svg);
    background-size: cover;
    background-position: center;
    margin: 0 8px;
}

.rate-value {
    white-space: nowrap;
}

.weather {
    width: 60%;
    height: 100%;
    background-position:center;
    background-repeat:no-repeat;	
    object-fit: cover;
    display: flex;
    align-items: center;
}

.weather_description {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-family: "Montserrat";
    font-weight: 700;
    font-size: 12px;
    padding-left: 4px;
}

.date {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-family: "Montserrat";
    font-weight: 700;
    font-size: 12px;
}

.temperature {
    width: 40%;
    height: 100%;
    background-image: url(../assets/temperature.svg);
    background-position:center;
    background-repeat:no-repeat;	
    object-fit: cover;
    display: flex;
    align-items: center;
}

.temperature_description {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-family: "Montserrat";
    font-weight: 700;
    font-size: 12px;   
}

.clock {
    width: 60%;
    height: 100%;
    background-image: url(../assets/time.svg);
    background-position:center;
    background-repeat:no-repeat;	
    object-fit: cover;
    display: flex;
    align-items: center;
    margin-right: 3px;
}

.time {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-family: "Montserrat";
    font-weight: 700;
    font-size: 12px;  
}

.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;
}