#modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0) !important;
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

#modal.open {
    display: flex;
    background-color: rgba(0,0,0,0.65) !important;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    overflow: hidden;
}

.modal-close-button {
    position: absolute;
    cursor: pointer;
    top: 20px;
    right: 20px;
    width: 15px;
    height: 15px;
    fill: var(--wb-30);
}

.modal-content.hidden {
    display: none;
}

.modal-loader {
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
    background-color: rgba(0,0,0,0.65) !important;
}

.modal-loader.hidden {
    display: none;
}