body {
  background-color: silver;
  margin: 5px;
  padding: 0;
  font-family: "Fredoka One";
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
* {
  overflow: hidden;
}
.cell {
  transition: transform 0.3s ease;
}

.cell.clicked {
  animation: zoomIn 0.3s;
}

@keyframes zoomIn {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.5);
  }
}
#musicToggle {
  font-size: 24px;
  cursor: pointer;
  position: relative;
}

#loading {
  display: none;
  text-align: center;
  justify-content: center;
  height: 100vh;
  font-size: 1.5rem;
  font-weight: bold;
  margin: -200px 20px;
}
#onlineInfo {
  display: none;
}
td {
  border: 6px solid gainsboro;
  height: 110px;
  width: 110px;
  text-align: center;
  vertical-align: middle;
  font-size: 70px;
  cursor: pointer;
  transition: 1.5s ease-in;
}

table {
  border-collapse: collapse;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  @media screen and (max-width: 600px) {
  }
}
.infoBar {
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20%;
}
.board {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  cursor: pointer;
}

#board {
  visibility: hidden;
}

.board h1 {
  text-align: center;
}

.board h3 {
  text-align: center;
}

table tr:first-child td {
  border-top: 0;
}

table tr:last-child td {
  border-bottom: 0;
}

table tr td:first-child {
  border-left: 0;
}

table tr td:last-child {
  border-right: 0;
}

#installButton {
  font-family: "Fredoka One";
  font-size: 25px;
  font-weight:200;
  padding: 4px 10px;
  display: none;
  align-items: center;
  background-color: transparent;
  height: 50px;
  cursor: pointer;
  border: 1px solid black;
  border-radius: 40px;
  scale: 0.9;
  
}
#installButton:hover {
  border: 1px solid white;
  scale: 1;
}

.introtext {
  width: 100%;
  position: absolute;
  font-size: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 10%;

  @media screen and (max-width: 600px) {
    font-size: 1.5rem;
    width: 90%;
  }
}

.playTypeContainer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
  @media screen and (max-width: 600px) {
    flex-direction: column;
    font-size: 2rem;
  }
}
.playTypeContainer h2,
h3 {
  border: 1px solid black;
  border-radius: 40px;
  padding: 15px;
  margin: 10px;
  cursor: pointer;
}

.playTypeContainer h2:hover,
h3:hover {
  border: 1px solid white;
}

.playAsContainer {
  visibility: hidden;
  display: flex;
  flex-direction: row;
  @media screen and (max-width: 600px) {
    font-size: 0.8rem;
  }
}

.playAsContainer h2 {
  border: 1px solid black;
  border-radius: 40px;
  padding: 15px;
  margin: 20px;
  cursor: pointer;
}

.playAsContainer h2:hover {
  border: 1px solid white;
}

.userNameEntry {
  position: relative;
  margin: auto;
  margin-top: -100px;
  width: fit-content;
  display: none;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
#userName {
  background-color: transparent;
  height: 40px;
  padding: 5px 18px;
  border-radius: 10px;
  font-size: 1.5rem;
}
#userName:focus,
#userName:hover {
  border: 2px solid white;
  outline: none;
}

#confirmUserName {
  text-align: center;
  border: 1px solid black;
  border-radius: 40px;
  padding: 15px;
  margin: auto;
  cursor: pointer;
}
#confirmUserName:hover {
  border: 1px solid white;
}

.endgame {
  visibility: hidden;
  font-size: 2rem;
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  align-items: center;
  height: fit-content;
  width: auto;
}

.endgame h5 {
  position: absolute;
  border: 1px solid black;
  border-radius: 40px;
  padding: 8px;
  cursor: pointer;
}

.endgame h5:hover {
  border: 1px solid white;
}
