html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Kanit, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    transition: background 0.5s ease;
}

img,
svg {
    pointer-events: none;
}

#container {
    aspect-ratio: 16/9;
    border-radius: 1.5vw;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom right, #c6f6d5, #ffffff);
    margin: 1vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    width: 100%;
}

.temperature {
    font-size: 23vw;
    color: #152d6e;
    font-weight: 600;
    line-height: .9;
    display: flex;
    align-items: baseline;
    margin: 0;
    padding: 0;
}

#precip {
    padding: .4vw;
    border-radius: 1.5vw;
    line-height: .9;
    font-size: 4.5vw;
    color: #444;
    margin: 1vw 0;
    display: flex;
    align-items: center;
}

.pulse-scale {
    animation: pulse-scale 4s infinite ease-in-out;
}

@keyframes pulse-scale {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.02);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pulse-scale2 {
    animation: pulse-scale2 4s infinite ease-in-out;
}

@keyframes pulse-scale2 {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#rainLayer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.raindrop {
    position: absolute;
    width: 0.5vw;
    height: 2vw;
    background: rgba(0, 0, 255, 0.3);
    border-radius: 50% 50% 60% 60% / 60% 60% 100% 100%;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    10% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(110vh);
        opacity: 0;
    }
}

@keyframes drop {
    to {
        transform: translateY(100vh);
    }
}