body {
  font-family: "Menlo";
}

h1 {
  width: 100%;
  text-align: center;
}

#sopuko {
  user-select: none;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: 100%;
}

#help {
  margin-top: 70px;
  margin-left: calc(3vw);
}

#help div {
  margin-left: 2vw;
}

.grid {
  width: 75vw;
  max-width: 75vh;
  height: 75vw;
  max-height: 75vh;

  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: repeat(9, 1fr);
}

.cell {
  border-left: 1px solid black;
  border-top: 1px solid black;
  font-size: calc((1vh + 1vw) * 1.2);
  display: flex;
  justify-content: center;
    align-items: center;
}

.cell.focusable {
  cursor: pointer;
}

.cell:nth-child(3n+0) {
  border-right: 1px solid black;
}

.cell:nth-child(9n+0) {
}

.cell:nth-child(n+19):nth-child(-n+27) {
  border-bottom: 1px solid black;
}

.cell:nth-child(n+46):nth-child(-n+54) {
  border-bottom: 1px solid black;
}

.cell:nth-child(n+73):nth-child(-n+81) {
  border-bottom: 1px solid black;
}

.cell.focused {
  background-color: lightblue;
}

.num {
  user-select: none;
}

.info {
  margin-top: calc(1vh + 1vw);
  text-align: center;
}

.miniNums {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-gap: 1px;
    font-size: calc((1vh + 1vw) * 0.6);
    width: 100%;
    height: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.miniNum {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: pointer;
  margin: 0 1px;
}

.miniNum:hover {
}

.miniNum--selected {

}

.miniNum--selected {

}

.miniNum--unselected {
  opacity: 0;
  color: red;
}

.miniNum--unselected:hover {
  opacity: 1;
}

.grid--pencilMode .miniNum--unselected {
  color: green;
}

.error {
  color: red;
}

.pencilMode {
  cursor: pointer;
  color: red;
}

.pencilMode--on {
  color: green;
}

.focusableNums {
  margin-bottom: 10px;
}

.focusableNum {
  cursor: pointer;
  visibility: hidden;

  display: inline;
  font-size: 20px;
  margin: 0 10px;
}

.focusableNum--available {
  visibility: visible;
}

.focusableNum--selected {
  color: #ff0066;
}
