
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: 'SF Pro Text';
    font-style: normal;
    font-weight: 600;
}

body {
    background: #fff;
}

button {
    border: none;
}

/*Button
===========================*/
.pop_up {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pop_up__wrapper {
   height: 100vh;
}

.pop_up__active {
    display: block;
}

.hidden {
    overflow: hidden;
}

.pop_up__container {
    background: #fff;
    display: flex;
    height: 100vh;
}

.pop_up__text-block {
    padding: 60px 100px 60px 60px;
    width: 50%;
}

.pop_up__photo-block {
    width: 50%;
    position: relative;
}

.pop_up__photo-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pop_up__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pop_up__title {
    font-family: 'SF Pro Display';
    font-style: normal;
    font-weight: 600;
    font-size: 72px;
    line-height: 72px;
    color: #1d1d1d;
    margin-bottom: 32px;
}

.pop_up__title-color {
    background: linear-gradient(88.25deg, #2F90FC 3.55%, #73A6DF 47.79%, #BFBFBF 96.89%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form__lable {
    display: block;
    font-family: 'SF Pro Display';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #1d1d1d;
    margin-bottom: 14px;
}

.form__input {
    border: none;
    background: none;
    margin-bottom: 24px;
    height: 30px;
    width: 100%;
    font-family: 'SF Pro Display';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #1D1D1D;
    position: relative;
    padding: 8px 0;
    border-bottom: 1px solid #E0E0E0;
    transition: all 0.5s ease 0s;
}

.form__input:focus {
    outline: none;
    border-bottom: 1px solid rgba(47, 144, 252, 1);
}

.form__input._error {
    border-bottom: 1px solid rgb(205, 6, 6);
}

.form__input:last-child {
    margin-bottom: 0;
}

.pop_up__form {
    position: relative;
}

.pop_up__form::after {
    content: '';
    position: absolute;
    top: 0;
    left: -2px;
    width: 102%;
    height: 102%;
    background: rgb(255, 254, 254) url("../../assets/images/loading-gif.gif") center / 50px no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease 0s;
}

.form__input-text {
    resize: none;
    width: 100%;
    height: 60px;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #E0E0E0;
    font-family: 'SF Pro Display';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #1D1D1D;
    position: relative;
    padding: 8px 0;
}

.pop_up__form._sending::after {
    opacity: 1;
    visibility: visible;
}

.pop_up__form-wrapper-text {
    margin-bottom: 32px;
}

.pop_up__form-wrapper {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.form__button {
    padding: 16px 102px;
    font-family: 'SF Pro Display';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: #FFF;
    background: #2F90FC;
    border-radius: 120px;
    cursor: pointer;
    transition: all 0.5s ease 0s;
}

.form__button:hover {
    background: #3C3C43;
    transition: all 0.3s linear;
}

.form__text {
    font-family: 'SF Pro Display';
    font-style: normal;
    font-weight: 400;
    font-size: 8px;
    line-height: 12px;
    color: #1D1D1D;
    ;
    text-decoration: none;
    max-width: 137px;
}

@media (max-width: 900px) {


    /*Conditions
    ===========================*/
    .conditions__wrapper {
        padding: 56px 16px;
    }

    .pop_up__photo-wrapper {
        display: none;
    }

    .pop_up__text-block {
        padding: 56px 16px 48px;
        width: 100%;
    }

    .pop_up__photo-block {
        width: 56px;
        position: absolute;
        right: 16px;
        top: 0;
    }

    .pop_up__button {
        top: 16px;
        right: 16px;
        width: 32px;
        height: 32px;
        border-radius: 9px;
        padding: 6.8px;
    }

    .pop_up__wrapper {
        max-width: 373px;
        margin: 25px auto;
    }

    .pop_up__title {
        font-size: 40px;
        line-height: 48px;
    }

    .form__button {
        width: 100%;
    }

    .form__text {
        max-width: 177px;
        text-align: center;
        margin: 0 auto;
    }

    .pop_up__form-wrapper-text {
        margin-bottom: 17px;
    }

    .form__lable {
        margin-bottom: 4px;
    }

    .form__input-text {
        height: 80px;
    }
}