/* From Uiverse.io by vinodjangid07 */ 
.overlay {
  display: none; /* Standardmäßig versteckt */
  position: fixed; /* Deckt den gesamten Bildschirm ab */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 900; /* Sicherstellen, dass es unter dem Popup liegt */
  background-color: rgba(0, 0, 0, 0.51);
}
.card {
    width: 300px;
    height: fit-content;
    background-color: rgba(30, 30, 30, 0.8);
    border-radius: 20px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px;
    position: fixed; /* Positioniert es relativ zum Viewport */
    top: 50%; /* Positioniert es in der Mitte des Bildschirms */
    left: 50%; /* Positioniert es in der Mitte des Bildschirms */
    z-index: 9999;
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.068);
    transform: translate(-50%, -50%); /* Verschiebt es um die Hälfte seiner Breite und Höhe */
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }
  .card-content {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .card-heading {
    font-size: 20px;
    font-weight: 700;
    color: #ddd;
  }
  .card-description {
    font-weight: 100;
    color: rgb(102, 102, 102);
  }
  .card-button-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .card-button {
    width: 50%;
    height: 35px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
  }
  .primary {
    background-color: rgb(47, 168, 255);
    color: white;
  }
  .primary:hover {
    background-color: rgb(0, 125, 214);
  }
  .secondary {
    background-color: #ddd;
  }
  .secondary:hover {
    background-color: rgb(197, 197, 197);
  }
  .exit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
  }
  .exit-button:hover svg {
    fill: black;
  }
  .exit-button svg {
    fill: rgb(175, 175, 175);
  }
  