* {
  box-sizing: border-box;
}

html {
  height: 100%;
  width: 100%;
}
html body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Helvetica", Verdana, Arial, sans-serif;
  font-size: 16px;
  background-color: #000;
  color: #fff;
}
html body .board-status {
  text-align: center;
  padding: 0 20px;
}
html body .board-status .button {
  display: block;
  margin: 20px auto 15px;
  padding: 5px 10px;
  background-color: rgb(10, 214, 161);
  border-radius: 5px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
}
html body .board-status .board {
  display: none;
  margin: 5px 0;
}
html body .board-status .board span {
  display: flex;
  align-items: center;
}
html body .board-status .board .ok {
  fill: rgb(10, 214, 161);
}
html body .board-status .board .ko {
  fill: rgb(239, 70, 111);
}
html body .board-status .board .ok,
html body .board-status .board .ko {
  display: none;
  margin: 0 0 0 10px;
}
html body .board-status .board .ok.visible,
html body .board-status .board .ko.visible {
  display: flex;
}
html body .board-status.active {
  padding: 0 0 20px 0;
}
html body .board-status.active .board {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
html body .menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: right;
  align-items: center;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 0px 20px 20px;
  border-bottom: 1px solid #fff;
}
html body .menu .flex-grow {
  flex-grow: 1;
}
html body .menu .button {
  cursor: pointer;
  margin: 0 0 0 0;
  background-color: transparent;
  border: 0 none;
  padding: 0;
  opacity: 0.7;
  width: 40px;
  height: 50px;
  margin-right: 20px;
}
html body .menu .button.individual {
  display: none;
}
html body .menu .button.delete {
  display: none;
}
html body .menu .button.delete-json svg {
  fill: red;
}
html body .menu .button.reset_game {
  height: 50px;
  max-height: 50px;
  font-size: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 5px;
  color: #fff;
  outline: none;
  cursor: pointer;
  margin: 0 auto;
  text-transform: uppercase;
  font-weight: bold;
  transition: all 0.3s ease;
  width: initial;
  height: initial;
  background-color: rgb(10, 214, 161);
  color: #000;
  opacity: initial;
}
html body .menu .button svg {
  height: 40px;
  width: 40px;
  fill: #fff;
}
html body .menu .button.active {
  opacity: 1;
}
html body .game-panel,
html body .options-panel,
html body .audio-panel,
html body .individual-panel {
  display: none;
}
html body .game-panel.active,
html body .options-panel.active,
html body .audio-panel.active,
html body .individual-panel.active {
  display: initial;
}
html body section {
  display: flex;
  flex-wrap: wrap;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 30px;
  border-bottom: 1px solid #fff;
}
html body section:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.1);
}
html body section .spacer {
  width: 100%;
  max-width: 500px;
  display: block;
  height: 30px;
}
html body section h1 {
  font-family: "Helvetica", Verdana, Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  width: 100%;
  max-width: 500px;
  text-align: center;
  margin: 20px 0;
}
html body section h2 {
  font-family: "Helvetica", Verdana, Arial, sans-serif;
  font-size: 25px;
  font-weight: 700;
  width: 100%;
  max-width: 500px;
  text-align: center;
  margin: 20px 0;
}
html body section h3 {
  font-family: "Helvetica", Verdana, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  width: 100%;
  max-width: 500px;
  text-align: center;
  margin: 20px 0;
}
html body section button {
  font-size: 25px;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 5px;
  color: #fff;
  border: 0 none;
  outline: none;
  cursor: pointer;
  margin: 0 auto;
  text-transform: uppercase;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 90%;
  background-color: rgb(10, 214, 161);
  color: #000;
}
html body section button:hover {
  background-color: rgb(5, 189, 146);
}
html body section button.active {
  background-color: rgb(239, 70, 111);
  color: #fff;
}
html body section button.active:hover {
  background-color: rgb(219, 64, 104);
}
html body section button.reset_game svg {
  display: none;
  fill: #fff;
  margin-left: 20px;
  height: 30px;
  width: 20px;
  height: 20px;
  animation-name: spin;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
html body section button.reset_game svg.visible {
  display: block;
}
html body section.on button.on {
  display: none;
}
html body section.off button.off {
  display: none;
}
html body section form {
  display: block;
  margin: 0 auto;
}
html body section select,
html body section input {
  font-size: 25px;
  padding: 10px 20px;
  border-radius: 5px;
  margin: 0 auto 30px;
  display: block;
}
html body section input[type=number] {
  max-width: 85px;
  padding: 10px;
}
html body .individual-panel button {
  margin-top: 30px;
  text-transform: none;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}