body {
	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;
}

/* Start screen
 * ============== */

.full-screen {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #3b3943;
}

.fade-in {
	animation-name: fadeIn;
	animation-duration: 0.5s;
	animation-fill-mode: forwards;

	-webkit-animation-name: fadeIn;
	-webkit-animation-duration: 0.5s;
	-webkit-animation-fill-mode: forwards;

	-moz-animation-name: fadeIn;
	-moz-animation-duration: 0.5s;
	-moz-animation-fill-mode: forwards;

	-o-animation-name: fadeIn;
	-o-animation-duration: 0.5s;
	-o-animation-fill-mode: forwards;

	-ms-animation-name: fadeIn;
	-ms-animation-duration: 0.5s;
	-ms-animation-fill-mode: forwards;
}

.fade-out {
	animation-name: fadeOut;
	animation-duration: 0.5s;
	animation-fill-mode: forwards;

	-webkit-animation-name: fadeOut;
	-webkit-animation-duration: 0.5s;
	-webkit-animation-fill-mode: forwards;

	-moz-animation-name: fadeOut;
	-moz-animation-duration: 0.5s;
	-moz-animation-fill-mode: forwards;

	-o-animation-name: fadeOut;
	-o-animation-duration: 0.5s;
	-o-animation-fill-mode: forwards;

	-ms-animation-name: fadeOut;
	-ms-animation-duration: 0.5s;
	-ms-animation-fill-mode: forwards;
}

@keyframes fadeIn {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

@-moz-keyframes fadeIn {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

@-webkit-keyframes fadeIn {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

@-o-keyframes fadeIn {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

@-ms-keyframes fadeIn {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

@keyframes fadeOut {
	0% { opacity: 1; }
	100% { opacity: 0; }
}

@-moz-keyframes fadeOut {
	0% { opacity: 1; }
	100% { opacity: 0; }
}

@-webkit-keyframes fadeOut {
	0% { opacity: 1; }
	100% { opacity: 0; }
}

@-o-keyframes fadeOut {
	0% { opacity: 1; }
	100% { opacity: 0; }
}

@-ms-keyframes fadeOut {
	0% { opacity: 1; }
	100% { opacity: 0; }
}

/* 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-notice {
	margin: 0 100px;
	line-height: 1.3;
	visibility: visible;
	padding: 4px 6px;
	visibility: visible;
}

#status-indeterminate {
  width: 48px;
  height: 48px;
  position: relative;
	visibility: visible;
}
#status-indeterminate::after,
#status-indeterminate::before {
  content: '';  
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFF;
  position: absolute;
  left: 0;
  top: 0;
  animation: animloader 2s linear infinite;
}
#status-indeterminate::after {
  animation-delay: 1s;
}

@keyframes animloader {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
