.modal, .info,
.modal-info,
.modal-foto {
    position: fixed;
    inset: 0;
    z-index: -10;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    cursor: pointer;
    overflow-x: hidden;
    overflow-y: auto;
    top: -1000%;
    transition: all 0.3s;
    width: 100%;
    height: 100%;
    min-width: 350px;
}
.modal.visible,
.info.visible,
.modal-info.visible,
.modal-foto.visible {
    top: 0;
    z-index: 99999;
}
.modal__block,
.modal-info__info {
    position: relative;
    width: 800px;
    padding: 20px 40px 30px;
    margin: auto;
    background-color: #280046;
    border-radius: 20px;
    cursor: default;
}
.modal-info__info {
    width: 800px;
    height: 570px;
    text-align: center;
    display: flex;
    justify-content: center;
}
.modal-info__block-text {
    display: flex;
    align-items: center;
    /* height: 400px; */
    justify-content: center;
    text-align: center;
}
.modal-info__text a.modal-info__link {
    margin-top: 30px;
    width: auto;
    width: 420px;
    max-width: 100%;
    display: inline-block;
    text-align: center;
}
.modal-info__text a.modal-info__link:hover {

}
.modal-info__btn-close {
    cursor: pointer;
    margin: 0 auto;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    display: none;
}
.modal-info__btn-close:hover {
    text-decoration: none;
}
.modal__container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.modal__title {
    font-weight: 400;
    font-size: 22px;
    line-height: 28px;
    max-width: 680px;
    font-family: Play, sans-serif;
}
.modal__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}

.modal__label {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.modal__text {
    display: block;
    font-weight: 400;
    min-width: 210px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    line-height: 24px;
}
.modal__text_checkbox {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
}
.modal__text_checkbox em {
    font-style: normal;
}
.modal__text_checkbox a {
    text-decoration: underline;
    text-decoration-skip-ink: none;
}
.modal__text_checkbox a:hover {
    text-decoration: none;
}
.modal__text_checkbox::before {
    content: "";
    display: flex;
    min-width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid #fff;
}
.modal__checkbox {
    position: absolute;
    -webkit-appearance: none;
    appearance: none;
}
.modal__checkbox:checked + .modal__text_checkbox::before {
    background: url('../img/start/icon-checked.png') no-repeat center center;
}
.modal__input {
    background: rgba(180, 200, 255, 0.2);
    backdrop-filter: blur(25px);
    border-radius: 10px;
    border: 0;
    width: 100%;
    height: 56px;
    padding: 15px;
    color: #fff;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
}

.modal__input::placeholder {
    color: #fff;
}

.modal__clear {
    width: 16px;
    height: 16px;
    background: url("../img/clear-icon.svg") no-repeat 0 0;
    position: absolute;
    right: 20px;
    display: none;
}

.modal__clear.show {
    display: inline-block;
}

.modal__btn {
    min-width: 280px;
    width: 280px;
    height: 60px;
    padding: 14px 30px;
    background: linear-gradient(90deg, #C800C8 0%, #9600FF 100%, #9600FF 100%);
    box-shadow: 0px 0px 20px rgba(0, 25, 240, 0.5), 0px 0px 40px rgba(240, 0, 250, 0.5);
    backdrop-filter: blur(25px);
    border-radius: 10px;
    outline: none;
    font-family: Play, sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 28px;
    color: #FFFFFF;
    transition-property: background;
    transition-timing-function: ease-in-out;
    transition-duration: 0.3s, 0.3s, 0.2s;
    margin: 0 auto;
}

.modal__btn:hover {
    background: linear-gradient(90deg, #9600FF 0%, #C800C8 100%);;
}

.modal__btn:disabled {
    opacity: .7;
    cursor: not-allowed;
}

.modal__btn:disabled:hover {
    background: linear-gradient(90deg, #C800C8 0%, #9600FF 100%, #9600FF 100%);
}

.modal .modal__close,
.modal-info__close {
    background: none;
    position: absolute;
    right: 46px;
    top: 26px;
    width: 36px;
    height: 36px;
    background: url("../img/close.png") no-repeat 50% 50%;
}
.modal .modal__close svg,
.modal-info__close svg {
    display: none;
}
.modal-info__close {
    right: 16px;
    top: 10px;
    cursor: pointer;
    display: none;
}
.info__text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 600px;
    height: 80px;
    padding: 20px 40px;
    background: #9600FF;
    border-radius: 20px;
    font-family: 'Play';
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 40px;
    text-align: center;
    color: #FFFFFF;
    margin: 20px auto;
}
.modal-info__text {
    max-width: 420px;
    text-align: center;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.modal-info__block-text_step .modal-info__text {
    background: url(../img/bg-slider.png) no-repeat 50% 0;
    padding-top: 80px;
}
.modal-info__text h3 {
    font-family: 'Play', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 40px;
    text-align: left;
    margin-bottom: 10px;
}
@media(max-width: 600px) {
    .modal__container {
        gap: 20px;
    }
    .modal__label {
        flex-direction: column;
        align-items: flex-start;
    }
    .modal__title {
        max-width: 90%;
    }
    .modal__text {
        width: 90%;
        padding: 0;
        font-size: 16px;
    }
    .modal__block,
    .modal-info__info {
        padding: 20px;
    }
    .modal .modal__close, .modal-info__close {
        /* background: none; */
        position: absolute;
        right: 16px;
        top: 10px;
        width: 25px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
.error, .error-phone {
    position: absolute;
    font-size: 12px;
    color: #f00;
    left: 220px;
    bottom: -20px;
}
@media(max-width: 600px) {
    .error, .error-phone {
        left: 0;
    }
    .modal__clear {
        top: calc(50% + 8px);
    }
}
@media(max-width: 450px) {
    .modal-info__text {
        background-position-x: 0;
    }
    .modal-info__text a.modal-info__link {
        width: 100%;
    }
}
@media(max-width: 390px) {
    .modal-info__text a.modal-info__link {
        font-size: 19px;
        padding: 14px 20px;
    }
}
