.modal-overlay {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    opacity: 0;
    visibility: hidden;
    transition: all .5s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 101;
    padding: 56px 20px;
    border-radius: 15px;
    max-width: 546px;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 622px) {
    .modal {
        max-width: calc(100% - 40px);
    }

}

.modal-icon {
    display: flex;
    margin: 0 auto 24px;
}

.modal-title {
    text-align: center;
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #000;
}

.modal-description {
    text-align: center;
    font-size: 22px;
}

.modal-close {
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 15px;
    height: 15px;
    color: #000;
    transition: color .3s ease;
}

.modal-close:hover {
    color: #2C4FFF;
}

@media (max-width: 768px) {
    .modal-title {
        font-size: 26px;
    }
    .modal-description {
        font-size: 16px;
    }
}