body {
    background-color: #282c34;
    color: #61dafb;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

a {
    text-decoration: none;
}

.flip-clock {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    text-align: center;
}

.flip-clock .digit {

    height: 100px;
    background: #333;
    color: #61dafb;
    margin: 0 5px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

.flip-clock .digit .flip {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s;
}

.flip-clock .digit .front {
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
}

.flip-clock .digit .back {
    background: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    transform: rotateX(180deg);
}

.flip-clock .digit.flipped .front {
    transform: rotateX(180deg);
}

.flip-clock .digit.flipped .back {
    transform: rotateX(0);
}

#flip-clock {
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: #222;
    border-radius: 8px;
    min-width: 0;
    overflow-x: auto;
}

.flip-digit {
    background: #333;
    color: #fffbe6;
    font-family: 'Courier New', Courier, monospace;
    font-size: 2.5em;
    width: 40px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    box-shadow: 0 2px 8px #0006;
    border-bottom: 2px solid #444;
    border-top: 2px solid #444;
    transition: background 0.2s;
}

        /* Progress bar styles */
        .progress-bar-container {
            width: 100%;

            height: 8px;
            margin: 16px 0;
            border-radius: 4px;
            overflow: hidden;
        }
        .progress-bar {
            height: 100%;
            width: 0%;
            background: #61dafb;
            transition: width 0.2s linear;
        }
        /* Mobile font size for flip-clock */
        @media (max-width: 600px) {
            .flip-clock {
                font-size: 4rem;
            }
            .flip-clock .digit .front,
            .flip-clock .digit .back {
                font-size: 4rem;
            }
        }
