body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #000;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

h1 {
    color: white;
    text-shadow: 2px 2px 4px #000;
    font-size: 3em;
    margin-bottom: 30px;
}

canvas {
    display: block; 
    border: none;
    margin: 0;
    /* Landscape mode adjustments for mobile screens */
    @media (max-width: 768px) {
        position: absolute;
        top: 0;
        left: 0;
        margin: 0; /* Reset any default margins */
        transform-origin: top left;
    }
    overflow: hidden;
}


#startMenu {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #0c0c38;
    color: white;
}

#startMenu p {
    font-size: 1.2em;
    margin: 5px 0;
}

/* Style for the Win/Loss Message */
#statusMessage {
    font-size: 1.8em;
    font-weight: bold;
    color: #ffc107; /* A gold color */
    text-shadow: 1px 1px 2px #000;
    min-height: 1.5em; /* Reserve space so button doesn't jump */
    margin: -10px 0 10px 0;
}

.button-style {
    margin-top: 20px;
    font-size: 1.5em;
    padding: 15px 30px;
    border-radius: 10px;
    border: 2px solid white;
    background-color: #8B4513;
    color: white;
    cursor: pointer;
    text-shadow: 1px 1px 2px #000;
    transition: background-color 0.2s;
    text-decoration: none;
}

.button-style:hover {
    background-color: #a0522d;
}

.logout-link {
    color: #ccc;
    text-decoration: none;
    margin-top: 25px;
    font-size: 1em;
}

.logout-link:hover {
    text-decoration: underline;
}

#authMenu {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #0c0c38;
    color: white;
}

#authMenu form {
    display: flex;
    flex-direction: column;
    width: 80%;
    max-width: 300px;
}

#authMenu input {
    font-size: 1.2em;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#authMenu button {
    font-size: 1.2em;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: #8B4513;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

#authMenu button:hover {
    background-color: #a0522d;
}

#authMenu p {
    margin-top: 20px;
}

#authMenu #message {
    min-height: 1.2em;
    margin-top: -10px;
    margin-bottom: 10px;
    font-weight: bold;
}

#authMenu a {
    color: #ffc107;
    text-decoration: none;
}