body {
  font-family: sans-serif;
  text-align: center;
}

#board {
  display: grid;
  grid-template-columns: repeat(8, 60px);
  grid-template-rows: repeat(8, 60px);
  gap: 0;
  margin: 20px auto;
  border: 2px solid black;
}

.square {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  cursor: pointer;
  font-family: "Arial Unicode MS", "DejaVu Sans", sans-serif;
}
:root {
  --white-square: #f0d9b5;
  --black-square: #b58863;
}

.white {
  background-color: var(--white-square);
}

.black {
  background-color: var(--black-square);
}

.selected {
  outline: 3px solid rgb(238, 255, 0);
}

#board-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.board {
  margin: 0 auto;
}

/* Example board themes - not used, got mad added it to js file instead */
.board.classic { background-color: #d18b47; }    /* Classic Brown */
.board.blue    { background-color: #aaccee; }    /* Cool Blue */
.board.seafoam { background-color: #99ffee; }    /* Seafoam */
.board.red     { background-color: #ee9999; }    /* Elegant Red */


.white-piece {
  color: #ffffff;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0    0   2px #000;  /* center outline fill */
}
.black-piece {
  color: #000000;
}

