body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
  }
  
  .game-container {
    text-align: center;
  }
  
  .game-board {
    display: grid;
    grid-template-columns: repeat(2, 150px);
    grid-template-rows: repeat(2, 150px);
    gap: 10px;
    margin: 20px auto;
    position: relative;
    width: 310px;
    height: 310px;
  }
  
  .button {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.3s;
    position: absolute;
  }
  
  .red { background-color: red; top: 0; left: 0; }
  .green { background-color: green; top: 0; right: 0; }
  .blue { background-color: blue; bottom: 0; left: 0; }
  .yellow { background-color: yellow; bottom: 0; right: 0; }
  
  .button.active {
    opacity: 0.7;
    transform: scale(0.95);
  }
  
  #start-btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
  }
  
  #start-btn:hover {
    background-color: #0056b3;
  }
  
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
  }
  
  .modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    width: 400px; /* Increase width */
    height: 80px; /* Increase height */
    position: relative; /* Required for absolute positioning of buttons */
  }
  
  .modal-buttons {
    margin-top: 20px;
    display: flex; /* Align buttons horizontally */
    justify-content: center; /* Center buttons */
    gap: 20px; /* Add space between buttons */
  }
  
  .modal-buttons button {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
  }
  
  .modal-buttons button:hover {
    background-color: #0056b3;
  }
  
  #modal-no {
    position: absolute; /* Allows the button to move */
  }