* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	text-decoration: none;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
	-moz-osx-font-smoothing: grayscale;
	line-height: inherit;
	outline: 0;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
	background: #000;
	font-family: Helvetica, Arial, sans-serif;
	color: #fff;
	line-height: 1.3em;
	overflow-y: hidden;
	overflow-x: auto;
	font-size: 13px;
}

h2 {
	font-size: 120%;
	margin-bottom: 1em;
}

label,
input[type=range],
select,
button {
	display: block;
	width: 100%;
	margin: 1.5em 0;
	cursor: pointer;
}
input[type=radio] {
	display: inline-block;
	margin-right: 6px;
	margin-bottom: 3px;
	vertical-align: middle;
}

button {
	text-transform: uppercase;
	font-size: 10px;
	padding: 0.2em 1em;
	width: 100%;
	line-height: 1.3em;
}

h4 {
	margin-bottom: 0.5em;
}

#drivers {
	position: fixed;
	left: 0;
	top: 0;
	padding: 40px;
	width: 220px;
	z-index: 999;
}

#driver-info th {
	text-align: left;
}
#driver-info th,
#driver-info td {
	padding: 0.1em 1em 0.1em 0;
}

#fps {
	position: fixed;
	right: 40px;
	top: 40px;
	font-family: monospace;
	z-index: 999;
	/*display: none;*/
}

#fps span {
	white-space: pre;	
}

.status {
	color: #999;
	margin: 0.75em 0 1em;
}
.status p {
	word-break: break-all;
}
.status[status=success] {
	color: #20ff87;
}

.status[status=error] {
	color: red;	
}

#preview {
	position: absolute;
	left: 50%;
	top: 48%;
	transform: translate(-50%, -50%);
	width: 100vw !important; 
	height: 90vh !important; 
	object-fit: contain; 
	z-index: 0;
}