a {
    color: #fff;
}

a:focus {
    color: inherit;
}

a:hover {
    color: inherit;
}

.color-normal {
    color: #fff;
}

.color-black {
    color: #000;
}

.color-gray {
    color: #AFB9C4;
}

.color-white {
    color: #ffffff;
}

.color-orange {
    color: #E9A361;
}

.color-yellow {
    color: #FFCC00;
}

.color-yellow2 {
    color: #FFDC62;
}

.color-red {
    color: #CA271A;
}

.fancybox-skin {
    position: relative;
    background: #232835;
    color: #fff;
    border-radius: 0px;
}

.popup-form {
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
}

.popup-form.popup-wide {
    width: 1030px;
}

.popup-form .header {
    font-size: 28px;
    margin-bottom: 30px;
}

.fancybox-close {
    top: 10px;
    right: 10px;
    width: 13px;
    height: 13px;
    background-image: url(../site_img/close.svg);
}

a.btn-yellow {
    height: 60px;
    line-height: 60px;
    padding: 0 40px;
    outline: 0;
    border: 0;
    border-radius: 0;
    color: #000;
    background: #FFCC00;
    font-size: 22px;
}

.modal-backdrop.show {
    opacity: 0.6;
}

a.btn-yellow.disabled {
    background: #637388;
    color: #AFB9C4;
}

a.btn-yellow:hover {
    color: #384252;
    background: #ffdd55;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
}

.popup-block {
    width: 800px;
    background: #000000d0;
    padding: 40px 25px;
}

.modal-content {
    background: transparent;
}

body {
    font-family: "Exo 2", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: #fff;
    background: #202630;
    font-weight: 600;
    font-size: 18px;
}

.tt-square {
    font-family: 'TT Squares';
}

.fw900 {
    font-weight: 900;
}

a.rules-div {
    background: #1F263080;
    padding: 6px 4px 4px 4px;
    text-decoration: none;
    position: fixed;
    top: 300px;
    right: 0;
    display: flex;
    align-items: center;
    color: #FFCC00;
    gap: 3px;
    line-height: 1;
    font-size: 14px;
    flex-direction: column;
    border-radius: 6px;
    z-index: 100;
}

.top-bg {
    background: #384053 url(../site_img/top.jpg) no-repeat top center;
    min-height: 800px;
    height: 100vh;
    background-size: auto 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
}

.top-bg .header1 {
    font-size: 81px;
    margin-bottom: 20px;
    line-height: 1;
}

.top-bg .header2 {
    margin-bottom: 20px;
}

.top-bg .header3 {
    margin-bottom: 50px;
    background: #AF5823;
    padding: 10px;
}

.top-bg .header4 {
    font-size: 28px;
    margin-bottom: 25px;
    line-height: 1;
}

.red-bg {
    background: url(../site_img/red-bg-1.jpg) no-repeat top center;
    background-size: cover;
    padding: 30px 0;
}

.red-bg.v2 {
    background-image: url(../site_img/red-bg-2.jpg);
}

.red-bg-block {
    width: 670px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}

.red-bg-block .status-block {
    width: 170px;
    margin-right: 10px;
}

.red-bg-block .status-desc .header1 {
    line-height: 1;
    font-size: 50px;
    margin-bottom: 10px;
}

.red-bg-block .status-desc .tokens-block {
    border: 1px solid #FFF4AC;
    display: inline-flex;
    border-radius: 5px;
    padding: 5px 12px;
    margin-bottom: 10px;
    gap: 5px;
    align-items: center;
}

a.personal-offers-btn {
    font-size: 20px;
    display: block;
    text-align: center;
    height: 36px;
    line-height: 36px;
    padding: 0 10px;
    text-decoration: none;
    color: #000;
    background: #FFCC00;
    border-radius: 5px;
    max-width: 320px;
}

a.personal-offers-btn:hover {
    color: #384252;
    background: #ffdd55;
}

.bg1 {
    background: url(../site_img/bg1.jpg) top center;
    padding: 25px 0 47px 0;
}

.bg1 .header1 {
    margin: 50px 0 25px 0;
    font-size: 28px;
}

.bg1-columns {
    gap: 20px;
}

