.modal-wrapper {
    padding: 70px 30px 0;
    margin: 0 30px;
}

@media screen and (max-width: 768px) {
    .modal-wrapper {
        padding: 70px 15px 0;
        margin: 0 15px;
    }
}

.modal-ex {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 50px;
    left: 0;
    background-color: rgba(0, 0, 0, .7);
    /*backdrop-filter: blur(3px);*/
    opacity: 0;
    display: block;
    margin: 15px auto 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear .25s, opacity .25s 0s, transform .25s;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 30px 0;
    z-index: 10000;
    /*cursor: not-allowed;*/
}

.modal-content-ex {
    align-self: center;
    background-color: #f9f9f9;
    padding: 0 0 5px;
    width: 100%;
    border-radius: .5rem;
    overflow-x: hidden;
    margin: 0 auto 90px;
    display: block;
    pointer-events: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.modal-content-ex:focus {
    outline: none !important;
}

.modal-content-text {
    align-self: center;
    background-color: #f9f9f9;
    padding: 0 0 5px;
    width: 100%;
    max-width: 900px;
    border-radius: .5rem;
    overflow-x: hidden;
    margin: 0 auto 90px;
    display: block;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.modal-content-text:focus {
    outline: none !important;
}

.btn-close-ex {
    float: right;
    width: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: .25rem;
    background: #6a39b7;
    color: #fff;
    margin: 20px;
    padding: 10px;
    font-size: 40px;
    font-weight: 900;
    pointer-events: all;
}

.btn-close-ex:hover {
    background: #4caf50;
}

.show-modal-ex {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: visibility 0s linear 0s, opacity .25s 0s, transform .25s;
}

.mtup {
    scroll-behavior: smooth;
}