body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    background-color: black;
}

#video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.video-mask {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#video-player {
    position: absolute;
    top: -0%;
    left: -0%;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#weather-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.50);
    color: white;
    padding: 10px;
    z-index: 2;
    display: flex;
    justify-content: space-around;
}

.weather-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
}

.weather-icon {
    font-size: 2rem;
    margin-bottom: 5px;
    color: #fff;
}

.weather-value {
    font-size: 1.2rem;
    font-weight: bold;
}

.weather-title {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Mobile and portrait mode: compact styles */
@media (orientation: portrait) {
    #weather-overlay {
        flex-wrap: wrap;
    }

    .weather-item {
        width: 50%;
        padding: 5px 10px;
        margin-bottom: 5px;
    }

    .weather-icon {
        font-size: 1.5rem;
    }

    .weather-value {
        font-size: 1rem;
    }

    .weather-title {
        font-size: 0.8rem;
    }
}

/* Desktop landscape: 2x sizes */
@media (orientation: landscape) {
    #weather-overlay {
        padding: 16px 0;
    }

    .weather-item {
        padding: 0 30px;
    }

    .weather-icon {
        font-size: 3rem;
    }

    .weather-value {
        font-size: 1.8rem;
    }

    .weather-title {
        font-size: 1.0rem;
    }
}