*{
    margin:0;
    padding: 0;
    font-family:'poppins',sans-serif ;
    box-sizing: border-box;
}
html{
    font-size: 62.5%;
}
body{
    background: #222;
}
.card{
    width:90%;
    max-width: 470px;
      background:linear-gradient(135deg,#00feba,#5b548a);
    color: #fff;
    /* top left/right bottom */
    margin:10rem auto 0;
    border-radius: 2rem;
    padding: 4rem 3.5rem;
    text-align: center;
}
.search{
    width:100%;
    display:flex;
    align-items:center;
    justify-content: space-between;

}
.search input{
    border:0;
    outline:0;
    background:#ebfffc;
    color:#555;
    padding:1rem 2.5rem;
    height:5rem;
    border-radius:3rem ;
    flex:1;
    margin-right:1rem;
    font-size:2rem;
    text-align: center;
}
.search button{
    border:0;
    outline:0;
    background:#ebfffc;
    border-radius:50%;
    width:5rem;
    height:5rem;
    cursor:pointer;
}
.search button img{
    width:2rem;
    
}
.weather-icon{
    width:17rem;
    margin-top:3rem;

}
.weather h1{
    font-size:8rem;
    font-weight:500;
}
.weather h2{
    font-size:4.5rem;
    font-weight:400;
    margin-top:-1rem;
}

/* now lets update the wind ans humidy in one row */
.details{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 2rem;
    margin-top:5rem;
}
.col{
    display:flex;
    align-items:center;
    text-align:center;
    
    
}
.col img{
    width:4rem;
    margin-right:1rem;
}

.humidity,.wind{
    font-size:3rem;
    margin-top:-6;
}

/* when we enter any wrong city name it should give this msg */
/* .error{
    text-align:center;
    margin-top:15px;
    font-size: 15px;
    display:none;
} */



/* RESPONSIVENESS */
/* 1rem=10px */

@media(max-width:998px){
    html{
        font-size:55%;
    }
}
@media(max-width:768){
    html{
        font-size:45%;
    }
}