*, *:before, *:after, a {
    box-sizing: border-box;
    outline: none;
}

html {
    font-size: 100%;
}

body {
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    color: #000000;
    background-color: #1F1F1F;
    font-family: 'RobotoCondensed';
    -webkit-text-size-adjust: none;
    -webkit-font-smoothing: antialiased;
}

a:link, a:visited, a:focus, a:hover {
    outline: none;
    text-decoration: none;
    color: #FFF801;
}

input, textarea, button, select {
    outline: none;
    font-family: 'RobotoCondensed';
    font-size: 100%;
    -webkit-appearance: none;
}

#menu_line {
    z-index: 10000;
}

#menu_gap {
    width: 100%;
    height: 96px;
}

.color_blue {
   color: #3559CC;
}

#white_screen {
    position: fixed;
    z-index: 8000;
    left: 0;
    top: 96px;
    width: 100%;
    height: calc(100vh - 96px);
    overflow: hidden;
    background-color: #ffffff;
    background-image: url(../images/vezet_logo.png), url(../images/ivi_logo.svg);
    background-size: 50% auto, 5% auto;
    background-repeat: no-repeat, no-repeat;
    background-position: center 20%, center 85%;
    display: none;
    opacity: 0;
}

#mob_vertical_screen {
    position: fixed;
    z-index: 9000;
    left: 0;
    top: 64px;
    width: 100%;
    height: calc(100vh - 64px);
    overflow: hidden;
    background-color: #ffffff;
    display: none;
    padding: 4rem;
    padding-top: 10rem;
    text-align: center;
    color: #3559CC;
}

#game_screen {
    position: relative;
    width: 100%;
    height: 38vw;
    background: #72A8DB;
    overflow: hidden;
}

#game_camera {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0%;
    top: 0%;
    overflow: hidden;
}

.game_camera_level1 {
    background: #72A8DB;
    background: -moz-linear-gradient(top, #72A8DB 0%, #bfe1ff 89%, #3B3B3B 90%, #3B3B3B 100%);
    background: -webkit-linear-gradient(top, #72A8DB 0%, #bfe1ff 89%, #3B3B3B 90%, #3B3B3B 100%);
    background: linear-gradient(to bottom, #72A8DB 0%, #bfe1ff 89%, #3B3B3B 90%, #3B3B3B 100%);
}

.game_camera_level2 {
    background: #010b23;
    background: -moz-linear-gradient(top, #010b23 0%, #02184A 89%, #3B3B3B 90%, #3B3B3B 100%);
    background: -webkit-linear-gradient(top, #010b23 0%, #02184A 89%, #3B3B3B 90%, #3B3B3B 100%);
    background: linear-gradient(to bottom, #010b23 0%, #02184A 89%, #3B3B3B 90%, #3B3B3B 100%);
}

.game_camera_level3 {
    background: #FFDAD0;
    background: -moz-linear-gradient(top, #FFDAD0 0%, #FF6C66 89%, #3B3B3B 90%, #3B3B3B 100%);
    background: -webkit-linear-gradient(top, #FFDAD0 0%, #FF6C66 89%, #3B3B3B 90%, #3B3B3B 100%);
    background: linear-gradient(to bottom, #FFDAD0 0%, #FF6C66 89%, #3B3B3B 90%, #3B3B3B 100%);
}

#game_level_result {
    position: absolute;
    z-index: 5000;
    left: 40%;
    top: -100%;
    text-align: center;
}

#game_share {
    padding: 0.5rem;
    background: #ffffff;
    margin-top: 1rem;
    border-radius: 1rem;
    border: 10px solid #689FCC;
    display: none;
}

#game_final_text {
    position: absolute;
    z-index: 5000;
    left: 25%;
    top: 5%;
    width: 40%;
    text-align: center;
    padding: 1rem;
    background: #ffffff;
    margin-top: 2rem;
    border-radius: 1rem;
    border: 10px solid #689FCC;
    display: none;
}

#game_final_text a {
    color: #3559CC;
    text-decoration: underline;
}

#game_level_result_menshov {
    width: 10vw;
    height: 10vw;
    background-color: #ffffff;
    border-radius: 50%;
    background-image: url(../images/menshov.png);
    background-size: auto 90%;
    background-repeat: no-repeat;
    background-position: center bottom;
    border: 10px solid #689FCC;
}

#game_level_result_text {
    position: absolute;
    left: -12vw;
    top: -8vw;
    width: 15vw;
    height: 12vw;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center bottom;
}


.game_level_button {
    display: none;
    background-color: #3559CC;
    color: #ffffff;
    padding: 1rem;
    border-radius: 1rem;
    margin-top: 1rem;
    cursor: pointer;
}



#game_main_text {
    position: absolute;
    z-index: 5000;
    left: 25vw;
    top: 5%;
    text-align: center;
}

#game_main_text_cloud img {
    width: 50vw;
    height: auto;
}

#game_main_text_start {
    display: inline-block;
    background-color: #3559CC;
    color: #ffffff;
    padding: 1rem;
    border-radius: 1rem;
    margin-top: 1rem;
    cursor: pointer;
}



