﻿.button--action, .button--knock {
    background: #111;
    /*background: rgba(0,0,0,1);*/
    color: #fff;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 18px;
    padding: 15px;
    /*width: 190px;*/
    width: 190px;
    cursor: pointer;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
    -webkit-box-shadow: 0 0 2px rgba(0,0,0,.4);
    -moz-box-shadow: 0 0 2px rgba(0,0,0,.4);
    box-shadow: 0 0 2px rgba(0,0,0,.4);
    z-index: 10000;
    height: 50px;
}

.button--action, .button--knock {
    position: absolute;
    bottom: 10px;
    right: 10px;
    -webkit-transform: translate3d(0,130%,0);
    -moz-transform: translate3d(0,130%,0);
    transform: translate3d(0,130%,0);
}

    .button--action.second-action {
        -webkit-box-shadow: 0 0 2px transparent;
        -moz-box-shadow: 0 0 2px transparent;
        box-shadow: 0 0 2px transparent;
        -webkit-transform: translate3d(0,0,0);
        -moz-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
        z-index: 8000;
    }

        .button--action.second-action.show {
            -webkit-transform: translate3d(0,-60px,0);
            -moz-transform: translate3d(0,-60px,0);
            transform: translate3d(0,-60px,0);
            -webkit-box-shadow: 0 0 2px rgba(0,0,0,.4);
            -moz-box-shadow: 0 0 2px rgba(0,0,0,.4);
            box-shadow: 0 0 2px rgba(0,0,0,.4);
        }

    .button--action.statistics {
        right: 220px;
    }

    .button--action.show, .button--knock.show {
        -webkit-transform: translate3d(0,0,0);
        -moz-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }

.scroll-content .button-menutoggle {
    position: absolute;
    display: inline-block;
    width: auto;
    font-size: 30px;
    padding: 0 10px;
    height: auto;
    z-index: 1000;
    background: 0 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

    .scroll-content .button-menutoggle .button-inner {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .scroll-content .button-menutoggle .menu-icon-text {
        font-size: 16px;
    }

    .scroll-content .button-menutoggle:hover {
        background: 0 0 !important;
    }

@media screen and (max-width:459px) {
    .button--action.statistics {
        right: 0;
        bottom: 10px;
    }

    .statistics.show {
        bottom: 58px;
    }

    .button--action {
        width: 70px;
        font-size: 10px;
        right: 0;
        height: 40px;
        padding: 0;
    }
}

.toast {
    font-family: Helvetica,Arial,sans-serif;
    width: 100%;
    max-width: 500px;
    background: rgba(0,0,0,1);
    color: #fff;
    text-align: center;
    position: absolute;
    padding: 15px;
    pointer-events: none;
    -webkit-box-shadow: 0 0 20px rgba(0,0,0,.6);
    -moz-box-shadow: 0 0 20px rgba(0,0,0,.6);
    box-shadow: 0 0 20px rgba(0,0,0,.6);
    font-size: 20px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    bottom: 36%;
    opacity: 0;
    -webkit-transition: opacity .2s ease-in-out;
    -o-transition: opacity .2s ease-in-out;
    -moz-transition: opacity .2s ease-in-out;
    transition: opacity .2s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 2000;
}

    .toast.show {
        opacity: .8;
    }

@media screen and (min-width:500px) {
    .toast {
        left: 50%;
        margin-left: -250px;
    }
}

ion-menu ion-label {
    padding-left: 40px;
    background-position: 10px center;
    background-repeat: no-repeat;
}

ion-menu .new-game ion-label {
    background-image: url(../assets/images/buttons/menu/new_game.png);
}

ion-menu .score ion-label {
    background-image: url(../assets/images/buttons/menu/statistics.png);
}

ion-menu .appearance ion-label {
    background-image: url(../assets/images/buttons/menu/appearance.png);
}

ion-menu .options ion-label {
    background-image: url(../assets/images/buttons/menu/options.png);
}

ion-menu .players ion-label {
    background-image: url(../assets/images/buttons/menu/players.png);
}

ion-menu .help ion-label {
    background-image: url(../assets/images/buttons/menu/help.png);
}

ion-menu .buy ion-label {
    background-image: url(../assets/images/buttons/menu/buy.png);
}

ion-menu .activate ion-label {
    background-image: url(../assets/images/buttons/menu/activate.png);
}

ion-menu .about ion-label {
    background-image: url(../assets/images/buttons/menu/about.png);
}

.poker-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 146px;
    height: 198px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
    -webkit-transition: -webkit-transform .5s;
    transition: -webkit-transform .5s;
    -o-transition: -o-transform .5s;
    -moz-transition: transform .5s,-moz-transform .5s;
    transition: transform .5s;
    transition: transform .5s,-webkit-transform .5s,-moz-transform .5s,-o-transform .5s;
}

    .poker-card.tint:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,.6);
        -webkit-transform: rotateY(180deg);
        -moz-transform: rotateY(180deg);
        transform: rotateY(180deg);
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
    }

    .poker-card.humanplayer.hover:not(.moving) {
        -webkit-box-shadow: 0 0 20px 5px #83e3f7;
        -moz-box-shadow: 0 0 20px 5px #83e3f7;
        box-shadow: 0 0 20px 5px #83e3f7;
    }

    .poker-card .back, .poker-card .front {
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        backface-visibility: hidden;
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
        overflow: hidden;
    }

    .poker-card > .front {
        -webkit-transform: rotateY(180deg);
        -moz-transform: rotateY(180deg);
        transform: rotateY(180deg);
    }

    .poker-card > .back {
        -webkit-transform: rotateY(0);
        -moz-transform: rotateY(0);
        transform: rotateY(0);
    }

