html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
}
.container {
  width: 100%;
  padding: 0;
}
#game {
  position: fixed;
  width: 100%;
  height: 100%;
  background-image: url("/images/interface/background-game.png");
}
#game canvas {
  cursor: none;
  border: 5px outset #114f88;
  -webkit-box-shadow: 5px 5px 3px #092510;
  box-shadow: 5px 5px 3px #092510;
}
.stats {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 9001;
}
.stats .logic #fps {
  background-color: #400 !important;
}
.stats .logic #fpsText {
  color: #f00 !important;
}
.stats .logic #fpsGraph {
  background-color: #f00 !important;
}
.stats .logic #fpsGraph span {
  background-color: #700 !important;
}
.volume {
  position: absolute;
  top: 5px;
  right: 0;
  z-index: 9000;
  width: 60px;
  height: 44px;
  cursor: pointer;
}
.volume.on {
  background: url("/images/interface/loudspeaker.png") left no-repeat;
}
.volume.off {
  background: url("/images/interface/no-sound.png") right no-repeat, url("/images/interface/loudspeaker.png") left no-repeat;
}
#game-over {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: auto;
  overflow-x: hidden;
  text-align: center;
  color: #fec;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  background-image: url("/images/interface/highscore.jpg");
  background-color: #20599c;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}
#game-over h1 {
  font-size: 3em;
}
#game-over h2 {
  font-size: 2em;
}
#game-over p {
  font-size: 2em;
}
#game-over h1,
#game-over h2 {
  color: #fec;
  font-weight: normal;
}
#game-over a {
  text-decoration: none;
}
#game-over a h1 {
  color: #fc4;
  margin: 0;
}
#game-over img {
  max-width: 95%;
  height: 46%;
  padding: 2%;
}
#game-over .dark-background {
  background: rgba(0,0,0,0.5);
  max-width: 80%;
  width: 80em;
  margin: 2em auto;
  padding: 20px 20px;
}
#home {
  text-align: center;
  height: 100%;
  overflow: hidden;
}
#home #splash {
  max-height: 100%;
}
#main-menu {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: auto;
  overflow-x: hidden;
  text-align: center;
  color: #fec;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  background-image: url("/images/interface/mainmenu.jpg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center right;
  background-color: #12599a;
}
#main-menu #title {
  max-width: 90%;
  margin-top: 2%;
  margin-bottom: 0em;
}
#main-menu p {
  font-size: 30px;
}
@media (min-height: 640px) {
  #main-menu #buttons {
    position: absolute;
    bottom: 5%;
    width: 100%;
  }
}
#main-menu a.button {
  margin-top: 3%;
}
#main-menu a.button:last-child {
  margin-bottom: 0;
}
a.button {
  font-size: 1.7em;
  width: 8em;
  height: 1em;
  padding: 1em 0;
  margin: 0 auto;
  margin-bottom: 1.25em;
  color: #fec;
  display: block;
  line-height: 1em;
  text-decoration: none;
  background-image: url("/images/interface/Button.png");
  -webkit-background-size: 100% 100%;
  -moz-background-size: 100% 100%;
  background-size: 100% 100%;
}
#credits {
  text-align: center;
  color: #fec;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  background-image: url("/images/interface/credits.jpg");
  background-attachement: fixed;
  background-color: #192e56;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  padding-bottom: 3em;
}
#credits #title {
  padding-top: 5%;
  max-width: 50%;
  margin-bottom: 0em;
}
#credits small {
  font-size: 0.75em;
}
#credits h3 {
  margin-top: 1.5em;
  margin-bottom: 0;
  font-size: 150%;
}
#credits h4 {
  margin-top: 0.2em;
  color: #fc4;
  font-size: 150%;
}
#credits a {
  color: #fc4;
}
#credits h1,
#credits h2,
#credits h3,
#credits h4,
#credits h5,
#credits h6,
#credits h7 {
  font-weight: normal;
}
#credits a.sfx {
  font-size: 0.75em;
  color: #fec;
  color: #fc4;
}
#credits a.button {
  margin-top: 2em;
  color: #fec;
}
#credits a.button:last-child {
  margin-bottom: 0;
}
#credits a.button:last-child::after {
  content: '';
  height: 1.25em;
}
#credits p {
  color: #fc4;
  font-family: Helvetica;
  font-size: 0.75em;
}
#gratulation {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  text-align: center;
  color: #fec;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  background-image: url("/images/interface/highscore.jpg");
  background-color: #20599c;
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  background-size: 100%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}
#gratulation h1 {
  font-size: 300%;
  color: #d22;
  text-shadow: 1px 1px #000;
}
.imprint-block-left {
  font-family: sans-serif;
}
#privacy {
  background-color: #000;
  background-color: rgba(0,0,0,0.4);
  padding: 1em;
  margin: 1em auto;
  max-width: 80%;
  width: 40em;
  font-size: 1em;
}
#privacy p {
  font-family: sans-serif;
  color: #fff;
  font-style: normal;
  font-weight: normal;
  text-align: justify;
}
#privacy li {
  font-family: sans-serif;
  color: #fff;
  font-style: normal;
  font-weight: normal;
  text-align: justify;
  font-size: 0.75em;
}
#fallback {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  text-align: center;
  color: #fec;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  background-image: url("/images/interface/fallback.jpg");
  background-color: #133f84;
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  background-size: 100%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
#fallback #textblock {
  background-color: #344e7e;
  background-color: rgba(25,49,92,0.9);
  padding: 1em;
  margin: 1em auto;
  margin-top: 10%;
  max-width: 80%;
  width: 40em;
}
#fallback h1 {
  font-size: 190%;
  color: #e9eff6;
  text-shadow: 1px 1px #000;
}
.abort-link-container {
  z-index: 9000;
  position: absolute;
  bottom: 0;
  text-align: center;
  width: 100%;
}
.abort-link {
  color: #a92;
}

