body {
    font-family: sans-serif;
    text-align: center;
    background: #1C1C1C;
  }
  
  #game-board {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    justify-content: center;
    margin-top: 30px;
    margin-left: 100px;
    margin-right: 100px;
    margin-bottom: 5px;
  }
  
  .card {
    width: 150px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    padding: 0;
  }
  
  .card img.kort-billede {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
  }
  
  .spillere-info {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin: 20px;
    font-size: 18px;
    font-weight: 100;
    color: #ffffff;
    text-align: left;
  }
  
  .spiller-indhold {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  #spiller1 .spiller-indhold {
    flex-direction: row; /* ikon til venstre */
  }
  
  #spiller2 .spiller-indhold {
    flex-direction: row-reverse; /* ikon til højre */
  }
  
  .spiller-ikon {
    width: 50px;
    height: 50px;
    object-fit: contain;
  }
  .spiller.aktiv {
    font-weight: bold;
  }
  
  #popup-card {
    position: fixed;
    top: 54.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 70px;
    background-color: #662D91;
    padding: 40px 60px;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: none;
    color: #ffffff;
    text-align: center;
    min-width: 70%;
    min-height: 73%;
  }
  
  #popup-card.popup-vis {
    display: block;
  }
  
  #luk-popup {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
  }
  
  #popup-indhold {
    margin-top: 20px;
    align-items: center;
  }
  
  .card.matched {
    cursor: default;
    opacity: 0.5; /* Gør kortet halv-gennemsigtigt */
  }