h1,
p {
    line-height: 1
}

#game .wrapper,
#turnDevice,
.muteContainer {
    top: 0;
    position: absolute
}

@font-face {
    font-family: robotoregular;
    src: url(../assets/font/Roboto-Regular-webfont.eot);
    src: url(../assets/font/Roboto-Regular-webfont.eot?#iefix) format("embedded-opentype"), url(../assets/font/Roboto-Regular-webfont.woff) format("woff"), url(../assets/font/Roboto-Regular-webfont.ttf) format("truetype"), url(../assets/font/Roboto-Regular-webfont.svg#robotoregular) format("svg");
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: robotoblack;
    src: url(../assets/font/Roboto-Black-webfont.eot);
    src: url(../assets/font/Roboto-Black-webfont.eot?#iefix) format("embedded-opentype"), url(../assets/font/Roboto-Black-webfont.woff) format("woff"), url(../assets/font/Roboto-Black-webfont.ttf) format("truetype"), url(../assets/font/Roboto-Black-webfont.svg#robotoblack) format("svg");
    font-weight: 400;
    font-style: normal
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-tap-highlight-color: transparent
}

html {
    overflow: hidden;
    cursor: default;
    font-size: 16px;
    font-family: robotoregular
}

::-webkit-input-placeholder {
    color: #00528c
}

:-moz-placeholder {
    color: #00528c
}

::-moz-placeholder {
    color: #00528c
}

:-ms-input-placeholder {
    color: #00528c
}

input {
    -webkit-user-select: initial;
    -khtml-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial
}

button {
    background: 0 0;
    border: 0;
    outline: 0
}

button:hover {
    cursor: pointer
}

h1 {
    font-size: 2em
}

p {
    font-weight: 400;
    font-size: 1.2em
}

#screens {
    width: 100vw;
    height: 100vh
}

#screens .screen {
    display: none;
    height: 100vh
}

#screens .screen.show {
    display: block
}

#conversionTarget {
    display: none
}

#mute,
#mute.muted {
    width: 83px;
    height: 83px;
    background-repeat: no-repeat;
    background-image: url(../assets/img/buttons.png);
    display: block;
    overflow: hidden
}

.scale {
    transform-origin: top left
}

.scale.scale-top-center {
    transform-origin: top center
}

.scale.scale-center {
    transform-origin: center center
}

.scale.scale-bottom-center {
    transform-origin: bottom center
}

.scale.scale-bottom-left {
    transform-origin: bottom left
}

.scale.scale-bottom-right {
    transform-origin: bottom right
}

.scale.scale-top-left {
    transform-origin: top left
}

.muteContainer {
    left: 0;
    z-index: 1000
}

#mute {
    background-position: -316px -432px;
    margin-top: 24px;
    margin-left: 24px
}

#mute.muted {
    background-position: -231px -427px
}

#mute.hide,
#turnDevice.hide {
    display: none
}

#turnDevice {
    left: 0;
   
    width: 100vw;
    height: 100vh
}

@-webkit-keyframes pulsate {
    from {
        transform: scale3d(.8, .8, 1)
    }
    to {
        transform: scale3d(1, 1, 1)
    }
}

@-o-keyframes pulsate {
    from {
        transform: scale3d(.8, .8, 1)
    }
    to {
        transform: scale3d(1, 1, 1)
    }
}

@-moz-keyframes pulsate {
    from {
        transform: scale3d(.8, .8, 1)
    }
    to {
        transform: scale3d(1, 1, 1)
    }
}

@keyframes pulsate {
    from {
        transform: scale3d(.8, .8, 1)
    }
    to {
        transform: scale3d(1, 1, 1)
    }
}

#menu {
    background: url(../assets/img/bg/bg_start.jpg) top center/cover no-repeat
}

#highscore .headline,
#menu .logo {
    background-image: url(../assets/img/labels.png)
}

#menu .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 110px
}

#menu .logo {
    overflow: hidden;
    width: 605px;
    height: 718px;
    background-repeat: no-repeat;
    background-position: -1px -1px;
    display: block
}

#menu .buttons {
    width: 500px;
    margin-top: -25px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around
}

