body {
    margin: 0;
    padding: 0;
    background-color: white;
    color: black;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    transition: background-color 0.5s ease;
    overflow: hidden;
}

.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    z-index: 9999;
    transition: background-color 0.5s ease;
}

.instructions {
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
}

.fade-out {
    animation: fadeOut 2s forwards;
}

@keyframes fadeOut {
    from { opacity: 0.5; }
    to { opacity: 0; }
}

.countdown {
    font-size: 120px;
    font-weight: bold;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    opacity: 0.7;
    display: none;  /* Hide countdown initially */
}

.start-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    color: black;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.start-overlay.counting .countdown {
    display: block;  /* Show countdown when counting class is added */
}

.start-overlay.counting .start-content {
    display: none;  /* Hide initial content during countdown */
}

.start-content h1 {
    font-size: 80px;
}

.start-content h2 {
    font-size: 30px;
}

.hidden {
    display: none !important;
}

.start-button {
    padding: 15px 30px;
    font-size: 18px;
    background-color: #21bdd9;
    color: rgba(1, 1, 1, 0.6);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    font-size: 25px;
    font-weight: bold;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-40px);
    }
    60% {
        transform: translateY(-30px);
    }
}

.start-button:hover {
    background-color: #0056b3;
    animation-play-state: paused;
    color: white;
} 