.bg1-block {
    width: calc(50% - 10px);
    background: #1F263080;
    border: 2px solid #FFF4AC;
    padding: 30px 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bg1 .header2 {
    margin: 0 0 25px 0;
    line-height: 1;
    font-size: 36px;
}

.bg1 .header3 {
    line-height: 1;
    font-size: 28px;
}

.bg1-block p {
    margin-bottom: 25px;
}

.bg1-block a.btn-yellow {
    height: 89px;
    line-height: 89px;
    font-size: 36px;
    width: 100%;
    max-width: 438px;
}

.bg2 {
    background: url(../site_img/bg2.jpg) top center;
    padding: 25px 0;
}

.bg2 .header1 {
    margin: 0px 0 25px 0;
    font-size: 50px;
    line-height: 1;
}

.target-one {
    padding: 5px 20px 5px 5px;
    border-radius: 10px;
    background: #384252;
    margin-bottom: 5px;
}

.target-bg {
    background: url(../site_img/target-bg.png) no-repeat top center;
    width: 120px;
    height: 191px;
    margin-right: 10px;
    padding: 8px;
    display: flex;
    flex-direction: column;
}

.target-info {
    width: 100%;
    flex: 1;
}

.target-info-top {
    justify-content: space-between;
    margin-bottom: 7px;
    align-items: center;
}

.target-info-days {
    height: 30px;
    line-height: 30px;
    background: #1F2630;
    padding: 0 10px;
    border-radius: 5px;
    color: #FFDC62;
    font-weight: 400;
}

.target-info-result {
    color: #FFDC62;
    font-weight: 400;
}

.target-info-name {
    font-size: 24px;
}

.target-info-desc {
    font-weight: 400;
    margin-bottom: 7px;
}

.target-info a.btn-yellow {
    height: 84px;
    line-height: 84px;
    font-size: 36px;
    width: 100%;
}

.target-bg .target-top {
    display: flex;
    border-bottom: 1px solid #5c6471;
    padding: 5px;
    align-items: end;
    justify-content: center;
    height: 70px;
}

.target-bg .target-bottom {
    text-align: center;
    font-size: 11px;
    padding: 5px;
}

.target-bg .target-bottom > div:first-child {
    margin-bottom: 5px;
}

.target-info a.btn-yellow.disabled {
    color: #1F2630;
}

.target-one.status-done {
    color: #637388;
}

.target-one.status-done .target-bg {
    background: #1F2630 url(../site_img/target-bg-a.png) no-repeat top center;
    color: #fff;
    border-radius: 5px;
}

.target-one.status-future a.btn-yellow.disabled {
    color: #1F2630;
    background: #637388;
}

.target-one.status-reward .target-bg {
    background: #384252 url(../site_img/target-bg-r.png) no-repeat top center;
    color: #fff;
    border-radius: 5px;
}

.target-one.status-reward {
    background: #637388;
    color: #FFF4AC;
}

.target-one.status-reward a.btn-yellow {
    background: #FFF4AC;
}

.clock-block {
    font-size: 80px;
    gap: 3px;
    line-height: 1;
    text-align: center;
    justify-content: center;
    color: #FFCC00;
}

.clock-block .digit-block {
    width: 54px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clock-block .delimiter-block {
    width: 40px;
    line-height: 64px;
    height: 72px;
}

.final-task-block {
    margin-top: 20px;
}

.final-task-block .header2 {
    margin-bottom: 50px;
    font-size: 50px;
    line-height: 1;
}

.final-task-block .header3 {
    margin-bottom: 10px;
    font-size: 36px;
    line-height: 1;
}

.final-image-block {
    padding: 50px 20px;
    margin-bottom: 10px;
    background: #384252;
    border-radius: 10px;
}

.final-image-block p {
    margin-bottom: 0;
    line-height: 1.2;
}

.final-image-block__image {
    margin: 15px 0 10px 0;
}

.final-image-block__image img {
    border-radius: 24px;
}

.final-reward {
    border-radius: 5px;
    padding: 30px 20px;
    background: #1F2630;
    border: 2px solid #6A7180;
}

.final-reward-one {
    margin-bottom: 10px;
    font-size: 28px;
    line-height: 1.17;
    align-items: center;
    padding: 10px 20px;
    height: 110px;
    align-items: center;
    background: #6A7180;
    border-radius: 5px;
}

.final-reward-one__image {
    width: 75px;
    text-align: center;
    margin-right: 50px;
}

.final-reward-one__text {
    flex: 1;
    width: 100%;
    text-align: left;
}


.bg3 {
    background: url(../site_img/bg3.jpg) no-repeat top center;
    padding: 45px 0;
    background-size: cover;
}

.bg3 .header1 {
    margin: 0px 0 25px 0;
    font-size: 50px;
    line-height: 1;
}

.quiz-question {
    background: #1F2630B2;
    margin-bottom: 25px;
    padding: 5px;
    border-radius: 10px;
}

.quiz-question-image {
    width: 120px;
    margin-right: 10px;
}

.quiz-question-text {
    flex: 1;
    width: 100%;
}

.quiz-question-text .quiz-question-number {
    color: #FFDC62;
    line-height: 30px;
    height: 30px;
    font-weight: 400;
    padding: 0 10px;
    background: #384252;
    display: inline-block;
    border-radius: 5px;
    margin-bottom: 7px;
}

.quiz-question-name {
    font-size: 28px;
    line-height: 1.13;
}

.quiz-question-block {
    background: #1F2630B2;
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 10px;
}

.quiz-question-block a {
    margin-bottom: 20px;
    height: 70px;
    display: flex;
    align-items: center;
    padding: 10px 30px;
    background: #1F2630;
    border-radius: 2px;
    text-decoration: none;
}

.quiz-question-block a.correct {
    background: #FFCC00 !important;
    color: #1F2630;
}

.quiz-question-block a:hover, .quiz-question-block a.active {
    background: #AFB9C4;
    color: #1F2630;
}

a.btn-yellow.quiz-select, a.btn-yellow.present-select, .final-task-block a.btn-yellow, #rules-div a.btn-yellow {
    height: 89px;
    line-height: 89px;
    font-size: 36px;
    width: 100%;
    max-width: 438px;
}

.final-task-block a.btn-yellow {
    padding: 0 10px;
}

.quiz-done-result {
    background: #1F263080;
    border: 2px solid #FFF4AC;
    padding: 30px 15px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.quiz-done-result2 {
    background: #1F263080;
    margin-bottom: 25px;
    padding: 5px;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.empty-offer {
    padding: 50px 10px;
}

.quiz-done-result .header2 {
    font-size: 36px;
    margin-bottom: 25px;
    line-height: 1;
}

.quiz-done-result .header3 {
    font-size: 28px;
    line-height: 1;
}

#rules-div a.btn-yellow {
    max-width: 100%;
}

.quiz-result {
    margin: 20px auto 0 auto;
    display: flex;
    width: 248px;
}

.quiz-result span {
    width: 36px;
    text-align: center;
    display: block;
    padding-top: 23px;
    background: url(../site_img/status-next.svg) no-repeat top center;
}

.quiz-result span.yes {
    background: url(../site_img/status-yes.svg) no-repeat top center;
}

.quiz-result span.no {
    background: url(../site_img/status-no.svg) no-repeat top center;
}

.quiz-result span.current {
    background: url(../site_img/status-current.svg) no-repeat top center;
}

.bg4 {
    padding: 60px 10px;
    position: relative;
}

.bg4:before {
    background: url(../site_img/bg-line-top.jpg) repeat-x top center;
    content: '';
    height: 10px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.bg4:after {
    background: url(../site_img/bg-line-bottom.jpg) repeat-x bottom center;
    content: '';
    height: 9px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.bg4 .header1 {
    line-height: 1;
    margin-bottom: 50px;
    font-size: 32px;
}

.personal-offers {
    display: flex;
    gap: 20px;
    width: 980px;
    margin: 0 auto 50px auto;
    flex-wrap: wrap;
    justify-content: center;
}

.personal-offer {
    margin-bottom: 30px;
    width: calc(50% - 20px);
    position: relative;
    border: 10px solid #637388;
    border-radius: 5px;
    padding: 10px;
}

.personal-offer:after {
    background: url(../site_img/offer-shadow.png) no-repeat bottom -14px center;
    content: '';
    height: 46px;
    position: absolute;
    bottom: -54px;
    left: -10px;
    width: calc(100% + 20px);
}

.personal-offer > .d-flex {
    justify-content: center;
}

.offer-image {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-title {
    width: 215px;
    padding-left: 5px;
    padding-top: 20px;
}

.offer-title span {
    display: block;
}

.offer-title span.color-yellow, .offer-title span.color-white {
    font-size: 28px;
    line-height: 1.17;
}

.personal-offer a.btn-yellow {
    height: 89px;
    line-height: 89px;
    font-size: 36px;
    width: 100%;
    margin-top: 10px;
}

.offers-text-block {
    margin-top: 60px;
    background: #637388;
    padding: 10px;
}

.present-block {
    padding: 20px 0;
}

.bg5 {
    padding: 25px 0;
    background: #000;
}

.bg5 .header1 {
    font-size: 50px;
}

#rules-div .modal-dialog {
    max-width: 550px;
}

#rules-div .popup-block {
    width: 550px;
}

#rules-div h4 {
    line-height: 1.17;
    font-size: 28px;
    margin: 0 0 10px 25px;
}

.rules-task {
    margin: 30px 0;
    background: #1F263080;
    border: 2px solid #FFF4AC;
    border-radius: 10px;
    padding: 30px 20px;
}

.rules-img {
    margin: 30px 0 10px 0;
    background: #1F263080;
    border: 2px solid #FFF4AC;
    border-radius: 10px;
    padding: 30px 20px;
}

.rules-task p, .rules-img p {
    margin-bottom: 0;
}

#rules-div .rules-task .header1 {
    line-height: 1.17;
    font-size: 28px;
    margin: 0 0 5px 0;
}

#rules-div .rules-task .d-flex, .rules-img .d-flex {
    margin-bottom: 5px;
    align-items: center;
    gap: 6px;
    justify-content: center;
    line-height: 1.17;
    font-size: 28px;
}

