/* styles.css */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #00ffd5;
  }
  
  .game-container {
    background-color: rgb(255, 166, 0);
    padding: 20px;
    margin: 50px auto;
    width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  h1 {
    color: #333;
  }
  
  .game-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    margin-bottom: 20px;
  }
  
  .card {
    width: 80px;
    height: 80px;
    background-color: #007bff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 5px;
    overflow: hidden;
  }
  
  .card img {
    width: 100%;
    height: 100%;
    display: none;
  }
  
  .card.flipped img {
    display: block;
  }
  
  .card.matched {
    background-color: #2ecc71;
  }
  
 
  button {
    padding: 10px 20px;
    background-color: #ff6347;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
  }
  
  button:hover {
    background-color: #ff4500;
  }

/* New styles for game info and start button */
.game-info {
    display: flex;
    justify-content: space-around;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 1rem;
}

#startButton{
    margin-bottom: 1rem;
}
/* end of new styles */

/* Popup background */
.popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.6);

    justify-content: center;
    align-items: center;
}

/* Popup background */
.popup {
    display: none;
    position: fixed;

    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

    /* Popup box */
    .popup-content {
    background-color: white;
    padding: 30px;
    width: 300px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }
    .popup-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    }
    .popup-content p {
    font-size: 20px;
    }
    .popup-content button {
    margin-top: 15px;
    }
