* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: linear-gradient(180deg,#36658f,#dff6ff);
    min-height: 100vh;
    color: #36658f;    
}

h3 {
    font-size: 20px;
}

#container {
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
background: linear-gradient(rgba(233, 200, 200, 0.3), rgba(0, 0, 0, 0.6));
padding: 20px;
}

.logo{
    font-weight: 600;    
    font-size: clamp(24px, 5vw, 42px);
    margin-top: 40px;
    text-align: center;
    color: #1C3D5A;
}

#header {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    width: 100%;
}

#input {
    padding: 14px 18px;
    border-radius: 30px;
    border: none;
    outline: none;
    font-size: 16px;
    width: min(400px, 90%);
}

#input:focus {
    background-color: #fff;
}

.current-weather {
    text-align: center;
    margin-top: 20px;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.now {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;    
}

#when-where {
    padding: 10px;
}

#city {
    color: #fff;
    font-size: clamp(30px, 6vw, 60px);
    margin-bottom: 10px;
}

#date {
    color: #fff;
    font-size: clamp(16px, 3vw, 24px);
    margin-bottom: 30px;
}

#temperature {
    color: #fff;
    font-size: clamp(40px, 12vw, 100px);
    font-weight: bold;
    text-shadow: 3px 8px #1C3D5A;
}

#feelsLike, #conditions {
    color: #1C3D5A;
    font-size: clamp(18px, 3vw, 28px);   
}

#details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

#humidity, #wind, #varation {
    background: rgba(255, 255, 255, 0.189);
    backdrop-filter: blur(5px);
    padding: 14px 20px;
    border-radius: 14px;
    color: #1C3D5A;
    font-size: clamp(16px, 2vw, 22px);
}

@media (max-width: 768px) {
    .now {
        flex-direction: column;
        gap: 10px;
    }

    #details {
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 480px) {
    #container {
        padding: 15px;
    }
    .logo {
        margin-top: 20px;
    }
    #input {
        padding: 12px 16px;
    }
    #temperature {
        text-shadow: 2px 5px #1C3D5A;
    }
    #humidity, #wind, #varation {
        width: 100%;
        max-width: 280px;
    }
}