.rules-img img {
    border-radius: 5px;
}

#rules-div ul {
    margin: 0;
    padding: 0 0 0 20px;
}

#rules-div ul li {
    margin-bottom: 10px;
}

.nologin-block p {
    margin-bottom: 20px;
}

.nologin-block p:last-child {
    margin-bottom: 0px;
}

.nologin-block a.btn-yellow {
    height: 80px;
    line-height: 80px;
    width: 100%;
    padding: 0 10px;
    font-size: 28px;
}

.red-bg .btn-gray {
    background: #637388;
    padding: 0 10px;
    display: block;
    height: 46px;
    line-height: 46px;
    width: 100%;
}


@media (max-width: 1300px) {
    .top-bg {
        min-height: 700px;
    }
}

@media (max-width: 1200px) {
    .top-bg {
        min-height: 700px;
    }

    .bg1 .header1 {
        margin: 30px 0 25px 0;
        font-size: 20px;
    }

    .red-bg-block .status-desc .header1 {
        font-size: 42px;
    }

    .bg1-block a.btn-yellow, .personal-offer a.btn-yellow {
        height: 70px;
        line-height: 70px;
        font-size: 30px;
    }

    .bg5 .header1 {
        font-size: 40px;
    }

    .personal-offers {
        width: 100%;
    }

    .offer-image {
        width: 130px;
        height: 130px;
    }

    .offer-title {
        padding-top: 10px;
    }

    .offer-title span.color-yellow, .offer-title span.color-white {
        font-size: 24px;
    }
}

