html, body {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  border: none;
  overflow: hidden;
  padding: 0;
  font-family: 'Luckiest Guy';
  font-size: 22px;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}

#game .ctx, #ctx {
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: fixed;
  left: 0;
  top: 0;
}

#pre_game {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #dff3f7;
}

#pre_game .dark, #dark {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .8);
}

#pre_game .logo {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: url('../img/logo.png') center center no-repeat;
  background-size: contain;
}

#pre_game .grow {
  position: absolute;
  left: 50%;
  margin-left: -168px;
  width: 336px;
  top: 250px;
}

#pre_game .grow {
  animation: leaves 2s ease-in-out infinite alternate;
  -webkit-animation: leaves 2s ease-in-out infinite alternate;
}

#pre_game input, #contact .button {
  position: absolute;
  left: 0px;
  top: 0px;
  padding: 15px 5px;
  text-indent: 10px;
  border: 0;
  height: 66px;
  width: 226px;
  line-height: 30px;
  font-size: 25px;
  background: #ededd1;
  border-bottom: 6px solid #a1a18d;
  outline: none;
}

#contact .button {
  text-indent: 0;
}

#pre_game .button, #contact .button {
  right: 0px;
  top: 2px;
  padding: 15px 5px;
  text-align: center;
  cursor: pointer;
  height: 30px;
  width: 50%;
  margin: auto;
}

#pre_game .button, #contact .button {
  background: #eaec4b;
  border-bottom: 6px solid #a1a130;
  margin-top: -2px;
  color: #888a34;
  line-height: 32px;
  font-size: 34px;
}

#pre_game .button:hover, #contact .button:hover {
  background: #fafc5b;
}

#pre_game .button:active, #contact .button:active {
  border: none;
  border-bottom: 2px solid #a1a130;
  border-top: 4px solid #333;
}

@keyframes leaves {
  0% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
  100% {
    transform: scale(0.9);
    -webkit-transform: scale(0.9);
  }
}

@-webkit-keyframes leaves {
  0% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
  100% {
    transform: scale(0.9);
    -webkit-transform: scale(0.9);
  }
}

#pre_game:before {
  content: '';
  box-shadow: inset 0 0 320px #80969e;
  -webkit-box-shadow: inset 0 0 320px #80969e;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

input:not([type]), input[type="email" i], input[type="number" i], input[type="password" i], input[type="tel" i], input[type="url" i], input[type="text" i] {
  padding: 1px 0px;
}

input {
  -webkit-appearance: textfield;
  background-color: white;
  -webkit-rtl-ordering: logical;
  user-select: text;
  cursor: auto;
  padding: 1px;
  border-width: 2px;
  border-style: inset;
  border-color: initial;
  border-image: initial;
}

input, textarea, select, button {
  text-rendering: auto;
  color: initial;
  letter-spacing: normal;
  word-spacing: normal;
  text-transform: none;
  text-indent: 0px;
  text-shadow: none;
  display: inline-block;
  text-align: start;
  margin: 0em 0em 0em 0em;
  font: 13.3333px Arial;
}

button, meter, progress {
  -webkit-writing-mode: horizontal-tb;
}

#game_over {
    background: rgba(0,0,0,.8);
    z-index: 1;
}

#game_over {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#game_over .gameover {
    position: absolute;
    top: 12px;
    left: 50%;
    width: 336px;
    height: 116px;
    margin-left: -168px;
    background: url(../img/logo.png) center center no-repeat;
    background-size: contain;
}

#game_over .go_sc {
    position: absolute;
    top: 129px;
    left: 50%;
    margin-left: -1000px;
    font-size: 24px;
    color: #bcd;
    line-height: 40px;
}

#game_over .da_sc {
    position: absolute;
    top: 129px;
    left: 50%;
    margin-left: 1000px;
    font-size: 24px;
    color: #def;
    line-height: 40px;
}

#game_over .go_bs {
    position: absolute;
    top: 156px;
    left: 50%;
    margin-left: -1000px;
    font-size: 24px;
    color: #bcd;
    line-height: 40px;
}

#game_over .da_bs {
    position: absolute;
    top: 156px;
    left: 50%;
    margin-left: 1000px;
    font-size: 24px;
    color: #def;
    line-height: 40px;
}

#game_over .go_pt {
    position: absolute;
    top: 183px;
    left: 50%;
    margin-left: -1000px;
    font-size: 24px;
    color: #bcd;
    line-height: 40px;
}

#game_over .da_pt {
    position: absolute;
    top: 183px;
    left: 50%;
    margin-left: 1000px;
    font-size: 24px;
    color: #def;
    line-height: 40px;
}

#game_over .button {
    animation: leaves 2s ease-in-out infinite alternate;
    -webkit-animation: leaves 2s ease-in-out infinite alternate;
}

#game_over .button {
    background: #eaec4b;
    border-bottom: 6px solid #a1a130;
    margin-top: -2px;
    color: #888a34;
    line-height: 32px;
    font-size: 34px;
}

#game_over .button {
    position: absolute;
    left: 50%;
    top: 262px;
    margin-left: -118px;
    padding: 15px 5px;
    text-align: center;
    cursor: pointer;
    height: 30px;
    width: 226px;
}

#game_over .horizTranslate {
  -webkit-transition: 2s;
  -moz-transition: 2s;
  -ms-transition: 2s;
  -o-transition: 2s;
  transition: 2s;
  margin-left: -148px;
}

#game_over .negHorizTranslate {
  -webkit-transition: 2s;
  -moz-transition: 2s;
  -ms-transition: 2s;
  -o-transition: 2s;
  transition: 2s;
  margin-left: 40px;
}
