*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins',sans-serif;
    box-sizing: border-box;
}
body{
    background: rgb(12, 10, 10);
}
.card{
    width: 80%;
    max-width: 470px;
    background: #0b5267;
    color: #fff;
    margin: 100px auto 0;
    padding: 40px 35px;
    text-align: center;
    border-radius: 20px;
    box-shadow: #2d7f72;
}
.search{
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
    
}
.search input{
    border: 0;
    outline: 0;
    background: #ebfffc;
    color: black;
    padding: 10px 25px;
    height: 60px;
    flex: 1;
    margin-right: 16px;
    font-size: 18px;
    margin-left: 45px;
    border-radius: 10px;
    
}
.search button{
    bottom: 0;
    background: #ebfffc;
    width: 90px;
    height: 60px;
    cursor: pointer;
    border-radius: 10px;
    
}
.search button img{
    width: 36px;
    color: white;
     
}
.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: center;
}

.col img{
    width: 40px;
    margin-right: 10px;
}
.humidity,.wind{
    font-size: 28px;
    margin-top: -6px;

}
.humidity img{

    height: 4vh;
    width: 3vh;
}
.weather{
    display: none;
}
.col img{
    border-radius: 10px;
  

}


@media (max-width: 768px) {
    .temp {
        font-size: 36px;
    }

    .city {
        font-size: 28px;
    }

    .details {
        flex-direction: column;
        gap: 15px;
    }

    .col {
        justify-content: center;
    }

    .weather-icon {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 20px;
    }

    .search input {
        height: 40px;
        font-size: 14px;
        padding: 8px 10px;
        margin-left: 20px;
        margin-top: 5px;
    }

    .search button {
        width: 40px;
        height: 38px;
        margin-left: -12px;
        margin-top: 5px;
    }

    .search button img {
        width: 20px;
        height: 20px;
    }

    .temp {
        font-size: 28px;
    }

    .city {
        font-size: 24px;
    }

    .details {
        padding: 0;
        margin-top: 20px;
    }

    .col img {
        width: 35px;
        margin-left: 2px; 
    }
    .img  {
        margin-left: -12px;
        
    }

    .humidity, .wind {
        font-size: 16px;
    }
}