* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Merriweather', serif;
}

:root {
  --cell-size: 150px;
  --sign-size: calc(var(--cell-size) * 0.9);
}

#title {
  position: relative;
  text-align: center;
  bottom: 100px;
  font-size: 2.5em;
}

.main {
  width: 100vw;
  height: 100vh;
  display: grid;
  align-content: center;
  justify-content: center;
  background-color: #f5f5f5;
}

.table__body {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-self: center;
  align-self: center;
}

.cell {
  display: grid;
  width: var(--cell-size);
  height: var(--cell-size);
  gap: 10px;
  border: 1px solid black;
  justify-content: center;
  align-content: center;
  font-size: var(--sign-size);
}

#header {
  text-align: center;
  font-size: 2em;
  border: 1px solid black;
}

.x {
  color: green;
}

.o {
  color: orange;
}

footer {
  text-align: center;
}

footer > button {
  padding: 5px 20px 5px 20px;
  margin-top: 20px;
}

#reset-button {
  border-radius: 5px;
  outline: none;
}

#reset-button:hover,
.cell:hover {
  cursor: pointer;
}

@media (max-width: 420px) {
  :root {
    --cell-size: 100px;
    --sign-size: calc(var(--cell-size) * 0.9);
  }
}