*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    font-family: sans-serif;
}

body{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #8db2f8;
}

.container{
    width: 400px;
    height: min-content;

    background-color: rgba(255, 255, 255, 0.15); 
    border-radius: 12px; 
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    
    padding: 28px;
}

.search-box{
    width: 100%;
    height: min-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-box input{
    width: 84%;
    font-size: 20px;
    text-transform: capitalize;
    color: #fff; 
    background-color: rgba(255, 255, 255, 0.2); 
    padding: 12px 16px;
    border-radius: 14px;
}
.search-box input::placeholder{
    color: #eee; 
}
.search-box button{
    width: 46px;
    height: 46px;
    background-color: rgba(255, 255, 255, 0.3); 
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #fff; 
    transition: background-color 0.3s ease;
}
.search-box button:hover{
    color: #000; 
    background-color: rgba(255, 255, 255, 0.8); 
}
.weather-body{
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-block: 20px;
    display: none;
}
.weather-body img{
    width: 60%;
}
.weather-box{
    margin-block: 20px;
    text-align: center;
}
.weather-box .temperature{
    font-size: 40px;
    font-weight: 800;
    position: relative;
    color: #fff; 
}
.weather-box .temperature sup{
    font-size: 20px;
    position: absolute;
    font-weight: 600;
    color: #fff; 
}
.weather-box .description{
    font-size: 20px;
    font-weight: 700;
    text-transform: capitalize;
    color: #eee; 
}
.city-name{
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-top: -10px;
    margin-bottom: 20px;
    color: #fff; 
}
.weather-details{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
.humidity, .wind{
    display: flex;
    align-items: center;
}
.humidity{
    margin-left: 20px;
}
.wind{
    margin-right: 20px;
}
.weather-details i{
    font-size: 36px;
    color: #fff; 
}
.weather-details .text{
    margin-left: 10px;
    font-size: 16px;
    color: #eee; 
}
.text span{
    font-size: 20px;
    font-weight: 700;
    color: #fff; 
}
.location-not-found{
    margin-top: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.location-not-found h1{
    font-size: 20px;
    color: #fff;
    margin-block-end: 15px;
}
.location-not-found img{
    width: 80%;
}
@media (max-width: 600px) {
    body {
        align-items: center; 
        padding-top: 0;
    }
    .container {
        width: 95%;
        max-width: 350px;
        padding: 15px;
    }
    .search-box input {
        font-size: 16px;
        padding: 10px 14px;
    }
    .search-box button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .weather-body img {
        width: 50%;
    }
    .weather-box .temperature {
        font-size: 32px;
    }
    .weather-box .description {
        font-size: 18px;
    }
    .city-name {
        font-size: 20px;
        margin-bottom: 15px;
    }
    .weather-details {
        justify-content: space-around;
        margin-top: 20px;
    }
    .humidity, .wind {
        margin: 0 5px; 
    }
    .weather-details i {
        font-size: 30px;
    }
    .weather-details .text {
        font-size: 13px;
    }
    .text span {
        font-size: 18px;
    }
}