/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

#main-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#game-init {
  padding: 40px;
}

#new-game-setup form {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid black;
  border-radius: 10px;
}

#new-game-setup form * {
  margin: 5px 10px 5px 10px;
}

#game {
  max-width: 600px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#game-disp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

#game-ctrl {
  width: 100%;
}

#call-inp, #scored-inp {
  display: flex;
  align-items: center;
  justify-content: center;
}

#call-btn, #scored-btn {
  width: 70px;
}

#call-inp input, #scored-inp input {
  max-width: 4em;
}

#call-inp *, #scored-inp * {
  margin: 1em 0.5em 0.5em 0.5em;
  padding: 2px 4px;
}

#clear-game {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
}

table {
  width: 80%;
}

table, th, td {
  border: 1px solid black;
  text-align: center;
}

@media (max-width: 360px) {
  #call-btn, #scored-btn {
    width: 60px;
  }

  #call-inp input, #scored-inp input {
    max-width: 2.5em;
  }
}
