body {

	background: #231F20;
	scroll-behavior: 'smooth';
	font-family: 'arial, sans-serif';
	touch-action: none;
	margin: 0;
	border: 0 none;
	padding: 0;
	text-align: center;
	background-color: black;
}

#canvas {
	display: block;
	margin: 0;
	color: white;
}

#canvas:focus {
	outline: none;
}

.godot {
	font-family: 'Noto Sans', 'Droid Sans', Arial, sans-serif;
	color: #e0e0e0;
	background-color: #3b3943;
	background-image: linear-gradient(to bottom, #403e48, #35333c);
	border: 1px solid #45434e;
	box-shadow: 0 0 1px 1px #2f2d35;
}

/* Status display */

#status {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	/* don't consume click events - make children visible explicitly */
	visibility: hidden;
}

#status-progress {
	width: 366px;
	height: 7px;
	background-color: #38363A;
	border: 1px solid #444246;
	padding: 1px;
	box-shadow: 0 0 2px 1px #1B1C22;
	border-radius: 2px;
	visibility: visible;
}

@media only screen and (orientation:portrait) {
	#status-progress {
		width: 61.8%;
	}
}

#status-progress-inner {
	height: 100%;
	width: 0;
	box-sizing: border-box;
	transition: width 0.5s linear;
	background-color: #202020;
	border: 1px solid #222223;
	box-shadow: 0 0 1px 1px #27282E;
	border-radius: 3px;
}

#status-indeterminate {
	height: 42px;
	visibility: visible;
	position: relative;
}

#status-indeterminate > div {
	width: 4.5px;
	height: 0;
	border-style: solid;
	border-width: 9px 3px 0 3px;
	border-color: #2b2b2b transparent transparent transparent;
	transform-origin: center 21px;
	position: absolute;
}

#status-indeterminate > div:nth-child(1) { transform: rotate( 22.5deg); }
#status-indeterminate > div:nth-child(2) { transform: rotate( 67.5deg); }
#status-indeterminate > div:nth-child(3) { transform: rotate(112.5deg); }
#status-indeterminate > div:nth-child(4) { transform: rotate(157.5deg); }
#status-indeterminate > div:nth-child(5) { transform: rotate(202.5deg); }
#status-indeterminate > div:nth-child(6) { transform: rotate(247.5deg); }
#status-indeterminate > div:nth-child(7) { transform: rotate(292.5deg); }
#status-indeterminate > div:nth-child(8) { transform: rotate(337.5deg); }

#status-notice {
	margin: 0 100px;
	line-height: 1.3;
	visibility: visible;
	padding: 4px 6px;
	visibility: visible;
}





p.content{
	display: grid;
	margin: auto;
	width: 70%;
	top: 25px;
	padding: 2%;
	position:relative;
	font-style: italic;
	font-size: 20px;
	background-color:#AAAAAA;
}

.navigation{
	/*portrait view*/
	width: 100%;
	left: 0;
	top: 0px;
	overflow: show;
	padding-bottom: 2px;
    display: inline-block;

	/*defaults*/
	z-index:2;
	padding-left: 0px;
	position: fixed;
	background-color: #444444;
	border-bottom-style: solid;
	border-bottom-width: 2px;
	border-color: #b9002e;
	text-shadow: 1.5px 1.5px #884444;
	box-shadow: 0 10px 18px 0 rgba(0, 0, 0, 0.5);
}

.links {
	pointer-events: auto;
	z-index: 1;
	opacity: 0;
	visibility: hidden;
	display: none;
}

.links a{
	/*portrait view*/
	min-width: 11.5rem;
	width: 11.5rem;
	height: 3rem;
	color: white;
	overflow: visible;

	/*defaults*/
	display: inline-block;
	text-align: center;
	font-size: 25px;
	text-decoration: none;
	padding-top: 5px;
	padding-bottom: 5px;
	border: 10px solid transparent;
	border-image: url(../res/btn_bg.png) 30% 40 fill;
	border-radius: 30%;
}

.links a:hover{
	color: transparent;
	text-shadow: 2px 2px #fcfcfc;
	border: 10px solid transparent;
	border-image: url(../res/btn_bg_hover.png) 30% 40 fill;
	font-size: 25px;
}

#btn_shownav {
	color: white;
	width: 98%;
	overflow: hidden;
	display: inline-block;
	text-align: center;
	font-size: 25px;
	text-decoration: none;
	padding-top: 5px;
	padding-bottom: 5px;
	border: 10px solid transparent;
	border-image: url(../res/btn_bg.png) 30% 40 fill;
	border-radius: 30%;
}

#btn_shownav:focus { pointer-events:none; }
#btn_shownav:focus + .links{ opacity:1; visibility:visible; display: inline-block; }
.links:hover { opacity:1; visibility:visible; display: inline-block; }

@media screen and (min-width: 960px) { /* horizontal viewport special-case */
  .navigation {
	width: 12.75rem;
	left: 0;
	top: 0px;
	height: 100%;
	overflow-y: scroll;
	padding-bottom: 32px;
	padding-left: 0px;
	position: fixed;
  }

  .links {
	overflow: visible;
	opacity:1;
	visibility:visible;
	display: flex;
	flex-wrap: wrap;
  }

  .links a {
	min-width: 11.5rem;
	width: 11.5rem;
}

  .links:hover {
	display: flex;
	flex-wrap: wrap;
  }

  #btn_shownav {
	display: none;
  }
}

.links active {
  background-color: #FFFFFF;
}
