@import url("https://fonts.googleapis.com/css2?family=Gemunu+Libre:wght@300&display=swap");

* {
  font-family: "Gemunu Libre", cursive;
  color: #1ad8e5;
  background-color: black;
}

main {
  display: grid;
  grid-template: repeat(3, 1fr) / repeat(3, 1fr);
  width: 60vh;
  height: 60vh;
}

.cell {
  width: 20vh;
  height: 20vh;
  text-align: center;
  font-size: 12vh;
  display: grid;
  place-items: center;
}

/* 3n+2 means Select every third element starting at second */
.cell:nth-child(3n + 2) {
  border-right: 3px solid #f39b95;
  border-left: 3px solid #f39b95;
}

/* n+4 means if you are the fourth child or after */
/* -n+6 means if you are up to the 6th child */
.cell:nth-child(n + 4):nth-child(-n + 6) {
  border-top: 3px solid #f39b95;
  border-bottom: 3px solid #f39b95;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  height: 100vh;
}

body > * {
  margin-bottom: 2rem;
}

.player {
  font-weight: bold;
  color: #e5271a;
  border-radius: 0.2rem;
}

#player-turn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.restart {
  display: none;
  border-radius: 0.2rem;
  margin-left: 2rem;
}


/* 
dark cyan #1ad8e5
light cyan #a5f0f5
dark salmon #e5271a
light salmon #f39b95
*/
.x::after {
  content: '\274c';
}
.o::after{
  content: '\25EF';
}

#names {
  display: flex;
  justify-content: space-around;
  width: 100%;
}
menu {
  position: fixed;
  background-color: #a5f0f5;
  z-index: 1;
  height: 50vh;
  width: 25vw;
}
#instructions {
  text-align: center;
  margin-right: 2vw;
}
#submitbtn {
  margin: auto;
}
form {
  background-color: #a5f0f5;
}
.winSection {
  position: fixed;
  z-index: 10;
  background-color: #a5f0f5;
}