/* B"H 
- Bulletproof CSS */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: 'Cormorant Garamond', serif;
    background-color: #02021a;
    color: #e0e0e0;
    overflow: hidden;
}

/* This is a container for the menu, ensuring flexbox works correctly */
#menu-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* This is the actual menu content */
#main-menu {
    background-color: #0a0a22;
    border: 2px solid #00ffff;
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 550px;
    box-sizing: border-box;
    text-align: center;
    user-select: text; /* Ensures text is selectable */
}

.menu-button {
    padding: 15px 30px;
    font-size: 1.5em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Cormorant Garamond', serif;
    margin-top: 10px;
    background-color: #00ffff;
    color: #111;
}

/* Styling for the game over screen, if it's created */
.game-over-menu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #0a0a22;
    border: 2px solid #00ffff;
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 550px;
    text-align: center;
    z-index: 100; /* Make sure it's on top */
}

/* In style.css */
canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;  /* Ensure it has a size */
    height: 100%; /* Ensure it has a size */
    z-index: 100; /* Force it to be on top of everything */
}