* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: "Ubuntu", Helvetica, Arial, sans-serif;
    background: linear-gradient(180deg, #1a2230 0%, #101522 33%, #0f1118 66%, #0a0a10 100%);
    overflow: hidden;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

/* WIDGET */

#weather-widget {
    position: relative;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100% - 100px);
    aspect-ratio: 2 / 3;
    overflow: hidden;
    padding: 5%;
    box-shadow: 0 0 100px rgba(0, 0, 0, 1);
}

#weather-graphics {
    position: absolute;
    inset: 0;
    z-index: 0;
}

#top-row,
#bottom-row {
    width: 100%;
    text-align: center;
    z-index: 3;
}

#top-row {
}

#bottom-row {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
}

/* TYPOGRAPHY */

h1, h2, h3, p {
    text-transform: uppercase;
    color: #00c8ff;
    text-align: center;
    letter-spacing: 0.08em;
    font-weight: 500;
    opacity: 0;
}

h1 {
    font-size: 2.75rem;
    text-shadow: 0 0 10px #00c8ff, 0 0 20px #00c8ff, 0 0 40px rgba(0, 200, 255, 0.7);
    margin-bottom: 0.2em;
    opacity: 0;
}

h3 {
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-shadow:0 0 6px #00baff, 0 0 15px rgba(0, 200, 255, 0.5);
    margin-bottom: 0.4em;
    font-weight: 400;
    opacity: 0;
}

h2 {
    font-size: 5rem;
    font-weight: 500;
    line-height: 1;
    text-shadow: 0 0 15px #00eaff, 0 0 40px #00c8ff, 0 0 80px rgba(0, 200, 255, 0.6);
    margin-bottom: 0.4em;
    opacity: 0;
    margin-left: 1.1rem;
}

#bottom-row p {
    font-size: 0.9rem;
    text-shadow: 0 0 4px #00aaff, 0 0 12px rgba(0, 200, 255, 0.4);
    font-weight: 400;
    opacity: 0;
}

.weather-icon {
    font-size: 3rem;
    text-shadow: 0 0 4px #00aaff, 0 0 12px rgba(0, 200, 255, 0.4);
    color: #00c8ff;
    margin-bottom: 0.4em;
    opacity: 0;
}

/* RAIN */

#weather {
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(16deg);
    pointer-events: none;
    transition: 1s ease-in-out;
    opacity: 0;
}

/* CONTROLS */

#weather-controls {
    position: absolute;
    bottom: 5%;
    right: 5%;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.weather-btn {
    background: #2b544e;
    color: #00ffdd;
    padding: 10px 25px;
    border-radius: 100px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: 0px;
}

/* BACKGROUND */

.cityscape {
    width: 100%;
    position: absolute;
    bottom: 0px;
    left: 0px;
    opacity: 0;
    height: 100%;
    object-fit: cover;
}

/* MOBILE */

@media only screen and (max-width: 600px) {
    #weather-widget {
        max-width: 100vw;
        border-radius: 0px;
    }

    .container {
        align-items: start;
    }

    #weather-controls {
        bottom: 3.5%;
        position: absolute;
        display: flex;
        gap: 10px;
        z-index: 10;
        width: 100%;
        display: flex;
        justify-content: center;
        right: 0px;
    }

    .weather-btn {
        font-size: 0.65rem;
    }
}