body {
    margin: 0;
    overflow: hidden;
    background-color: black;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    user-select: none;
}

canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allows mouse events to pass through to canvas by default */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 20px;
    box-sizing: border-box;
    gap: 10px; /* Space between text and buttons */
}

#textContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px; /* Space between text elements */
}

.text-display {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    margin: 0; /* Reset default margin */
    border-radius: 8px;
    font-size: 1.5em;
    min-width: 200px;
    text-align: center;
    pointer-events: auto; /* Make text elements clickable if needed, though they don't do anything here */
}

#buttonContainer {
    display: flex;
    gap: 15px; /* Space between buttons */
    pointer-events: auto; /* Make buttons clickable */
    margin-top: 10px;
}

#buttonContainer button {
    background-color: rgba(0, 123, 255, 0.7);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#buttonContainer button:hover {
    background-color: rgba(0, 123, 255, 1);
}

#buttonContainer button:active {
    background-color: rgba(0, 86, 179, 1);
}