/*****************************************************
*
*	Designed and programmed by Mohamed Adam Chaieb.
*	Main Stylesheet.
*
*****************************************************/

body {
	font-family: 'Source Sans Pro', sans-serif;
	width: 100%;
	color: #222;
	background-color: #a1cee0;
	margin: 0;
	display: block;
	cursor: default;
}

.main {
	display: block;
	width: 600px;
	margin: 0 auto 50px auto;
}

p, footer {
	font-size: 1.1em;
}

header p {
	margin: 0;
	display: block;
}

header {
	color: #222;
	width: 100%;
	height: 130px;
	line-height: 85px;
	text-align: center;
	background-color: #ffc40d;
	font-size: 4em;
	font-weight: bold;
	border-bottom: 10px solid #222;
}

h1 {
	background-color: #222;
	color : white;
}

h2 {
	padding-top: 20px;
	border-top: 1px solid #888;
}

footer {
	color: #222;
	background-color: #a1cee0;
	display: block;
	position: fixed;
	bottom: 0;
	left: 50%;
	margin-left: -300px;
	height: 40px;
	width: 600px;
	border-top: 1px solid #888;
	padding-left: 5px;
	line-height: 40px;
}

footer a {
	color: #222;
	cursor: pointer;
}

.newgame {
	position: absolute;
	font-size: 1.5em;
	font-weight: bold;
	top: 570px;
	left: 50%;
	margin-left: -200px;
	cursor: pointer;
	height: 30px;
	line-height: 30px;
}

.newgame:HOVER {
	color: blue;
}

.score {
	position: absolute;
	font-size: 1.5em;
	font-weight: bold;
	top: 570px;
	left: 50%;
	width: 200px;
	height: 30px;
	line-height: 30px;
	margin-left: 100px;
}

#game {
	margin: 0 auto 0 auto;
	display: block;
	width: 600px;
	height: 500px;
}

.rotate {
	cursor: pointer;
	width: 20px;
	position: absolute;
	top: 570px;
	left: 50%;
	margin-left: -260px;
	height: 30px;
	line-height: 30px;
}

.rotate:HOVER {
	color: blue;
}

.gameOver {
	display: none;
	position: absolute;
	width: 600px;
	left: 50%;
	top: 340px;
	margin-left: -300px;
	background-color: #ffc40d;
	border-radius: 20px;
	opacity: 0.9;
}

.gameOver h1 {
	border-radius: 20px 20px 0 0;
	text-align: center;
	height: 100px;
	line-height: 100px;
	font-size: 4em;
	margin: 0;
}

.gameOver p {
	opacity: 1;
	font-size: 2em;
	text-align: center;
	margin: 5%;
}

.gameOver .b {
	font-weight: bold;
	cursor: pointer;
}

.gameOver .b:HOVER {
	color: blue;
}