@media (max-width: 992px) {
    .personal-offers {
        grid-template-columns: repeat(1, 1fr);
        width: 100%;
    }

    .personal-offer {
        width: 480px;
        margin: 0 auto 30px auto;
    }

    .top-bg .header1 {
        font-size: 65px;
    }

    .top-bg .header2 {
        text-align: center;
    }

    .top-bg {
        min-height: 700px;
    }

    .top-bg .header3 {
        margin-bottom: 20px;
    }

    .red-bg-block .status-desc .header1 {
        font-size: 36px;
    }

    .bg1-block {
        margin-bottom: 30px;
        width: 100%;
    }

    .bg2 .header1, .bg3 .header1 {
        font-size: 40px;
    }

    .quiz-question-name {
        font-size: 20px;
    }

    .quiz-question-block a {
        margin-bottom: 20px;
        height: 80px;
    }

    .quiz-question-image {
        width: 100px;
    }

    .clock-block {
        font-size: 60px;
    }

    .clock-block .digit-block {
        width: 45px;
        height: 55px;
    }

    .final-task-block .header2 {
        margin-bottom: 30px;
        font-size: 40px;
    }

    .final-task-block .header3 {
        margin-bottom: 15px;
        font-size: 30px;
    }

    .final-reward-one__image {
        width: 65px;
        margin-right: 25px;
    }

    .final-reward-one {
        height: 85px;
    }

    .nologin-block a.btn-yellow {
        height: 60px;
        line-height: 60px;
        font-size: 20px;
    }

    .red-bg .btn-gray {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .personal-offer {
        width: 100%;
        max-width: 480px;
    }

    .target-info a.btn-yellow {
        height: 64px;
        line-height: 64px;
        font-size: 24px;
        width: 100%;
        padding: 0 10px;
    }

    .target-info-result {
        font-size: 14px;
        text-align: right;
        line-height: 1.15;
    }

    .target-info-days {
        white-space: nowrap;
    }

    .target-info-top {
        margin-bottom: 4px;
    }

    .target-info-name {
        font-size: 24px;
        line-height: 1.15;
    }

    .top-bg {
        text-align: center;
        padding-bottom: 0;
        min-height: 800px;
    }

    .top-bg .header1 {
        font-size: 60px;
    }

    body {
        font-size: 16px;
    }

    .red-bg-block {
        width: 100%
    }

    .red-bg-block .status-block {
        width: 100%;
        margin-right: 0;
        text-align: center;
        margin-bottom: 10px;
    }

    .red-bg-block .status-desc .tokens-block {
        display: flex;
        justify-content: center;
    }

    .red-bg-block .status-desc .header1 {
        text-align: center;
    }

    a.rules-div {
        top: auto;
        bottom: 10px;
    }

    .quiz-question-name {
        font-size: 18px;
        text-transform: none !important;
        font-family: "Exo 2", sans-serif;
    }

    .quiz-question-block a {
        margin-bottom: 15px;
        height: 70px;
        padding: 0 15px;
    }

    .personal-offer:after {
        display: none;
    }

    .personal-offer {
        margin: 0 auto
    }

    .bg5 .header1 {
        font-size: 32px;
    }

    .clock-block {
        font-size: 30px;
    }

    .clock-block .digit-block {
        width: 24px;
        height: 32px;
    }

    .clock-block .delimiter-block {
        width: 12px;
        line-height: 28px;
        height: 32px;
    }

    .final-image-block {
        padding: 20px 5px;
    }

    a.btn-yellow.quiz-select, a.btn-yellow.present-select, .final-task-block a.btn-yellow, #rules-div a.btn-yellow {
        height: 70px;
        line-height: 70px;
        font-size: 24px;
    }

    .final-reward-one {
        height: 80px;
        font-size: 20px;
    }

    #rules-div .popup-block {
        width: 100%;
        padding: 40px 5px;
    }

    a.personal-offers-btn {
        max-width: 100%;
    }

    .nologin-block a.btn-yellow {
        font-size: 14px;
    }

    .red-bg .btn-gray {
        font-size: 16px;
        height: 100%;
        line-height: 1.4;
        padding: 10px;
    }

}

