.timer-icon {
  color: white;
}

.move-section {
  color: white;
}

#sudoku .table {
  width: auto;
  font-weight: bold;
  font-size: 1.25em;
  margin: 0 auto !important;
  background-color: white;
}
#sudoku td,
#sudoku input {
  width: 7vh;
  height: 7vh;
  text-align: center;
  vertical-align: middle;
  padding: 0.25em;
}

#sudoku input.cellInput::-webkit-outer-spin-button,
#sudoku input.cellInput::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#sudoku input.cellInput[type="number"] {
  -moz-appearance: textfield;
}

#sudoku td.editable {
  padding: 0px;
}

#sudoku input {
  background-color: #eee;
  border: 0px;
  color: #28a745;
  font-weight: bold;
}
td.editable {
  background-color: #eee;
}
tr td:nth-child(3),
tr td:nth-child(6),
tr td:nth-child(9) {
  border-right: 2px solid #28a745;
}

tr td:nth-child(1) {
  border-left: 2px solid #28a745;
}
tr:nth-child(1) td {
  border-top: 2px solid #28a745;
}
tr:nth-child(3) td,
tr:nth-child(6) td,
tr:nth-child(9) td {
  border-bottom: 2px solid #28a745;
}

.bg-dupe,
.bg-dupe input {
  background-color: #ffd1d1 !important;
}

#congrats {
  height: auto !important;
}

@media (max-width: 399px) {
  #sudoku .table {
    width: auto;
    font-weight: bold;
    font-size: 0.9em;
    margin: 0 auto !important;
    background-color: white;
  }
  #sudoku td {
    width: 25px;
    height: 20px;
    text-align: center;
    vertical-align: middle;
  }
}

@media (max-width: 420px) {
  body {
    font-size: 16px;
  }
  input,
  select {
    font-size: 100%;
  }

  #sudoku.container {
    margin-top: 0px !important;
  }
  #sudoku .table {
    width: auto;
    font-weight: bold;
    margin: 0 auto !important;
    background-color: white;
  }
  #sudoku td,
  #sudoku input {
    width: 4vh;
    height: 4vh;
  }
}

@media (max-width: 375px) {
  #sudoku.container {
    margin-top: 0px !important;
  }
  #sudoku .table {
    width: 80%;
    font-weight: bold;
    font-size: 0.9em;
    margin: 0 auto !important;
    background-color: white;
  }
  #sudoku td,
  #sudoku input {
    width: 3vh;
    height: 3vh;
  }
}
