body {
	margin: 0px;
	padding: 0px;

	background-color: #fcffef;
	font-family: Helvetica;
	color: #362c2b;
	overflow-x: hidden;
}

canvas#tracks,
canvas#stations-desktop,
canvas#stations-mobile {
	margin-left: 50%;
}

canvas#stations-desktop,
canvas#stations-mobile {
	position: absolute;
	top: 0px;
	z-index: 1;
}

.noscroll {
	overflow: hidden;
}

.container {
	position: absolute;
	z-index: 2;
	top: 0px;
	width: 100%;
}

.route {
	background: url("../img/blue.gif") repeat-y 50%;
}

.menu {
	text-align: center;
	margin: 250px auto 0 auto;
	width: 340px;
}

h1 {
	font-size: 4.5em;
	letter-spacing: -3px;
	margin: 0 0 -13px 0;
}

h1 span {
	visibility: hidden;
}

.menu ul {
	margin: 0 auto;
	background: #362c2a;
	padding: 4px 2px 0px 2px;
	width: 320px;
	text-align: left;
}

.menu li {
	display: inline-block;
	list-style-type: none;
	font-size: 1.8em;
	font-weight: bold;
	letter-spacing: -1px;
	margin-right: 1em;
	margin-bottom: 4px;
}

.menu li a {
	text-decoration: none;
}

.menu li canvas {
	float: left;
}

.menu li span {
	padding: 0 4px;
	color: #effff5;
}

.menu li.yellow span {
	background-color: #fce404;
	color: #362c2b;
}

/* BIG UGLY HACK, AVERT YOUR EYES */
.menu li.orange {
	margin-right: 0;
}

.menu li.orange span {
	background-color: #e93900;
}

.menu li.green span {
	background-color: #439b23;
}

div.buttons {
	width: 344px;
	margin-left: auto;
	margin-right: auto;
	text-align: right;
}

div.buttons a {
	display: block;
	clear: right;
	color: #362c2b;
	text-decoration: none;
	font-weight: bold;
	margin-top: 30px;
	font-size: 1.6em;
}

div.buttons a i {
	background: white;
	text-align: center;
	margin-left: 0.5em;
	font-size: 1.2em;
	height: 48px;
	width: 48px;
	border-radius: 24px;
	border: 4px solid #362c2b;
	box-sizing: border-box;
}

div.buttons a.discourse i {
	background-image: url("../img/logo-discourse.svg");
	background-size: 48px 48px;
	background-color: transparent;

	display: inline-block;
	vertical-align: middle;

	border: 0;
	border-radius: 0;
}

div.buttons a.twitter i {
	color: #4099ff;
	padding-top: 6px;
}

div.buttons a.facebook i {
	color: #3b5998;
	padding-top: 6px;
	padding-right: 2px;
}

div.buttons a.tumblr i {
	color: #2f4d69;
	padding-top: 4px;
	padding-right: 2px;
}

div.buttons a.presskit i {
	color: #444;
	padding-top: 6px;
	padding-left: 2px;
}

div.buttons a.careers i {
	color: #e57d00;
	padding-top: 6px;
	padding-left: 2px;
}

div.buttons a.windows i {
	font-size: 1.1em;
	color: #00adef;
	padding-top: 6px;
	padding-right: 2px;
}

div.buttons a.osx i {
	color: #afb0b0;
	padding-top: 4px;
	padding-right: 2px;
}

div.buttons a.ubuntu i {
	color: black;
	padding-top: 4px;
	padding-right: 2px;
	background-image: url("../img/logo-ubuntu_cof-white_orange-hex.svg");
	background-size: 42px 42px;
	background-position: -1px -1px;

	display: inline-block;
	vertical-align: middle;
}

div.mobile-signup {
	width: 500px;
	margin: 120px auto 0;
}

div.mobile {
	width: 600px;
	margin: 120px auto 0;
}

p.mobile-links {
	text-align: center;
}

p.mobile-links a {
	display: inline-block;
	margin: 0 1.25em;
}

#register-form {
	position: relative;
}

#register-form p.response {
	display: none;
	position: absolute;
	top: 0px;
	width: 66%;
	margin: 1em auto 0 auto;
}

#register-form .submit {
	width: 45%;
	margin: 0;
	background: white;
	color: #362c2b;
}

#register-form .submit:hover {
	background: #eee;
}

#register-form .submit.last {
	float: right;
}

div.trailer {
	width: 978px;
	/*margin: 350px auto 0;*/
	margin: 120px auto 0;
}

div.intro {
	width: 500px;
	margin: 120px auto 0;
}

div.social {
	margin-top: 30px;
}

