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

    /* Load custom font */
    @font-face {
        font-family: "ClockFont";
        src: url("assets/clock_font.otf") format("opentype");
    }

    body {
        width: 100vw;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        font-family: Arial, sans-serif;
        background: url("../assets/bg.gif") no-repeat center center fixed;
        background-size: cover;
    }

    /* dark overlay for readability */
    body::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
    }

    .clock-container {
        position: relative;
        text-align: center;
        z-index: 1;
    }

    #clock {
        color: #a6ffea;
        font-size: clamp(180px, 36vw, 540px);
        font-weight: normal;
        letter-spacing: 8px;
        line-height: 1;

        /* apply custom font */
        font-family: "ClockFont", sans-serif;
    }

    #date {
        margin-top: 20px;
        color: #aaa;
        font-size: clamp(24px, 4vw, 50px);
        font-family: "ClockFont", sans-serif;
    }