@font-face {
    font-family: SFUIDisplay-Regular;
    src: url(../fonts/SFUIDisplay-Regular/SFUIDisplayRegular.woff2) format("woff2");
    src: url(../fonts/SFUIDisplay-Regular/SFUIDisplayRegular.woff) format("woff");
    font-display: swap
}

@font-face {
    font-family: SFUIDisplay-Semibold;
    src: url(../fonts/SFUIDisplay-SemiBold/SFUIDisplaySemibold.woff2) format("woff2");
    src: url(../fonts/SFUIDisplay-SemiBold/SFUIDisplaySemibold.woff) format("woff");
    font-display: swap
}

@font-face {
    font-family: SFUIDisplay-Bold;
    src: url(../fonts/SFUIDisplay-Bold/SFUIDisplayBold.woff2) format("woff2");
    src: url(../fonts/SFUIDisplay-Bold/SFUIDisplayBold.woff) format("woff");
    font-display: swap
}

@font-face {
    font-family: SFUIDisplay-Light;
    src: url(../fonts/SFUIDisplay-Light/SFUIDisplay-Light.woff2) format("woff2");
    src: url(../fonts/SFUIDisplay-Light/SFUIDisplay-Light.woff) format("woff");
    font-display: swap
}

.popupBlock {
    width: 860px;
    height: 492px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'SFUIDisplay-Regular';
    z-index: 9;
}

.popupBlock__block {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.popupBlock__form input::placeholder {
    color: rgba(124, 178, 40, 0.5);
}

.popupBlock__title {
    font-weight: 900;
    font-size: 128px;
    margin: 15px 0 0;
    line-height: 140px;
    margin-top: 65px;
    letter-spacing: -18px;
    text-shadow: 0 0 10px #535353;
}

.popupBlock__title span:nth-child(2) {
    position: relative;
    left: -15px;
}

.popupBlock__title span:nth-child(3) {
    position: relative;
    left: -15px;
}

.popupBlock__title span:nth-child(4) {
    position: relative;
    left: -15px;
    margin-right: 20px;
}

.popupBlock__title span:last-child {
    transform: rotate(16deg);
    position: absolute;
}

.popupBlock__subtitle {
    font-size: 44px;
    font-weight: 900;
}

.popupBlock__subtitle p:first-child {
    font-size: 50px;
    text-shadow: 0 0 9px #808080;
    background-color: #9bc464;
    display: inline;
    margin-left: 10px;
    padding-right: 15px;
    letter-spacing: -8px;
    text-shadow: 0 0 5px #494949;
    margin-right: 10px;
}

.popupBlock__subtitle p:first-child span:nth-child(2) {
    margin-right: 10px;
}

.popupBlock__subtitle p:first-child span:nth-child(4) {
    margin-right: 10px;
}

.popupBlock__subtitle p:first-child span:nth-child(5) {
    position: relative;
}

.popupBlock__subtitle p:first-child span:last-child {
    font-size: 40px;
}

.popupBlock__subtitle p:last-child {
    display: block;
    font-weight: 300;
    font-size: 36px;
}

.popupBlock__form {
    font-weight: 600;
    margin: 30px 0;
}

.popupBlock__form .form__set {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px 0;
}

.popupBlock__form .form__set span {
    font-size: 12px;
    font-weight: 300;
}

.popupBlock__form .form__set:last-child {
    justify-content: center;
}

.popupBlock__form button {
    width: 170px;
    height: 48px;
    border-radius: 8px;
    box-shadow: 0px 20px 55px 0 rgba(124, 178, 40, 0.5);
    background-image: linear-gradient(to top, #77b11e, #89c339);
    font-family: SFUIDisplay-Regular;
    font-size: 20px;
    font-weight: bold;
    outline: none;
    border: none;
    cursor: pointer;
    color: #fff;
    margin-left: 15px;
    transition: all 0.5s ease;
}

.popupBlock__form button:hover {
    background-image: linear-gradient(to top, #9bc464, #9bc464);
}

.popupBlock__form .c_wrap {
    width: 10px;
    height: 10px;
    position: relative;
    cursor: pointer;
    margin: 0;
    margin-right: 5px;
    border-radius: 1px;
    border: solid 1px #7bb625;
    background-color: #ffffff;
    color: #fff;
}

.popupBlock__form input {
    width: 333px;
    height: 48px;
    border-radius: 8px;
    border: solid 1px #dbdbdb;
    background-color: #f7f7f7;
    outline: none;
    padding-left: 25px;
}

.popupBlock__form label {
    position: absolute;
    width: 100%;
    height: 100%;
    font-size: 8px;
    line-height: 8px;
    z-index: 2;
    left: 0;
    top: 0;
    cursor: pointer;
    color: #fff;
}

.popupBlock__form input[type="checkbox"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
    left: 0;
    top: 0;
    cursor: pointer;
}

.popupBlock__form input[type="checkbox"]:checked + label {
    color: #7bb625;
}

.popupBlock__close {
    color: white;
    font-size: 30px;
    position: absolute;
    right: 13px;
    top: 0;
    cursor: pointer;
    transition: all 0.5s ease;
    z-index: 5;
}

.popupBlock__close:hover {
    opacity: 0.6;
}

.popupBlock__wrap {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    top: 0;
    left: 0;
    z-index: 999;
    display: none;
}

.form__set.form__set_check.form__set_check_m {
    display: none;
}

.gartitude {
    display: none;
    background: white;
    box-shadow: 0 0 13px #e1e0e0;
    color: #427033;
    width: 100%;
    height: 100%;
    padding: 10px;
}

.gartitude__block {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100%;
}

.gartitude__rt {
    text-align: center;
    max-width: 400px;
}

.gartitude__lt img {
    max-width: 90%;
}

.gartitude__title {
    font-size: 44px;
    font-weight: 900;
}

.gartitude__subtitle {
    font-size: 36px;
    font-weight: 300;
    line-height: 40px;
}

.popupBlock_c_img {
    display: block;
    position: absolute;
    width: 100%;
    height: auto;
}

.popupBlock_c_img_mob {
    display: none;
    position: absolute;
    width: 100%;
    height: auto;
}

@media (max-width: 920px) {
    .popupBlock__wrap {
        overflow-y: auto;
    }

    .popupBlock {
        width: 90%;
        height: auto;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    .form__set {
        flex-direction: column;
    }

    .popupBlock_c_img {
        display: none;
    }

    .popupBlock_c_img_mob {
        display: block;
        height: 116%;
    }

    .form__set_check {
        flex-direction: row;
    }

    .popupBlock__subtitle p:first-child {
        display: block;
        width: fit-content;
        margin: 0 auto;
        padding: 10px;
    }

    .popupBlock__title {
        font-size: 84px;
        letter-spacing: -11px;
    }

    .popupBlock__title span:nth-child(4) {
        position: relative;
        left: -15px;
        margin-right: 5px;
    }

    .popupBlock__subtitle {
        font-size: 41px;
    }

    .popupBlock__subtitle p:last-child {
        font-size: 29px;
    }

    .popupBlock {
        width: 500px;
    }

    .popupBlock__block {
        padding-top: 50px;
    }

    .popupBlock__form input {
        width: 240px;
        height: 45px;
    }

    .form__set.form__set_check.form__set_check_m {
        display: flex;
        max-width: 250px;
        margin: 15px 0;
        margin-left: 15px;
    }

    .form__set.form__set_check {
        display: none;
    }

    .form__set_check_m span {
        max-width: 250px;
        text-align: left;
        line-height: 15px;
        margin-left: 5px;
    }

    .popupBlock__form button {
        height: 45px;
    }

    .gartitude__block {
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .popupBlock__subtitle p:first-child {
        font-size: 45px;
    }

    .popupBlock__subtitle {
        font-size: 35px;
    }

    .popupBlock__form {
        margin: 15px 0;
    }

    .popupBlock__title {
        margin-top: 10px;
    }

    .gartitude__subtitle {
        font-size: 25px;
    }

    .gartitude__title {
        font-size: 33px;
    }

    .gartitude__rt {
        max-width: 300px;
    }

    .gartitude__lt img {
        max-width: 65%;
        display: block;
        margin: 0 auto;
    }

    .gartitude__block {
        padding: 30px 0 70px;
    }

    .popupBlock__close {
        right: 10px;
    }

    .popupBlock {
        width: 90%;
    }

    .popupBlock_c_img_mob {
        height: auto;
    }
}

@media (max-width: 450px) {
    .popupBlock {
        width: 100%;
    }
}

#frm_b {
    background: #ababab;
    border: 1px solid #ababab;
}


/*QUIZ*/

.popupBlock__wrap #quiz-popup {
    display: none !important;
}

.popupBlock__wrap.is-quiz #quiz-popup {
    display: block !important;
}

.popupBlock__wrap.is-quiz .popupBlock {
    display: none !important;
}
.popupBlock__wrap.is-quiz #ropfeRoott .ropf-box-c.theme2 {
    padding: 0;
    margin: 0;
}
.popupBlock__wrap.is-quiz #quiz-popup  {
    width: 100%;
    height: auto;
    max-width: 640px;
    max-height: 90vh;
    padding: 30px 30px;
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -55%);
    border-radius: 6px;
    background: url("../img/leaf.jpg") no-repeat center top / cover;
}

