.body {
  width: 100vw;
  height: 100vh;
  border: 1px solid red;
  /* display: flex;
  justify-content: center;
  align-items: center; */
}

.container {
  width: 40vw;
  height: 80vh;
  border: solid black 1px;
  margin: 5%;
}

.row {
  display: flex;
}
.box {
  height: 7.8vh;
  width: 4vw;
  border: solid rgb(2, 2, 11) 1px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.empty {
  background-color: blueviolet;
}

.symbol {
  line-height: 7.8vh;
  text-align: center;
}

.img {
  height: 6.5vh;
  width: 2.8vw;
}

.highlight_king {
  box-shadow: 0 0 8px red;
  border: 4px solid red;
}

/* height: 7.5vh;
  width: 3.8vw; */

/* modal */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 60%; /* Could be more or less, depending on screen size */
}

.btns {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal button {
  width: 23%;
}

.rotate-180 {
  transform: rotate(180deg);
}
