body {
  background-color: rgb(230, 230, 230);
}

.clock {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 3vh;
}

.white-side {
  background-color: white;
  color: black;
}

.black-side {
  background-color: #4e4946;
  color: white;
}

#board-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pgn-number {
  font-family: "Rubik", sans-serif;
  color: gray;
  font-size: 4vh;
  width: 20%;
}

.pgn-black {
  font-family: "Rubik", sans-serif;
  font-size: 4vh;
  width: 40%;
}

.pgn-white {
  font-family: "Rubik", sans-serif;
  font-size: 4vh;
  width: 40%;
}

.result-overlay {
  background-color: rgba(108, 108, 108, 0.5);
  color: rgba(255, 255, 255, 0.8);
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 25vh;
}

#engine-eval-bar {
  background-color: white;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

#engine-black-bar {
  width: 100%;
  background-color: #4e4946;
  border-radius: 10px 10px 0px 0px;
}

.engine-value {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 1.3vh;
  text-align: center;
  padding: 0.7vh 0vh;
}

#engine-black-value {
  color: white;
}

#engine-white-value {
  color: black;
  position: absolute;
  left: 50%;
  bottom: 0px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