.player-info {
    top: 50%;
    left: 50%;
    display: inline-block;
    text-align: center;
    position: absolute;
    z-index: 1000;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
    height: 100px;
    width: 120px;
    margin-left: -60px;
    margin-top: -50px;
    background: rgba(0,0,0,0);
}

.player-info--avatar {
    width: 60px;
    -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,.8);
    -moz-box-shadow: 1px 1px 2px rgba(0,0,0,.8);
    box-shadow: 1px 1px 2px rgba(0,0,0,.8);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.player-info--footer {
    font-weight: 700;
    color: #fff;
    font-size: 1.1em;
    text-shadow: 1px 1px 2px rgba(0,0,0,.8);
}

.player-info--score {
    font-size: .8em;
}

.player-info.game-end {
    width: 150px;
    height: 150px;
    padding-top: 25px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 2px 2px 2px rgba(0,0,0,.3);
    -moz-box-shadow: 2px 2px 2px rgba(0,0,0,.3);
    box-shadow: 2px 2px 2px rgba(0,0,0,.3);
    -webkit-transform: translate3d(-50%,-50%,0) !important;
    -moz-transform: translate3d(-50%,-50%,0) !important;
    transform: translate3d(-50%,-50%,0) !important;
    top: 53%;
    left: 50%;
}

    .player-info.game-end.place-1 {
        margin-left: -100px;
        background: #652723;
    }

    .player-info.game-end.place-2 {
        margin-left: 100px;
        background: #a9a945;
        z-index: 1001;
    }

.player-info .deadwood {
    -webkit-transform: translate(0,0);
    -moz-transform: translate(0,0);
    -ms-transform: translate(0,0);
    -o-transform: translate(0,0);
    transform: translate(0,0);
    display: inline-block;
}

.player-info.animate-score.place-2 .deadwood {
    -webkit-transition: -webkit-transform .7s;
    transition: -webkit-transform .7s;
    -o-transition: -o-transform .7s;
    -moz-transition: transform .7s,-moz-transform .7s;
    transition: transform .7s;
    transition: transform .7s,-webkit-transform .7s,-moz-transform .7s,-o-transform .7s;
    -webkit-transform: translate3d(-240px,0,0);
    -moz-transform: translate3d(-240px,0,0);
    transform: translate3d(-240px,0,0);
}

.player-info.animate-score.place-1 .deadwood {
    -webkit-transition: -webkit-transform .4s .3s;
    transition: -webkit-transform .4s .3s;
    -o-transition: -o-transform .4s .3s;
    -moz-transition: transform .4s .3s,-moz-transform .4s .3s;
    transition: transform .4s .3s;
    transition: transform .4s .3s,-webkit-transform .4s .3s,-moz-transform .4s .3s,-o-transform .4s .3s;
    -webkit-transform: translate3d(1px,0,0);
    -moz-transform: translate3d(1px,0,0);
    transform: translate3d(1px,0,0);
}