.popupBlock__wrap.is-quiz #quiz-popup #quiz-popup-wrap {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 80vh;
}

.popupBlock__wrap.is-quiz #quiz-popup .popupBlock__close {
    text-align: right;
    margin: 0 0 0 auto;
    font-size: 23px;
    position: absolute;
}

.popupBlock__wrap.is-quiz #quiz-popup .popupBlock__close:hover {
    color: #fff !important;
}

#quiz-popup-wrap.popupBlock__close:hover {
    color: #fff !important;
}

.popupBlock__wrap.is-quiz #quiz-popup .popupBlock__close.top {
    top: -5px;
}

.popupBlock__wrap.is-quiz #quiz-popup .popupBlock__title {
    margin: 0;
    color: #fff;
    text-align: center;
    line-height: 56px;
    font-size: 55px;
    letter-spacing: -4px;
}
#ropfeRoott .ropf-box-c.theme2  .ropf-wrapper .popupBlock__close {
    color: rgba(0,0,0,.8) !important;
}

.popupBlock__wrap.is-quiz #quiz-popup .popupBlock__close:hover {
    color: rgba(0,0,0,1) !important;
    transform: scale(.8);
}
.popupBlock__wrap.is-quiz #quiz-popup img {
    max-width: 90% !important;
}

.popupBlock__wrap.is-quiz #quiz-popup #quiz-popup-wrap::-webkit-scrollbar {
    width: 5px;
    background-color: transparent;
}

.popupBlock__wrap.is-quiz #quiz-popup #quiz-popup-wrap::-webkit-scrollbar:horizontal {
    height: 3px
}

.popupBlock__wrap.is-quiz #quiz-popup #quiz-popup-wrap::-webkit-scrollbar-thumb {
    border-width: 1px 1px 1px 2px;
    border-color: transparent;
    background-color: transparent;
}

.popupBlock__wrap.is-quiz #quiz-popup #quiz-popup-wrap::-webkit-scrollbar-track {
    border-width: 0
}

