@font-face {
  font-family: 'LapsusPro-Bold';
  src: url('fonts/LapsusPro-Bold.eot?#iefix') format('embedded-opentype'),
       url('fonts/LapsusPro-Bold.woff') format('woff'),
       url('fonts/LapsusPro-Bold.ttf') format('truetype'),
       url('fonts/LapsusPro-Bold.svg#LapsusPro-Bold') format('svg');
  font-weight: normal;
  font-style: normal;
}
body {
  padding: 0;
}
html, body {
  background-color: #fff;
}
* {
  background-repeat: no-repeat;
}
.container {
  min-width: 540px;
  width: 540px;
  z-index: 900;
}
.row {
  margin-right: 0;
  margin-left: 0;
}
.row > div {
  padding-right: 0;
  padding-left: 0;
}
.unselectable,
.container, .container *,
.game-ctrls, .game-ctrls * {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}
.game-header {
  height: 62px;
  background-image: url('../img/game-header-v3.png');
  background-position: left bottom;
  -webkit-background-size: cover;
  background-size: cover;
  overflow: hidden;
}
.game-header-score {
  width: 200px;
  height: 84px;
  background-image: url('../img/game-scoreboard-v2.png');
  background-position: center center;
  -webkit-background-size: cover;
  background-size: cover;
  position: absolute;
  left: auto;
  right: -21px;
  top: -14px;
  transform: scale(0.5);
}
.game-score, .game-time {
  font-size: 30px;
  font-weight: bold;
  position: absolute;
  left: auto;
  right: 5px;
  top: 32px;
  width: 50px;
  color: #fff;
  font-family: "LapsusPro-Bold";
  letter-spacing: 2px;
}
.game-score {
  right: 127px;
  width: 50px;
  text-align: center;
  color: #25292d;
}
.game-header-cntrls {
  position: absolute;
  top: 17px;
  left: auto;
  right: 140px;
  transform-origin: right top;
  transform: scale(0.5);
}
.game-header-cntrls button {
  border: 0 transparent none;
  width: 64px;
  height: 64px;
  background-color: transparent;
  background-image: url('../img/controls-v4.png');
  background-position: left top;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}
