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

html {
	background-color: #001020;
	background-image: url(media/stars-background.png);
	background-attachment: scroll;
	background-size: cover;
	padding: 0;
	margin: 0;
}

body {
	color: #eee;
	font-family: helvetica, arial, sans-serif;
	margin: 0;
	font-size: 10pt;
	line-height: 1.3;
}

h1 {
	text-align: center;
	color: #fff;
	font-size: 32px;
	font-weight: normal;
	text-transform: uppercase;
}

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

h3 {
	color: #ccc;
	font-size: 14px;
	font-weight: normal;
	text-transform: uppercase;
	margin: 8px 0 4px 0;
	border-bottom: 1px solid #555;
}

h4 {
	color: #ccc;
	font-size: 12px;
	font-weight: normal;
	margin: 12px 0 4px 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;
}
input[type=checkbox] {
	display:none;
}
input[type=checkbox] + label span {
	display:inline-block;
	width:19px;
	height:19px;
	margin:-1px 4px 0 0;
	vertical-align:middle;
	background:url(media/check-radio-sheet.png) left top no-repeat;
	cursor:pointer;
}
input[type=checkbox]:checked + label span {
	background:url(media/check-radio-sheet.png) -19px top no-repeat;
}

.control-scheme {
	width: 32%;
	float: left;
	padding: 0 20px 0 0;
}
.control-scheme:last-child {
	padding: 0;
}

h2.making-of {
	text-align: center;
	font-size: 22px;
}
.third {
	text-align: center;
	padding: 16px 32px;
	float: left;
	width: 310px;
}
.credits {
	text-transform: uppercase;
}
.clear {
	clear: both;
}

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

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


/* 
	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.
*/

@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.webgl .no-webgl-only { display: none; }
body.no-webgl .webgl-only { display: none; }

body.desktop {
	padding: 32px 0 128px 0;
	width: 960px;
	margin: 0 auto;
}

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

body.desktop #canvas {
	width: 960px;
	height: 720px;
	background-color: #000;
}

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

#gsense {
	background: #555;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 10000;
}

#gsense-close {
	position: absolute;
	z-index: 10001;
	bottom: 0;
	right: 0;
	padding: 4px 24px;
	font-size: 48px;
	color: #fff;
	background-color: #000;
	text-align: center;
}

