html {
	background-color: #000;
	background: url('img/background.jpg');
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 100%;
	color: #CCC;
	font: 16px/1.6em 'Roboto', sans-serif;
	/*overflow: hidden;*/
}
html.chapter2 {
	background: url('img/background-2.jpg');
    background-size: cover;
	background-position: left;
}
html.chapter3 {
	background: url('img/background-3.jpg');
    background-size: cover;
    background-position: center;
}
html.chapter4 {
	background: url('img/background-4.jpg');
    background-size: cover;
    background-position: center;
}
html.chapter5 {
	background: url('img/background-5.jpg');
    background-size: cover;
	background-position: center;
}
html.chapter6 {
	background: url('img/background-6.jpg');
    background-size: cover;
	background-position: center;
}
html.glitch {
	background: url('img/glitch.jpg');
	opacity: 0;
}
body {
	margin: 0;
	padding: 20px;
	height: 100%;
	box-sizing: border-box;
	background: rgba(0, 0, 0, 0);
	transition: background 2s ease-out;
}
body.white {
	background: rgba(255, 255, 255, 1);
	color: #000;
	transition: background 2s ease-out;
}
body.black {
	background: rgba(0, 0, 0, 1);
	transition: background 2s ease-out;
}
div#gameContainer {
	display: table;
	width: 100%;
	height: 100%;
	text-align: center;
}
div.slide {
	display: table-cell;
	vertical-align: middle;
}
div.inactive {
	display: none;
}
div.slide#storySlide p {
	font: 15px/1.5em 'Roboto', sans-serif;
}
div#home span {
	display: block;
	font-size: .8em;
	opacity: .6;
}
div#home button {
	background: transparent;
	font: 16px/1.6em 'Roboto', sans-serif;
	color: #000;
	border: 2px solid #000;
	border-radius: 5px;
	padding: 5px 10px;
	opacity: .8;
    width: 50%;
    max-width: 140px;
    display: block;
    margin: 10px auto 0;
}
div#home button:first-child {
	margin-top: 0 !important;
}
div.options {
	margin-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, .5);
	padding-top: 5px;
}
a {
	color: #DC6900;
	text-decoration: none;
}
a[disabled='disabled'] {
	opacity: .5;
}

div#homeButton {
	position: fixed;
	right: 8px;
	top: 8px;
	width: 24px;
	height: 24px;
	background: url('img/home.png');
	background-size: contain;
	opacity: .5;
	display: none;
}
div#homeButton.active {
	display: block;
}