.chessboardbg {
    width: 500px;
    height: 500px;
    margin: 50px auto;
    border: 1px solid rgb(207, 188, 188);

    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(247, 230, 183);
}

.chessboard {
    width: 92%;
    height: 92%;
    border-collapse: collapse;
}

.chessboard td {
    border: 1px solid black;
    position: relative;
}

.chess {
    border: 1px solid lightgray;
    border-radius: 50%;
    position: absolute;
    left: -50%;
    top: -50%;
    width: 90%;
    height: 90%;
    font-size: 12px;
    color: lightgray;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.white {
    background-color: #fff;
}

.black {
    background-color: #000;
}

.win{
    border: 1px solid red;
    box-shadow: 0 0 3px red;
}