.game-header-cntrls button.btn-sound.muted {
  background-position: left bottom;
}
.game-header-cntrls button.btn-music {
  background-position: right top;
  margin-right: 5px;
}
.game-header-cntrls button.btn-music.muted {
  background-position: right bottom;
}
.game-header-cntrls button:hover {
  transform: scale(1.1);
}
.game-area {
  position: relative;
  min-width: 540px;
  width: 540px;
  height: 304px;
  overflow: hidden;
  background-image: url('../img/backclouds-v2.png');
  background-repeat: repeat-x;
  background-size: 200% auto;
  background-color: #88c8e3;
  background-position: left top;
  -webkit-animation: gameclouds 90s linear infinite;
  animation: gameclouds 90s linear infinite;
  text-align: center;
}
@-webkit-keyframes gameclouds {
  0% { background-position: 0 0; }
  100% { background-position: 100% 0; }
}
@keyframes gameclouds {
  0% { background-position: 0 0; }
  100% { background-position: 100% 0; }
}
.game-area > canvas {
  transform: scale(0.4737);
  transform-origin: 0 0;
  width: 1140px;
  height: 641px;
  background-image: url('../img/game-back-v3.png');
  background-position: center center; 
  -webkit-background-size: cover;
  background-size: cover;
}
.centerxy, .game-panel, .game-panel-starting, .loader {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}
.game-panel-player {
  width: 150px;
  height: 200px;
  background-image: url('../img/game-player-v2.png');
  background-position: top left;
  position: absolute;
  left: auto;
  top: auto;
  transform: scale(0.5);
  right: -55px;
  bottom: -56px;
}
.game-panel {
  display: none;
  padding: 20px;
  font-weight: bold;
  width: 90%;
  height: 90%;
  background-image: url('../img/game-panel-v2.png');
  background-position: center center; 
  -webkit-background-size: cover;
  background-size: cover;
  z-index: 999;
  font-family: "LapsusPro-Bold";
}
.game-panel a {
  color: inherit;
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
}
.game-panel a:hover {
  color: #fff;
}
.game-panel h4 {
  text-shadow: #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px;
  font-family: "LapsusPro-Bold";
  -webkit-font-smoothing: antialiased;
  color: #8AC53E;
  font-size: 24px;
}
.game-panel-starting {
  display: none;
  font-family: "LapsusPro-Bold";
  color: #fff000;
  font-size: 120px;
  font-weight: bold;
  text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1),
               0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.2), 0 20px 20px rgba(0,0,0,.15);
}
.game-panel-start .btn {
  margin-top: 10px;
}
.game-instructions > span {
  display: inline-block;
  width: auto;
  height: 32px;
  padding: 5px 20px 0 37px;
  background-image: url('../img/game-items-v3.png');
  background-position: left top;
  background-size: 32px auto;
}
.game-instructions > span:nth-child(2) {
  background-position: left -32px;
}
.game-instructions > span:nth-child(3) {
  background-position: left -96px;
}
.game-instructions > span:last-child {
  background-position: left -64px;
  padding-right: 0;
}
.btn, input, button {
  outline: 0 !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border-radius: 4px !important;
}
.game-panel .btn {
  font-weight: bold;
  height: 58px;
  font-size: 21px;
  padding: 7px 30px 7px 30px;
  background-color: #8AC53E;
  border: 0 transparent none;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 2px 2px rgba(0,0,0,0.3), 0 0 4px 1px rgba(226, 225, 225, 0.3) !important;
  z-index: 2;
  color: rgba(0,0,0,.8);
  text-shadow: 0px 1px 0px rgba(255,255,255,0.5);
}
.game-panel .btns {
  transform-origin: center center;
  transform: scale(0.7);
  white-space: nowrap;
  margin: 0 -85px 0 -85px;
}
.game-panel .btn:hover,
.game-panel .btn:focus {
  background-color: #6FC400;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 2px 2px rgba(0,0,0,0.5), 0 0 4px 1px rgba(0,0,0,0.4) !important;
}
.game-panel .btn.disabled,
.game-panel .btn:disabled {
  background-color: rgba(0,0,0,.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 2px 2px rgba(0,0,0,0.3), 0 0 4px 1px rgba(226, 225, 225, 0.3) !important;
}
.game-panel .btn:after {
  display: block;
  content: "";
  z-index: -1;
  position: absolute;
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(255,255,255,0.5);
  top: -6px;
  bottom: -7px;
  right: -7px;
  left: -7px;
  background: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.08));
}
.txtbox-wrap {
  display: inline-block;
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(255,255,255,0.5);
  background: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.08));
  border-radius: 4px;
  padding: 4px 5px 5px 5px;
}
.txtbox {
  width: 340px;
  padding: 1px 10px 1px 10px;
  font-weight: bold;
  color: #25292d;
}
.txtbox:disabled {
  opacity: 0.8;
}
.game-panel .btn.btn-start,
.game-panel .btn-replay {
  background-image: url('../img/appel.svg') !important;
  background-size: 48px 48px;
  background-position: 15px 4px;
  padding-left: 70px;
  font-size: 31px;
}
.game-panel-highscores-list {
  overflow: auto;
  border: 1px rgba(0,0,0,0.4) solid;
  border-width: 1px 0 1px 0;
  height: 125px;
  margin: 0 10px 10px 10px;
  position: relative;
}
@-webkit-keyframes mgo-bounce {
  0%, 100% { -webkit-transform: scale(0.0) }
  50% { -webkit-transform: scale(1.0) }
}
@keyframes mgo-bounce {
  0%, 100% { transform: scale(0.0); }
  50% { transform: scale(1.0); }
}
.loader {
  width: 40px;
  height: 40px;
}
.loader > div {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #333;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-animation: mgo-bounce 1.0s infinite ease-in-out;
  animation: mgo-bounce 1.0s infinite ease-in-out;
}
.loader > div:last-child {
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}
.list-fail {
  padding-top: 10%;
}
body.lang-en .list-fail::after {
  content: "Could not refresh the highcores, please try again.";
}
body.lang-nl .list-fail::after {
  content: "Kon highcores niet verversen, probeer het nog eens.";
}
a.logo, a.logo2s {

  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  text-decoration: none;
}
a.logo {
  width: 200px;
  height: 28px;
  display: inline-block;
  background-image: url("../img/logo.png");
}
a.logo2s {
  width: 150px;
  height: 39px;
  display: inline-block;
  background-image: url("../img/logo-2service.png");
}
@media (min-width: 576px) {
  body:not(.mobile) .container {
    width: auto;
  }
}
@media (min-width: 768px) {
  body:not(.mobile) .game-area {
    width: 720px;
    height: 405px;
  }
  body:not(.mobile) .game-area > canvas {
    transform: scale(0.632);
  }
  body:not(.mobile) .game-header {
    height: 82px;
  }
  body:not(.mobile) .game-header-cntrls {
    top: 23px;
    right: 200px;
    transform: scale(0.7);
  }
  body:not(.mobile) .game-header-score {
    right: 18px;
    top: -5px;
    transform: scale(0.7);
  }
  body:not(.mobile) .game-panel {
    padding: 30px;
    font-size: 18px;
    width: 80%;
    height: 80%;
  }
  body:not(.mobile) .game-panel h4 {
    font-size: 26px;
  }
  body:not(.mobile) .game-panel .btns {
    transform: scale(0.85);
    margin: 30px -40px 0 -40px;
  }
  body:not(.mobile) .game-panel-starting {
    font-size: 150px;
  }
  body:not(.mobile) .game-panel-player {
    transform: scale(0.8);
    right: -70px;
    bottom: -40px;
  }
  body:not(.mobile) .txtbox-wrap {
    border-radius: 5px;
    padding: 5px 6px 6px 6px;
  }
  body:not(.mobile) .txtbox {
    width: 413px;
  }
  body:not(.mobile) .game-panel-highscores-list {
    height: 135px;
    margin-bottom: -10px;
  }
  body:not(.mobile) .game-instructions > span {
    padding-top: 4px;
  }
}
@media (min-width: 992px) {
  body:not(.mobile) .game-area {
    width: 960px;
    height: 540px;
  }
  body:not(.mobile) .game-area > canvas {
    transform: scale(0.842);
  }
  body:not(.mobile) .game-header {
    height: 109px;
  }
  body:not(.mobile) .game-header-cntrls {
    top: 32px;
    right: 260px;
    transform: scale(0.85);
  }
  body:not(.mobile) .game-header-score {
    right: 53px;
    top: 8px;
    transform: scale(0.85);
  }
  body:not(.mobile) .game-panel {
    font-size: 20px;
    width: 70%;
    height: 70%;
  }
  body:not(.mobile) .game-panel h4 {
    font-size: 28px;
  }
  body:not(.mobile) .game-panel .btns {
    transform: none;
    margin: 30px auto 0 auto;
  }
  body:not(.mobile) .game-panel-starting {
    font-size: 170px;
  }
  body:not(.mobile) .game-panel-player {
    transform: none;
    right: -80px;
    bottom: -50px;
  }
  body:not(.mobile) .txtbox-wrap {
    border-radius: 6px;
    padding: 6px 7px 7px 7px;
  }
  body:not(.mobile) .txtbox {
    width: 487px;
  }
  body:not(.mobile) .game-panel-highscores-list {
    height: 165px;
    margin-bottom: 0;
  }
  body:not(.mobile) .game-instructions > span {
    padding-top: 2px;
  }
}
@media (min-width: 1200px) {
  body:not(.mobile) .game-area {
    width: 1140px;
    height: 641px;
  }
  body:not(.mobile) .game-area > canvas {
    transform: scale(1);
  }
  body:not(.mobile) .game-header {
    height: 130px;
  }
  body:not(.mobile) .game-header-score {
    right: 85px;
    top: 16px;
    transform: none;
  }
  body:not(.mobile) .game-header-cntrls {
    top: 36px;
    right: 305px;
    transform: none;
  }
  body:not(.mobile) .game-panel {
    font-size: 22px;
    width: 60%;
    height: 60%;
  }
  body:not(.mobile) .game-panel h4 {
    font-size: 30px;
  }
  body:not(.mobile) .game-panel-starting {
    font-size: 180px;
  }
  body:not(.mobile) .game-panel-player {
    bottom: -100px;
  }
  body:not(.mobile) .game-instructions > span {
    padding-top: 0;
  }
}
body.game-init .game-panel-start,
body.game-starting .game-panel-starting,
body.game-over .game-panel-over,
body.game-paused .game-panel-paused,
body.game-highscores .game-panel-highscores {
  display: block;
}
body.game-playing .game-area {
  cursor: none;
}
* {
  -webkit-text-size-adjust: none;
}
body.mobile .container {
  transform-origin: center top;
  width: 540px !important;
}
.game-ctrls {
  white-space: nowrap;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height:366px;
  display: none;
  overflow: hidden;
  min-width: 540px;
  z-index: 1;
}
.ctrl-left, .ctrl-right {
  position: absolute;
  top: 0;
  width: 50%;
  height: 366px;
}

.ctrl-right {
  left: auto;
  right: 0;
}
.game-ctrls img {
  opacity: 0.3;
  transition: opacity 0.2s ease-in-out;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  transform: translateY(-50%);
}
.ctrl-left img {
  left: 2.5vw;
}
.ctrl-right img {
  right: 2.5vw;
  left: auto;
}
body.game-playing:not(.game-paused) .game-ctrls img {
  opacity: 1;
}
@media screen and (orientation: portrait) and (min-height: 500px) {
  body.mobile .game-ctrls {
    display: block;
    height: auto;
    bottom: 0;
    top: 430px;
  }
  .ctrl-left,
  .ctrl-right {
    height: auto;
    bottom: 0;
  }
  .ctrl-left img {
    left: 10vw;
  }
  .ctrl-right img {
    right: 10vw;
  }
}
@media screen and (orientation: landscape) and (min-width: 680px) {
  body.mobile .game-ctrls {
    display: block;
  }
}
body.mobile #txtname {
  font-size: 22px;
}
.game-panel-over p:not(.btns) {
  position: relative;
}
.ovl {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: transparent;
}
body.mobile .ovl {
  display: block;
}