.modal {
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    top: 10px;
    left: 0;
    right: 0;
    max-width: 960px;
    height: 90vh;
    margin: 0 auto;
    padding: 75px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    overflow: auto;
    top: -100%;
    transform: translateY(-50%);
    position: fixed;
}

    .modal::-webkit-scrollbar {
        width: 8px;
        height: 8px;
        cursor: pointer;
    }

.modal-close-btn {
    position: absolute;
    right: 20px;
    top: 45px;
    font-size: 20px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    background-image: url("../img/shared/icon-x.png");
    background-repeat: no-repeat;
}

/** Overlay */
.overlay {
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}
    .overlay.is-visible {
         opacity: 1;
        pointer-events: auto;
    }
    /** JS */
.modal.is-visible {
    opacity: 1;
    pointer-events: auto;
    top: 50%;
    z-index: 10000000000;
}

@media (max-width: 767.99px) {
    .modal {
        height: 100vh;
        padding: 50px;
    }
}

@media (max-width: 532.99px) {
    .modal {
        height: 100vh;
        padding: 20px;
    }
}
