@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

html, body {
    margin: 0;
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#label {
    position: fixed;
    left: auto;
    right: 10px;
    top: 10px;
    z-index: 50;
}

#label::before {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    content: var(--value);
    white-space: nowrap;
    color: #00aa41;
    text-shadow:
        0 0 6px #00aa41,
        0 0 16px #00aa41;
}


#earth {
    position: fixed;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
    z-index: 40;
    filter: drop-shadow(0 0 5px rgba(80, 170, 255, .9));
}

#moon {
    position: fixed;
    width: 8px;
    height: 8px;
    transform: translate(-50%, -50%);
    z-index: 40;
    filter: drop-shadow(0 0 3px rgba(200, 200, 200, 0.5));
    transition: z-index 0.1s;
    pointer-events: none;
}

#sun {
    position: fixed;
    width: 170px;
    height: 170px;
    transform: translate(-50%, -50%);
    z-index: 35;
    pointer-events: none;
    filter: drop-shadow(0 0 40px rgba(255, 200, 50, 0.4));
    animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}
