html, body { margin: 0; padding: 0; height: 100%; overflow: hidden}
body {
	position: relative;
	background-color: #000;
}

.hudbtn {
	position: absolute;
	z-index: 10;
	top: 0;
	right: 0;
	padding: 10px;
	margin: 10px;
	border: 2px solid #3040c0;
	border-radius: 6px;
	color: #3040c0;
	font-weight: bold;
	font-size: 12px;
	background-color: transparent;
	outline: none;
	cursor: pointer;
	user-select: none;
}
#attribution {
	position: absolute;
	top: 5px;
	left: 3px;
	font-size: 11px;
	color: #fff;
	z-index: 10;
	font-family: Helvetica, Arial, sans-serif;
	opacity: .5;
}
#attribution .title {
	font-weight: bold;
}

#btnToggleView {
	right: 38px;
}
#btnToggleFocalLength {
	right: 136px;
}
#btnSelectStarsystem {
	right: 240px;
}

#starsystems {
	position: absolute;
	left: 0;
	bottom: 20%;
	width: 100%;
	height: 60%;
	background-color: rgba(0, 0, 0, 0.8);
	color: #3040c0;
	z-index: 10;
	overflow: auto;
}
#starsystems ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
#starsystems ul li {
	cursor: pointer;
}
#starsystems ul li + li {
	margin-top: 10px;
}

.dpad {
	position: absolute;
	z-index: 10;
	bottom: 0;
	left: 0;
	border: 2px solid #3040c0;
	border-radius: 6px;
	color: #3040c0;
	font-size: 16px;
	background-color: transparent;
	outline: none;
	padding: 10px;
	cursor: pointer;
	user-select: none;
}
#dpad-up {
	bottom: 80px;
	left: 40px;
}
#dpad-down {
	bottom: 0px;
	left: 40px;
}
#dpad-left {
	bottom: 40px;
	left: 0;
}
#dpad-right {
	bottom: 40px;
	left: 80px;
}
#shell {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 50%;
	height: 200px;
	background-image: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.3));
	color: #fff;
	max-width: 500px;
}
#shell-log {
	height: 180px;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-y: scroll;
}
#shell-log::-webkit-scrollbar {
	width: 4px;
	background-color: rgba(0,0,0,0.8);
}
#shell-log::-webkit-scrollbar-thumb {
	background-color: #3040c0;
}
#shell-log li {
	width: 100%;
	padding: 5px;
	box-sizing: border-box;
	font-family: sans-serif;
	font-size: 0.8em;
}
#shell-log .info {color: #3040c0; font-style: italic;}
#shell-log .chat {color: #fff;}
#shell-log .error {color: #ff0000;}
#shell-query {
	height: 20px;
	border: 0;
	background-color: rgba(0,0,0,0.8);
	padding: 0 4px 2px;
	box-sizing: border-box;
	color: #fff;
	width: 100%;
	outline: none;
}
#shell-query:focus {
	background-color: #3040c0;
	color: #000;
}

#information {
	position: absolute;
	top: 0;
	left: 0;
	width: 33%;
	height: 60%;
	background-color: rgba(0,0,0,0.8);
	color: #fff;
}