#menu .buttons button.play {
    overflow: hidden;
    width: 112px;
    height: 112px;
    background-repeat: no-repeat;
    background-image: url(../assets/img/buttons.png);
    background-position: -394px -1px;
    -webkit-animation: pulsate 1s ease-in-out infinite alternate;
    -o-animation: pulsate 1s ease-in-out infinite alternate;
    -moz-animation: pulsate 1s ease-in-out infinite alternate;
    animation: pulsate 1s ease-in-out infinite alternate;
    display: block
}

#menu .buttons button.highscore,
#menu .buttons button.instructions {
    height: 90px;
    background-image: url(../assets/img/buttons.png);
    display: block;
    overflow: hidden;
    background-repeat: no-repeat
}

#menu .buttons button.instructions {
    width: 94px;
    background-position: -394px -115px
}

#menu .buttons button.highscore {
    width: 89px;
    background-position: -363px -340px
}

#highscore {
    background: url(../assets/img/bg/bg_intro.jpg) top center/cover no-repeat
}

#highscore .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 110px
}

#highscore .headline {
    overflow: hidden;
    width: 518px;
    height: 85px;
    background-repeat: no-repeat;
    background-position: -1px -1363px;
    display: block;
    color: #fee25d;
    font-family: robotoblack;
    text-transform: uppercase;
    line-height: 85px;
    text-align: center;
    margin-bottom: 25px
}

#highscore .entry,
#highscore .entry.yourScore {
    height: 58px;
    background-image: url(../assets/img/labels.png);
    display: flex;
    background-repeat: no-repeat;
    overflow: hidden
}

#charSelect .headline,
#instructions .headline {
    text-transform: uppercase;
    margin-bottom: 60px;
    text-align: center;
    font-family: robotoblack
}

#highscore .entry {
    width: 417px;
    background-position: -1px -1929px;
    color: #fff;
    flex-direction: row;
    align-items: center
}

#highscore .entry .position {
    font-family: robotoblack;
    font-size: 2em;
    width: 84px;
    text-align: center
}

#highscore .entry .name {
    flex-grow: 2;
    font-size: 1.5em;
    font-weight: 400;
    padding-left: 15px
}

#highscore .entry .score {
    font-size: 1.5em;
    padding-right: 30px
}

#highscore .entry.highlight {
    color: #fee25d
}

#highscore .entry.yourScore {
    width: 417px;
    background-position: -566px -1360px;
    margin-top: 15px;
    color: #fee25d
}

#highscore .entry.yourScore.hide {
    display: none
}

#highscore button.back {
    overflow: hidden;
    width: 75px;
    height: 74px;
    background-repeat: no-repeat;
    background-image: url(../assets/img/buttons.png);
    background-position: -316px -517px;
    display: block;
    position: absolute;
    left: 30px;
    bottom: 15px
}

#highscore .templates {
    display: none
}

#charSelect {
    background: url(../assets/img/bg/bg_selection.jpg) top center/cover no-repeat
}

#charSelect .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 150px
}

#charSelect .headline {
    overflow: hidden;
    width: 518px;
    height: 85px;
    background-repeat: no-repeat;
    background-image: url(../assets/img/labels.png);
    background-position: -1px -1363px;
    display: block;
    color: #fee25d;
    line-height: 85px
}

#charSelect .buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 518px
}

#charSelect .buttons button.alvin,
#charSelect .buttons button.simon {
    width: 228px;
    height: 507px;
    background-image: url(../assets/img/buttons.png);
    display: block;
    overflow: hidden;
    background-repeat: no-repeat
}

#charSelect .buttons button.alvin {
    background-position: -1px -1px
}

#charSelect .buttons button.simon {
    background-position: -1px -510px
}

#instructions {
    background: url(../assets/img/bg/bg_intro.jpg) top center/cover no-repeat
}

#instructions .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 150px
}

#instructions .frame {
    overflow: hidden;
    width: 443px;
    height: 637px;
    background-repeat: no-repeat;
    background-image: url(../assets/img/labels.png);
    background-position: -566px -721px;
    display: flex;
    flex-direction: column;
    align-items: center
}

