
    * {
      box-sizing: border-box;
    }
    body {
      font-family: fantasy;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100vh;
      background: #f5f5f5;
    }

    h1 {
      margin-bottom: 20px;
      color: #830d0d;
    }

    .board {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 5px;
      width: 90vmin;
      height: 90vmin;
      max-width: 300px;
      max-height: 300px;
    }

    .cell {
      background-color: rgb(192, 20, 20);
      border: 2px solid #444;
      font-size: 8vmin;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background-color 0.3s;
    }

    .cell:hover {
      background-color:  #eaeaea;
    }

    .popup {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(10, 100, 300,0.5);
      display: none;
      align-items: center;
      justify-content: center;
    }

    .popup-content {
      background: rgb(255, 255, 255);
      padding: 30px 30px;
      border-radius: 50%;
      text-align: center;
    }

    .popup-content h2 {
      margin-bottom: 20px;
    }

    .popup-content button {
      padding: 10px 20px;
      background: #333;
      color: white;
      border: none;
      border-radius: 5px;
      font-size: 1rem;
      cursor: pointer;
    }

    @media (max-width: 400px) {
      .popup-content {
        width: 80%;
      }
    }
 
    body {
      font-family: fantasy;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100vh;
      background: #f5f5f5;
    }

    h1 {
      margin-bottom: 20px;
      color: #830d0d;
    }

    .board {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 5px;
      width: 90vmin;
      height: 90vmin;
      max-width: 300px;
      max-height: 300px;
    }

    .cell {
      background-color: rgb(192, 20, 20);
      border: 2px solid #444;
      font-size: 8vmin;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background-color 0.3s;
    }

    .cell:hover {
      background-color:  #eaeaea;
    }

    .popup {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(10, 100, 300,0.5);
      display: none;
      align-items: center;
      justify-content: center;
    }

    .popup-content {
      background: rgb(255, 255, 255);
      padding: 30px 30px;
      border-radius: 50%;
      text-align: center;
    }

    .popup-content h2 {
      margin-bottom: 20px;
    }

    .popup-content button {
      padding: 10px 20px;
      background: #333;
      color: white;
      border: none;
      border-radius: 5px;
      font-size: 1rem;
      cursor: pointer;
    }

    @media (max-width: 400px) {
      .popup-content {
        width: 80%;
      }
    }