* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html {
	width: 100%;
	height: 100%;
}

body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

h1 {
	color: #ccc;
	font-size: 16px;
	font-weight: normal;
	text-transform: uppercase;
	margin: 10px 0 6px 0;
}

a {
	color: #0170ce;
	text-decoration: none;
	font-weight: bold;
}

a:hover {
	color: #077fe5;
}

.panel {
	margin-bottom: 32px;
	padding: 8px;
	background-color: rgba(0,0,0,0.5);
}

.option {
	padding: 4px 0 4px 0;
}

label {
	color: #fff;
	font-weight: bold;
	cursor: pointer;
}

#no-webgl-notice {
	text-align: center;
	font-size: 24px;
	padding: 64px 24px;
	color: #ffbc6c;
}

#rotate-to-play {
	text-align: center;
	margin-bottom: 48px;
}

#game {
	width: 100%;
	height: 100%;
}

/*
	Display or hide certain elements depending on platform (mobile/desktop),
	orientation (landscape/portrait) and webgl support.
	The body classes .mobile or .desktop and .webgl or .no-webgl are set in
	JavaScript in the lib/game/main.js
*/

@media all and (orientation:portrait) { body.mobile .landscape-only { display: none; } }
@media all and (orientation:landscape) { body.mobile .portrait-only { display: none; } }

body.mobile .desktop-only { display: none; }
body.desktop .mobile-only { display: none; }
body.desktop .desktop-only { display: none; }

body.webgl .no-webgl-only { display: none; }
body.no-webgl .webgl-only { display: none; }

body.desktop {
	/*padding: 32px 0 128px 0;*/
	/*width: 640px;*/
	/*margin: 0 auto;*/
}

body.mobile {
	/*padding: 0;*/
	/*width: auto;*/
	/*font-size: 8px;*/
}

body.desktop #canvas {
	/*width: 640px;*/
	/*height: 480px;*/
	/*background-color: #000;*/

	position: fixed;
	width: 100%;
	height: 100%;
	background-color: #000;
}

body.mobile #canvas {
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: #000;
}