.player-info.place-1 .deadwood:before {
    content: "-";
    opacity: 0;
    position: absolute;
    right: 100%;
    display: inline-block;
    width: 20px;
    text-align: center;
}

.player-info.place-1 .deadwood:after {
    content: "=";
    opacity: 0;
    position: absolute;
    left: 100%;
    width: 20px;
    display: inline-block;
    text-align: center;
}

.player-info.animate-score.place-1 .deadwood:before {
    -webkit-transition: opacity .2s .6s;
    -o-transition: opacity .2s .6s;
    -moz-transition: opacity .2s .6s;
    transition: opacity .2s .6s;
    opacity: 1;
}

.player-info.animate-score.place-1 .deadwood:after {
    -webkit-transition: opacity .2s .6s;
    -o-transition: opacity .2s .6s;
    -moz-transition: opacity .2s .6s;
    transition: opacity .2s .6s;
    opacity: 1;
}

.player-info.animate-score.place-1 .points {
    -webkit-transition: opacity .2s .6s;
    -o-transition: opacity .2s .6s;
    -moz-transition: opacity .2s .6s;
    transition: opacity .2s .6s;
    -webkit-transform: translateX(20px);
    -moz-transform: translateX(20px);
    -ms-transform: translateX(20px);
    -o-transform: translateX(20px);
    transform: translateX(20px);
    opacity: 1;
}

.player-info .score-calc {
    position: relative;
    font-size: 1.3em;
}

.player-info.game-end .deadwood-label, .player-info.game-end .score-calc {
    opacity: 1;
}

.player-info .deadwood-label, .player-info .score-calc {
    opacity: 0;
}

.player-info .points {
    position: absolute;
    top: 0;
    width: 25px;
    opacity: 0;
    display: inline-block;
}

.player-info .player-info--bonus {
    background: rgba(0,0,0,.5);
    color: #fff;
    font-size: 1.2em;
    text-shadow: 1px 1px 2px rgba(0,0,0,.8);
    padding: 3px;
    display: inline-block;
    -webkit-transform: scaleY(0);
    -moz-transform: scaleY(0);
    -ms-transform: scaleY(0);
    -o-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: top;
    -moz-transform-origin: top;
    -ms-transform-origin: top;
    -o-transform-origin: top;
    transform-origin: top;
    opacity: 0;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
    position: absolute;
    top: 100%;
    left: 10px;
    width: 130px;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.5);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,.5);
    box-shadow: 0 1px 2px rgba(0,0,0,.5);
}

.player-info.animate-bonus.place-1 .player-info--bonus {
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -o-transform: scaleY(1);
    transform: scaleY(1);
    opacity: 1;
}

.message-bubble {
    display: block;
    padding: 10px;
    min-width: 100px;
    position: absolute;
    background: rgba(0,0,0,.5);
    left: 60%;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    display: none;
    color: #fff;
}

.message-bubble {
    margin-left: 30px;
}

    .message-bubble.show {
        display: block;
    }

    .message-bubble:before {
        content: "";
        border: 8px solid rgba(0,0,0,.5);
        border-bottom-color: transparent;
        border-left-color: transparent;
        border-top-color: transparent;
        position: absolute;
        top: 50%;
        left: -16px;
        margin-top: -8px;
    }

.player-info.thinking img {
    -webkit-animation: pulsing 1s alternate infinite;
    -moz-animation: pulsing 1s alternate infinite;
    -o-animation: pulsing 1s alternate infinite;
    animation: pulsing 1s alternate infinite;
}

@-webkit-keyframes pulsing {
    from {
        -webkit-box-shadow: 0 0 0 #000,inset 0 0 0 #add8e6,0 0 0 0 #add8e6;
        box-shadow: 0 0 0 #000,inset 0 0 0 #add8e6,0 0 0 0 #add8e6;
    }

    to {
        -webkit-box-shadow: 0 0 0 #000,inset 0 0 10px #add8e6,0 0 10px 10px #add8e6;
        box-shadow: 0 0 0 #000,inset 0 0 10px #add8e6,0 0 10px 10px #add8e6;
    }
}

