@import url("https://fonts.googleapis.com/css2?family=Secular+One&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cell-size: 100px;
  --font-size: 16px;
  --main-color: #333;
}

body {
  font-family: "Secular One", sans-serif;
  font-size: var(--font-size);
  line-height: 1.5;
  color: var(--main-color);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin: 40px 0;
}

.info {
  height: 3rem;
  font-size: 2rem;
  margin: 20px 0;
  text-align: center;
}

.info-player {
    text-transform: uppercase;
    
}

.board {
  display: grid;
  margin: 40px auto 0 auto;
  grid-template-columns: repeat(3, 1fr);
  width: 310px;
  gap: 5px;
  background-color: var(--main-color);
}

.cell {
  width: var(--cell-size);
  height: var(--cell-size);
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 6rem;
  cursor: pointer;
}

.restart-button {
  display: none;
  margin: 50px auto 0 auto;
  padding: 10px 20px;
  font-size: 1.5rem;
  background-color: var(--main-color);
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.restart-button:hover {
  transform: scale(1.1);
}

.restart-button:active {
  transform: scale(0.95);
}
