@font-face {
  font-family: "super_plumber_brothersregular";
  src: url("../fonts/super_plumber_brothers-webfont.woff2") format("woff2"), url("../fonts/super_plumber_brothers-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  background: #fcf8fc url(../images/noise-bg.png);
}

body {
  padding: 0;
  margin: 0;
  background: url(../images/landscape.png) top center repeat-x;
  border-top: 5px solid #008894;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

header {
  width: 480px;
  height: 100px;
  margin: 2em auto;
  background: url(../images/rush-header.png) center center no-repeat;
  overflow: hidden;
}

header h1 {
  text-indent: 100%;
  white-space: nowrap;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

canvas {
  background: #f9f9f9;
}

h1 {
  font-family: "super_plumber_brothersregular";
  font-size: 50px;
  text-transform: uppercase;
  margin: 0;
  font-weight: normal;
  margin-bottom: 20px;
}

h1.game-title {
  background-color: #ca5328;
  padding: 5px 20px 10px;
  color: #f8e0be;
  text-shadow: 2px 7px 4px rgba(0, 0, 0, 0.7);
  letter-spacing: 3px;
  text-align: left;
  -webkit-box-shadow: 1px 0 1px rgba(0, 0, 0, 0.7);
          box-shadow: 1px 0 1px rgba(0, 0, 0, 0.7);
  border-left: 1px solid;
  border-top: 1px solid;
  border-bottom: 1px solid rgba(0, 0, 0, 0.7);
}

section {
  width: 480px;
  margin: auto;
}

#game {
  width: 480px;
  height: 320px;
  position: relative;
  overflow: hidden;
  margin: auto;
  -webkit-box-shadow: 0 6px 3px -5px #000;
          box-shadow: 0 6px 3px -5px #000;
  border-style: solid;
  border-width: 2px;
  border-top-color: #c5a578;
  border-left-color: #977e5a;
  border-right-color: #977e5a;
  border-bottom-color: #7c6749;
}

.scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #8ca0d2;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  /* see .active.scene */
  -webkit-transform: translate3d(0, 100%, 0);
          transform: translate3d(0, 100%, 0);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
}

.scene.active {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}

.scene button {
  padding: 0.75em;
  background: #619391;
  color: white;
  text-decoration: none;
  display: inline-block;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
}

.scene button + button {
  margin-top: 30px;
}

.scene button:hover {
  background: #466b6a;
}

#menu {
  background: url(../images/rush-menu-scene.png);
  padding: 2em;
  padding-top: 130px;
}

#heroDied {
  background-color: rgba(140, 160, 210, 0.7);
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#heroDied h1 {
  font-size: 48px;
}

/* Game Score */
#scoreScene.scene {
  opacity: 0;
  -webkit-transform: none;
          transform: none;
  background: none;
  -webkit-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
  pointer-events: none;
}

#scoreScene.scene.active {
  opacity: 1;
}

#levelScene {
  background-color: rgba(255, 255, 255, 0.95);
  top: 50%;
  height: 50%;
  position: absolute;
}

#gameover {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-top: 15px;
  background-color: #b0f0d8;
}

#gameover h1 {
  margin-top: 60px;
  margin-bottom: 0;
}

#gameover button {
  float: left;
}

ul.how-to-play {
  list-style-image: url(../images/coin1.png);
  list-style-position: inside;
  padding: 0;
}

.hr {
  background: url(../images/hr.png) center center no-repeat;
  height: 50px;
}

.hr hr {
  display: none;
}

footer {
  text-align: center;
  color: #999;
  font-size: 0.8em;
  margin-bottom: 3em;
}

footer a {
  text-decoration: none;
  color: #999;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

footer a:hover {
  color: #000;
}
/*# sourceMappingURL=game.css.map */