:root {
    --nice-day: #ffe4ad;
    --little-rain: #b0d4ff;
    --rain: #2a63c7;
    --freezing-rain: #cff4ff;
    --snow: #f0f7ff;
    --fog: #e4e9ed;
}
body{
    margin: 0;
    background-color: white;
    font-family: "Sour Gummy", sans-serif;
    nav {
        background-color: #9c8d8d;
        width: 100%;
        padding: 2vw;
        h1 {
            display: flex;
            justify-content: center;
            width: 100%;
        }
    }
    .display-box{
        background-color: #c8c8c8;
        display: flex;
        justify-content: space-around;
        width: 70vw;
        margin: 0 14em;
        margin-top: 2em;
        margin-bottom: 2em;
        border-radius: 30px;
        .buttons {
                display: flex;
                justify-content: space-between;
                padding-left: 1.5em;
                padding-right: 1.5em;
                background-color: rgb(134, 75, 75);
                margin: auto 1em;
                border-radius: 100%;
                &:hover{
                    background-color: red;
                }
            }

        .card{
            transform: translate(0, -2%);
            background-color: #e8e8e8;
            width: 29%;
            height: 30vw;
            margin: 3em 1em 4em;
            padding: 1em 3em;
            position: relative;
            border-radius: 30px;
        }
        .back{
            transform: translate(0, 5%);
            filter: opacity(30)
        }
    }
    .day-weather{
        width: 70vw;
        margin: 0 14em;
        .temp-time{
            background-color: #9c8d8d;
            display: flex;
            justify-content: space-around;
            border-radius: 30px;
            div {
                background-color: #e8e8e8;
                width: 11%;
                margin-top: 2em;
                margin-bottom: 2em;
                border-radius: 20px;
                padding: 1em 1em;
            }
        }
    }
}

@media screen and (max-width: 1200px){
    .display-box{
        margin: 7em !important;
        padding-top: 2em;
        padding-bottom: 2em;
        .card{
            margin: 0 !important;
            width: 20% !important;
            padding: 0.5em 0.5em !important;
        }
        .buttons{
            padding: 0 0.2em;
        }
    }
    .day-weather{
        margin: 7em !important;
    }
}
@media screen and (max-width: 1040px){
    p {
        font-size: 0.7em;
        margin-bottom: 0 !important;
    }
    h3 {
        font-size: 0.7em;
    }
    .display-box{
        margin:  2em auto !important;
        width: 90% !important;
        .buttons{
            display: none !important;
        }
        .card {
            margin: 0;
        }
        .card.card-0, .card.card-2 {
                display: none !important;
            }
    }
    .day-weather{
        margin: 0 auto !important;
        width: 90% !important;
        height: 2em !important;
        
        .temp-time{
            padding-left: 0.3em;
            padding-right: 0.3em;
            div{
               margin: 0;
               padding: 0.8em 0.9em!important;
               height: 40%;
            }
        }
    }
}