@import url("https://fonts.googleapis.com/css2?family=Playwrite+AU+TAS:wght@100..400&display=swap");

body {
  background-color: rgb(184, 172, 172);

  background-image: url(https://images.pexels.com/photos/220051/pexels-photo-220051.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1);
  backdrop-filter: blur(4px);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 100vh;
}

h1 {
  text-align: center;
  color: rgb(249, 246, 245);
  text-shadow: 2px 2px 5px red;
  margin-top: 3vh;
  margin-bottom: 2vh;
  font-family: "Playwrite AU TAS";
  line-height: 60px;
  font-weight: 900;
  /* background-color: #231e1e59; */
  /* width: 70%; */
  /* margin: auto; */

  margin-bottom: 3vh;
  /* border-radius: 10px; */
}

.main_board {
  background-color: rgba(197, 186, 186, 0.492);

  height: 70vh;
  width: 22%;

  text-align: center;
  border-radius: 10px;
  box-shadow: 0 2px 12px black;
}

.main_board .turn_indicator {
  font-size: 2rem;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  color: red;
}

.main_board button {
  background-color: red;
  border: none;
  border-radius: 5px;
  font-size: 1.5rem;
  font-weight: 500;
  width: 6rem;
  text-transform: uppercase;
  color: white;
  margin-top: 3vh;
  margin-bottom: 3vh;
}

.main_board button:hover {
  background-color: rgb(171, 65, 65);
}

.board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.cell {
  width: 100px;
  height: 100px;
  background-color: #fefefee5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.5s;
  box-shadow: 1px 1px 2px white;
}

.cell:hover {
  background-color: #555;
}

.result {
  font-size: 2em;
  text-shadow: 2px 2px 5px black;
  width: auto;
  background-color: red;
  box-shadow: 1px 1px 2px rgb(56, 54, 54);
  border-radius: 5px;
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  .main_board {
    width: 89%;
  }
}
