body {
    font-family: 'Arial', sans-serif;
    background-color: #ffebee;
    color: #d32f2f; 
    text-align: center;
    margin: 0;
    padding: 20px;
  }
  
  .container {
    max-width: 600px;
    margin: 0 auto;
  }
  
  h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }
  
  p {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  
  .game-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    margin: 20px auto;
    max-width: 400px;
  }
  
  .card {
    background-color: #ffcdd2; 
    border: 2px solid #d32f2f; 
    border-radius: 10px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  
  .card.flipped {
    background-color: #f8bbd0; 
    transform: rotateY(180deg);
  }
  
  .card.matched {
    background-color: #c8e6c9; 
    cursor: default;
  }
  
  .reset-button {
    background-color: #d32f2f;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .reset-button:hover {
    background-color: #b71c1c; 
  }