#game_town {
    z-index: 100;
    position: absolute;
    left: -100%;
    top: 20%;
    width: 200%;
    height: 70%;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: left center;
}

#game_persons {
    z-index: 300;
    position: absolute;
    left: -100%;
    top: 20%;
    width: 200%;
    height: 70%;
}

#game_car {
    z-index: 200;
    position: absolute;
    left: 70%;
    bottom: 11%;
    width: 20%;
    height: 20%;
    height: 20%;
}

#volga_body {
    position: absolute;
    left: 0;
    bottom: 10%;
    width: 100%;
    height: auto;
    /* opacity: 0.5; */
}

#volga_wheel1 {
    position: absolute;
    left: 10%;
    bottom: 0;
    width: 14.5%;
    height: auto;
}

#volga_wheel2 {
    position: absolute;
    left: 68%;
    bottom: 0;
    width: 14%;
    height: auto;
}

.wheel_rotation {
    -webkit-animation-name: wheel-spin;
    -webkit-animation-duration: 500ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;

    -moz-animation-name: wheel-spin;
    -moz-animation-duration: 500ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;

    -ms-animation-name: wheel-spin;
    -ms-animation-duration: 500ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;

    animation-name: wheel-spin;
    animation-duration: 500ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@-ms-keyframes wheel-spin { from { -ms-transform: rotate(0deg); } to { -ms-transform: rotate(-360deg); } }
@-moz-keyframes wheel-spin { from {-moz-transform: rotate(0deg); } to { -moz-transform: rotate(-360deg); } }
@-webkit-keyframes wheel-spin { from {-webkit-transform: rotate(0deg); } to { -webkit-transform: rotate(-360deg); } }
@keyframes wheel-spin { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }

.wheel_stop {
    -webkit-animation-name: wheel-stop;
    -webkit-animation-duration: 2000ms;
    -webkit-animation-timing-function: ease-out;

    -moz-animation-name: wheel-stop;
    -moz-animation-duration: 2000ms;
    -moz-animation-timing-function: ease-out;

    -ms-animation-name: wheel-stop;
    -ms-animation-duration: 2000ms;
    -ms-animation-timing-function: ease-out;

    animation-name: wheel-stop;
    animation-duration: 2000ms;
    animation-timing-function: ease-out;
}

@-ms-keyframes wheel-stop { from { -ms-transform: rotate(0deg); } to { -ms-transform: rotate(-360deg); } }
@-moz-keyframes wheel-stop { from {-moz-transform: rotate(0deg); } to { -moz-transform: rotate(-360deg); } }
@-webkit-keyframes wheel-stop { from {-webkit-transform: rotate(0deg); } to { -webkit-transform: rotate(-360deg); } }
@keyframes wheel-stop { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }


#game_pers_tsiganov_head {
    position: absolute;
    left: 44%;
    bottom: 59%;
    width: 7%;
    height: auto;
}


/* первый уровень */
#game_pers_kyaro {
    position: absolute;
    left: 95%;
    bottom: 9%;
    width: auto;
    height: 25%;
    cursor: pointer;
    z-index: 5000;
    display: none;
}

