:root {
	--doc-height: 100%;
}

html, body {
	color: #fff;
	background-color: #191919;
	font-family: helvetica, arial, sans-serif;
	margin: 0;
	padding: 0;
	font-size: 12pt;
	height: 100vh;
	height: var(--doc-height);
}

body {
	overflow-x: hidden;
	-webkit-user-select: none !important;
	user-select: none !important;
	-webkit-touch-action: manipulation !important;
	touch-action: manipulation !important;
	-webkit-touch-callout: none !important;

}

#dysplay {
	position: relative;
	width: 1401px;
	height: 745px;
	margin: auto;
	background-image: url("dysplay.jpg");
	background-position: left center;
	background-repeat: no-repeat;
	transform-origin: 0% 0%;
	top: 50%;
}
#screen {
	position: absolute;
	width: 640px;
	height: 576px;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
}
#canvas {
	position: relative;
}

/* btns */
.btn {
	position: absolute;
	display: block;
	width: 45px;
	height: 45px;
	opacity: 0.5;
	box-shadow: #000 0 0 10px;
	border-radius: 50%;
	transition: all .2s ease-out;
	cursor: pointer;
	overflow: hidden;
}
.btn:hover {
	transform: scale(1.1);
	opacity: 1;
}

/* info controle */
#btnInfo {
	top: 15px;
	left: 15px;
	color: #3c5c95;
}

#info_controle {
	background-color: rgba(64,64,64,.85);
	position: absolute;
	left: 11%;
	height: 100%;
	box-shadow: #000 0 0 50px;
}

#info_controle img {
	height: 100%;
}

/* btn NW */
#btnFullscreen {
	top: 15px;
	right: 70px;
	color: #444;
}
#btnClose {
	top: 15px;
	right: 15px;
	color: #844;
}


.crisp {
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: pixelated;
	image-rendering: crisp-edges;
	-ms-interpolation-mode: nearest-neighbor;
}

/* Virtual Pad */
.vBtn {
	cursor: pointer;
	position: absolute;
	/* background-color: rgba(255, 255, 255, 0.1); */
}

#btnStart {
	width: 60px;
	height: 118px;
	top: 32px;
	right: -180px;
	border-top-right-radius: 60px;
	border-bottom-right-radius: 60px;
}
#btnA {
	width: 100px;
	height: 100px;
	top: 216px;
	right: -349px;
	border-radius: 100px;
}
#btnB {
	width: 100px;
	height: 100px;
	top: 321px;
	right: -243px;
	border-radius: 100px;
}

.dirBtn {
	transform: rotate(45deg);
}
#btnUp {
	width: 100px;
	height: 100px;
	top: 186px;
	left: -298px;
	border-top-left-radius: 100px;
}
#btnDown {
	width: 100px;
	height: 100px;
	top: 350px;
	left: -298px;
	border-bottom-right-radius: 100px;
}
#btnLeft {
	width: 100px;
	height: 100px;
	top: 268px;
	left: -382px;
	border-bottom-left-radius: 100px;
}
#btnRight {
	width: 100px;
	height: 100px;
	top: 268px;
	left: -214px;
	border-top-right-radius: 100px;
}

#tips {
	padding-right: 10px;
    text-align: right;
	font-size: 75%;
	color: #aaa;
}

/* EntityLink*/
#popuplink {
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	position: absolute;
	top: 0;
	width: 90%;
    height: 90%;
    margin: 5%;
	/* width: 640px;
	height: 576px; */
	background-color: rgba(255,255,255,.85);
	color: black;
}
#popuplink.show {
	display: flex;
}

#popuplink p  {
	width: 75%;
	font-size: 24px;
	text-align: center;
    color: black;
	text-shadow: white 0 0 5px;
}

#popuplink a:link, #popuplink a:visited  {
	padding: 5px 12px;
	font-size: 30px;
    text-decoration: none;
    color: black;
	font-weight: bold;
	text-shadow: white 0 0 5px;
}
#popuplink a:hover {
	background-color: black;
	color: white;
}

#popuplink svg {
	width: 20px;
}

#popuplinkClose {
	position: absolute;
	top: 20px; right: 20px;
	padding: 4px 7px 2px 7px;
	font-size: 24px;
	font-weight: bold;
    text-align: center;
	cursor: pointer;
	text-shadow: white 0 0 5px;
	background-color: white;
	color: black;
}
#popuplinkClose:hover {
	background-color: black;
	color: white;
}

#linkInfo {
	position: absolute;
	bottom: 20px; left: 20px;
	width: 90%;
	font-size: 12px;
	font-style: italic;
	text-align: center;
	color: black;
}