body{
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  background-color: #010402;
  box-sizing: border-box;
}

h1 {
  text-align: center;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 3em;
  color: #4bc3b5;
  margin: 50px 20px 20px;
}

#game {
  box-sizing: border-box;
  margin: 50px auto;
  width: max-content;
  display: grid;
  grid-template-columns: repeat(4, 10em);
  gap: 10px;
}

@media (max-width: 1000px) {
  #game {
    grid-template-columns: repeat(3, 6em);
    gap: 10px;
  }
}

#game div {
  box-sizing: border-box;
  border: 2px solid #4bc3b5;
  height: 10em;
  width: 100%;
  cursor: pointer;
  background-color: #111111;
  transition: transform 0.2s;
}

@media (max-width: 1000px) {
  #game div {
    height: 6em;
  }
}

#game div:hover{
  transform: scale(1.05);
}

#winner-box{
  visibility: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: #4bc3b550;
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0%;
  left: 0%;
}

#winner-box h2{
  font-size: 2.2em;
  margin: 20% 20px 0;
}

#restart {
  box-sizing: border-box;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 2em;
  background-color: #4bc3b5;
  color: #eeeeee;
  border: none;
  padding: 20px 75px;
  margin: 40px 10px;
  cursor: pointer;
  transition: transform 0.2s;
}

#restart:hover{
  color: #4bc3b5;
  background-color: #010402;
  transform: scale(1.02);
}