#game_pers_lagash {
    position: absolute;
    left: 96.5%;
    bottom: 9%;
    width: auto;
    height: 22%;
    cursor: pointer;
    z-index: 5000;
    display: none;
}

#game_pers_berber {
    position: absolute;
    left: 98%;
    bottom: 9%;
    width: auto;
    height: 21%;
    cursor: pointer;
    z-index: 5000;
    display: none;
}

#game_pers_kyaro_head {
    position: absolute;
    left: 55%;
    bottom: 55%;
    width: 10%;
    height: auto;
    display: none;
}

#game_pers_lagash_head {
    position: absolute;
    left: 57%;
    bottom: 57%;
    width: 8.5%;
    height: auto;
    display: none;
}

#game_pers_berber_head {
    position: absolute;
    left: 57%;
    bottom: 55%;
    width: 7.5%;
    height: auto;
    display: none;
}

#game_baloon_kyaro {
    position: absolute;
    left: 94.6%;
    bottom: 35%;
    width: auto;
    height: 25%;
    cursor: pointer;
    z-index: 5000;
    display: none;
}


/* второй уровень */
#game_pers_vodka {
    position: absolute;
    left: 95%;
    bottom: 9%;
    width: auto;
    height: 8%;
    cursor: pointer;
    z-index: 5000;
    display: none;
}

#game_pers_solov {
    position: absolute;
    left: 96.7%;
    bottom: 9%;
    width: auto;
    height: 22%;
    cursor: pointer;
    z-index: 5000;
    display: none;
}

#game_pers_polits {
    position: absolute;
    left: 98%;
    bottom: 9%;
    width: auto;
    height: 23%;
    cursor: pointer;
    z-index: 5000;
    display: none;
}

#game_pers_vodka_head {
    position: absolute;
    left: 55%;
    bottom: 55%;
    width: 12%;
    height: auto;
    display: none;
}

#game_pers_solov_head {
    position: absolute;
    left: 57%;
    bottom: 57%;
    width: 6.5%;
    height: auto;
    display: none;
}

#game_pers_polits_head {
    position: absolute;
    left: 57%;
    bottom: 55%;
    width: 7.5%;
    height: auto;
    display: none;
}

#game_baloon_tsiganov {
    position: absolute;
    left: 7.5%;
    bottom: 20%;
    width: auto;
    height: 25%;
    cursor: pointer;
    z-index: 5000;
    display: none;
}


/* третий уровень */
#game_pers_hodch {
    position: absolute;
    left: 95%;
    bottom: 9%;
    width: auto;
    height: 23%;
    cursor: pointer;
    z-index: 5000;
    display: none;
}

#game_pers_lenkov {
    position: absolute;
    left: 96.5%;
    bottom: 9%;
    width: auto;
    height: 16%;
    cursor: pointer;
    z-index: 5000;
    display: none;
}

#game_pers_snigir {
    position: absolute;
    left: 98%;
    bottom: 9%;
    width: auto;
    height: 21%;
    cursor: pointer;
    z-index: 5000;
    display: none;
}

#game_pers_hodch_head {
    position: absolute;
    left: 56%;
    bottom: 52%;
    width: 10%;
    height: auto;
    display: none;
}

#game_pers_lenkov_head {
    position: absolute;
    left: 57%;
    bottom: 58%;
    width: 6.5%;
    height: auto;
    display: none;
}

#game_pers_snigir_head {
    position: absolute;
    left: 57%;
    bottom: 59%;
    width: 7.5%;
    height: auto;
    display: none;
}

#game_baloon_hodch {
    position: absolute;
    left: 94.6%;
    bottom: 35%;
    width: auto;
    height: 25%;
    cursor: pointer;
    z-index: 5000;
    display: none;
}


@media screen and (orientation:portrait)
{
    #mob_vertical_screen { display: block; }
}


@media all and (min-width: 1px)and (max-width: 960px) {
    #menu_gap {
        height: 64px;
    }

    #white_screen {
        top: 64px;
        height: calc(100vh - 64px);
    }

    #game_share {
        position: fixed;
        top: 80px;
        right: 16px;
        margin-top: auto;
    }

    #game_main_text_start { margin-top: 0.4rem; }
}