* {
	box-sizing: border-box;
}

html {
	font-family: Verdana, sans-serif;
}

body {
	margin:0;
	touch-action:none;
}

.wrapper {
	width: 800px;
	overflow: hidden;
	margin: auto;
}

.stage {
	position: relative;
	height: 650px;
	width: 800px;
	overflow: hidden;
}

.overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.8);
	text-align: center;
}

.overlay .btn {
	position: absolute;
	top: 50%;
	left: 50%;
	padding: 20px 50px;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	font-size: 20px;
}

.back {
	position: absolute;
	/*border: 1px solid #555;*/
	background-color: #c9c9c9;
	box-shadow: 0 0 100px rgba(0,0,0,0.2) inset;
}

.front {
	position: absolute;
	left: 0;
	top: 0;
}

.instructions p{
	margin:  5px 0;
}

#stats {
	position: absolute;
	left: 0;
	top: 0;
	color: white;
	font-size: 12px;
}

.main-menu {
	position: absolute;
	width: 250px;
	height: 310px;
	border-radius: 0 10px 0 0;
	left: 0;
	bottom: 0;
	background-color: rgba(90, 90, 90, .6);
	backdrop-filter: saturate(180%) blur(5px);
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, .3); 
	border: 1px solid rgba(100,100,100,.3);
}

.title {
	color: rgba(255, 255, 255, .8);
	margin-left: 30px;
	margin-top: 20px;
	font-size: 24px;
}

.version {
	margin-left: 30px;
	font-size: 12px;
	color: rgba(255, 255, 255, .7);
}

.bottom-bar {
	position: absolute;
	background-color: rgba(80, 80, 80, .6);
	padding: 8px 10px;
	bottom: 0;
	backdrop-filter: saturate(180%) blur(5px);
	border-top: 1px solid rgba(100,100,100,.3);
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, .3); 
}

.bottom-bar-right {
	right: 0;
	border-radius: 10px 0 0 0;
}

.bottom-bar-left {
	left: 0;
	border-radius: 0 10px 0 0;
	display: none;
}

.btn {
	color: #eee;
	/* border: 2px solid #ccc; */
	background-color: rgba(255, 255, 255, .2);
	border-radius: 5px;
	display: inline-block;
	padding: 3px 6px;
	cursor: pointer;
	font-size: 14px;
	line-height: 1.4em;

	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
	-moz-user-select: none; /* Old versions of Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.btn-on {
	background-color: rgba(50, 50, 50, .2);
}

.right-btn {
	float: right;
}

.margin-right-btn {
	margin-right: 10px;
}

.btn:hover {
	color: white;
	background-color: #aaa;
}

.menu-btn {
	display: block;
	text-align: center;
	margin: 20px 30px;
	padding: 6px 10px;
}

.btn.disabled {
	color: rgba(255, 255, 255, .3);
	cursor: default;
}

.footer {
	text-align: center;
	margin-top: 15px;
	padding-bottom: 20px;
}

.footer a {
	color: gray;
	text-decoration: none;
}
.footer a:hover {
	color: #aaa;
	text-decoration: underline;
}
