﻿
.weather-container {
    max-width: 1200px;
    margin: auto;
}

.flex {
    display:flex;
}

.block {
    display: block;
    float:left;
}

.icoweather {
    width:48px;
}
#forecast {
    display: flex;
    overflow-x: auto;
    gap: 2px;
    padding-bottom: 10px;
}

.hour-card {
    flex: 0 0 68px;
    background: rgb(127, 193, 255,0.2);
    border-radius: 6px;
    padding: 4px;
    text-align: center;
    backdrop-filter: blur(10px);
    color: #111;
    transition: transform 0.2s;
}

    .hour-card.isnight {
        color: #DDD;
        background:#262e6a;
    }
.hour-data {
    position:relative;
    z-index:100;
}
.hour-sky {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

    .hour-card:hover {
        transform: scale(1.05);
    }

.dayname {
    font-weight: bold;
}
.hour {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 1px;
}

.temp {
    font-size: 18px;
    margin-top: 1px;
}

.wind {
    margin-top: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight:bold;
}

/* Animation pulse */
.wind-arrow {
    width: 30px;
    height: 30px;
    animation: windpulse 1.8s infinite ease-in-out;
}

/* Gradient colors for wind speed */
.windColorLow {
    color: #4CAF50;
}
/* Vert */
.windColorMed {
    color: #FF9800;
}
/* Orange */
.windColorFast {
    color: #F44336;
}
/* Rouge */

@keyframes windpulse {
    0% {
        transform: scale(1,1);
    }

    50% {
        transform: scale(1.18,1);
    }

    100% {
        transform: scale(1,1);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .hour-card {
        flex: 0 0 120px;
    }
}
