@import url(https://fonts.googleapis.com/css?family=Gloria+Hallelujah);
*{box-sizing: border-box;}
body {
	font-family: 'Gloria Hallelujah', cursive;
	user-select: none;
	background-color: #777;
	margin: 0;
	padding: 0;
}
.container {
	position: relative;
	overflow: hidden;
    margin: 0 auto 0;
}
canvas {
    display: block;
	background: linear-gradient(to bottom, #87CEEB, #FFFACD);
	margin: 0 auto 0;
}
#scoreBoard {
	width: 100%;
	height: 47px;
	background: rgba(182, 200, 220, 0.7);
	position: absolute;
	top: -3px;
	left: 0;
	z-index: -1;
	display: flex;
    align-items: stretch;
    user-select: none;
    visibility: hidden;
}
#score, #powerUp, #menu{
    flex: 0 0 auto;
    padding: 5px;
}
#score {
    flex-basis: 80px;
	font-size: 20px;
}
#powerUp {
    flex: 1 1 auto;
    text-align: center;
}
#powerUp img {
    cursor: pointer;
    height: 37px;
}
#menu {
    text-align: right;
}
#menu button {
    border: 0;
    background: transparent;
}

#sprite {display: none}
#mainMenu, #gameOverMenu {
	height: 100%;
	width: 100%;
	text-align: center;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99;
}
#gameOverMenu {
	visibility: hidden;
}
#gameOverMenu img {
    max-width: 80%;
    max-height: 80%;
}
#bottomBoard {
	width: 100%;
	height: 47px;
    position: absolute;
	bottom: 0;
	right: 0;
    text-align: right;
    display: flex;
    align-items: stretch;
    z-index: 9;
    visibility: hidden;
}
#time, #fps{
    flex: 1;
    padding: 5px;
}
#time{
    text-align: left;
}
#fps{
    text-align: right;

}
h2, h3, h1 {font-weight: normal}
h1 {
	font-size: 60px;
	color: #5a5816;
	transform: rotate(-10deg);
	margin: 0px;
}
h3{
   text-align: right;
   margin: -10px 20px 0 0;
   color: #5e96be
}
h3 a {color: #5a5816}
.highScore {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    margin-left: 20px;
    font-size: 26px;
    line-height: 30px;
    max-height: 60%;
    overflow: hidden;
    z-index: 1;
}
.highScore th {
    line-height: 40px;
    text-align: left;
    padding-left: 10px;
}
.highScore td:first-child {
    text-align: right;
}
.highScore td:last-child {
    text-align: left;
    padding-left: 10px;
}
.buttons {
    width: 100%;
	position: absolute;
	left: 0;
	bottom: 50px;
	text-align: center;
}
.button {
	width: 105px;
	height: 31px;
	background-color: #808080;
	display: inline-block;
	color:  #000;
	font-size: 12px;
	line-height: 31px;
	text-decoration: none;
}
.button.play {
    position: absolute;
    left: 50%;
    bottom: 4rem;
    margin-left: -53px;
}
.button:hover, .ok {
	background-color: #04AA6D;
}
.copy{
    position: absolute;
    left: 20px;
    bottom: 15px;
    color: #5e96be;
}
.impressum{
    position: absolute;
    right: 20px;
    bottom: 15px;
    color: #5e96be;
    text-decoration: none;
    z-index: 99;
    cursor: pointer;
}
.impressum:hover{
    text-decoration: underline;
}
.btnInstall{
    position: absolute;
    right: 5px;
    top: 225px;
    color: #5e96be;
    text-decoration: none;
    writing-mode: sideways-lr;
    z-index: 99;
    cursor: pointer;
}
.btnInstall:hover{
    text-decoration: underline;
}
@media (max-height: 800px) and (max-width: 600px){
 .highScore{
    font-size: 18px;
    line-height: 22px;
 }
  .highScore th{
    line-height: 26px;
 }
 .highScore tr:nth-child(10), .highScore tr:nth-child(9){
    display: none;
 }
}
@media (max-height: 500px) {
 .highScore tr:nth-child(10), .highScore tr:nth-child(9){
    display: none;
 }
}
@media (max-height: 450px) {
 .highScore tr:nth-child(8), .highScore tr:nth-child(7), .highScore tr:nth-child(6), .highScore tr:nth-child(5){
    display: none;
 }
}
