html{
	font-family:  Arial, Helvetica, sans-serif;
	font-size: 18px;
	letter-spacing: 2px;
	line-height: 1.30;
	margin: 0;
	padding: 0;
	width: 100vw;
	height: 100vh;
	overflow: hidden; /* This is the key: hides scrollbars and blocks page scrolling */
	overscroll-behavior: none; /* Stops the rubber-band bounce effect on iOS/Android */
	position: fixed; /* Extra security to lock the viewport in place */
	/* Allow up/down movement, but block pinch-to-zoom completely */
	touch-action: pan-y; 
	/* Prevents the browser from highlighting text or graphics if the player taps aggressively */
	user-select: none;
	-webkit-user-select: none;
}
body {
      background-color: green;
      display: flex;
      justify-content: center;
      align-items: center;
	width: 100vw;
	height: 100vh;	
}
#gameCanvas {
      border: 4px solid #ffffff;
      background-color: #000000;
	margin-bottom:10px;
}
	/* Tell the browser not to handle panning or scrolling on your game elements */
#gameCanvas {
	touch-action: none; /* Disables default touch scrolling/gestures on these items */
	user-select: none;  /* Prevents accidental text highlighting when tapping buttons */
	-webkit-user-select: none;
}
#plinth{
	margin-bottom:60px 
}
#mode-toggle, #mode-toggle-text{
	text-align:center;
}
#mode-toggle:hover {
 	cursor:pointer;
}

#winner-container {
	display: none;
	text-align: center;
}
#win-link{
	color: blue;
	font-weight:normal;
}
#game-over-screen {
	padding:5px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: red;
	font-weight: bold;
	text-align: center;
	display: none;
	border:5px double black;
}	
#victory {
	color: black;
}
.sim-btn{
	margin: 20px 0px;
	padding: 5px;
	font-weight: bold;
	background: lime;
	color: black;
	border: none;
	cursor: pointer;
	border-radius: 5px;
	text-decoration: none;
}
.crt-screen .sim-btn, .ops .sim-btn {
	width:40%;
	margin: 20px 0px;
	padding: 10px 10px;
	font-size: 1.3em;
	font-weight: bold;
	background: lime;
}
.crt-screen .sim-btn a, .ops .sim-btn a {
	color:black;	
}
.sim-btn:hover {
	background: #00ff00;
	box-shadow: 0 0 10px lime;
 }

.touch {
	color:white; 
	font-size: 1.8em;
	cursor: pointer;
	position: absolute;
	top:10px;
	left:10px;
	width:50px;
	z-index:0;
}
/* =================
Hamburger menu 
===================*/
.menu {
	display: inline-block;
	cursor: pointer;
	position: absolute;
	top:10px;
	right:20px;
	z-index: 999;
}
.bar1, .bar2, .bar3 {
	width: 1.5em;
	height: 3px;
	background-color: #ffffff;
	margin: 3px 0;
	transition: 0.4s;
}
.change .bar1 {
  transform: translate(0, 3px) rotate(-45deg);
}
.change .bar2 {opacity: 0;}
.change .bar3 {
	transform: translate(0, -9px) rotate(45deg);
}
 /* -- Deal with the menu items -- */	
 /* Dropdown Content (Hidden by Default) */
.dropdown-content {
	display:none;
}
.show {
	display:inline-block;
	position: fixed;
	float:right;  
	right: 70px;
	top: 10px;
	z-index:9999;
	/* Enabling a smooth animated transition 
	-moz-transition: 0.5s all linear;
	-webkit-transition:0.5s all linear;
	transition: 0.5s all linear;*/
}
#nav li {
	float:none;
	display: block;
	border-style:none;
	margin-bottom:5px;
}
#nav li a {
	padding: 3px 3px;
	text-decoration:none;
	font-family: 'VT323', monospace;
	color: #33ff66;
}
#nav{
	height:auto;
	margin:3px;
	padding:3px;
}
#nav li:hover {
	background-color: #33ff66;
	color:#000000;
}
#nav li a:hover {
	color:#000000;
}
.menuFloatR{
	position:fixed;
	float:right;  
	background-color:#000000;
	top: 20px;
      right: 60px;
	z-index:999;
	width:auto;
	height:auto;
	border: solid 1px white;
	border-radius: 10px;
}
   
