body {
    font-family: sans-serif;
    text-align: center;
    background-color: white;
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .timer-restart {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;          
    margin: 10px 0px;  
  }

  button {
    border: 2px solid #04bdc7;
    border-radius: 10px;
    background-color: #04bdc7;
    padding: 5px 10px;
    cursor: pointer;
  }

  .container {
    background-color: #2c2c2c;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
  }

  .game-board {
    display: grid;
    grid-template-columns: repeat(4, 80px);
    gap: 10px;
    margin: 0 auto;
  }
  
  .card {
    background-color: #ccc;
    width: 100%;
    aspect-ratio: 1 / 1;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 10px;
    user-select: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  
  .card.flipped {
    background-color: white;
    transform: scale(1.05);
  }

  @keyframes matchAnimation {
    0% { transform: scale(1); background-color: #fff; }
    50% { transform: scale(1.2); background-color: #90ee90; }
    100% { transform: scale(1); background-color: #fff; }
  }
  
  .card.matched {
    animation: matchAnimation 0.5s ease;
  }
  