body {
	background-color: #777;
	color: white;
	text-shadow: 0px 1px 1px black;
	text-align: center;
	font-family: sans-serif;
}

a {
	color: white;
}

h1 {
	margin-bottom: 0em;
}

h2 {
	margin-top: 0em;
}

footer {
	position: fixed;
	text-align: center;
	width: 100%;
	left: 0px;
	bottom: 0px;
}

p {
	margin-top: 0em;
}

#game {
	margin: 1em auto 0;	
}

#game.playing {
	background-color: black;
}

#game p {
	width: 50%;
	margin: 2em auto;
}

#play {
	width: 50%;
	margin: auto;
	padding: 2em;
}

#play a {
	display: inline-block;
	width: 45%;
	font-size: 120%;
}

#play a:hover {
	font-weight: bold;
}

#play:hover {
	background-color: #555;
	border-radius: 20px;
}

#help, #score, #gameover {
	background-color: #555;
	padding: 1em;
}

#help {
	position: fixed;
	left: 0px;
	top: 50px;
	border-radius: 0px 20px 20px 0px;
}

#help img {
	width: 100px;
	height: 100px;
}

#help div {
	position: relative;
}

#help .keys {
	position: absolute;
	left: 0px;
	top: 64px;
}

#help .keys span {
	width: 28px;
	line-height: 28px;
	text-align: center;
	display: inline-block;
	border: 3px solid #888;
	border-radius: 10px;
	background-color: rgba(80, 80, 80, 0.8);
}

#score {
	position: fixed;
	right: 0px;
	top: 50px;
	border-radius: 20px 0px 0px 20px;
}

#gameover {
	opacity: 0.9;
	position: fixed;
	left: 50%;
	top: 50%;
	border-radius: 20px;
}

#smiley {
	margin-left: 0.5em;
}

.face {
	border: 2px solid black;
	background-color: rgba(255, 255, 255, 0.5); 
}

.cube.l1 .face {
	background-color: green;
}

.cube.l2 .face {
	background-color: orange;
}

.cube.l3 .face {
	background-color: red;
}

.cube.l4 .face {
	background-color: blue;
}

.cube.l5 .face {
	background-color: yellow;
}

.cube.l6 .face {
	background-color: lime;
}

.cube.l7 .face {
	background-color: brown;
}

.cube.l8 .face {
	background-color: navy;
}

.cube.l9 .face {
	background-color: teal;
}
