/* -------------------------
   Page
------------------------- */

html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: black;
    font-family: "Orbitron", sans-serif;
}

/* -------------------------
   Game Canvas
------------------------- */

#gameCanvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* -------------------------
   Home Page White Box
------------------------- */

.game-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: min(500px, 80%);
    padding: 35px 25px;

    background-color: white;
    color: black;

    text-align: center;
    z-index: 10;
}

.game-message h1 {
    margin: 0 0 12px;

    font-size: clamp(28px, 6vw, 48px);
    font-weight: 900;
    letter-spacing: 3px;
}

.game-message p {
    margin: 0 0 25px;

    font-size: clamp(14px, 3vw, 20px);
    font-weight: 400;
}

/* -------------------------
   About Page White Box
------------------------- */

.about-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: min(650px, 80%);
    max-height: 75vh;
    overflow-y: auto;

    padding: 40px 35px;

    background-color: white;
    color: black;

    text-align: center;
    z-index: 10;
}

.about-box h1 {
    margin: 0 0 25px;

    font-size: clamp(26px, 5vw, 44px);
    font-weight: 900;
    letter-spacing: 3px;
}

.about-box p {
    margin: 0 0 22px;

    font-size: clamp(14px, 2vw, 18px);
    line-height: 1.8;
}

/* -------------------------
   Buttons
------------------------- */

.learn-more-button {
    display: inline-block;

    padding: 12px 25px;

    background-color: black;
    color: white;

    font-family: "Orbitron", sans-serif;
    font-size: 16px;
    font-weight: 700;

    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;

    cursor: pointer;
}


.learn-more-button:focus-visible {
    outline: 3px solid black;
    outline-offset: 4px;
}

/* -------------------------
   Mobile Screens
------------------------- */

@media (max-width: 600px) {
    .game-message {
        width: 75%;
        padding: 28px 18px;
    }

    .game-message h1 {
        letter-spacing: 2px;
    }

    .about-box {
        width: 75%;
        padding: 30px 20px;
    }

    .about-box h1 {
        letter-spacing: 2px;
    }

    .about-box p {
        line-height: 1.6;
    }

    .learn-more-button {
        padding: 11px 20px;
        font-size: 14px;
    }
}