/*
    Original Author: Daryl Posnett
*/
/* -------- GAME SECTION -------- */
.game-sandbox {
    background-image: url(../assets/memory/memory-background.jpg);
}

#gameTitle {
    font-family: "Jersey 15", sans-serif;
    font-size: 45px;
    margin-bottom: 5px;
    text-align: center;
}

#difficultySelection {
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin: auto;
    gap: 10px;
    color: rgb(0, 0, 0);
    font-size: 20px;
    padding: 30px;
    padding-top: 5px;
}

#board {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Creates a 3x3 grid */
    gap: 0px; /* Space between cells */
    margin: auto; /* Centering the grid */
    max-width: 300px; /* Restricting the maximum width of the grid */
}

.cell {
    display: flex;
    justify-content: center;
    background-color: #b5b5b5;
    border: 0.5px solid #333;
    font-size: 48px;
    font-weight: bold;
    cursor: pointer;
    aspect-ratio: 1 / 1; /* Ensures that cells are square */
    height: 100px; /* Set a fixed height for better visual */
    color: #444; /* Default text color */
}

.cell.red { 
    color: red;
    padding-top: 20px;
}
.cell.blue { 
    color: blue; 
    padding-top: 20px;
}

.cell:hover {
    background-color: #e1e1e1; /* Hover effect for cells */
}

#resultDisplay{
    font-size: 24px;
    color: rgb(0, 0, 0);
    text-align: center;
    margin: 20px;
}

#restartContainer{
    display: flex;
    justify-content: center;
}

#restartButton {
    display: flex;
    font: inherit;
    padding: 10px;
    background-color: rgb(22, 216, 61);
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 100px;
    align-items: center;
}

#restartButton:hover {
    background-color: rgb(15, 137, 39);
}

