/* Reset body styles */
body {
    background-color: #faf8ef;
    display: flex;
    flex-direction: column; /* Ensures elements stack vertically */
    align-items: center;
    font-family: "Roboto", "Clear Sans", "Helvetica Neue", Serif;
    margin: 0;
    padding: 0;
}

/* Main Layout: Three Columns */
.layout {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between columns */
    max-width: 1200px;
    margin-top: 20px;
}

/* Side Columns */
.sidebar {
    flex: 1;
    max-width: 250px;
    text-align: center;
    padding: 20px;
    background: #ddd; /* Light background for visibility */
    border-radius: 8px;
}

/* Main Content */
.wrapper {
    flex: 2;
    background-color: #faf8ef;
    text-align: center;
}

/* Game Title */
.game-title {
    font-size: 30px;
    font-family: "Clear Sans", "Helvetica Neue";
    color: purple;
    margin-top: 40px;
    font-weight: bold;
    text-align: center;
}

/* Score Box */
.score-container {
    width: 100px;
    height: 60px;
    border-radius: 3px;
    background-color: #8f7a66;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px auto;
}

.score-title {
    font-size: 16px;
}

#score {
    font-size: 30px;
}

/* Game Grid */
.grid {
    display: flex;
    flex-wrap: wrap;
    width: 456px;
    height: 456px;
    background-color: #BBADA0;
    border: 7px solid #BBADA0;
    border-radius: 6px;
    margin: 20px auto;
}

.grid div {
    width: 100px;
    height: 100px;
    margin: 7px;
    border-radius: 3px;
    background-color: #EEE4DA;
    color: #afa192;
    font-weight: bold;
    text-align: center;
    font-size: 60px;
    line-height: 1.6;
}

/* Result Box */
#result {
    font-size: 30px;
    font-family: "Clear Sans", "Helvetica Neue";
    color: purple;
    text-align: center;
    margin-top: 20px;
}

/* Text Content Below Everything */
.container {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 40px;
    font-size: 18px;
    color: #776E65;
    padding: 20px;
}

section {
    width: 50%; /* Makes section take up 50% of the page */
    margin: 0 auto; /* Centers it horizontally */
    display: block; /* Ensures it's a block element */
}
