body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    background-color: #000;
    color: white;
    font-family: "Encode Sans SC", sans-serif;
}

#wrapper {
    width: 840px; /* Set the width of the wrapper */
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1, p {
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 5em;
    font-weight: 400;
    margin-bottom: 0.05em;
}

.highlight {
    color: #964b00; /* Set the color of the text to brown */
    font-weight: 400;
}



#gameContainer, #gameContainer2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    width: 100%; /* Make it responsive */
    margin: 1px auto;
}


#gameDescription, #gameRules {
    text-align: left;
    width: 100%; /* Adjust width to fit the wrapper */
}

#gameRules ul {
    padding-left: 20px;
}


@media (max-width: 600px) {
    #gameContainer, #gameContainer2, #wrapper {
        width: 100%; /* Full width on smaller screens */
        margin: 10px 0;
    }

    canvas {
        width: 100%;
        height: auto;
    }
}