@charset "UTF-8";
@import url(https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap);

/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
html {
    line-height: 1.15;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

article,
aside,
footer,
header,
nav,
section {
    display: block
}

h1 {
    font-size: 2em;
    margin: .67em 0
}

figcaption,
figure,
main {
    display: block
}

figure {
    margin: 1em 40px
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible
}

pre {
    font-family: monospace, monospace;
    font-size: 1em
}

a {
    background-color: transparent;
    -webkit-text-decoration-skip: objects
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted
}

b,
strong {
    font-weight: inherit
}

b,
strong {
    font-weight: bolder
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em
}

dfn {
    font-style: italic
}

mark {
    background-color: #ff0;
    color: #000
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

audio,
video {
    display: inline-block
}

audio:not([controls]) {
    display: none;
    height: 0
}

img {
    border-style: none
}

svg:not(:root) {
    overflow: hidden
}

button,
input,
optgroup,
select,
textarea {
    font-family: sans-serif;
    font-size: 100%;
    line-height: 1.15;
    margin: 0
}

button,
input {
    overflow: visible
}

button,
select {
    text-transform: none
}

[type=reset],
[type=submit],
button,
html [type=button] {
    -webkit-appearance: button
}

[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner,
button::-moz-focus-inner {
    border-style: none;
    padding: 0
}

[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring,
button:-moz-focusring {
    outline: 1px dotted ButtonText
}

fieldset {
    padding: .35em .75em .625em
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal
}

progress {
    display: inline-block;
    vertical-align: baseline
}

textarea {
    overflow: auto
}

[type=checkbox],
[type=radio] {
    box-sizing: border-box;
    padding: 0
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

[type=search]::-webkit-search-cancel-button,
[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

details,
menu {
    display: block
}

summary {
    display: list-item
}

canvas {
    display: inline-block
}

template {
    display: none
}

[hidden] {
    display: none
}

@font-face {
    font-family: raleway-example;
    src: url(../fonts/RalewayRegular.woff) format("woff")
}

@font-face {
    font-family: raleway-example;
    src: url(../fonts/RalewayBold.woff) format("woff");
    font-weight: 700
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

:after,
:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

body,
html {
    height: 100%
}

body {
    font-size: 16px;
    min-width: 320px;
    position: relative;
    line-height: 1.65;
    font-family: raleway-example, sans-serif;
    font-family: Montserrat, sans-serif;
    overflow-x: hidden;
    opacity: 1
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto
}

.text-center {
    text-align: center
}

.main {
    background: url(../img/bg.webp) no-repeat center;
    background-size: cover;
    height: 100vh;
    position: relative;
    padding: 30px 0
}

.contaiter {
    width: 1200px;
    margin: 0 auto
}

.logo {
    width: 180px;
    margin: 0 auto;
    position: relative;
    z-index: 12;
    padding-top: 30px
}

.logo img {
    width: 100%
}

.game {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    overflow: hidden
}

.game__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.game__imge img {
    width: 400px
}

.game__money {
    position: absolute;
    z-index: 1
}

.game__money--left {
    left: 0;
    top: 0;
    height: 90vh
}

.game__money--right {
    right: 0;
    top: 0;
    height: 90vh
}

.game__money--bottom {
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 3
}

.game__money--left-mob {
    display: none;
    left: 0;
    top: 0
}

.game__money--right-mob {
    display: none;
    right: 0;
    top: 0
}

.game__hand {
    width: 200px;
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    -webkit-animation: ani-hand 3s forwards;
    animation: ani-hand 3s forwards;
    z-index: 10
}

.bonus {
    width: 600px;
    color: #fff
}

.bonus__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    width: 100%
}

.bonus__rate {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 25%
}

.bonus__rate h3 {
    padding: 0;
    margin: 0
}

.bonus__counter {
    width: 100%;
    height: 30vh;
    padding: 10px;
    text-align: center;
    background: rgba(103, 54, 136, .8549019608);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px
}

.bonus__sum {
    background: rgba(82, 39, 110, .8549019608);
    padding: 3px
}

.bonus__button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 10px;
    width: 150px;
    height: 150px;
    cursor: pointer;
    position: relative;
    z-index: 10;
    font-weight: 900;
    text-shadow: -3px 3px 2px rgba(0, 0, 0, .5);
    color: #faeb1f;
    font-size: 20px
}

.active {
    -webkit-animation: bounce 7s;
    animation: bounce 7s
}

.bonus-1 {
    background: url(../img/button.webp) no-repeat center;
    background-size: cover
}

.bonus-2 {
    background: url(../img/button-active.webp) no-repeat center;
    background-size: contain
}

.popup {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 11;
    background: rgba(0, 0, 0, .7254901961)
}

.popup__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 500px;
    height: 500px;
    background: url(../img/modal.webp) 100% 100% no-repeat;
    background-size: contain;
    -webkit-transform: translateX(-150%);
    -ms-transform: translateX(-150%);
    transform: translateX(-150%);
    -webkit-animation: popup 1s forwards;
    animation: popup 1s forwards;
    border-radius: 5px;
    padding: 10px;
    text-transform: uppercase
}

.popup__content h3 {
    font-weight: 700;
    color: #fff;
    font-size: 1.8em;
    margin: 0;
    text-align: center
}

.popup__content h3 span {
    background: #fffc03;
    background: -webkit-gradient(linear, left bottom, left top, from(#fffc03), to(#f28f12));
    background: -o-linear-gradient(bottom, #fffc03 0, #f28f12 100%);
    background: linear-gradient(to top, #fffc03 0, #f28f12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.popup__content h2 {
    font-weight: 700;
    color: #fad600;
    font-size: 3em;
    text-shadow: 1px 1px 15px #2130b4;
    margin: 10px 0
}

.popup__button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: url(../img/popup_button.webp) no-repeat center;
    background-size: contain;
    width: 200px;
    height: 50px;
    color: #fff;
    font-size: 1em;
    font-weight: 900;
    text-shadow: 3px 4px 3px rgba(0, 0, 0, .75);
    cursor: pointer;
    margin-top: 20px
}

.popup__button:hover {
    -webkit-transform: scale(1.1) .5s;
    -ms-transform: scale(1.1) .5s;
    transform: scale(1.1) .5s
}

.cards__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.cards__title {
    font-weight: 900;
    font-size: 3em;
    width: 40%;
    text-align: center;
    line-height: 1.2em;
    margin: 0;
    background: #fffc03;
    background: -webkit-gradient(linear, left bottom, left top, from(#fffc03), to(#f28f12));
    background: -o-linear-gradient(bottom, #fffc03 0, #f28f12 100%);
    background: linear-gradient(to top, #fffc03 0, #f28f12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 8
}

.cards__items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.cards__item {
    width: 300px;
    height: 170px;
    cursor: pointer;
    z-index: 5;
    position: relative;
    margin: 10px
}

.cards__item img {
    width: 100%;
    height: 100%
}

.cards__active {
    position: absolute
}

.cards__used {
    padding: 10px
}

.preloader {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, .7254901961);
    z-index: 1001
}

.preloader__image {
    position: relative;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    margin-top: -35px;
    margin-left: -35px;
    text-align: center;
    -webkit-animation: preloader-rotate 2s infinite linear;
    animation: preloader-rotate 2s infinite linear
}

.hidden {
    display: none
}

.game__webp {
    display: none
}

@-webkit-keyframes preloader-rotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes preloader-rotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

.loaded_hiding .preloader {
    -webkit-transition: .3s opacity;
    -o-transition: .3s opacity;
    transition: .3s opacity;
    opacity: 0
}

.loaded .preloader {
    display: none
}

@-webkit-keyframes ani-hand {
    0% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%)
    }

    5% {
        -webkit-transform: translateY(30%);
        transform: translateY(30%)
    }

    95% {
        -webkit-transform: translateY(30%);
        transform: translateY(30%)
    }

    100% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%)
    }
}

@keyframes ani-hand {
    0% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%)
    }

    5% {
        -webkit-transform: translateY(30%);
        transform: translateY(30%)
    }

    95% {
        -webkit-transform: translateY(30%);
        transform: translateY(30%)
    }

    100% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%)
    }
}

@-webkit-keyframes bounce {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    5% {
        -webkit-transform: scale(.9);
        transform: scale(.9)
    }

    95% {
        -webkit-transform: scale(.9);
        transform: scale(.9)
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

@keyframes bounce {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    5% {
        -webkit-transform: scale(.9);
        transform: scale(.9)
    }

    95% {
        -webkit-transform: scale(.9);
        transform: scale(.9)
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

@-webkit-keyframes popup {
    0% {
        -webkit-transform: translateX(-150%);
        transform: translateX(-150%)
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

@keyframes popup {
    0% {
        -webkit-transform: translateX(-150%);
        transform: translateX(-150%)
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

@media only screen and (max-width:1200px) {
    .contaiter {
        width: 100%;
        padding: 0 10px
    }

    .game {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto
    }

    .game__money {
        position: absolute;
        z-index: 1
    }

    .game__money--left {
        display: none
    }

    .game__money--right {
        display: none
    }

    .game__money--left-mob {
        display: block;
        height: 20vh
    }

    .game__money--right-mob {
        display: block;
        height: 20vh
    }

    .game__img img {
        width: 300px;
        padding: 0 10px
    }

    .bonus {
        width: 100%;
        padding: 0 10px
    }

    .bonus__counter {
        height: 250px
    }

    .cards__title {
        width: 100%
    }
}

@media only screen and (max-width:768px) {
    .main {
        height: 100%;
        padding: 0
    }

    .bonus {
        width: 100%;
        padding: 0 10px
    }

    .bonus__counter {
        height: 200px
    }

    .popup__content {
        width: 430px;
        height: 430px
    }

    .popup__content h3 {
        font-size: 1.5em
    }

    .cards__title {
        font-size: 2em
    }
}

@media only screen and (max-width:480px) {
    .logo {
        padding-top: 10px
    }

    .game {
        overflow: hidden
    }

    .game__imge img {
        width: 300px
    }

    .cards__title {
        font-size: 2em
    }

    .cards__item {
        width: 240px;
        height: 140px
    }

    .popup__content {
        width: 300px;
        height: 300px
    }

    .popup__content h3 {
        font-size: 1em
    }

    .popup__content h3:first-child {
        margin-top: 10px
    }

    .popup__content h2 {
        font-size: 1.5em
    }
}