*{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    background-color: #48cae4;
    display: flex;
    justify-content: center;
}
/* heading */

h1.main-heading{
    color: #fff;
    text-align: center;
    margin-bottom: 1rem;
}

/* Card */

div.card{
    background-color: #252638;
    min-width: 35%;
    margin-top: 1rem;
    border-radius: 15px;
    border: 1px solid black;
    padding: 1rem;
}

/* Header Section */

.card-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

div.search input{
    border: 0;
    height: 2.6rem;
    border-radius: 30px;
    width: 100%;
    padding: 0.3rem 0.9rem;
    font-size: 1.3rem;
}

div.search{
    width: 80%;
}

div.search-icon{
    background-color: #fff;
    height: 2.5rem;
    border-radius: 50%;
    width: 2.5rem;
    cursor: pointer;
}

div.search-icon i{
    padding: 0.8rem;
}

/* Hero Section */

div.current-weather{
    text-align: center;
    margin: 0.8rem 0;
}

div.current-weather > img{
    width: 30%;
    height: 30%;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

div.current-weather > h1{
    color: #fff;
}
div.current-weather > p{
    font-size: 21px;
    color: #fff;
    margin-top: 0.5rem;
}

/* Footer Section */

div.weather-forcast{
    color: #fff;
    padding: 10px 0;
    height: 6rem;
    display: flex;
    justify-content: space-between;
    text-align: center;
}

div.weather-forcast h3{
    margin: 8px 0;
    color: #62b6cb;
}

div.weather-forcast img{
    width: 20px;
    height: 20px;
}

div.weather-forcast i{
    margin-top: 2px;
    margin-bottom: 6px;
}

div.humidity{
    width: 25%;
    background-color: #416273;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}


div.wind-speed{
    width: 49%;
    background-color: #416273;
}

div.feels-like{
    width: 25%;
    background-color: #416273;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* Media Queries */

@media only screen and (max-width: 420px){
    div.search{
        width: 70%;
    }
    div.card{
        margin-top: 0;
        border-radius: 0;
        width: 100%;
    }
    body{
        height: 100vh;
    }
    div.weather-forcast{
        margin-top: 4rem;
    }
}

@media only screen and (max-width: 1024px){
    div.search{
        width: 70%;
    }
}