*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Poppins,sans-serif;
}

body{
    height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#4facfe,#00f2fe);
}

.main-heading{
    color:#fff;
    font-size:48px;
    font-weight:700;
    margin-bottom:25px;
    letter-spacing:1px;
    text-shadow:0 4px 12px rgba(0,0,0,.25);
}

.card{
    width:400px;
    padding:20px;
    border-radius:20px;
    background:linear-gradient(135deg,#00feba,#5b548a);
    text-align:center;
    color:#fff;
    box-shadow:0 10px 40px rgba(0,0,0,.2);
}

.search{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.search input{
    border:0;
    outline:0;
    background:#ebfffc;
    color:#555;
    padding:10px 25px;
    height:45px;
    border-radius:30px;
    flex:1;
    margin-right:16px;
    font-size:16px;
}

.search button{
    border:0;
    outline:0;
    background:#fff;
    width:45px;
    height:45px;
    border-radius:50%;
    cursor:pointer;
    transition:.3s;
}

.search button:hover{
    transform:scale(1.05);
}

.search button img{
    width:18px;
}

.error{
    display:none;
    text-align:left;
    margin-top:10px;
    margin-left:10px;
    font-size:14px;
    color:#fff;
}

.weather{
    display:none;
}

.weather-icon{
    width:180px;
    margin-top:20px;
}

.weather h1{
    font-size:72px;
    font-weight:500;
}

.weather h2{
    font-size:48px;
    font-weight:400;
    margin-top:-10px;
}

.details{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:45px;
    padding:0 15px;
}

.col{
    display:flex;
    align-items:center;
    text-align:left;
}

.col img{
    width:40px;
    margin-right:10px;
}

.humidity,
.wind{
    font-size:20px;
    margin-top:-5px;
}