.modal-show .navbar {
    z-index: 2;
}
.modal {
    display: none;
    padding: 24px;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: auto;
}
.modal-content .has-text-decor:after {
    content: url(/assets/img/text-decor-2.svg);
    position: absolute;
    top: 0;
    left: 200px;
}
.modal-content.modal-sm {
    max-width: min(600px, 100%);
}

.modal-content.modal-md {
    max-width: min(850px, 100%);
}

.modal-content.modal-lg {
    max-width: min(1192px, 100%);
}

.modal-content.modal-xl {
    width: 100%;
    max-width: min(1192px, 100%);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.modal-close:hover {
    color: #333;
}

@media all and (max-width: 820px){
    .modal-content .has-text-decor:after {
        display: none;
    }
}