html{color:#000;background:#222222;}
a{cursor:pointer;}
html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img{border:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}
li{list-style:none;}
caption,th{text-align:left;}
q:before,q:after{content:'';}
abbr,acronym {border:0;font-variant:normal;}
sup {vertical-align:text-top;}
sub {vertical-align:text-bottom;}
input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;outline-style:none;outline-width:0pt;}
legend{color:#000;}
a:focus,object,h1,h2,h3,h4,h5,h6{-moz-outline-style: none; border:0px;}
strong {font-weight: bold;}

body, html {
	overflow: hidden;
	font-family: Helvetica, Arial, sans-serif;
	color: #fff;
	font-size: 11px;
	background: #111;
}

#game {
	background: url('../images/background.jpg');
	
	position: absolute;
	display: none;
	border: 1px solid #222222;
	border-radius: 2px;
	
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	
	color: #f4f4f4;
	text-align: center;
	
	-webkit-box-shadow: 0 0 10px #000;
	   -moz-box-shadow: 0 0 10px #000;
	     -o-box-shadow: 0 0 10px #000;
	        box-shadow: 0 0 10px #000;
}

#world {
	position: absolute;
	top: 0;
	left: 0;
}

#effects {
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}


#menu {
	position: absolute;
	display: none;
	width: 830px;
	height: 440px;
	
	background: rgba(40,60,60,0.4);
	border-radius: 6px;
	
	z-index: 3;
	
	-webkit-box-shadow: 0 0 20px rgba(0,250,200,0.1);
	   -moz-box-shadow: 0 0 20px rgba(0,250,200,0.1);
	        box-shadow: 0 0 20px rgba(0,250,200,0.1);
	
	background-image: -moz-radial-gradient(center, circle closest-corner, rgba(50,200,200,0.3) 0%, rgba(50,200,200,0) 100%);
	background-image: -ms-radial-gradient(center, circle closest-corner, rgba(50,200,200,0.3) 0%, rgba(50,200,200,0) 100%);
	background-image: -o-radial-gradient(center, circle closest-corner, rgba(50,200,200,0.3) 0%, rgba(50,200,200,0) 100%);
	background-image: -webkit-gradient(radial, center center, 0, center center, 500, color-stop(0, rgba(50,200,200,0.3)), color-stop(1.0, rgba(50,200,200,0)));
	background-image: -webkit-radial-gradient(center, circle closest-corner, rgba(50,200,200,0.3) 0%, rgba(50,200,200,0) 100%));
	background-image: radial-gradient(center, circle closest-corner, rgba(50,200,200,0.3) 0%, rgba(50,200,200,0) 100%);
}
	
	#menu h1 {
		text-shadow: 0 0 20px rgba(20,70,60,1);
		font-size: 86px;
		margin: 10px 20px 15px 20px;
		text-align: center;
		text-transform: uppercase;
		font-weight: normal;
	}
		.winner #menu h1,
		.loser #menu h1 {
			display: none;
		}
	
	#menu section {
		display: none;
		padding: 15px;
		margin: 5px;
		//width: 230px;

		font-size:20px;

		background: rgba(0,0,0,0.1);
		
		vertical-align: text-top;
		
		border-radius: 6px;
	}
	
	#menu h2 {
		font-size: 15px;
		text-transform: uppercase;
		margin-bottom: 10px;
	}
	
	#menu .button {
		display: inline-block;
		padding: 6px 18px 6px 18px;
		
		background: rgba(0,0,0,0.4);
		color: #fff;
		text-decoration: none;
		font-size: 20px;
		
		border-radius: 4px;
		
		-webkit-transition: all .19s ease-out;
	       -moz-transition: all .19s ease-out;
	         -o-transition: all .19s ease-out;
	            transition: all .19s ease-out;
	}
	
		#menu .button:hover {
			background: rgba(0,0,0,0.7);
			
			-webkit-box-shadow: 0 0 10px rgba(0,250,200,0.2);
			   -moz-box-shadow: 0 0 10px rgba(0,250,200,0.2);
			     -o-box-shadow: 0 0 10px rgba(0,250,200,0.2);
			        box-shadow: 0 0 10px rgba(0,250,200,0.2);
		}
	
	#menu .welcome {
		display: inline-block;
	}

#start-button {
	margin-top: 20px;
}

@media (orientation: portrait)
{ /* tablet and smaller */
#overlay
	{
	position: absolute;
	z-index: 9999;
	width: 100%;
	height:100%;
	top: 0;
	bottom: 0;
	content: "";
	background: #212121 url(../images/turndevice.png) 0 0 no-repeat;
	background-size: 100% auto;
	}
}