/* 
    Created on : 15-jul-2015, 12:07:43
    Author     : Daniël Zegveld

	Words:
	Nothing yet

	----------------------------------------------------------------------------
*/

* {
	margin: 0;
	padding: 0;
	outline: 0;
	box-sizing: border-box;
}
html, 
body {
	font-family: Arial, Helvetica;
	overflow: hidden;
}

ul li {
	list-style: none;
}

#mainmenu, 
#kickoff,
#gameover {
	position: fixed;
	z-index: 2;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	color: #FFF;
	background: rgba(30,30,30,1);
}
#kickoff, #gameover {
	display: none;
}
#kickoffBars {
	width: 200px;
	text-align: center;
	margin: 20% auto;
}
#kickoffAngle, #kickoffPower {
	position: relative;
	border: 0.2em solid #FFF;
	background: #666;
	height: 2em;
	margin-bottom: 1em;
	overflow: hidden;
}
#kickoffAngle:before, #kickoffPower:before {
	content: 'Vertical velocity';
	color: #FFF;
	line-height: 2.5em;
	font-size: 70%;
}
#kickoffPower:before {
	content: 'Horizontal velocity';
}
#kickoffAngle span, #kickoffPower span {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	background: #0F0;
	width: 0%;
	display: block;
	-webkit-transition: all, -webkit-transform 0.01s;
    transition: all, transform 0.01s;
}

#mainmenu ul, #gameover ul {
	width: 50%;
	margin: 20% auto;
	text-align: center;
}
#mainmenu img {
	border-radius: 4px;
}
button {
	border: 2px solid #F90;
	background: #333;
	color: #FFF;
	border-radius: 3px;
	padding: 1em 2em;
	cursor: pointer;
}
button:hover, 
button:focus, 
button:active {
	background: #222;
	color: #FFF;
}
button:disabled, 
button:disabled:hover {
	border-color: #FFF;
	background: #666;
	cursor: progress;
}


#gameHUD {
	display: none;
	pointer-events: none;
}
#enemies {
	position: fixed; 
	right: 1%;
	bottom: 2%;
	z-index: 2;
	background: #FFF;
	padding: 0.2em;
	line-height: 0;
	-webkit-box-shadow: 1px 1px 1px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow:    1px 1px 1px 0px rgba(50, 50, 50, 0.5);
	box-shadow:         1px 1px 1px 0px rgba(50, 50, 50, 0.5);
}
#enemies ul li {
	float: left;
	list-style: none;
	border-top: 0.2em solid rgba(255,255,255,0.5);
	border-bottom: 0.2em solid rgba(0,0,0,0.5);
	margin-left: 0.2em;
}
#enemies ul li:first-child {
	margin-left: 0;
}

#enemies ul li {
	width: 32px;
	height: 32px;
}

#statistics {
	position: fixed; 
	right: 1%;
	top: 2%;
	z-index: 2;
	pointer-events: none;
	background: rgba(0,0,0,0.0);
	text-shadow: 1px 1px 0px rgba(100, 100, 100, 1);
	padding: 0.2em;
	color: #FFF;
}

#unitFrame {
	overflow: hidden;
	width: 100px;
	background: #FFF;
	padding: 0.2em;
	position: fixed;
	top: 2%;
	left: 50%;
	margin-left: -50px;
	z-index: 2;
	pointer-events: none;
	line-height: 0;
	border-radius: 3px;
	-webkit-box-shadow: 1px 1px 1px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow:    1px 1px 1px 0px rgba(50, 50, 50, 0.5);
	box-shadow:         1px 1px 1px 0px rgba(50, 50, 50, 0.5);
}
#unitFrame img {
	border-radius: 3px;
}
#unitFrame div {
	position: absolute;
	left: 40px;
	right: 0;
	top: 0;
	bottom: 0;
	font-size: 0.9em;
	line-height: 40px;
}

#resources {
	position: fixed;
	left: 2%;
	top: 1%;
	z-index: 2;
	text-shadow: 1px 1px 0px rgba(100, 100, 100, 1);
	color: #FFF;
	line-height: 0;
}
#resources li {
	position: relative;
	overflow: auto;
	margin-bottom: 0.2em;
}
#resources img {
	margin-left: 0.5em;
	float: right;
}
#resources span {
	display: block;
	float: left;
	height: 24px;
	line-height: 24px;
}
@media all and (max-width: 900px) {
	#enemies {
		right: 0.5%;
		bottom: 1%;
	}
	#enemies ul li {
		width: 24px;
		height: 24px;
	}
	
}