@media (max-width: 420px) {
    .offer-image {
        width: 90px;
        height: 90px;
        padding: 10px;
    }

    .target-info a.btn-yellow {
        height: 46px;
        line-height: 46px;
        font-size: 15px;
        padding: 0 5px;
    }

    .target-info-name {
        font-size: 18px;
    }

    .target-info-top {
        flex-wrap: wrap;
        margin-bottom: 4px;
    }

    .target-info-result {
        width: 100%;
        text-align: left;
        margin: 3px 0;
    }

    .target-one {
        padding: 5px 5px 5px 5px;
    }

    a.btn-yellow.quiz-select, a.btn-yellow.present-select, .final-task-block a.btn-yellow, #rules-div a.btn-yellow {
        height: 64px;
        line-height: 64px;
        font-size: 26px;
    }

    .quiz-question-image {
        width: 70px;
    }

    .bg4 .header1 {
        margin-bottom: 40px;
        font-size: 26px;
    }

    .top-bg .header1 {
        font-size: 40px;
    }

    .red-bg-block .status-desc .header1 {
        font-size: 28px;
    }

    a.personal-offers-btn {
        font-size: 16px;
        max-width: 100%;
    }

    .bg1 .header2 {
        font-size: 30px;
    }

    .bg1-block a.btn-yellow, .personal-offer a.btn-yellow {
        height: 60px;
        line-height: 60px;
        font-size: 24px;
        padding: 0 10px;
    }

    .bg2 .header1, .bg3 .header1 {
        font-size: 30px;
    }

    .bg5 .header1 {
        font-size: 30px;
        line-height: 1.15;
    }

    .offer-title {
        width: 100%;
        flex: 1;
    }

    .offer-title span.color-yellow, .offer-title span.color-white {
        font-size: 18px;
    }

    .final-task-block .header2 {
        margin-bottom: 20px;
        font-size: 28px;
    }

    .final-task-block a.btn-yellow {
        height: 50px;
        line-height: 50px;
        font-size: 20px;
        padding: 0 10px;
    }

    .final-reward-one {
        height: 80px;
        font-size: 16px;
        padding: 5px;
    }

    .clock-block .digit-block {
        width: 18px;
        height: 26px;
    }

    .clock-block .delimiter-block {
        width: 12px;
        line-height: 22px;
        height: 26px;
    }

    .clock-block {
        font-size: 24px;
    }

    .nologin-block a.btn-yellow {
        font-size: 14px;
        height: auto;
        line-height: 1.4;
        padding: 10px;
    }
}
