html, body {
  margin: 0; padding: 0;
  background: #111;
  color: #FFF;
  font-family: "Freckle Face";
}

* {
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}

a {
  color: #c50;
}
a:hover {
  color: #e71;
}

a.button {
  text-decoration: none;
  border: 2px solid #c50;
  padding: 5px 20px;
  border-radius: 10px;
}

#viewport {
}

.stage {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-align: center;
  padding: 0;
  margin: 0 auto;
  color: white;
}

.stage h1 {
  font-size: 3em;
}

.stage header {
  width: 100%;
  padding: 2% 0;
  text-align: center;
}

#loader {
}
#loader h2 {
  padding-top: 25%;
}
#loader .error {
  padding: 0;
  list-style: none;
  font-family: monospace;
  font-size: 10px;
  margin: 20px auto;
  text-align: center;
  color: #e00;
}
.stage footer {
  position: absolute;
  bottom: 5px;
  text-align: center;
  margin-top: 10px;
  display: block;
  width: 100%;
  white-space: nowrap;
}

#story {
  position: absolute;
  text-align: center;
  width: 100%;
  height: 100%;
  margin-top: 30%;
}

#story h1 {
  font-size: 4em;
}
#story h2 {
  font-size: 2em;
}

#story h1, #story h2 {
  opacity: 0;
  transition: 0.5s;
  transform: translateY(-100px) scale(0.5);
  -moz-transition: 0.5s;
  -moz-transform: translateY(-100px) scale(0.5);
  -webkit-transition: 0.5s;
  -webkit-transform: translateY(-100px) scale(0.5);
}

#story h1.visible, #story h2.visible {
  opacity: 1;
  transition: 0.5s;
  transform: translateY(0px) scale(1);
  -moz-transition: 0.5s;
  -moz-transform: translateY(0px) scale(1);
  -webkit-transition: 0.5s;
  -webkit-transform: translateY(0px) scale(1);
}

#time {
  position: absolute;
  top: 0;
  left: 49%;
  font-size: 2em;
}

#gameOver .time {
  color: #F99;
}

#eats {
  z-index: 2;
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-weight: 1em;
}

#lifespan {
  z-index: 2;
  position: absolute;
  top: 10px;
  right: 10px;
  font-weight: 4em;
}
#lifespan.critic {
  color: #F33;
  font-weight: 6em;
}

#start {
  font-size: 3em;
}
