*, *::after, *::before{
    box-sizing: border-box;
}

:root {
    --cell-size: 90px;
    --pawn-size: cal(var(--cell-size) * .9);
    --board-size: 5;
}

body {
    background-color: white;
    margin: 275px;
    /* margin-top: 370;  to delete */
}

.clearButton{
    /* find a solution to center it automatically */
    margin-top: 0;
    margin-left: 10;
    white-space: nowrap;
}

.autoMark{
    white-space: nowrap;
}

.board {
    display: grid;
    grid-template-columns: repeat(var(--board-size), var(--cell-size));
    grid-template-rows: repeat(var(--board-size), var(--cell-size));
    margin-top: 50px;
    justify-content: center;
    align-content: center;
    justify-items: center;
    align-items: center;
}

.cell {
    width: var(--cell-size);
    height: var(--cell-size);
    background-color: white;
    border: 1px solid black;
    cursor: pointer;
    font-size: 80px;
    font-family:Arial, Helvetica, sans-serif;
    display: flex;            
    justify-content: center;  
    align-items: center; 
    font-size: 50px;
}

.cell.x,
.cell.q{
    background-color: gray;
}

footer {
    margin-left: 40;
    height: 200px; /* Adjust height as needed */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    white-space: nowrap;
    text-align: center;
    margin-bottom: 50px;
}