*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    height: 100vh;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;

    background-image: url('./assets/sunny.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
}
.overlay{
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.193);
}

.weather-container{
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 450px;
    padding: 30px;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.weather-container h1{
    margin-bottom: 20px;
    font-size: 38px;
}

.search-box{
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}
.search-box input{
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    border-radius: 12px;
    font-size: 16px;
}
.search-box button{
    padding: 12px 18px;
    border: none;
    border-radius: 12px;
    background: #60a5fa;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}
.search-box button:hover{
    background: #3b82f6;
    transform: scale(1.05);
}

.weather-card img{
    width: 120px;
}
#temperature{
    font-size: 60px;
    margin: 10px 0;
}
#condition{
    font-size: 22px;
    margin-bottom: 25px;
}
.weather-info{
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.info-box{
    flex: 1;
    padding: 15px;
    border-radius: 15px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
}
.info-box h3{
    font-size: 14px;
    margin-bottom: 8px;
}
.info-box p{
    font-size: 18px;
    font-weight: 600;
}

@media(max-width: 500px){
    .weather-info{
        flex-direction: column;
    }
    #temperature{
        font-size: 50px;
    }
}