@charset "utf-8";

@import url(//fonts.googleapis.com/css?family=PT+Sans);

@viewport{
    zoom: 1.0;
}

html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

html {
	font-family: 'PT Sans', 'Segoe UI', Tahoma, sans-serif;
	font-size: 19px;
	font-size: 0.95vw; /* Or 1.58vh if basing it on height */
	line-height: 1.6em;
	background: url(/images/background/starfield.png) repeat fixed black top left;
	background-size: 67%;
	color: white;
	display: table;
}

body {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.RootContent {
	display: inline-block;
	position: relative;
	text-align: left;
	margin: 0 auto;
	padding: 0 2em;
	min-width: 68.2em;
	max-width: 68.2em;
	max-width: 85vw;
	white-space: nowrap;
}

#Overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
}

footer {
	clear: both;
	width: 100%;
	text-align: center;
	vertical-align: bottom;
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 1;
}

footer img {
	width: 100%;
	max-width: 48.5em;
	max-width: 90.4vmin;
	max-height: 10.58em;
	max-height: 20vmin;
	vertical-align: bottom;
}

/** Approximation of vw widths for browsers which don't support them. */
@media (max-width: 1800px) { html { font-size: 17px; font-size: 0.95vw;	} }
@media (max-width: 1600px) { html { font-size: 15px; font-size: 0.95vw;	} }

@media (max-width: 1475px) {
	html {
		background-size: 100%;
		font-size: 14px;
	}
}

.Left header {
	position: relative;
	z-index: 1;
	white-space: nowrap;
	margin-top: 1em;
}

nav {
	font-size: 1.1em;
	line-height: 1.85em;
	margin-right: 3.8em;
	margin-right: 4vw;
	margin-top: 1.5em;
}

a:focus img, input[type="image"]:focus, button:focus {
	outline: none;
}

code {
	display: block;
	background-color: rgba(18,18,18,0.75);
	border: 1px dashed #333333;
	white-space: pre;
	font-family: Consolas, "Lucida Console", "Courier New", Courier, monospace;
	font-size: 75%;
	margin: 1em 1em 1em 0;
}

.Left, main {
	/* Would be sufficient to vertically align the navbar and content with each other if the navbar weren't fixed. */
	display: inline-block;
	vertical-align: middle;
	white-space: normal;
}

.Left {
	/* But fixed positioning gives us nicer scrolling behavior. */
	position: fixed;
	top: 0;
	bottom: 0;
	margin: auto 0;
	height: 34em;
	z-index: 3;
	width: 14.519em;
}

main {
	position: relative;
	line-height: 2em;
	margin-left: 14.2em;
	padding-left: 2.1em;
	padding-left: 2vw;
	z-index: 2;
}


.About main {
	max-height: 40em;
}

nav .Spaced {
	margin-top: 1.25em;
}

a, a:visited, a:hover, .Play {
	color: #3690ff;
	-webkit-transition: text-shadow 0.3s ease-in;
	-moz-transition: text-shadow 0.3s ease-in;
	-o-transition: text-shadow 0.3s ease-in;
	-ms-transition: text-shadow 0.3s ease-in;
	transition: text-shadow 0.3s ease-in;
}

nav a, nav a:visited, nav a:hover, .Left header a, .Left header a:visited {
	color: white;
	text-decoration: none;
	display: inline;
}

a:hover, ul.Navbar li:hover > a {
	text-shadow: 0px 0px 0.5em rgba(255, 255, 255, 0.5), 0px 2px 1em rgba(255, 255, 255, 0.8);
}

.Left header a, .Left header a:visited, .Left header a:hover {
	text-shadow: none;
}

.Left header h2 {
	margin-top: 0.5em;
}

h1, h2, h3 {
	font-family: 'Segoe UI Semilight', 'Segoe UI', Tahoma, sans-serif;
	font-weight: normal;
}

h1 { font-size: 1.7em; }
h2 { font-size: 1.11em; }
h3 { font-size: 1em; }

.Left header h1 { margin: 0; }

nav ul { list-style: none; }

#Home {
	width: 40em;
	padding-top: 2em;
}

.Nebula {
	background: url(/images/background/nebula) no-repeat top left;
	background-size: 60em;
	background-size: cover;
	width: 60em;
	height: 27.5em;

	position: fixed;
	top: 0;
	bottom: 48%;
	margin: auto 0 0 -10em;
	z-index: 1;
}

.Nebula img {
	width: 100%;
	height: 100%;
}

section.Bare {
	display: inline-block;
	color: #c5c5c5;
	text-shadow: 0px 2px 0.5em rgba(255, 255, 255, 0.8);
}

main p {
	margin: 2em 0;
}

figure {
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
}

.Middle {
	display: table;
	height: 100%;
}

.Middle > section {
	display: table-cell;
	height: 100%;
	vertical-align: middle;
}

ul.AboutList {
	padding-left: 0;
	list-style: none;
	clear: left;
}

ul.AboutList > li {
	padding: 1em;
	border-radius: 10px;
	background: rgba(0,0,0,0.5);
	margin-bottom: 1em;
}

.AboutList a, .AboutList a:visited {
	color: white;
}

.AboutList section a, .AboutList section a:visited {
	color: sandybrown;
}

.AboutList section {
	font-size: 80%;
	line-height: 2.5;
	text-shadow: none;
}

/* Minimum font size. */
@media (max-width: 1710px) {
	.AboutList section {
		font-size: 13px;
	}
}

.WithPhoto img {
	margin: 0.25em 2% 0 0;
	width: 10%;
}

.WithPhoto > * {
	display: inline-block;
	white-space: normal;
	vertical-align: middle;
	padding: 0;
}

.WithPhoto span {
	width: 87%;
}

.PlayLink, ul.Navbar li li.PlayLink {
	display: none; /* Initial value in case the browser doesn't support JS or <audio>. */
}

.Play {
	width: 0px;
	height: 0px;
	background-color: transparent;
	border-style: solid;
	border-width: 0.4em 0 0.4em 0.512em;
	border-color: transparent transparent transparent white;
	cursor: pointer;
	vertical-align: middle;
	margin-left: 0.5em;
	margin-bottom: 0.1em;
	opacity: 0.9;
}

.PhilosophyList li {
	margin-bottom: 2em;
}