/* -- End deal with the menu items  -- */
.crt-screen {
	height:85%;
	overflow-y: auto;		
	padding:20px;
	font-family: 'VT323', monospace;
	background-color: #000000;
	color: #33ff66;
	text-shadow: 0 0 8px rgba(51, 255, 102, 0.6);
	margin: 10px 20px;
	border: solid 1px white;
	border-radius: 10px;
	/*font-size: 0.7em;*/
}
.crt-screen .hdr {
	text-align: center;
}
.crt-screen .proc,  .post {
	padding: 2px 10px ;
	background-color: rgb(255, 255, 255);
	color: black;
	text-shadow:none;
}
.crt-screen .proc a,  .ops a {
	color: #33ff66;
	text-decoration:none;
}

.crt-screen .home a {
	text-decoration:none;
}
.crt-screen .rpt .seed a {
	color: blue;
	text-decoration:underline;
}

.crt-screen .rpt li a {
	text-decoration:underline;
}

label {
	font-weight:bold;
	font-size:1.2em;
}
.crt-screen .proc a:hover {
	text-shadow: 1px 2px .75px #33ff66;
}
.touch-btn {
	width: 60px;
	height: 60px;
	background: rgba(255, 255, 255, 0.2);
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	color: white;
	font-size: 20px;
	font-weight: bold;
	outline: none;
	user-select: none; /* Prevents text highlighting when tapping fast */
	-webkit-user-select: none;
}
.point .touch-btn {
	display: inline-block;
	text-align:center;
	width: auto;
      height: auto;
	background: none;
	color: #33ff66; 
	font-size:1em;
	padding-left:4px;
	padding-right:4px;
}
.lft {
	float: left;
}
.rt {
	float: right;
}
.labeld {
	display: block;
	clear: left;
	float: left;
	width: 8em;
	text-align: left;
	padding: 5px 5px 0 0;
	color: black;
}
.datad {
	display: inline-block;
	width: 4em;
	text-align: left;
	padding: 5px 5px 0 0;
	color: black;
}
.datad .score {
	max-width: 6em;
}
.txtd {
	display: inline-block;
	font-style: italic;
}
.midscr{
	position: relative;
	top:20%;
}
.lowscr{
	position: relative;
	top:50%;
}
.footer a:visited {
	color: #33ff66;
}
.footer {
	position: relative;
	bottom: 0;
	width: 100%;	
	padding: 2em .25em 2em 0.25em;
	height: 30px;
	font-size:1em;
	color: #33ff66;
	text-align: left;
	}
