	
body {
	margin: 0;
	background-color: #000;
	color: #fff;
	font-family: Monospace;
	font-size: 13px;
	line-height: 24px;
	overscroll-behavior: none;
}
canvas {}
a {
	color: #ff0;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

button {
	cursor: pointer;
	text-transform: uppercase;
}

#info {
	position: absolute;
	top: 0px;
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	z-index: 1; /* TODO Solve this in HTML */
}

a, button, input, select {
	pointer-events: auto;
}

.lil-gui {
	z-index: 2 !important; /* TODO Solve this in HTML */
}

@media all and ( max-width: 640px ) {
	.lil-gui.root { 
		right: auto;
		top: auto;
		max-height: 100%;
		max-width: 100%;
		bottom: 0;
		left: 0;
	}
}

#overlay {
	position: absolute;
	font-size: 16px;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: rgba(0,0,0,0.7);
}

	#overlay button {
		background: transparent;
		border: 0;
		border: 1px solid rgb(255, 255, 255);
		border-radius: 4px;
		color: #ffffff;
		padding: 12px 18px;
		text-transform: uppercase;
		cursor: pointer;
	}

#notSupported {
	width: 50%;
	margin: auto;
	background-color: #f00;
	margin-top: 20px;
	padding: 10px;
}

#touch_left_a, 
			#touch_left_b,
			#touch_left_c,
			#touch_left_d,
			#touch_right_a,
			#touch_right_b,
			#touch_right_c,
			#touch_right_d
			{
				position: fixed; 
				z-index: 75; 
				bottom: 0vw;
				left: 6vw;
				width: 15vw; 
				height: 20vh; 
				border: 3px rgba(0,0,200,0.25) solid;
				background: #00000011;
				
				touch-action: none;
				-webkit-user-select: none; 
				-khtml-user-select: none; 
				-moz-user-select: none; 
				-ms-user-select: none; 
				user-select: none; 
				
				opacity: 1.0;
				outline: 0;
			}
			
			
			#touch_left_a
			{
				 border-right: 0;
			}
			
			#touch_left_b
			{
				left: 36vw; border-left: 0;
			}
				
				#touch_left_c
			{
				left: 21vw;
				bottom: 17vw; border-bottom: 0;
			}
			
			#touch_left_d
			{
				left: 21vw;
			}
			
			#touch_right_a
			{
				left: 63vw;
			}
						
			#touch_right_b
			{
				left: 78vw; border-left: 0;  
			}
			
			#touch_right_a
			{
				left: 63vw;
			}
						
			#touch_right_b
			{
				left: 78vw; border-left: 0;  
			}

			#touch_right_c
			{
				left: 63vw; ; border-bottom: 0;
			}
						
			#touch_right_d
			{
				left: 78vw; border-left: 0;
							border-bottom: 0;  
			}
			
			#touch_left_a,
			#touch_left_b,
			#touch_left_d,
			#touch_right_a,
			#touch_right_b
			{
			
				bottom: 5%;
			}
			
			#touch_left_c,
			#touch_right_c,
			#touch_right_d
			{
				bottom: 25%;
			}	

			#canvas_a 
			{
				position: absolute;
				width: 100%; 
				height: 100%;
			}
			
					
			@media (orientation: portrait)
			{
				#canvas_a
				{
					position: absolute;
					width: 100%; 
					height: 100%;	
				}

				#touch_left_a, 
				#touch_left_b,
				#touch_left_c, 
				#touch_left_d,
				
				#touch_right_a,
				#touch_right_b,
				#touch_right_c,
				#touch_right_d
				
				{
					width: 19%;
					height: 18; 
					left: 0; 
					border: 5px rgba(0,0,0,0.25) solid;
				}
				
				#touch_left_a
				{
				
					 border-right: 0;
				}
				
				#touch_left_b
				{
					
					left: 38%; border-left: 0;  
				}
				#touch_left_c	
				{
				left: 19%; border-bottom: 0;
				}
				
				#touch_left_d	
				{
				left: 19%; 
				}
							
				
				#touch_right_a
				{
					left: 62%;
				}
				
				#touch_right_b
				{
					left: 81%; border-left: 0;
				}

				#touch_right_c
				{
					left: 62%; border-bottom: 0;
					
				}
				
				#touch_right_d
				{
					left: 81%; border-left: 0; border-bottom: 0;
					
				}
											
				#touch_left_c,
				#touch_right_c,
				#touch_right_d
				{
					bottom: 18w;
				}	
	
			}	
			
			*
			{
				box-sizing:				border-box;
				-moz-box-sizing:		border-box;
				-webkit-box-sizing:		border-box;
			}