*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box ;
}
body{
    background: #222;
    overflow-x: hidden;
}
.card{
    width:90%;
    max-width: 470px;
    background: linear-gradient( 135deg,#00feba,#5b548a);
    color:#fff;
    margin:60px auto 0;
    border-radius: 20px;
    padding: 40px 35px;
    text-align: center; 
    box-shadow: 0 8px 20px rgba(0,0,0,0,2);
}
.search{
    width:100%;
    display:flex;
    align-items: center;
    justify-content: space-between;

}
.search input{
    border:0;
    outline:0;
    background: #ebfffc;
    color:#553;
    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:40px;
}

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

}
.weather h1{
    font-size:80px;
    font-weight:500;
}
.weather h2{
    font-size:45px;
    font-weight: 400;
    margin-top: -10px;
}
.details{
    display:flex;
    align-items: center;
    justify-content: space-between;
    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: 28px;
    margin-top: -6px;
}

.weather{
    display: none;
}
@media(max-width:600px){
    body{
        margin:0;
        overflow-x: hidden;
        padding:0;
    }
.card {
    width: calc(100% - 20px);
    max-width:350px;
    padding:20px;
}
.search{
    display:flex;
    gap:8px;
    align-items:center;
}
.search input{
    flex:1;
    min-width:0;
    font-size:14px;
}
.search button{
    width:45px;
    height:45px;
    flex-shrink:0;
}
.search button img{
    width:20px;
}
.weather h1{
    font-size:35px;
}
.weather h2{
    font-size:22px;
}
.weather{
    width:100%;
}
.details{
    display:flex;
    flex-direction:column;
    gap:15px;
}
.col{
    width:100%;
    display:flex;
    justify-content:flex-start;
    align-items:center;
}
.col img{
width:35px;
}
.humidity,.wind{
    font-size:14px;
}

}