body {
    margin: 0;
    padding: 0;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#chessboard {
    display: grid;
    grid-template-columns: repeat(8, 60px);
    grid-template-rows: repeat(8, 60px);
    border: 2px solid brown;
}

#chessboard>div {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: bold;
    user-select: none;
}


#chessboard>div:nth-child(16n + 1),
#chessboard>div:nth-child(16n + 3),
#chessboard>div:nth-child(16n + 5),
#chessboard>div:nth-child(16n + 7),
#chessboard>div:nth-child(16n + 9),
#chessboard>div:nth-child(16n + 11),
#chessboard>div:nth-child(16n + 13),
#chessboard>div:nth-child(16n + 15) {
    border: solid 1px black;
    background-color: #7a3e10;
    color: white;
}

#chessboard>div:nth-child(16n + 2),
#chessboard>div:nth-child(16n + 4),
#chessboard>div:nth-child(16n + 6),
#chessboard>div:nth-child(16n + 8),
#chessboard>div:nth-child(16n + 10),
#chessboard>div:nth-child(16n + 12),
#chessboard>div:nth-child(16n + 14),
#chessboard>div:nth-child(16n + 16) {
    border: solid 1px black;
    background-color: #f0ad62;
    color: black;
}