* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;

}

body{
    background-image: url("weather-app-img/images/city.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.card {
    width: 90%;
    max-width: 470px;
   background: linear-gradient(135deg, #2193b0, #6dd5ed);
    color: #fff;
    margin: 100px auto 0;
    border-radius: 20px;
    padding: 40px 35px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.search input{
    border: 0;
    outline: 0;
    background: #ebfffc;
    color: #555;
    padding: 10px 25px;
    height: 60px;
    border-radius: 30px;
    flex: 1;
    margin-right: 16px;
    font-size: 18px;
}

.search button{
    border: 0;
    outline: 0;
    background: #ebfffc;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
}

.search button img{
    width: 16px;
}


.weather-icon{
    width: 170px;
    margin-top: 30px;
}

.weather h1{
    font-size: 70px;
    font-weight: 500;
}

.weather h2{
    font-size: 40px;
    font-weight: 400;
    margin-top: -10px;
}

.details{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    margin-top: 50px;
}

.col{
    display: flex;
    align-items: center;
    text-align: left;
}

.col img{
    width: 40px;
    margin-right: 10px;
}

.humidity, .wind{
    font-size: 22px;
    margin-top: -6px;
}



.error{
    text-align: left;
    margin-left: 10px;
    font-size: 14px;
    margin-top: 10px;
    display: none;
}

.weather{
    display: none;
}



@media only screen and (max-width: 600px){

    .card{
        width: 90%;
        padding: 30px 20px;
    }

    .search input{
        height: 45px;
        font-size: 14px;
        padding: 10px 15px;
    }

    .search button{
        width: 45px;
        height: 45px;
    }

    .search button img{
        width: 14px;
    }

    .weather-icon{
        width: 120px;
    }

    .weather h1{
        font-size: 50px;
    }

    .weather h2{
        font-size: 30px;
    }

    .details{
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }



    .col{
        justify-content: center;
    }


    .col{
        width: 100%;
    }
}