@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;300;400;500;700;900&display=swap");

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track-piece {
  background-color: #393939;
}

::-webkit-scrollbar-thumb {
  background-color: #ffffff;
}

html {
  scrollbar-color: #ffffff #393939;
  scrollbar-width: thin;
}

body {
  position: relative;
  margin: 0;
  font-family: "Source Sans Pro";
  color: white;
  background: #000000;
  font-weight: 200;
  text-shadow: 0px 0px 5px black;
  width: 100vw;
  height: 100vh;
}
#container {
  position: relative;
  width: 100%;
  height: 100vh;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}
#home-link {
  position: absolute;
  top: 40px;
  right: 40px;
}
#home-link-a {
  color: white;
  text-decoration: none;
  font-size: 32px;
  font-weight: 400;
}
#home-icon {
  width: 32px;
  height: 32px;
}

.sudoku-board-row {
  display: flex;
}

#sudoku-board {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.sudoku-board-box {
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: rgba(255, 255, 255, 0.5) 0.5px solid;
  transition: font-size 0.5s ease-in-out, color 0.5s ease-in-out;
}

.sudoku-board-box-input {
  background: transparent;
  border: none;
  font-size: 32px;
  width: 32px;
  height: 32px;
  text-align: center;
  color: white;
}

.sudoku-board-box-solved {
  font-size: 32px;
  color: white;
}

.sudoku-board-box-empty {
  font-size: 0px;
}

.sudoku-board-box-unsolved {
  font-size: 16px;
  color: grey;
}

#run-solver-button,
#reset-solver-button {
  background: transparent;
  border: white 1px solid;
  color: white;
  padding: 16px;
  position: absolute;
  font-size: 16px;
}

#run-solver-button {
  left: 64px;
  bottom: 64px;
}

#reset-solver-button {
  left: 64px;
  bottom: 128px;
}
