.modal {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    min-height: 800px;
}

.modal.active {
    display: block;
}

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

.modal-body .form {
    max-width: 380px;
}

.modal-body .form__title {
    font-size: 34px;
    line-height: 34px;
}

.modal-body .form__subtitle {
    font-size: 18px;
    line-height: 22px;
}

.modal-body .modal-info {
    font: inherit;
    font-weight: 700;
    font-size: 24px;
    line-height: 29px;
}

.modal-info span {
    font: inherit;
}

.modal__close {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 60px;
    height: 60px;
}

.modal__close::after,
.modal__close::before {
    position: absolute;
    top: 30px;
    content: "";
    width: 60px;
    height: 5px;
    background: #232323;
    border-radius: 2px;
}

.modal__close::after {
    transform: rotate(45deg);
}

.modal__close::before {
    transform: rotate(-45deg);
}

@media (max-width: 720px) {
    .modal-body .form {
        max-width: 340px;
        margin: 0 auto;
    }

    .modal-body .form__title {
        font-size: 30px;
        line-height: 30px;
    }

    .modal__close {
        top: 20px;
        width: 30px;
        height: 30px;
    }

    .modal__close::after, .modal__close::before {
        top: 10px;
        width: 30px;
        height: 2.5px;
    }
}