@-moz-keyframes pulsing {
    from {
        -moz-box-shadow: 0 0 0 #000,inset 0 0 0 #add8e6,0 0 0 0 #add8e6;
        box-shadow: 0 0 0 #000,inset 0 0 0 #add8e6,0 0 0 0 #add8e6;
    }

    to {
        -moz-box-shadow: 0 0 0 #000,inset 0 0 10px #add8e6,0 0 10px 10px #add8e6;
        box-shadow: 0 0 0 #000,inset 0 0 10px #add8e6,0 0 10px 10px #add8e6;
    }
}

@-o-keyframes pulsing {
    from {
        box-shadow: 0 0 0 #000,inset 0 0 0 #add8e6,0 0 0 0 #add8e6;
    }

    to {
        box-shadow: 0 0 0 #000,inset 0 0 10px #add8e6,0 0 10px 10px #add8e6;
    }
}

@keyframes pulsing {
    from {
        -webkit-box-shadow: 0 0 0 #000,inset 0 0 0 #add8e6,0 0 0 0 #add8e6;
        -moz-box-shadow: 0 0 0 #000,inset 0 0 0 #add8e6,0 0 0 0 #add8e6;
        box-shadow: 0 0 0 #000,inset 0 0 0 #add8e6,0 0 0 0 #add8e6;
    }

    to {
        -webkit-box-shadow: 0 0 0 #000,inset 0 0 10px #add8e6,0 0 10px 10px #add8e6;
        -moz-box-shadow: 0 0 0 #000,inset 0 0 10px #add8e6,0 0 10px 10px #add8e6;
        box-shadow: 0 0 0 #000,inset 0 0 10px #add8e6,0 0 10px 10px #add8e6;
    }
}

.splash {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: #1a9056;*/
    background: deepskyblue;
    text-align: center;
    z-index: 1000;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.splash--logo {
    width: 450px;
    max-width: 95%;
    background: url(../assets/images/splash.png);
    background-position: center 70%;
    background-repeat: no-repeat;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    display: inline-block;
    position: relative;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

    .splash--logo:before {
        content: "";
        display: block;
        padding-top: 60%;
    }

.splash--preload-bar {
    width: 240px;
    padding: 4px;
    background: rgba(25,25,25,.5);
    display: inline-block;
}

.splash--progress {
    padding: 12px;
    width: 0%;
    background: #fff;
    -webkit-transition: width .3s ease-in;
    -o-transition: width .3s ease-in;
    -moz-transition: width .3s ease-in;
    transition: width .3s ease-in;
}

.preloader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.4);
    color: #fff;
    font-size: 30px;
    text-align: center;
    display: none;
}

    .preloader:before {
        content: "";
        display: block;
        height: 40%;
    }

    .preloader span {
        display: inline-block;
        -webkit-animation: movement 1.2s ease-out .1s infinite;
        -moz-animation: movement 1.2s ease-out .1s infinite;
        -o-animation: movement 1.2s ease-out .1s infinite;
        animation: movement 1.2s ease-out .1s infinite;
    }

        .preloader span:nth-child(2) {
            -webkit-animation-delay: .2s;
            -moz-animation-delay: .2s;
            -o-animation-delay: .2s;
            animation-delay: .2s;
        }

        .preloader span:nth-child(3) {
            -webkit-animation-delay: .3s;
            -moz-animation-delay: .3s;
            -o-animation-delay: .3s;
            animation-delay: .3s;
        }

        .preloader span:nth-child(4) {
            -webkit-animation-delay: .4s;
            -moz-animation-delay: .4s;
            -o-animation-delay: .4s;
            animation-delay: .4s;
        }

        .preloader span:nth-child(5) {
            -webkit-animation-delay: .5s;
            -moz-animation-delay: .5s;
            -o-animation-delay: .5s;
            animation-delay: .5s;
        }

@-webkit-keyframes movement {
    0% {
        opacity: .3;
    }

    15% {
        opacity: .9;
    }

    100% {
        opacity: .3;
    }
}

@-moz-keyframes movement {
    0% {
        opacity: .3;
    }

    15% {
        opacity: .9;
    }

    100% {
        opacity: .3;
    }
}

@-o-keyframes movement {
    0% {
        opacity: .3;
    }

    15% {
        opacity: .9;
    }

    100% {
        opacity: .3;
    }
}

@keyframes movement {
    0% {
        opacity: .3;
    }

    15% {
        opacity: .9;
    }

    100% {
        opacity: .3;
    }
}

