* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }
  
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #111;
    box-shadow: 0px 2px 10px rgb(24, 24, 24);
  }
  
  .title {
    font-size: 48px;
    font-weight: bolder;
    margin-bottom: 20px;
    color: #fff;
  }

  .difficulty {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
  }

  .wins {
    font-size: 18px;
    font-weight: bold;
    padding: 1%;
    color: #fff;
  }

  .ties {
    font-size: 18px;
    font-weight: bold;
    padding: 0%;
    color: #fff;
  }

  .ai {
    font-size: 18px;
    font-weight: bold;
    padding: 1%;
    color: #fff;
  }
  
  .game {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  }
  
  .board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    width: 300px;
    height: 300px;
    border: none;
    margin-bottom: 20px;
  }
  
  .square {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 80px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background-color: #333;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .square:hover {
    background-color: #444;
  }
  
  .reset-button {
    font-size: 24px;
    font-weight: bold;
    padding: 10px;
    color: #fff;
    background-color: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .reset-button:hover {
    background-color: #444;
  }
  
  .change-difficulty-button {
    font-size: 24px;
    font-weight: bold;
    padding: 10px;
    color: #fff;
    background-color: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .change-difficulty-button:hover {
    background-color: #444;
  }