.home .footer, .reviews .footer  {
	position: absolute;
}	
.post .footer, .post .footer a{
	color: black;
}
.home a{
	text-decoration: underline;
	color: #33ff66;
}
.footer a, .ops a{
	text-decoration: none;
	color: #33ff66;
}
.ops .cntrs li{
	list-style-type:none;
}
 .cntrs .symbol{
	font-size:1.8em;
}
.ops .objs li{
	list-style-type:disc;
}
.underL {
	text-decoration: underline;
}
.bold {
	font-weight: 900;
	font-size:1.2em;
}
div .tab li{
	list-style-type:none;
	line-height:1.4em
}


 /*============================================
 Logo and top bar 
============================================*/
.logo {
	letter-spacing: 1px;
	/*color: rgb(131,150,156);*/
	color: rgb(255,255,255);
	text-shadow: 1px 2px .75px rgb(51,72,115);
	font-size: 1.75em;
	position: relative;
	margin-top:2px;
	/*width:450px;
	min-width:450px;*/
	float:left;
}
.logo2 {
	letter-spacing: -1px;
	/*color: rgb(131,150,156);*/
	color: rgb(255,255,255);
	text-shadow: 1px 2px .75px rgb(51,72,115);
	font-size: 2em;
	font-weight:bold;
}
.logo3 {
	letter-spacing: -1px;
	/*color: rgb(131,150,156);*/
	color: rgb(255,255,255);
	text-shadow: 1px 2px .75px rgb(51,72,115);
	font-size: 1.8em;
}
.logo:hover , .logo2:hover, .logo3:hover {
	text-shadow: 1px 2px .75px rgb(254,157,4);
}
/*=================================
End Logo and Top Bar
=================================*/

 .home {
  background-image: url('../images/frontCover01b.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;  
  background-size: contain;
  background-position: center;
  text-align: center;
  overflow-y: auto;		
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (min-width: 300px) and (max-width: 600px) {
	html {
		letter-spacing: 1px;
		font-size: 0.9em;
		line-height: 1;
	}
	.logo {
		text-shadow: 0.25px 0.5px .19px rgb(51,72,115);
	}
	.logo2 {
		letter-spacing: -1px;
		text-shadow: 0.5px 1px .375px rgb(51,72,115);
		font-weight:bold;
	}	
	.logo3 {
		letter-spacing: -1px;
		text-shadow: 0.4px .75px .2px rgb(51,72,115);
	}
	.post .sim-btn, .ops .sim-btn, .al .sim-btn {
	width:75%;
	}
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
}
/* small devices (820px and down) */
@media only screen and (max-width: 820px) and (min-height: 640px) {
}
@media only screen and (max-width: 1024px) {
		.touch-btn {
		width: 60px;
		height: 60px;
		background: rgba(255, 255, 255, 0.2);
		border: 2px solid rgba(255, 255, 255, 0.4);
		border-radius: 50%;
		color: white;
		font-size: 1.2em;
		font-weight: bold;
		outline: none;
		user-select: none; /* Prevents text highlighting when tapping fast */
		-webkit-user-select: none;
	}

}
@media only screen and (max-width: 600px) {

}
@media only screen and (max-width: 300px) {
	html {
		letter-spacing: 1px;
		font-size: 0.65em;
		line-height: 1;
	}
	h1 {
		font-size: 1.5em;
	}
	.logo {
		letter-spacing: 1px;
		/*color: rgb(131,150,156);*/
		color: rgb(255,255,255);
		text-shadow: 0.25px 0.5px .19px rgb(51,72,115);
		font-size: 1.5em;
	}
	.logo2 {
		letter-spacing: -1px;
		text-shadow: 0.5px 1px .375px rgb(51,72,115);
		font-weight:bold;
	}	
	.logo3 {
		letter-spacing: -1px;
		text-shadow: 0.4px .75px .2px rgb(51,72,115);
	}
	.crt-screen {		
		padding:10px;
	}
	.sim-btn, .post .sim-btn {
		margin: 20px 0px;
		padding: 10px 10px;
		font-size: 1.4em;
		width:100%;
		font-weight: bold;
		border-radius: 3px;
	}
	.touch-btn {
		width: 40px;
		height: 40px;
		font-weight: bold;
	}
	.touch {
		font-size: 2.8em;
	}
	.post .sim-btn, .ops .sim-btn, .al .sim-btn {
		width:90%;
	}
}
@media only screen and (max-width: 180px) {
	html {
		letter-spacing: 1px;
		font-size: 0.65em;
		line-height: 1;
	}	
	.logo {
		text-shadow: 0.25px 0.5px .19px rgb(51,72,115);
	}
	.logo2 {
		letter-spacing: -1px;
		text-shadow: 0.5px 1px .375px rgb(51,72,115);
		font-weight:bold;
	}	
	.logo3 {
		letter-spacing: -1px;
		text-shadow: 0.4px .75px .2px rgb(51,72,115);
	}
	.touch-btn {
		width: 40px;
		height: 40px;
		font-weight: normal;
	}
	.post .sim-btn, .ops .sim-btn, .al .sim-btn {
		width:100%;
	}
}
/* Touchscreen devices with tall screens */
@media only screen and (min-height: 800px) {
	#plinth{
		margin-bottom:40px 
	}
}
@media only screen and (min-height: 600px) {	
	#plinth{
		margin-bottom:50px 
	}
}
@media only screen and (min-height: 500px) {	
	#plinth{
		margin-bottom:60px 
	}
}

@media only screen and (max-height: 500px) {	
	.touch {
		left:5px;
	}
	#plinth{
		margin-bottom:70px 
	}
}
@media only screen and (max-height: 400px) {	
	#game-over-screen {
	}
	#mode-toggleX{
		/*font-size: 1em;*/
		margin-top:1px;
		padding:1px;
	}
	.sim-btn{
		margin: 10px 0px;
		padding: 5px;
		font-weight: bold;
		border-radius: 3px;
	}
	#plinth{
		margin-bottom:50px 
	}
	.touch {
		left:0px;
	}
}
@media only screen and (max-height: 200px) {	
	#plinth{
		margin-bottom:15px 
	}
}

@media only screen and (max-height: 150px) {	

	.sim-btn{
		margin: 5px 0px;
		padding: 2px 2px;
		font-weight: bold;
		border-radius: 2px;
	}
}


/* Touchscreen devices with low height screens */
@media only screen and (orientation: landscape) {

	#gameCanvas {
		top:0px;
	}
}
@media print {
	html, body, .crt-screen, .footer, a, p, i {
		color:black;
		background: white;
		position: relative;
		overflow:visible !important;
		height: auto !important;
		max-height: none !important;
	}
	.crt-screen{
		text-shadow: none; 
		padding:10px;
		
	}
	.footer {
		page-break-after: always;
		position: absolute;
	}
	.footer a{
	text-decoration: none;
	color: #000000;
	}
	.footer a:visited {
	color: #000000;
	}
	.nprn {
		display:none;
	}
}