/* From Uiverse.io by vinodjangid07 */ 
.overlay4 {
    display: flex; /* Standardmäßig versteckt */
    position: fixed; /* Deckt den gesamten Bildschirm ab */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999; /* Sicherstellen, dass es unter dem Popup liegt */
    background-color: rgba(0, 0, 0, 0.51);
  }
  .profile-img {
    width: 150px;
    height: 150px;
    border-radius: 100%;
  }
  @keyframes fadein {
    from {
        opacity: 0; /* Vollständig transparent */
    }
    to {
        opacity: 1; /* Vollständig sichtbar */
    }
  }
  
  @keyframes dafeout {
    from {
        opacity: 1; /* Vollständig sichtbar */
    }
    to {
        opacity: 0; /* Vollständig transparent */
    }
  }
  .card4 {
      width: 300px;
      height: fit-content;
      background-color: rgba(30, 30, 30, 0.8);
      border-radius: 20px;
      display: block;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 20px;
      padding: 30px;
      padding-top: 20px;
      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: 1000;
      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-content4 {
      width: 100%;
      height: fit-content;
      display: flex;
      flex-direction: column;
      gap: 5px;
    }
    .card-content-profile4 {
        width: 100%;
        height: fit-content;
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 5px;
    }
    .card-heading4 {
      font-size: 20px;
      font-weight: 700;
      color: #ddd;
      margin-bottom: 30px;
    }
    .card-description4 {
      font-weight: 100;
      color: rgb(102, 102, 102);
      margin-bottom: 35px;
    }
    .card-button-wrapper4 {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }
    .card-button4 {
      width: 50%;
      height: 35px;
      border-radius: 10px;
      border: none;
      cursor: pointer;
      font-weight: 600;
      transition: 0.3s;
    }
    .card-button-secondary {
        width: 50%;
        height: 35px;
        border-radius: 10px;
        border: none;
        cursor: pointer;
        font-weight: 600;
        transition: 0.3s;
        background-color: #ddd;
        display: block;
      }
    .primary4 {
      background-color: rgb(47, 168, 255);
      color: white;
    }
    .primary4:hover {
      background-color: rgb(0, 125, 214);
    }
    .card-button-secondary:hover {
      background-color: rgb(197, 197, 197);
    }
    .exit-button4 {
      display: flex;
      align-items: center;
      justify-content: center;
      border: none;
      background-color: transparent;
      position: absolute;
      top: 20px;
      right: 20px;
      cursor: pointer;
    }
    .exit-button4:hover svg {
      fill: black;
    }
    .exit-button4 svg {
      fill: rgb(175, 175, 175);
    }
    