#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color:rgba(0, 0, 0, 0.5); /* Hintergrundfarbe mit Transparenz für das Verdunkeln */
    display: none; /* Anfangs unsichtbar machen */
    justify-content: center;
    align-items: center;
    z-index: 100;
}

#popup {
    background-color: #fff;
    width: 50%;
    height: 50%;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: block;
  justify-content: center;
  text-align: center;
  overflow: auto;
}

button {
    cursor:pointer;
}




@media only screen and (max-width: 768px) {

    #popup {
        width: 80vw;
        height: 70vh;
    }

}