body {
  font-family: "Permanent Marker", cursive;
  text-align: center;
  background-color: black;
}
h1 {
  font-family: "Permanent Marker", cursive;
  font-size: 3rem;
  color: rgb(148, 248, 248);
}
h2 {
  font-size: 2.2rem;
  color: rgba(13, 40, 162, 0.805);
  position: absolute;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.main {
  width: 30%;
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 20rem;
}
table {
  margin: auto;
  border-collapse: collapse;
}
.hidden {
  visibility: hidden;
}
th,
td {
  border-collapse: collapse;
}
td {
  width: 6.25rem;
  height: 6.25rem;
  font-size: 3rem;
  color: rgb(119, 119, 119);
}
td:nth-child(even) {
  border-left: 0.5rem solid rgb(16, 29, 29);
  border-right: 0.5rem solid rgb(3, 62, 129);
}
tr:nth-child(even) {
  border-top: 0.5rem solid rgb(129, 16, 3);
  border-bottom: 0.5rem solid rgb(28, 129, 3);
  border-radius: 0.5rem;
}
.playerSelect {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  width: 17rem;
  background-color: rgb(112, 126, 12);
  border-radius: 1rem;
}
.playAgain {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12rem;
  border-radius: 1rem;
  border: none;
  height: 2.7rem;
  font-size: 1.8rem;
  color: rgb(67, 205, 16);
  background-color: rgb(4, 37, 37);
  font-family: "Permanent Marker", cursive;
}
.player--active {
  background-color: rgba(6, 191, 86, 0.57);
}
.player {
  flex: 50%;
  padding: 0.5rem;
  border-radius: 1rem;
}
@media screen and (max-width: 1024px) {
  .main {
    width: 45%;
  }
  h2 {
    font-size: 2.2rem;
  }
  .main {
    width: 30%;
    position: absolute;
    top: 69%;
    left: 50%;
  }
}
@media screen and (max-width: 800px) {
  .main {
    width: 75%;
  }
  h2 {
    font-size: 1.7rem;
  }
}
@media screen and (max-width: 450px) {
  .main {
    width: 75%;
  }
  h2 {
    font-size: 1.2rem;
  }
  .playAgain {
    width: 9rem;
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 300px) {
  .main {
    width: 75%;
  }
  h2 {
    font-size: 1.2rem;
  }
  h1 {
    font-size: 2.5rem;
  }
}
@media screen and (max-width: 250px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1rem;
  }
  .playAgain {
    width: 7rem;
    font-size: 1rem;
  }
}
.playAgain :hover {
color: blanchedalmond;
}