body {
  position: relative;
  color: #43434c;
  font-size: 50px;
  font-family: monospace;
}

h1 {
  margin: 0px;
  text-align: center;
}

table,
td {
  font-size: 50px;
  font-family: monospace;
  text-align: center;
  border: 2px rgba(0, 0, 0, 0.696) solid;
  border-spacing: 5px;
  border-radius: 10px;
  background-color: #82c3e65e;
}

table {
  position: absolute;
  top: 125px;
  left: 50%;
  margin-left: -135px;
  table-layout: fixed;
  width: 250px;
  height: 250px;
}

td {
  width: 33%;
  height: 33%;
}

h3 {
  margin: 0px;
}

div,
button,
input {
  font-size: 25px;
  font-family: monospace;
}

div,
button,
input[type="button"] {
  text-align: center;
}

input[type="button"],
button {
  padding: 5px;
  margin: 15px 0px;
  border-radius: 5px;
  background: rgb(200, 200, 255);
}

input[type="text"] {
  margin: 15px 0px 0px 0px;
}

.g:hover,
input:hover,
button:hover {
  cursor: pointer;
}

input[type="text"] {
  cursor: text;
}

.g:hover {
  background-color: #249ee07f;
}

input[type="button"]:hover,
button:hover {
  background: rgb(150, 230, 163);
}

.landingBG {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0, 0.6);
}

.landing-page {
  font-size: 25px;
  height: 200px;
  width: 500px;
  padding: 15px 5px;
  background-color: rgb(255, 255, 255);
  position: relative;
  top: 30%;
  left: 50%;
  margin-top: -100px;
  margin-left: -250px;
}

input[type="checkbox"] {
  cursor: pointer;
  position: relative;
  top: 5px;
  height: 25px;
  width: 25px;
  background: white;
  border-radius: 5px;
  border: 1px solid black;
}

input[type="checkbox"]:checked {
  background: rgb(0, 255, 0);
}

.game {
  width: 15%;
  padding: 15px 10px;
}

#controls,
#players {
  position: absolute;
  left: 50%;
  top: 470px;
  margin-left: -135px;
  display: flex;
  justify-content: center;
}
#restart {
  margin-right: 20px;
}

#p1 {
  position: absolute;
  margin-left: 25%;
  top: 380px;
  left: 0;
}

#p2 {
  position: absolute;
  margin-right: 25%;
  top: 380px;
  right: 0;
}

[data-my-turn="true"] {
  border: 4px solid rgb(172, 172, 255);
}

[winner="neither"] {
  border: 4px solid white;
  background-color: rgb(172, 172, 172);
}

[winner="true"] {
  border: 4px solid white;
  background-color: rgb(172, 255, 172);
}

.open {
  display: block;
}
