* {
    box-sizing: border-box
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, sans-serif;
    color: #fff;
    background: #071326
}

.sky {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 15%, #1e67a355, transparent 35%), radial-gradient(circle at 80% 80%, #7c3aed55, transparent 40%);
    z-index: -1
}

.container {
    width: min(1000px, 92%);
    margin: auto;
    padding: 50px 0
}

.eyebrow {
    color: #72e7ff;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: 2px
}

h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    margin: 10px 0
}

.container header p {
    color: #a9b8cf;
    font-size: 1.1rem
}

.search {
    display: flex;
    gap: 10px;
    margin: 28px 0
}

.search input {
    flex: 1;
    padding: 16px;
    border: 1px solid #ffffff20;
    background: #ffffff0c;
    color: #fff;
    border-radius: 14px;
    font-size: 1rem;
    outline: none
}

.search button {
    border: 0;
    border-radius: 14px;
    padding: 0 20px;
    font-weight: 800;
    background: #74e4ff;
    color: #06101e
}

.search .secondary {
    background: #ffffff14;
    color: #fff
}

#message {
    min-height: 28px;
    color: #9eb0c9
}

.weather {
    margin-top: 15px;
    background: #ffffff0c;
    border: 1px solid #ffffff16;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 25px 70px #0005;
    backdrop-filter: blur(14px)
}

.hidden {
    display: none
}

.top {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.place h2 {
    font-size: 2rem;
    margin: 0 0 5px
}

.place p {
    margin: 0;
    color: #98a9c0
}

.temp {
    font-size: 5rem;
    font-weight: 900
}

.condition {
    text-align: center;
    margin: 10px 0 25px
}

.emoji {
    font-size: 4rem
}

.condition h3 {
    margin: 6px 0;
    font-size: 1.4rem
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px
}

.stat {
    background: #ffffff09;
    border: 1px solid #ffffff12;
    padding: 18px;
    border-radius: 16px
}

.stat span {
    display: block;
    color: #8496ad;
    font-size: .85rem;
    margin-bottom: 7px
}

.stat strong {
    font-size: 1.15rem
}

footer {
    text-align: center;
    color: #60728c;
    margin-top: 28px;
    font-size: .85rem
}

@media(max-width:700px) {
    .search {
        flex-direction: column
    }

    .search button {
        height: 50px
    }

    .top {
        flex-direction: column;
        align-items: flex-start
    }

    .temp {
        font-size: 4rem
    }

    .stats {
        grid-template-columns: repeat(2, 1fr)
    }
}