html._modal {
    overflow: hidden;
}

.modal-me {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    visibility: hidden;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 10px;
    transition: 0.6s linear;
}

.modal-me._active {
    visibility: visible;
}

.modal-me._active .modal-me-content {
    opacity: 1;
    transform: scale(1);
}

.modal-me-body {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-me-close:hover {
    color: #f00;
}

.modal-me-content {
    position: relative;
    min-width: 60em;
    padding: 3em 2em;
    margin: 3em 0;
    background-color: #000;
    border-radius: 1em;
    opacity: 0;
    transform: scale(0.5);
    transition: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-me-close {
    position: absolute;
    top: 0.2em;
    right: 0.2em;
    font-size: 5em;
    cursor: pointer;
    transition: 0.2s linear;
}

.modal-me-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    visibility: hidden;
    transition: 0.4s ease-in-out;
}

.modal-me-overlay._active {
    background-color: rgba(0, 0, 0, 0.6);
    visibility: visible;
}

@media screen and (max-width: 991px) {
    .modal-me-content{
        min-width:100%;
    }
}