#instructions .image.step-01,
#instructions .image.step-02,
#instructions .image.step-03,
#instructions .image.step-04,
#instructions .image.step-05,
#instructions .image.step-06,
#instructions .image.step-07,
#instructions .image.step-08 {
    width: 364px;
    height: 385px;
    background-image: url(../assets/img/instructions.png);
    display: block;
    overflow: hidden;
    background-repeat: no-repeat
}

#instructions .image {
    margin-top: 40px;
    flex-shrink: 0
}

#instructions .image.step-01 {
    background-position: -1px -1px
}

#instructions .image.step-02 {
    background-position: -367px -1px
}

#instructions .image.step-03 {
    background-position: -1px -388px
}

#instructions .image.step-04 {
    background-position: -367px -388px
}

#instructions .image.step-05 {
    background-position: -1px -775px
}

#instructions .image.step-06 {
    background-position: -367px -775px
}

#instructions .image.step-07 {
    background-position: -1px -1162px
}

#instructions .image.step-08 {
    background-position: -1px -1549px
}

#instructions .textWrapper {
    flex-grow: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

#instructions .text {
    width: 450px;
    color: #fee25d;
    font-size: 1.9em;
    font-family: robotoblack;
    text-align: center;
    padding: 15px;
    line-height: 1.2
}

#instructions .headline {
    overflow: hidden;
    width: 518px;
    height: 85px;
    background-repeat: no-repeat;
    background-image: url(../assets/img/labels.png);
    background-position: -1px -1363px;
    display: block;
    color: #fee25d;
    line-height: 85px
}

#instructions .buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 518px;
    margin-top: -365px
}

#instructions .buttons.first {
    justify-content: flex-end
}

#instructions .buttons.first button.prev,
#instructions .buttons.last button.next {
    display: none
}

#instructions .buttons button.next,
#instructions .buttons button.prev,
#instructions button.play {
    background-image: url(../assets/img/buttons.png);
    display: block;
    background-repeat: no-repeat;
    overflow: hidden
}

#instructions .buttons button.next {
    width: 83px;
    height: 83px;
    background-position: -231px -512px
}

#instructions .buttons button.prev {
    width: 83px;
    height: 83px;
    background-position: -401px -432px
}

#instructions button.play {
    width: 112px;
    height: 112px;
    background-position: -394px -1px;
    margin-top: 300px
}

#game .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    left: 0;
    width: 100vw;
    z-index: 100;
    padding-top: 30px;
    pointer-events: none
}

#game .score {
    overflow: hidden;
    width: 320px;
    height: 65px;
    background-repeat: no-repeat;
    background-image: url(../assets/img/labels.png);
    background-position: -608px -1px;
    display: block;
    color: #fee25d;
    line-height: 65px;
    font-size: 2.2em;
    font-family: robotoblack;
    text-align: center
}

#game .powerupButtons {
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 100vw;
    height: 145px;
    bottom: 0;
    z-index: 101;
    align-items: center
}

#game .completeButton {
    display: inline-block;
    width: 100px
}

#game button.powerupButton {
    overflow: hidden;
    width: 95px;
    height: 95px;
    background-repeat: no-repeat;
    background-image: url(../assets/img/powerup.png);
    background-position: -310px -1px;
    display: block;
    position: absolute;
    margin-top: 8px;
    margin-left: 7px
}

#game .powerupButtonActive {
    overflow: hidden;
    width: 82px;
    height: 82px;
    background-repeat: no-repeat;
    background-image: url(../assets/img/powerup.png);
    background-position: -491px -1px;
    display: block;
    position: absolute;
    margin-top: 12px;
    margin-left: 9px
}

#game .powerupBg,
#game .powerupFg {
    overflow: hidden;
    width: 104px;
    height: 104px;
    background-repeat: no-repeat;
    background-image: url(../assets/img/powerup.png);
    display: block;
    position: absolute
}

#game .powerupBg {
    background-position: -1px -1px
}

#game .powerupFg {
    background-position: -107px -1px
}

#game .countDown {
    display: none;
    margin-top: 200px
}

#game .countDown.c-1,
#game .countDown.c-2,
#game .countDown.c-3,
#game .countDown.c-go {
    height: 98px;
    display: block;
    overflow: hidden;
    background-repeat: no-repeat;
    background-image: url(../assets/img/labels.png)
}

