@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Merriweather+Sans:ital,wght@0,300..800;1,300..800&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --font-family: "Merriweather Sans", sans-serif;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #000000eb;
    font-family: var(--font-family);
}

.myApp{
    /* background-color: #000000bb; */
    text-align: center;
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
h1{
    color: #ffffff;
    background: linear-gradient(135deg, #6004f5, #ffffff10);
    width: 100%;
    border-radius: 5px;
}

.reset__btn{
    font-size: 20px;
    padding: 10px;
    border-radius: 5px;
    border: none;
    margin-top: 20px;
    background-color: #08eb5fb7;
    color: aliceblue;
    font-weight: bolder;
    transition: .5s;
    cursor: pointer;
}
.reset__btn:hover{
  background-color: #08eb5fe8;
  scale: 1.1;
  transition: .5s;
}
.cell {
  width: 100px;
  height: 100px;
  background-color: #fff;
  border-radius: 12px;
  font-size: 2.5rem;
  color: #502b9a;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cell:hover {
  background-color: #a6f0c2de;
}

.game__Board {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  gap: 12px;
  justify-content: center;
  margin: 20px 0;
}
.status{
  width: 25.5%;
  background: linear-gradient(135deg, #309cdb, #07cf50);
  align-content: center;
  align-items: center;
  font-size: 20px;
  padding: 15px;
  border-radius: 10px;
  color: rgb(255, 255, 255);
}

/* Following code for Responsive Design for all devices*/
@media (max-width: 500px) {
  .game__Board {
    grid-template-columns: repeat(3, 80px);
    gap: 10px;
  }

  .cell {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

  .reset__btn {
    font-size: 16px;
    padding: 8px;
  }

  .status {
    width: 90%;
    font-size: 18px;
  }

  .myApp {
    padding: 20px;
  }

  h1 {
    font-size: 24px;
    padding: 10px;
  }
}