div.game {
	width: 816px;
	margin: 60px auto 0;
}
	div.game #unityPlayer {
		position: relative;
	}
	div.game #unity-message-container {
		margin-top: 8em;
		width: 100%;
		text-align: center;
		position: absolute;
	}
		div.game #unity-message-container .unity-message {
			padding: 1em;
			background: #362c2b;
		}

		div.game #unity-error {
			display: none;
		}

			div.game #unity-error #unity-error-message {
				font-style: italic;
			}

div.pre-order {
	width: 646px;
	margin: 250px auto 0;
}

div.download {
	width: 450px;
	margin: 100px auto 0;
}

div.legal {
	margin-top: 200px;
	padding-bottom: 10px;
	text-align: center;
	font-size: 0.8em;
	color: grey;
}

div.panel {
	color: white;
	padding: 6px 8px 6px 8px;
	background-color: #362c2b;
	margin-bottom: 1em;
}

div.panel h2 {
	font-size: 2em;
	letter-spacing: -1px;
	margin: 0 0 0.2em 0;
}

div.panel h2 .submit-bug {
	float: right;
	font-size: 0.6em;
	font-weight: normal;
	margin-top: 12px;
	padding: 2px 3px;
	background-color: #e93900;
	color: #effff5;
	text-decoration: none;
}

div.panel canvas {
	margin-bottom: -5px;
	margin-right: 5px;
}

div.panel p,
div.panel ul,
div.panel ol {
	margin-top: 0px;
	line-height: 1.6em;
}

span.path {
	font-style: italic;
	white-space: -moz-pre-wrap; /* Mozilla */
	white-space: -hp-pre-wrap; /* HP printers */
	white-space: -o-pre-wrap; /* Opera 7 */
	white-space: -pre-wrap; /* Opera 4-6 */
	white-space: pre-wrap; /* CSS 2.1 */
	white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
	word-wrap: break-word; /* IE */
	word-break: break-all;
}

div.panel a {
	color: #fce404;
	text-decoration: underline;
	font-weight: bold;
}

div.panel strong {
	color: #fce404;
}

.humble-widget {
	margin-left: 48px;
	margin-right: 48px;
}

.submit-form {
	display: none;
}

form {
	width: 66%;
	margin: 0 auto 2em auto;
}

label {
	display: block;
	margin: 0 0 5px 14px;
	font-weight: bold;
}

input, textarea {
	display: block;
	width: 100%;
	margin-bottom: 14px;
	border: 2px solid #999;
	font-size: 1.2em;
}

input {
	padding: 2px;
}

input.error, textarea.error {
	border: 2px solid #e93900;
	background-color: #ffc3b0;
}

textarea {
	height: 7.2em;
}

form input.submit, form p.submitting {
	display: inline-block;
	width: auto;
	font-size: 1.4em;
	border: none;
	color: #fcffef;
	margin: 2px 0 14px 14px;
	padding: 4px 6px;
	line-height: 1.2em;
}

form input.submit {
	background: #439b23;
}

form p.submitting {
	background: #888;
	display: none;
}

form .message {
	display: none;
}

form .message.error {
	color: #e93900;
}

dt, dd {
	line-height: 1.6em;
}

dt {
	float: left;
	width: 6em;
	color: grey;
}

dd {
	display: block;
	margin-left: 6em;
}

.phone-only,
.tablet-only,
canvas#stations-mobile {
	display: none;
}

.desktop-only {
	display: block;
}

@media (max-width: 419px) {
	canvas#tracks,
	canvas#stations-mobile {
		margin-left: 41%;
		margin-top: -10px;
		display: block;
	}
	canvas#stations-desktop {
		display: none;
	}

	.route {
		background-image: url("../img/blue-mobile.gif");
	}

	h1 {
		font-size: 3.5em;
	}

	.menu ul {
		width: 250px;
	}

	.menu li {
		font-size: 1.5em;
		margin-left: 0.5em;
	}

	div.buttons {
		width: 275px;
	}
	div.buttons a span {
		font-size: 0.85em;
		vertical-align: 4px;
	}
}

@media (max-width: 480px) {
	div.intro,
	div.mobile,
	div.mobile-signup,
	div.game,
	div.pre-order,
	div.download {
		width: 95%;
	}

	div.intro {
		margin-top: 250px;
	}

	div.pre-order {
		width: 600px;
		margin-top: 150px;
	}

	div.download {
		margin-top: 150px;
	}

	.desktop-only,
	.tablet-only {
		display: none;
	}
	.phone-only {
		display: block;
	}
}

@media (min-width: 481px) and (max-width: 800px) {
	div.intro,
	div.mobile,
	div.mobile-signup,
	div.pre-order,
	div.download {
		max-width: 95%;
	}

	div.game {
		width: 400px;
	}

	.phone-only,
	.desktop-only {
		display: none;
	}
	.tablet-only {
		display: block;
	}
}
