/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
html, body {
    /*
	overflow: hidden;
    width   : 100%;
    height  : 100%;
    margin  : 0;
    padding : 0;
	*/
}

#canvasBox .card {
	background-color: rgba(245, 245, 245, 0.4);
}

[id^='tomdex']{
    margin-bottom: 0;
}

[id^='renderCanvas']{
    touch-action: none;
	/*border: 1px solid black;*/
	z-index: 10;
}

#underlay {
	z-index: 5;
	color: white;
	font-size: 24px;
	line-height: 48px;
	text-align: center;
}

#overlay {
	font-size: 2em;
	z-index: 30;
	color: white;
	line-height: 48px;
	text-align: center;
	/*background-color: rgba(0,0,0,0.70);*/
}

@media (max-width:480px) {
	#overlay {
		font-size: 1.4em;
	}
}

#loadingScreen {
	font-size: 4em;
}

#loadingScreen .loadingText {
	font-size: 4rem;
}

#loadingScreenPercent {
	line-height: 10rem;
}
#rightControls {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translate(0, -50%);
	z-index: 20;
	display:none;
}
#leftControls {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translate(0, -50%);
	z-index: 20;
	display:none;
} 

#bottomControls {
	position: absolute;
	left: 50%;
	bottom: 1rem;
	transform: translate(-50%, 0);
	z-index: 20;
	pointer-events: none;
	width:100%;
	max-width:768px;
	display:none;
}

#bottomControls .tomdex-excerpt {
	font-size: 0.8em !important;
}

@media (max-width:768px) {
	#bottomControls .tomdex-excerpt {
		font-size: 0.6em !important;
	}
}

@media (max-width:480px) {
	#bottomControls .tomdex-excerpt {
		display:none;
	}
}

#downButton {
	font-size: 1.2em !important;
	pointer-events: auto;
	cursor: pointer;
}

#topControls {
	position: absolute;
	right: 1rem;
	top: 1rem;
	z-index: 40;
	display:none;
}

#infoBox {
	position: absolute;
	left: 50%;
	top: 15%;
	transform: translate(-50%, -50%);
	z-index: 10;
	pointer-events: none;
	display:none;
}

#infoBox h2 {
	font-size: 4rem;
}

[id^='tomdex'] {
	text-shadow: 0 0 3px #000;
}

#rightControls, #leftControls, #bottomControls, #topControls {
	padding: 1rem;
	opacity: 0.75;
}

#fixedBottomControls {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 1030;
}

.marker {
	position: absolute;
	transform: translate(-50%, -50%);
	opacity:0.6;
	z-index:99;
	pointer-events:none;
}

.marker svg {
	height: 32px;
	width: 32px;
}