body {
	margin: 0;
	background-color: black;
	color: #fff;
	font-family: Monaco, monospace;
	font-size: 12px;
	line-height: 20px;
	overscroll-behavior: none;
	overflow: hidden;
	overflow-y: auto;
	height:100vh;
	text-align: center;
	font-weight: 100;
}

b {
	font-weight: 900;
	font-variant-caps: small-caps;
	font-size: 14px;
}

h4 {
	font-size: 18px;
	font-variant-caps: small-caps;
	margin: auto;
	/*text-align: left;*/
}

button {
	font-family: inherit;
	line-height: inherit;
	cursor: pointer;
}

table {
	float: left;
	line-height: 14px;
}

input[type="range"] {
	/*cursor: pointer;*/
	-webkit-appearance: none;
	background-color: white;
	height: 5px;
	border-radius: 10px;
	margin-top: 0.9em;
    margin-bottom: 0.7em;
}

input[type=range]:focus {
  outline: none;
}

input[type=range]::-moz-range-thumb {
	background: #0060df;
	height: 11px;
}

progress {
   appearance: none; /* For Chrome */
   color: white;
   border-width: 0px;
   height: 5px;
   border-radius:5px;
}

/* For Chrome */
progress::-webkit-progress-value{
    background: black;
}
progress::-webkit-progress-bar{
    background: white;
    border-radius: 5px;
}

/* For Firefox */ 
progress::-moz-progress-bar { 
    background: black;
}


button {
    font-family: inherit;
    line-height: inherit;
    cursor: pointer;
    padding: 0.5em 2em;
    margin: 2em 4em 0.5em;
    border-color: white;
}

button:hover {
  background-color: black;
  color: white;
}

button:hover + .butinfo{
    display: block;
}

button:disabled,
button[disabled]{
  background-color: #aaaaaa;
}

.key {
    border: 1px solid white;
    border-radius: 3px;
    padding: 0 5px 1px;
    margin: 0 1px;
}

.mouse {
    border: 1px solid white;
    border-radius: 20px;
    padding: 1px 5px 1px;
    margin: 0 1px;
}

.but {
    vertical-align: top;
    display: inline-block;
    max-width: 20em;
    min-width: 15em;
    min-height: 13em;
}

.butinfo {
    max-width: 15em;
    margin-left: auto ;
    margin-right: auto ;
    display: none;
}

.logo {
	max-width: 20em;
	flex: 1;
    /*display: inline-flex;*/
    /*padding: 0.5em;*/
    vertical-align: middle;
    /*margin: 0 4em;*/
}

.Canvas {
	position: absolute;
	display: block;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

#choice {
    width: 100%;
    position:absolute;
    top:50%;
    left:50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#content {
	height: calc(100vh - 126px);
	overflow-y: auto;
}

#header {
    display: inline-block;
    margin-top: 2em;
}

#description {
	padding: 2em;
	margin: auto;
	max-width: 70%;
	text-align: justify;
}

#description h2 {
	text-align: center;
	padding-bottom: 1em;
}

#controls {
	margin: auto;
	margin-top: 1em;
	line-height: 2em;
	max-width: 70%;
}

#keys {
	text-align: center;
	float: left;
	clear: left;
	margin: 0;

}

#keys td {
	padding: 0.6em;
}

#keys_info {
	text-align: left;
	float: left;
	max-width: 40%;
}

#mouse_info {
	text-align: left;
	float: left;
	clear: left;
	max-width: 40%;
}

#jumps {
	text-align: right;
	float: right;
	max-width: 50%;
}

#joystick {
	display: inline-block;
	text-align: center;
	min-width: 50em;
	margin: 2em;
}

#controller {
	display: inline-block;
	text-align: center;
	min-width: 50em;
	margin: 4em;
}

#logos {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
    max-width: 70%;
    margin: auto;
}

#logos span {
    font-size: 11px;
    line-height: 60px;
    vertical-align: top;
}

#startButton {
	position: fixed;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
  	transform: translate(-50%, -50%);
  	margin-bottom: 8em;
}

#timer {
	/*clear: both;*/
	/*text-align: right;*/
	/*float: right;*/
	clear: both;
	width: 70%;
	/*min-width: 25%;*/
	margin: auto;
	padding: 3em 0 4em;
	display: none;
}

#timeslider {
	width: 50%;
}

#progress {
	clear: both;
	padding: 3em 0 4em;
}

#progbar {
	min-width: 35%;
}

#duration {
	font-size: 18px;
	font-variant-caps: small-caps;
}

#time {
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 1;
}

#percentage {
	position: fixed;
	bottom: 0;
	right: 0;
	z-index: 1;
}