#game .countDown.c-3 {
    width: 87px;
    background-position: -831px -201px
}

#game .countDown.c-2 {
    width: 87px;
    background-position: -897px -101px
}

#game .countDown.c-1 {
    width: 87px;
    background-position: -930px -1px
}

#game .countDown.c-go {
    width: 207px;
    background-position: -608px -568px
}

#game .flagHolder {
    display: none;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 486px;
    height: 507px;
    overflow: hidden
}

#game .flagHolder .flag {
    overflow: hidden;
    width: 486px;
    height: 507px;
    background-repeat: no-repeat;
    background-image: url(../assets/img/labels.png);
    background-position: -521px -1420px;
    display: block;
    transform: translate3d(500px, 0, 0);
    transition: transform 1s
}

#game .flagHolder .flag.animate {
    transform: translate3d(0, 0, 0)
}

#game .flagHolder.show {
    display: block
}

#gameOver {
    background: url(../assets/img/bg/bg_selection.jpg) top center/cover no-repeat
}

#gameOver .frame,
#gameOver .frame input.name {
    background-image: url(../assets/img/labels.png)
}

#gameOver .buttons button.play,
#gameOver .frame,
#gameOver .frame input.name {
    background-repeat: no-repeat;
    overflow: hidden
}

#gameOver .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 110px
}

#gameOver .frame {
    width: 563px;
    height: 640px;
    background-position: -1px -721px;
    display: flex;
    flex-direction: column;
    align-items: center
}

#gameOver .frame h1.score {
    color: #fee25d;
    padding-top: 90px
}

#gameOver .frame p.score {
    color: #fee25d;
    margin-top: 10px;
    font-size: 3em;
    font-family: robotoblack
}

#gameOver .frame input.name {
    width: 287px;
    height: 47px;
    background-position: -608px -68px;
    display: block;
    border: 0;
    outline: 0;
    background-color: transparent;
    margin-top: 15px;
    text-align: center;
    font-size: 2em
}

#gameOver .frame .bubble p.playAgain,
#gameOver .frame input.name.hide {
    display: none
}

#gameOver .frame .bubble {
    width: 175px;
    text-align: center;
    align-self: flex-end;
    margin-right: 130px;
    margin-top: 110px
}

#gameOver .frame .bubble h2 {
    color: #fee25d;
    font-size: 1.5em;
    line-height: 1.5em
}

#gameOver .frame .bubble p {
    color: #fff;
    line-height: 1.2;
    font-size: 1.1em
}

#gameOver .buttons {
    width: 595px;
    margin-top: -70px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around
}

#gameOver .buttons button.play {
    width: 161px;
    height: 163px;
    background-image: url(../assets/img/buttons.png);
    background-position: -231px -1px;
    display: block
}

#gameOver .buttons button.instructions {
    overflow: hidden;
    width: 132px;
    height: 127px;
    background-repeat: no-repeat;
    background-image: url(../assets/img/buttons.png);
    background-position: -231px -166px;
    display: block
}

#gameOver .buttons button.highscore,
#gameOver .buttons button.upload {
    overflow: hidden;
    width: 130px;
    background-repeat: no-repeat;
    background-image: url(../assets/img/buttons.png)
}

#gameOver .buttons button.upload {
    height: 130px;
    background-position: -231px -295px;
    display: block
}

#gameOver .buttons button.highscore {
    height: 131px;
    background-position: -365px -207px;
    display: none
}

#gameOver.noNameEntry .bubble {
    margin-top: calc(110px + 47px + 15px)
}

#gameOver.noNameEntry .bubble p.nameEntry {
    display: none
}

#gameOver.noNameEntry .bubble p.playAgain {
    display: block
}

#gameOver.noNameEntry input.name {
    display: none
}

#gameOver.noNameEntry button.highscore {
    display: block
}

#gameOver.noNameEntry button.upload {
    display: none
}

#preloader {
    background: #000
}

#preloader .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh
}

#preloader .percent {
    margin-top: 25px;
    font-family: robotoblack;
    color: #fee25d;
    font-size: 32px
}