@font-face {
  font-family: "Comeback Home";
  src: 
    url("font/Combackhome-Regular.woff") format("woff"),
    url("font/Combackhome-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: normal;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Comeback Home", sans-serif;
  font-size: 18px;
  background-color: lightgreen;
  margin: 0;
}

h1 {
  text-align: center;
}

.board {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  grid-template-rows: repeat(3, 100px);
  justify-content: center;
  margin-top: 30px;
}

.cell {
  border: 1px solid black;
  width: 100px;
  height: 100px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 50px;
}

.cell:hover {
  background-color: yellow;
}

.X {
  color: blue;
  font-weight: bold;
}

.O {
  color: red;
  font-weight: bold;
}

.players {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.player {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

label {
  font-size: 25px;
}

input {
  padding: 5px 10px;
  font-size: 20px;
  border-radius: 10px;
  font-family: "Comeback Home", sans-serif;
}

#x,
#x:focus {
  border: 2px solid blue;
  outline: none;
}

#o,
#o:focus {
  border: 2px solid red;
  outline: none;
}

.button-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.start {
  font-size: 20px;
  background-color: lightcoral;
  padding: 8px 30px;
  cursor: pointer;
  border-radius: 10px;
  border: none;
  box-shadow: lightsalmon 3px 5px 5px;
  text-transform: uppercase;
  font-weight: bold;
  font-family: "Comeback Home", sans-serif;
}

.start:hover {
  opacity: 0.7;
}

.turn {
  font-size: 28px;
  text-align: center;
  margin-top: 20px;
}

.result {
  font-size: 30px;
  text-align: center;
}

.cell {
  position: relative;
}

svg {
  position: absolute;
}