* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #e0eafc 80%, #cfdef3 100%);
    font-family: 'Segoe UI', Arial, sans-serif;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.weather_container {
    background: rgba(40, 50, 85, 0.89);
    box-shadow: 0 12px 40px rgba(45,95,255, 0.10);
    border-radius: 20px;
    padding: 2.6rem 3rem;
    margin-bottom: 1.7rem;
    color: #fff;
    text-align: center;
    min-width: 320px;
    max-width: 90vw;
}

.temp p {
    font-size: 4.3rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #ffcc00;
    background: #222644;
    padding: 0.5rem 1.5rem;
    border-radius: 14px;
    display: inline-block;
    box-shadow: 0 2px 10px #22264455;
}

.timelocation {
    margin-top: 1rem;
    margin-bottom: 1.2rem;
}

.timelocation p, .weekday {
    font-size: 1.25rem;
    margin: 0.22rem 0;
    color: #bee9fe;
    font-weight: 600;
    text-shadow: 0 1px 12px rgba(45,95,255,0.10);
    background: transparent;
}

.weekday {
    font-size: 1.26rem;
    font-weight: 800;
    color: #7aedc2;
    margin-top: 0.25rem;
    letter-spacing: 2px;
}

.conditions p {
    margin: 1rem 0 0.7rem 0;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: #fff;
    font-weight: 700;
    background: #3498db;
    padding: 0.48rem 0.8rem;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 1px 6px #3498db88;
}

nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.2rem;
}

form {
    display: flex;
    gap: 0.8rem;
}

.searcharea {
    border-radius: 10px;
    padding: 0.92rem 1.22rem;
    border: 2px solid #3498db;
    outline: none;
    background: #fafbfd;
    color: #222644;
    font-weight: 700;
    font-size: 1.13rem;
    min-width: 200px;
    box-shadow: 0 1px 5px #22264411;
    letter-spacing: .8px;
    transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.searcharea:focus {
    background: #fff;
    border-color: #ffcc00;
    box-shadow: 0 3px 10px #ffcc0026;
}

form button {
    border-radius: 10px;
    padding: 0.92rem 1.7rem;
    background: linear-gradient(90deg,#3498db 30%, #7aedc2 100%);
    color: #222644;
    font-weight: 800;
    font-size: 1.12rem;
    border: 2px solid #222644;
    cursor: pointer;
    transition: background 0.19s, color 0.15s, box-shadow 0.19s;
    letter-spacing: 1.3px;
    box-shadow: 0 1px 7px #3498db22;
}

form button:hover {
    background: linear-gradient(90deg,#ffcc00, #bee9fe);
    color: #3498db;
    border-color: #3498db;
    box-shadow: 0 3px 13px #bee9fe50;
}

@media (max-width: 499px) {
    .weather_container {
        padding: 1.3rem 0.5rem;
    }
    form {
        flex-direction: column;
        gap: 0.7rem;
    }
}
