/* styles.css */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #df77ffc0;
  }
  
  .game-container {
    background-color: rgb(246, 245, 248);
    padding: 20px;
    margin: 50px auto;
    width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(104, 99, 107, 0.2);
  }
  
  h1 {
    color: #000000;
  }
  
  .game-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    margin-bottom: 20px;
  }
  
  .card {
    width: 80px;
    height: 80px;
    background-color: #fb7dfff5;
    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: #96e0b5;
  }
  
 
  button {
    padding: 10px 20px;
    background-color: #fd24aa;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
  }
  
  button:hover {
    background-color: #d40b87;
  }

/* 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(248, 62, 133, 0.527);

    justify-content: center;
    align-items: center;
}

/* Popup box */
.popup-content {
  background-color: rgb(226, 178, 226);
  padding: 30px;
  width: 300px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(223, 131, 226, 0.651);
}
.popup-content h2 {
  font-size: 28px;
  margin-bottom: 10px;
}
.popup-content p {
  font-size: 20px;
}
.popup-content button {
  margin-top: 15px;
}