body,
html {
  scroll-behavior: smooth;
  padding: 0;
  margin: 0;
  background-color: #555;
  font-family: Arial, Helvetica, sans-serif;
}
.players {
  text-align: center;
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: center;
  border: 1px solid white;
  font-size: 100px;
  cursor: pointer;
  background-color: rgb(0, 200, 0);
}
.app {
  display: none;
  height: 100vh;
  color: white;
}
#form {
  margin: 1em 2em;
  color: white;
  border: 2px solid black;
  padding: 2rem;
  border-radius: 1em;
  background-color: #666;
}
label {
  font-size: larger;
  color: white;
  cursor: pointer;
}
input {
  border-radius: 5px;
  background-color: #888;
  margin-bottom: 20px;
  width: 80%;
  padding: 3px;
  color: white;
}
button {
  display: block;
  margin: auto;
  background-color: #555;
  border: 1px solid black;
  border-radius: 5px;
  padding: 5px;
  color: white;
  cursor: pointer;
}
h1 {
  color: white;
  text-transform: capitalize;
  display: block;
  text-align: center;
}

#result {
  position: absolute;
  height: 100vh;
  width: 100vw;
  display: none;
  align-items: center;
  justify-content: center;
  top: 0;
}

#message {
  color: white;
  background-color: #555;
  font-size: x-large;
  display: block;
  margin: auto;
  border: 2px solid white;
  padding: 1em;
  border-radius: 5px;
  text-align: center;
}
.flipped {
  rotate: 180deg;
}
#message button {
  width: 5rem;
  padding: 5px;
  margin: 1em;
  border-radius: 3px;
  display: inline-block;
  background-color: #777;
}
.tools {
  width: 70px;
  background-color: #888;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  box-sizing: border-box;
}

.timers {
  display: flex;
  flex: wrap;
  flex-direction: column;
  flex-grow: 1;
}
.timers.paused {
  opacity: 0.3;
}
.tools svg {
  width: 50px;
  height: 50px;
  rotate: -90deg;
  cursor: pointer;
  border: 2px solid #333;
  border-radius: 3px;
  background-color: #666;
  stroke: black;
}

.tools svg:hover {
  background-color: #777;
}

.tools svg:active {
  transform: scale(0.97);
}
#form2 h2 {
  color: white;
  text-align: center;
}
#form2 input {
  cursor: pointer;
  width: unset;
  margin-right: 7px;
}

#form2 #sumbit2 {
  margin-top: 2em;
}
#playerB {
  text-align: center;
  font-size: 30px;
  padding-top: 5px;
  margin-bottom: 5px;
  border-top: 1px solid white;
}
#playerA {
  text-align: center;
  font-size: 30px;
  padding-top: 5px;
  margin-top: 5px;
}
.moves {
  position: absolute;
  left: 75px;
  color: #444;
  font-size: x-large;
}
#movesA {
  top: 5px;
}
#movesB {
  bottom: 5px;
}

::-webkit-scrollbar {
  width: 20px;
}

/* Track */
::-webkit-scrollbar-track {
  background-color: #888;
  border-radius: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 10px;
}
::selection {
  color: white;
  background-color: #333;
}
legend {
  color: white;
  text-transform: capitalize;
}
fieldset {
  border-radius: 5px;
  margin: 10px 20px;
  width: 90%;
}