body {
	margin: 0;
	background-color: #000;
	color: #fff;
	font-family: Monospace;
	font-size: 13px;
	line-height: 24px;
	overscroll-behavior: none;
	height: 100%;
	overflow: hidden;
}

a {
	color: #ff0;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

button {
	cursor: pointer;
	text-transform: uppercase;
}

#info {
	position: absolute;
	top: 0px;
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	z-index: 1; /* TODO Solve this in HTML */
}

a, button, input, select {
	pointer-events: auto;
}

.lil-gui {
	z-index: 2 !important; /* TODO Solve this in HTML */
}

@media all and ( max-width: 640px ) {
	.lil-gui.root { 
		right: auto;
		top: auto;
		max-height: 50%;
		max-width: 80%;
		bottom: 0;
		left: 0;
	}
}

#overlay {
	position: absolute;
	font-size: 16px;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: rgba(0,0,0,0.7);
}

	#overlay button {
		background: transparent;
		border: 0;
		border: 1px solid rgb(255, 255, 255);
		border-radius: 4px;
		color: #ffffff;
		padding: 12px 18px;
		text-transform: uppercase;
		cursor: pointer;
	}

#notSupported {
	width: 50%;
	margin: auto;
	background-color: #f00;
	margin-top: 20px;
	padding: 10px;
}


#blocker {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

#instructions {
	width: 100%;
	height: 100%;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;

	text-align: center;
	font-size: 14px;
	cursor: pointer;
	line-height: 1.2;
}

button {
	position: fixed;
	top: 90vh;
	left: 50vw;
	transform: translate(-50%, -50%);
	background: transparent;
	border: 1px solid #fff;
	padding: 10px 20px;
	font-size: 24px;
	color: #fff;
	opacity: 0.2;
	outline: none;
	transition: 0.5s;
	border-radius: 5px;
}

button:focus {
	opacity: 1;
}

#controller-forward {
	position: fixed;
	bottom: 80px;
	right: 60px;
	font-size: 40px;
	color: #c4c4c4;
}

#controller-right {
	position: fixed;
	bottom: 42px;
	right: 20px;
	font-size: 40px;
	color: #c4c4c4;
}

#controller-back {
	position: fixed;
	right: 60px;
	bottom: 2px;
	font-size: 40px;
	color: #c4c4c4;
}

#controller-left {
	position: fixed;
	bottom: 42px;
	right: 100px;
	font-size: 40px;
	color: #c4c4c4;
}
/*.image-container {*/
/*	!*background: url(images/bg.jpg) no-repeat center center fixed;*!*/
/*	-webkit-background-size: cover;*/
/*	-moz-background-size: cover;*/
/*	-o-background-size: cover;*/
/*	background-size: cover;*/
/*	width: 90%;*/
/*	height: 90%;*/
/*}*/
#img {
	height: 100%;
	width: 100%;
	text-align: center;
	/*display: inline-flex;*/
	display: none; /* Will be overridden to inline-flex on mobile when the image is clicked by JS in main.js */
	align-content: center;
	justify-content: center;
	align-items: center;
}
.close-button {
	color: #fff;
	position: absolute;
	top: 30px;
	left: 30px;
	background: #a600ff;
	opacity: 0.5;
}
.external-link {
	color: #fff;
	position: absolute;
	top: 6px;
	right: 6px;
	background: #a600ff;
	opacity: 0.6;
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 10px;
}