.counters {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    width: 600px;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
    margin-top: -75px;
    pointer-events: none;
}

    .counters.cpu {
        margin-top: 5px;
    }

.counter {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    bottom: 120px;
    background: rgba(0,0,0,.6);
    padding: 2px;
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,.5);
    -moz-box-shadow: 0 0 5px rgba(0,0,0,.5);
    box-shadow: 0 0 5px rgba(0,0,0,.5);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    height: 60px;
}

    .counter.empty {
        visibility: hidden;
    }

.counter--title {
    text-align: center;
    padding: 2px;
    color: #fff;
    font-weight: 700;
}

.counter--card {
    background: #fff;
    padding: 2px 3px;
    display: inline-block;
    font-size: 12px;
    width: 20px;
    text-align: center;
    line-height: 1em;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    font-weight: 700;
    margin-left: 1px;
}

    .counter--card:nth-child(1) {
        margin-left: 0;
    }

.counter--meld {
    margin-left: 5px;
}

    .counter--meld:nth-child(1) {
        margin-left: 0;
    }

.counter--card.diamond, .counter--card.heart {
    color: #bf000d;
}

.counter--card-rank {
    display: block;
}

.counter--card-suit {
    font-size: 1em;
}

.counter--cards-wrapper {
    text-align: center;
}

@media screen and (max-width:600px) {
    .counters {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-top: -140px;
    }

        .counters .counter:nth-child(1) {
            margin-bottom: 5px;
        }

    .counter--meld {
        margin-left: 1px;
    }
}

#end-message {
    position: absolute;
    font-size: 4em;
    height: 80px;
    line-height: 80px;
    text-align: center;
    top: 50%;
    left: 0;
    right: 0;
    margin-top: -40px;
    font-family: Impact,-apple-system,"Helvetica Neue",Roboto,"Segoe UI",sans-serif;
    z-index: 10000;
    color: #fff;
    text-shadow: 0 1px 1px #bbb,0 2px 0 #999,0 3px 0 #888,0 4px 0 #777,0 5px 0 #666,0 6px 0 #555,0 7px 0 #444,0 8px 0 #333,0 9px 7px #302314;
    -webkit-transform: scale3d(0,0,0);
    -moz-transform: scale3d(0,0,0);
    transform: scale3d(0,0,0);
}

    #end-message.show {
        -webkit-transform: scale3d(1,1,1);
        -moz-transform: scale3d(1,1,1);
        transform: scale3d(1,1,1);
        -webkit-transition: -webkit-transform 4s;
        transition: -webkit-transform 4s;
        -o-transition: -o-transform 4s;
        -moz-transition: transform 4s,-moz-transform 4s;
        transition: transform 4s;
        transition: transform 4s,-webkit-transform 4s,-moz-transform 4s,-o-transform 4s;
    }

.platform-edge #end-message.show {
    -webkit-transform: scale3d(1,1,1) rotate(.02deg);
    -moz-transform: scale3d(1,1,1) rotate(.02deg);
    transform: scale3d(1,1,1) rotate(.02deg);
}

@media screen and (max-width:761px) {
    #end-message {
        font-size: 50px;
    }
}

@media screen and (max-width:500px) {
    #end-message {
        font-size: 40px;
    }
}

@media screen and (max-width:400px) {
    #end-message {
        font-size: 35px;
    }
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
    -webkit-perspective: 8000px;
    -moz-perspective: 8000px;
    perspective: 8000px;
    font-family: Helvetica,Arial,sans-serif;
}

.app-wrapper {
    position: relative;
    height: 100%;
    margin-right: 160px;
    overflow: hidden;
}

#game-content {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    -webkit-perspective: 8000px;
    -moz-perspective: 8000px;
    perspective: 8000px;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
}

page-home .scroll-content {
    overflow: hidden;
}

.about .scroll-content, .help .scroll-content, .options .scroll-content, .rate-reminder .scroll-content, page-avatars .scroll-content {
    margin-top: 55px;
}

.rate-reminder button {
    margin-bottom: 10px;
}

.rate-reminder div {
    font-size: 16px;
}

page-avatars .list-md {
    margin-bottom: 0;
}

@media screen and (max-width:679px) {
    .app-wrapper {
        margin-left: 0;
    }
}
