*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #e0eafc, #cfdef3);
    font-family: sans-serif;
}
/* styling weather app container */
.card{
    width: 90%;
    max-width: 450px;
    min-height: 400px;
    padding: 30px;
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 24px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08),
0 10px 20px rgba(0, 0, 0, 0.05);
display: flex;
    flex-direction: column;
    align-items: center;
}
/* searchbar */
#search-bar{
    width:100%;
    padding: 0 20px;
    margin-top: 20px;
    height: 50px;
    border-radius: 30px;
    border:none;
    background-color: #f1f3f4;
    font-size: 16px;
    outline: none; /* Removes the blue highlight when clicking */
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23888' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 15px center;
   padding: 0 20px 0 45px;
}
#search-bar:focus {
    background-color: #ffffff;
   box-shadow: 0 0 0 2px #cfdef3;
}
/* styling weather icon */
.weather-info{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    width:100%;
}
.weather-icon{
    width:120px;
    margin-bottom: -15px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}
/* temperature styling */
.temperature{
    font-size: 72px;
    font-weight: 700;
    color:#222;
    margin-top: -10px;
}
/* city styling */
.city{
    font-size:32px;
    font-weight: 500;
    color:#444;
    margin-top: 0;
}
/* humidity icon */
.humidity-icon{
    margin-top: 5px;
    font-size:30px;
}
/* details section */
.details{
    width:100%;
    padding:0 10px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
}
.col{
    display: flex;
    align-items: center;
    gap:12px;
}
.details-icon{
    width:35px;
    height:35px;
}
.info .humidity-val, 
.info .wind-val {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.info .label {
    font-size: 14px;
    color: #888;
}