body {
    /* min-height: 100vh; */
    background-image: url(/images/bg.png);
    background-size: cover;
    display: flex;
    flex-direction: column;
    position: relative;
    color: #fff;
    height: 100%;
}

header {
    display: flex;
    width: 100%;
    min-width: 100%;
    padding: 19px 0;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background-image: url(/images/header.png);
    background-size: contain;
    position: relative;
}

main {
    flex: 1 1 auto;
    padding: 30px 0 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
    display: flex;
}

header div {
    position: relative;
    padding-right: 40px;
}

header div:after {content: '';position: absolute;right: 0;width: 3px;height: 50px;background: #000000;top: 50%;margin-top: -25px;border-radius: 29px;}

h1 {
    margin: 0 0 53px;
    color: #fff;
    font-family: 'LORRACH BETA';
    font-size: 59px;
    text-align: center;
}

header div:last-child:after {
    display: none;
}

.step-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    margin: 0 0 51px;
}

.step-l {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-family: 'Congenial Cyrillic BETA';
    font-size: 23px;
    max-width: 400px;
    width: 365px;
}

.step-l span {
    font-family: 'LORRACH BETA';
    font-size: 36px;
}

.step-row.brd {
    border-top: 2px solid #ffffff82;
    padding: 45px 0 0;
}
.selector {
    width: 350px;
    background: rgb(252,244,238);
    background: -moz-linear-gradient(180deg, rgba(252,244,238,1) 0%, rgba(247,234,213,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(252,244,238,1) 0%, rgba(247,234,213,1) 100%);
    background: linear-gradient(180deg, rgba(252,244,238,1) 0%, rgba(247,234,213,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fcf4ee",endColorstr="#f7ead5",GradientType=1);
    border-radius: 18px;
    min-height: 122px;
    color: #5A5A5A;
    display: flex;
    padding: 12px;
    font-family: 'Congenial Cyrillic BETA';
    position: relative;
}

.select-dd {
    display: none;
    position: absolute;
    top: 10px;
    background: #cabaae;
    left: 10px;
    width: 100%;
    border-radius: 15px;
    padding: 20px;
    z-index: 10;
    height: 250px;
    overflow: scroll;
}

.selected {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    border: 1px solid #D4B8A3;
    padding: 0 40px 0 12px;
    border-radius: 16px;
    background-image: url(/images/ard.svg);
    background-repeat: no-repeat;
    background-position: 97% center;
    cursor: pointer;
}

.selector.select_active .select-dd {
    display: block;
}

.select-item {
    text-align: center;
    font-size: 19px;
    color: #5A5A5A;
    margin: 19px 0;
    cursor: pointer;
}
.selector.selector-sm .select-item {
    font-size: 15px;
}
.selector.selector-sm .selected {
    font-size: 14px;
    line-height: 1.2;
}
.btn-cst {
    color: #968AB5;
    font-family: 'Congenial Cyrillic BETA';
    font-weight: 500;
    border: none;
    font-size: 20px;
    background: #fff;
    min-width: 300px;
    min-height: 74px;
    border-radius: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 60px auto 0;
    box-shadow: 0px 0px 34px 18px #e5aabc;
}
.btn-cst:hover {
    color: #eb446f;
    text-decoration: none;
}
.btn-cst:disabled {
    box-shadow: 0px 0px 8px 2px #616161;
    background: #d4d4d4;
}
.trs, a, button {
    -webkit-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
}
.trs-long {
     -webkit-transition: all 3s linear;
    -o-transition: all 3s linear;
    transition: all 3s linear;
}
.brds {
    position: relative;
}

.brds:before {
    content: '';
    position: absolute;
    left: 0%;
    top: 11%;
    width: 85px;
    height: 85px;
    background-image: url(/images/bird.svg);
    background-position: left bottom;
    background-size: contain;
    background-repeat: no-repeat;
}

.brds::after {
    content: '';
    position: absolute;
    right: 0%;
    top: 1%;
    width: 130px;
    height: 130px;
    background-image: url(/images/bird1.svg);
    background-position: left bottom;
    background-size: contain;
    background-repeat: no-repeat;
}
.lt {
    font-family: 'Congenial Cyrillic BETA';
    font-size: 26px;
}

.loader-wrap {
    text-align: center;
    margin: 300px 0;
}

.loader {
    width: 600px;
    position: relative;
    max-width: 100%;
    background: rgb(252,244,238);
    background: -moz-linear-gradient(180deg, rgba(252,244,238,1) 0%, rgba(247,234,213,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(252,244,238,1) 0%, rgba(247,234,213,1) 100%);
    background: linear-gradient(180deg, rgba(252,244,238,1) 0%, rgba(247,234,213,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fcf4ee",endColorstr="#f7ead5",GradientType=1);
    height: 100px;
    margin: 18px auto 0;
    border-radius: 64px;
    border: 9px solid transparent;
}
.step-title.step-title-lg {
    font-size: 28px;
}

.s-num {
    display: inline-flex;
    width: 44px;
    height: 44px;
    background: #fff;
    color: #786DB1;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-family: 'Congenial Cyrillic BETA';
    border-radius: 28px;
    margin: 9px 0;
}

.s-desc {
    padding: 0 15px;
    text-align: center;
    font-family: 'Congenial Cyrillic BETA';
    font-weight: 300;
    font-size: 20px;
    line-height: 1.1;
    margin: 0 0 15px;
}

.dots-t {
    margin: 15px 0 30px;
    display: flex;
    gap: 7px;
    align-items: center;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 10px;
    opacity: .5;
}
img.img7 {
    max-width: 100%;
    width: 300px;
    margin-bottom: auto;
}
div#step3 img.img7 {
    width: 350px;
}
.dot.active {
    opacity: 1;
    width: 25px;
}
.prg {
    background: rgb(100,87,148);
    background: -moz-linear-gradient(90deg, rgba(100,87,148,1) 0%, rgba(150,138,181,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(100,87,148,1) 0%, rgba(150,138,181,1) 100%);
    background: linear-gradient(90deg, rgba(100,87,148,1) 0%, rgba(150,138,181,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#645794",endColorstr="#968ab5",GradientType=1);
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 58px;
    min-width: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'LORRACH BETA';
    font-size: 25px;
}
img.img1 {
    position: absolute;
    left: 0;
    top: 0;
}
header:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 50%;
    width: 100%;
    background: #fff;
}
.process {
    position: relative;
}

img.bird3 {
    position: absolute;
    left: 12px;
    top: 120px;
}

img.bird {
    position: absolute;
    left: 13%;
    bottom: 168px;
}

img.bird1 {
    position: absolute;
    right: 27%;
    bottom: 100px;
}
img.img2 {
    position: absolute;
    right: 0;
    top: 0;
}
.step {flex: 1 1 auto;display: flex;align-items: center;justify-content: center;position: static;padding-bottom: 50px;flex-direction: column;width: 100%;}

img.img3 {
    position: absolute;
    left: 0;
    top: 28%;
}

img.img4 {
    position: absolute;
    right: 0;
    top: 29%;
}

img.img5 {
    position: absolute;
    left: 0;
    bottom: 0;
}

.step-item {
    flex: 1 1 auto;
    display: flex;
    width: 100%;
    min-width: 100%;
    position: relative;
}

img.img6 {
    position: absolute;
    right: 0;
    bottom: 0;
}

.step-title {
    font-family: 'Congenial Cyrillic BETA';
    text-align: center;
    line-height: 1.2;
    font-size: 22px;
}

.step-title b {
    display: block;
    font-size: 34px;
}

a.btn-custom {
    display: inline-block;
    background: #fff;
    color: #786DB1;
    font-family: 'Congenial Cyrillic BETA';
    font-size: 28px;
    line-height: 1;
    padding: 10px 25px;
    min-width: 155px;
    text-align: center;
    border-radius: 30px;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none !important;
}
a.btn-custom[disabled] {
    opacity: .4;
}
.step-cont {
    text-align: center;
    position: relative;
    z-index: 10;
}
.fin-t {
    font-family: 'LORRACH BETA';
    text-transform: uppercase;
    font-size: 64px;
    line-height: 1;
    margin: 0 0 0;
    text-align: center;
}

a.btn-cst {
    box-shadow: 0px 0px 11px 1px #504669;
    margin: 33px 0;
    display: inline-flex;
}



a.dwnld {
    font-family: 'Congenial Cyrillic BETA';
    color: #fff;
    font-size: 20px;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-decoration: none;
}

.f-l, .f-r {
    max-width: 50%;
    width: 50%;
}

.c-wrap img {
    max-width: 100%;
    width: 440px;
}

.f-l {
    text-align: center;
}
.c-wrap {
    display: inline-block;
    position: relative;
}

.ct {
    position: absolute;
    top: 27%;
    left: 32%;
    color: #6c5f6c;
    font-family: 'Congenial Cyrillic BETA';
    font-size: 16px;
    transform: rotate(-8deg);
    width: 38%;
    min-width: 38%;
    line-height: 1;
    transform-origin: center;
}

.cd {
    position: absolute;
    top: 35%;
    left: 34%;
    color: #6c5f6c;
    font-family: 'Congenial Cyrillic BETA';
    font-size: 16px;
    transform: rotate(-7deg);
    font-weight: 100;
    line-height: 1.2;
    font-size: 14px;
    width: 35%;
    min-width: 35%;
    transform-origin: center;
    height: 20%;
}
.r-wrap {
    display: flex;
    flex-wrap: wrap;
    margin: 15px 0 20px;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.r-img-wrap {
    width: 112px;
    height: 145px;
    position: relative;
    box-shadow: 2px 2px 7px 0px #514970;
    border-radius: 11px;
}

.r-img-wrap input {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
}

.r-img img {
    max-width: 89px;
    filter: drop-shadow(3px 5px 6px #151515);
}

.r-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff4d;
    border-radius: 13px;
}

.r-item {
    display: inline-flex;
    flex-direction: column;
    width: 112px;
}

.r-title {
    font-family: 'Congenial Cyrillic BETA';
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
    height: 40px;
    display: flex;
    align-items: center;
    margin: 0 0 7px;
}

.r-img-wrap input:checked + div {
    border-color: #fff;
}

img.img11 {
    position: absolute;
    left: 0;
    top: -16px;
}

img.img12 {
    position: absolute;
    right: 0;
    top: 0;
}

img.img13 {
    position: absolute;
    left: 0;
    bottom: 42%;
    z-index: -1;
}

img.img14 {
    position: absolute;
    right: 0;
    bottom: 28%;
}

img.img15 {
    position: absolute;
    left: 0;
    bottom: 22%;
}
.step form {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: static;
    flex-direction: column;
}
div#gamefield {
    position: relative;
}
.gem {
    background-size: 93%;
    background-repeat: no-repeat;
    background-position: center;
}
.gem.brd, .gem.remove {
    border-radius: 7px;
    background-color: #fff;
    box-shadow: 0px 0px 6px 4px #fff;
    z-index: 10;
}
.info-row {
    width: 330px;
    background: #fff;
    color: #786DB1;
    display: flex;
    margin-bottom: 20px;
    padding: 9px;
    font-family: 'LORRACH BETA';
    justify-content: space-between;
    border-radius: 10px;
    align-items: center;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
}

.score {
    background: #645794;
    background: -webkit-linear-gradient(127deg, rgba(100, 87, 148, 1) 0%, rgba(150, 138, 181, 1) 100%);
    background: -moz-linear-gradient(127deg, rgba(100, 87, 148, 1) 0%, rgba(150, 138, 181, 1) 100%);
    background: linear-gradient(127deg, rgba(100, 87, 148, 1) 0%, rgba(150, 138, 181, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#645794", endColorstr="#968AB5", GradientType=0);
    color: #fff;
    width: 77px;
    height: 77px;
    line-height: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.js-score {
    font-size: 44px;
}

span {}

.score span {
    font-size: 15px;
}

.timer {
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.js-timer {
    line-height: 1;
    font-size: 44px;
    padding: 2px 0 0;
}

.cnt {
    font-size: 17px;
}

.cnt-row {
    background: #645794;
    background: -webkit-linear-gradient(127deg, rgba(100, 87, 148, 1) 0%, rgba(150, 138, 181, 1) 100%);
    background: -moz-linear-gradient(127deg, rgba(100, 87, 148, 1) 0%, rgba(150, 138, 181, 1) 100%);
    background: linear-gradient(127deg, rgba(100, 87, 148, 1) 0%, rgba(150, 138, 181, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#645794", endColorstr="#968AB5", GradientType=0);
    border-radius: 18px;
    position: relative;
    height: 30px;
    margin: 0;
    width: 100%;
}

.counter-wrap {
    background: #fff;
    position: absolute;
    left: 3px;
    top: 3px;
    bottom: 3px;
    border-radius: 12px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    max-width: 220px;
    padding: 0 2px;
    min-width: 78px;
}
.cnt-r {
    flex: 1 1 auto;
    padding: 0 0 0 9px;
}

.timer-top {
    display: flex;
    align-items: center;
    justify-content: center;
}

.t-info div {display: flex;align-items: center;justify-content: center;}

.btn-custom.btn-custom-sm {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.step-title.step-title-sm {
    text-transform: uppercase;
    font-size: 21px;
    margin: 30px 0 30px;
}

a.btn-sm-custom {
    display: inline-block;
    color: #fff;
    font-family: 'Congenial Cyrillic BETA';
    font-size: 16px;
    text-decoration: underline;
    margin: 12px 0;
}

.step-title.step-title-xs {
    text-transform: uppercase;
    font-size: 16px;
    margin: 13px 0 17px;
}

img.img-rec-s {
    filter: drop-shadow(4px 5px 12px black);
    width: 200px;
    margin: 34px auto;
}
a.cross {
    position: absolute;
    right: 15px;
    top: -30px;
}
div#router a.btn-custom {
    font-size: 20px;
}
.r-row-btns {
    width: 320px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.r-row-btns .btn-custom {
    color: #786DB1;
    font-size: 14px !important;
    padding: 10px 0;
}

.rec-render {
    width: 350px;
    max-width: 100%;
    margin: 20px 0 0;
    padding-bottom: 50px;
    position: relative;
    padding: 0 9px;
}

.rec-render img {
    width: 100%;
    margin: 25px 0;
}
img.r-ins-img {
    width: 57%;
    filter: drop-shadow(4px 6px 13px black);
    position: absolute;
    right: -7%;
    top: 61px;
    margin: 0;
}
div#step101r img.r-ins-img {
    top: 160px;
}
div#step103r img.r-ins-img {
    right: -13%;
    top: 133px;
}
div#step104r img.r-ins-img {
    width: 44%;
    top: 127px;
    right: 6%;
}
.rulw {
    width: 330px;
    background: #fff;
    color: #786DB1;
    font-family: 'Congenial Cyrillic BETA';
    padding: 12px 12px;
    font-size: 13px;
    text-align: center;
    border-radius: 4px;
    margin: 0 0 9px;
}

.rul-btn .r-row-btns .btn-custom {
    padding: 12px 0;
}

.rul-btn .r-row-btns {
    width: 330px;
}




@media (max-width: 1200px) {
    h1 {
    font-size: 50px;
}

.step-l span {
    font-size: 30px;
}

.step-l {
    font-size: 20px;
}

header img {
    max-height: 55px;
}
}
@media(max-width: 991px) {
    h1 {
    font-size: 45px;
}

.brds:before {
    left: -27px;
    top: 37px;
}

.selector {
    width: 300px;
}

.selector.selector-sm .selected {
    font-size: 13px;
}

.selected {
    font-size: 16px;
}

.select-item {
    font-size: 17px;
    margin: 15px 0;
}

.selector.selector-sm .select-item {
    font-size: 14px;
    line-height: 1.2;
}

.brds::after {
    width: 100px;
    height: 100px;
    right: -42px;
    top: 0;
    transform: rotate(-41deg);
}
body:before {
    width: 45%;
}

body:after {
    width: 50%;
    background-size: 500px;
    background-position: left top;
}
.f-l > img {
    width: 200px;
}

.fin-t {
    font-size: 50px;
}

.f-l {
    width: 38%;
}

a.btn-cst {
    min-width: 250px;
}

.process.finish {
    justify-content: space-between;
}


.f-r {
    flex: 1 1 auto;
    max-width: 100%;
}
}

@media (max-width: 768px) {
    .step-row {
    flex-direction: column;
    gap: 13px;
    margin: 0 0 31px;
}
.container.process.finish {
    flex-direction: column-reverse;
    margin-top: 40px;
    margin-bottom: 200px;
}

.f-l, .f-r {
    width: 100%;
    min-width: 100%;
}

.f-l > img {
    display: none;
}

.f-r {
    text-align: center;
}
.fin-t {
    font-size: 37px !important;
    margin-bottom: 33px;
}
.c-wrap {
    text-align: left;
}
img.bird3 {transform: scale(0.7);top: 20px;left: -92px;}

img.img1 {
}
.selector {
    width: 500px;
    max-width: 100%;
}

.step-row.brd {
    padding: 25px 0 0;
}

main {
    padding: 25px 0 0px;
}
header {
    gap: 10px;
}

header img {
    max-height: 43px;
}

header div:after {
    right: 13px;
}
}
@media (max-width: 576px) {
    header div {padding-right: 20px;}
.step1 {
    align-items: center;
    padding: 0 59px 158px;
    min-height: calc(100vh - 96px);
}
#step7 {
    min-height: calc(100vh - 96px);
}
body {
    background-image: url(/images/bgsm.png);
}
header div:after {width: 2px;right: 5px;height: 36px;top: 25px;}

header img {
    max-height: 37px;
}

header {
    /* gap: 0; */
    padding: 16px 0;
}

img.img5 {
    width: 190px;
}

img.img6 {
    width: 150px;
}

h1 {
    font-size: 36px;
}

.brds:before {
    width: 65px;
    height: 65px;
    left: 20px;
    top: 60px;
}

.brds::after {
    width: 92px;
    right: 7px;
    top: 20px;
}

.step-l span {
    font-size: 23px;
}

.step-l {
    font-size: 21px;
}
img.img1 {
}

.loader-wrap {
    margin: 200px 0 300px;
}

img.bird3 {
    -moz-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    transform: scale(-1, 1);
    left: 29%;
    width: 128px;
    top: 70px;
}

.lt {
    font-size: 22px;
}

.loader {
    height: 80px;
    border-width: 5px;
}

.prg {
    font-size: 20px;
}

img.bird1 {
    display: none;
}

img.bird {
    left: 32%;
    width: 150px;
    bottom: 107px;
}
.step-r {
    max-width: 100%;
}
img.img2 {
}

.fin-t {
    font-size: 26px !important;
}
img.bird11 {
    display: none;
}

.ct {
    transform: rotate(-15deg);
    left: 25%;
    top: 24%;
    font-size: 4vw !important;
}

div#text {
    transform: rotate(-15deg);
    left: 30%;
    top: 33%;
    font-size: 3.1vw;
    width: 42%;
    min-width: 42%;
}
}
@media (max-width: 450px) {
div#text {
        font-size: 3.7vw !important;
    }
}