*{
    margin: 0%;
    padding: 0;
}

.container{
    width: 100%;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.temp{
    font-size: 5rem;
}

.time_location{
    font-size: 1.5rem;
}

.search_area{
    font-size: 1.25rem;
    padding: 5px;
    color: black;
    border-radius: 4px;
    width: 100%;
    max-width: 400px;
    
}

nav form button{
    font-size: 1.15rem;
    border-radius: 4px;
    width: 80px;
}

body{
    transition: background 0.5s ease;
}

.weather_container{
    color: white;
    text-align: center;
}

.weather_container div{
    margin: 10px 0;
}

.weather_icon{
    width: 80px;
}

@media (max-width: 768px){

    .temp{
        font-size: 3rem;
    }

    .time_location{
        font-size: 1.2rem;
    }

    .search_area{
        width: 100%;
        max-width: 280px;
    }

    nav form{
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    nav form button{
        width: 100px;
    }
}

@media (max-width: 480px){

    .temp{
        font-size: 2.5rem;
    }

    .weather_icon{
        width: 60px;
    }
}