@font-face {
	font-family: "Droid Sans";
	src: url("/static/da5b3c7758a2c8fbc4775beb69d7150493c7d312.ttf");
}

@font-face {
	font-family: "Droid Sans";
	src: url("/static/ada4e79c592f3c54546b7587b48f2b232d95ce2f.ttf");
	font-weight: bold;
}

@font-face {
	font-family: "Droid Serif";
	src: url("/static/805c5f975e02f488fa1dd1dd0d44ed4f93b0fab4.ttf");
}

@font-face {
	font-family: "Droid Serif";
	src: url("/static/294fa99ceaf6077ab633b5a7c7db761e2f76cf8c.ttf");
	font-weight: bold;
}

@font-face {
	font-family: "Droid Sans Mono";
	src: url("/static/133fb6cf26ea073b456fb557b94ce8c46143b117.ttf");
}

@font-face {
	font-family: "Font Awesome";
	src: url("/static/13b1eab65a983c7a73bc7997c479d66943f7c6cb.ttf");
	font-weight: bold;
}

*, *:before, *:after {
	box-sizing: border-box;
}

[hidden] {
	display: none !important;
}

html {
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: subpixel-antialiased;
	-webkit-tap-highlight-color: transparent;
}

body {
	font-family: "Droid Sans", sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

h1, h2, h3 {
	font-family: "Droid Serif", serif;
	margin: 12px 0;
}

h1 {
	font-size: 1.4em;
	letter-spacing: 1px;
}

h2 {
	font-size: 1.1em;
	letter-spacing: 1px;
}

h3 {
	font-size: 1em;
	margin: 8px 0;
}

a {
	color: #E69500;
	outline: none;
}

a:link, a:visited {
	text-decoration: none;
}

a:active {
	color: #FFB733;
	text-decoration: underline;
}

em {
	font-style: italic;
	font-weight: bold;
}

label {
	cursor: pointer;
}

input[type="text"], input[type="email"], input[type="password"], textarea {
	outline: none;
	background: inherit;
	border: 1px solid #A0A0A0;
	border-radius: 0;
	color: inherit;
	-webkit-appearance: none;
	max-width: 100%;
}

input[type="text"], input[type="email"], input[type="password"] {
	width: 280px;
}

input[type="email"]:read-only {
	background: #F0F0F0;
	border: 1px solid #D0D0D0;
	color: #606060;
}

input[type="checkbox"] {
	margin: 3px 5px;
	position: relative;
	bottom: 1px;
}

input[type="text"].code-input {
	font-family: "Droid Sans Mono", monospace;
}

input::placeholder {
	opacity: 0.5;
}

button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

code {
	font-family: "Droid Sans Mono", monospace;
	font-size: 85%;
	background: rgba(0, 0, 0, 0.04);
	border-radius: 3px;
	padding: 0.2em;
}

ul {
	padding-left: 25px;
}

table {
	border-collapse: collapse;
	font-size: 0.85em;
	white-space: nowrap;
	table-layout: fixed;
	margin: 0px auto;
}

table, th, td {
	border: 1px solid #C0C0C0;
}

th, td {
	text-align: left;
	padding: 0px 4px;
	max-width: 200px;
	overflow: hidden;
	text-overflow: ellipsis;
}

tr:nth-child(even) {
	background: #F8F8F8;
}

.button {
	display: inline-block;
	background: linear-gradient(0deg, #E0E0E0, #FFFFFF);
	border: 1px solid #A0A0A0;
	border-radius: 4px;
	color: black;
	text-decoration: none;
	text-align: center;
	padding: 8px;
}

.button:focus {
	outline: none;
}

.button:active {
	background: linear-gradient(0deg, #FFD040, #FFB020) !important;
	border: 1px solid #F08020;
	cursor: pointer;
	color: black;
	text-decoration: none;
}

.button-google::before {
	content: "\F1A0";
	font-family: "Font Awesome";
	margin-right: 8px;
}

.form-controls {
	margin: 24px auto;
}

.form-control {
	display: block;
	font-family: inherit;
	font-size: 1em;
	line-height: normal;
	margin: 8px auto 0 auto;
	padding: 8px;
	width: 280px;
}

.form-container {
	display: block;
	margin: 0 auto;
	width: 280px;
	text-align: left;
}

.form-label {
	font-weight: bold;
	font-size: 0.8em;
	margin-top: 8px;
}

.form-text {
	color: #808080;
	font-size: 0.8em;
	max-width: 350px;
}

.small-text {
	font-size: 0.7em;
}

.clickable-image {
	display: inline-block;
}

.clickable-image > img {
	float: left;
}

@media (hover: hover) {
	a:hover {
		color: #FFB733;
		text-decoration: underline;
	}

	.button:hover {
		background: linear-gradient(0deg, #FFF0C0, #FFF0C0);
		cursor: pointer;
		color: black;
		text-decoration: none;
	}
}

.info-html {
	background: url("/static/4945aea90f76d16268311d562b5eecc6bc8788f8.jpg") no-repeat center center fixed;
	background-size: cover;
	height: 100%;
	overflow: hidden;
}

.info-body {
	position: absolute;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	width: 100%;
	height: 100%;
}

.info-panel {
	max-width: 750px;
	margin: 25px auto;
	padding: 0;
	background: rgba(32, 32, 32, 0.75);
	border: 1px solid #606060;
	border-radius: 4px;
	color: #DDDDDD;
}

@media (max-width: 750px) {
	.info-panel {
		position: absolute;
		max-width: none;
		min-height: calc(100% - 48px);
		margin: 0;
		border: none;
		border-radius: 0;
	}
}

.website-body {
	margin: 0;
	padding: 0;
	color: #303030;
}

.navbar {
	width: 100%;
	background: #282828;
	text-align: center;
	height: 48px;
	line-height: 48px;
}

.navbar-button {
	color: #E69500;
	display: inline-block;
	padding: 0 14px;
	vertical-align: middle;
}

.navbar-button:active {
	background: rgba(255, 255, 255, 0.1);
	text-decoration: none;
}

.navbar-button.mod-current {
	color: #DDDDDD;
}

.navbar-button.mod-current:active {
	color: #FFFFFF;
}

.navbar-title {
	font-family: "Droid Serif", serif;
	font-size: 1.2em;
	letter-spacing: 1px;
	font-weight: bold;
	color: #DDDDDD;
}

.navbar-title:active {
	color: #FFFFFF;
}

.navbar-font-awesome {
	font-family: "Font Awesome";
	font-size: 1.2em;
}

.navbar-list {
	display: inline-block;
	padding: 0;
	margin: 0;
}

.navbar-list > li {
	display: inline-block;
}

label[for=navbar-expand], #navbar-expand {
	display: none;
}

@media (hover: hover) {
	.navbar-button:hover {
		background: rgba(255, 255, 255, 0.1);
		text-decoration: none;
	}

	.navbar-button.mod-current:hover {
		color: #FFFFFF;
	}

	.navbar-title:hover {
		color: #FFFFFF;
	}
}

@media (max-width: 750px) {
	.navbar-button {
		padding: 0 20px;
	}

	.navbar-list {
		display: none;
	}

	#navbar-expand:checked ~ .navbar-list {
		display: inline-block;
		background: #282828;
		position: absolute;
		left: 0;
		top: 48px;
		width: 100%;
		z-index: 1;
	}

	label[for=navbar-expand] {
		display: inline-block;
		position: absolute;
		right: 0;
	}
}

.main-panel {
	max-width: 320px;
	margin: 100px auto;
	padding: 16px 16px 0 16px;
	background: rgba(32, 32, 32, 0.75);
	border: 1px solid #606060;
	border-radius: 4px;
	color: #DDDDDD;
}

.main-title {
	text-align: center;
	font-size: 1.7em;
	letter-spacing: 2px;
	margin: 16px 16px 4px 16px;
}

.main-subtitle {
	text-align: center;
	font-size: 0.9em;
	letter-spacing: 1px;
	margin: 4px;
}

.main-menu {
	text-align: center;
	max-width: 320px;
	margin: 24px auto;
}

.main-menu-button {
	display: inline-block;
	width: 235px;
	margin: 4px;
	font-weight: bold;
	letter-spacing: 1px;
	border: 1px solid #808080;
	border-radius: 4px;
	padding: 8px;
	text-align: center;
}

.main-menu-button:active {
	background: rgba(255, 255, 255, 0.1);
	text-decoration: none;
}

.main-footer {
	color: #DDDDDD;
	text-align: center;
	font-size: 0.8em;
	margin: 16px;
}

.main-version {
	color: #707070;
	text-align: center;
	font-family: "Droid Sans Mono", monospace;
	font-size: 0.7em;
	letter-spacing: 1px;
}

@media (hover: hover) {
	.main-menu-button:hover {
		background: rgba(255, 255, 255, 0.1);
		text-decoration: none;
	}
}

.message-html {
	text-align: center;
}

.message-body {
	display: inline-block;
	max-width: calc(100% - 20px);
	margin: 35px 15px;
	color: #303030;
}

.buy-header .subtitle {
	color: #808080;
}

.buy-products {
	display: flex;
	flex-flow: row wrap;
	gap: 16px;
	justify-content: center;
	margin: 32px 0;
	max-width: 900px;
}

.buy-products .product {
	display: flex;
	flex-flow: column;
	gap: 16px;
	background: #FAFAFA;
	border: 1px solid #E0E0E0;
	border-radius: 4px;
	padding: 32px;
	min-width: 170px;
}

.buy-products .title {
	font-size: 1.2em;
	font-weight: bold;
	letter-spacing: 1px;
}

.buy-products .subtitle {
	color: #808080;
	font-size: 0.8em;
}

.buy-products .buy {
	background: #F38027;
	border-radius: 4px;
	padding: 8px 32px;
	color: white;
	cursor: pointer;
}

.buy-products .buy .price {
	font-size: 1.2em;
	font-weight: bold;
	letter-spacing: 1px;
	margin-left: 2px;
}

.buy-products .buy:active {
	background: #D36007;
}

.buy-footer {
	color: #808080;
	font-size: 0.8em;
	margin: 0 auto;
	max-width: 450px;
	text-align: left;
}

@media (hover: hover) {
	.buy-products .buy:hover {
		background: #D36007;
	}
}

@media (max-width: 600px) {
	.buy-products {
		flex-direction: column;
	}

	.buy-products .product {
		flex-flow: row nowrap;
		align-items: center;
		padding: 16px;
	}

	.buy-products .title-container {
		flex: 1 1 150px;
	}

	.buy-products .buy {
		width: 120px;
	}
}

:root {
	--safe-area-inset-left: env(safe-area-inset-left);
	--safe-area-inset-top: env(safe-area-inset-top);
	--safe-area-inset-right: env(safe-area-inset-right);
	--safe-area-inset-bottom: env(safe-area-inset-bottom);
}

.game-html, .game-body, .game-canvas {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	touch-action: none;
}

.game-loading-centered {
	position: absolute;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.game-loading-spinner {
	width: 96px;
	height: 96px;
	animation: spin 1.5s infinite linear;
}

.game-loading.mod-stopped .game-loading-spinner {
	animation-play-state: paused;
}

@keyframes spin {
	0%   { transform: rotate(0deg);   }
	100% { transform: rotate(360deg); }
}

.game-loading-spinner-back {
	stroke: #404040;
	stroke-width: 0.75;
}

.game-loading-spinner-front {
	stroke: #A0A0A0;
	stroke-width: 0.75;
	transition: all 1s ease-out;
}

.game-loading.mod-stopped .game-loading-spinner-front {
	opacity: 0;
}

.game-loading-progress {
	color: #D0D0D0;
	z-index: 1;
	user-select: none;
	transition: all 1s ease-out;
}

.game-loading.mod-stopped .game-loading-progress {
	opacity: 0;
}

.game-loading-refresh {
	font-family: "Font Awesome";
	font-size: 32px;
	color: #B0B0B0;
	z-index: 2;
	width: 96px;
	height: 96px;
	line-height: 96px;
	text-align: center;
	user-select: none;
	cursor: pointer;
	border-radius: 50%;
}

.game-loading-refresh:active {
	background: rgba(255, 255, 255, 0.1);
}

.game-loading-message {
	color: #CC0000;
	margin-top: 192px;
	width: 256px;
	text-align: center;
}

.game-not-supported {
	margin: 50px auto;
	max-width: 600px;
	color: #303030;
	padding: 0 10px;
}

.game-not-supported li {
	list-style-type: none;
}

.game-not-supported .checkmark {
	font-family: "Font Awesome";
	font-size: 1.1em;
	margin-right: 10px;
}

.game-not-supported .checkmark-true {
	color: darkgreen;
}

.game-not-supported .checkmark-false {
	color: darkred;
}

@media (display-mode: fullscreen), (display-mode: standalone) {
	.game-body { background: black; }
}

@media (hover: hover) {
	.game-loading-refresh:hover {
		background: rgba(255, 255, 255, 0.1);
	}
}

.info-panel.about-panel {
	display: flex;
	flex-direction: column;
}

.about-columns {
	display: flex;
	flex-wrap: wrap;
}

.about-column {
	flex: 1 1 300px;
}

.about-column > h3, .about-column > p, .about-column > ul {
	margin: 1em 15px;
}

.about-column > h3 {
	color: #E69500;
	font-family: "Droid Sans", sans-serif;
	font-size: 16px;
	font-weight: bold;
}

.about-legal {
	text-align: center;
	font-size: 0.85em;
	margin: 0 15px 16px 15px;
}

.legal-content {
	max-width: 750px;
	margin: 25px auto 48px auto;
	padding: 0 15px;
	text-align: left;
}

.legal-updated {
	color: #808080;
	font-size: 0.85em;
	margin-top: -8px;
}

.legal-footer {
	margin-top: 40px;
	padding-top: 16px;
	border-top: 1px solid #D0D0D0;
	font-size: 0.85em;
	color: #808080;
}

.blog-warning {
	background: #E69500;
	padding: 8px 15px;
	text-align: center;
}

.blog-warning a {
	color: inherit;
	text-decoration: underline;
}

.blog-warning-icon {
	font-family: "Font Awesome";
	font-size: 1.1em;
	margin-right: 4px;
}

.blog-shell, .blog-sidebars {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.blog-content {
	max-width: 750px;
	margin: 25px auto;
	padding: 0 15px;
	text-align: left;
}

.blog-sidebar {
	width: 300px;
	padding: 25px 15px;
	font-size: 0.9em;
	display: flex;
	flex-direction: column;
}

.blog-sidebar-recent h2, .blog-sidebar-recent p {
	margin: 0 0 12px 0;
}

.blog-sidebar-recent a {
	color: #303030;
}

.blog-sidebar-recent a:active {
	color: #BB7700;
	text-decoration: none;
}

.blog-sidebar-recent span {
	color: #A0A0A0;
	font-size: 0.8em;
}

.blog-sidebar-actions {
	text-align: center;
}

.blog-sidebar-actions > p {
	margin: 32px 0 0 0;
}

.blog-sidebar-actions > p:first-of-type {
	margin: 0;
}

.blog-sidebar-actions .form-control {
	width: 100%;
}

.blog-pagination {
	display: flex;
	justify-content: space-between;
	margin: 0 20px 20px 20px;
	color: #808080;
	font-size: 0.9em;
}

.blog-pagination > a:active {
	text-decoration: none;
}

.blogpost-title {
	text-align: center;
	font-size: 1.5em;
	margin-top: 48px;
	margin-bottom: 8px;
}

.blogpost-title:first-of-type {
	margin-top: initial;
}

.blogpost-title > a {
	color: #303030;
}

.blogpost-title > a:active {
	color: #BB7700;
	text-decoration: none;
}

.blogpost-subtitle {
	text-align: center;
	color: #808080;
	font-size: 0.9em;
	margin: 8px;
}

.blogpost-main-image, .blogpost-one-image, .blogpost-two-images, .blogpost-three-images {
	text-align: center;
}

.blogpost-main-image   img { width: 600px; max-width: 100%; }
.blogpost-one-image    img { width: 450px; max-width: 100%; }
.blogpost-two-images   img { width: 350px; max-width: 100%; }
.blogpost-three-images img { width: 230px; max-width: 100%; }

@media (hover: hover) {
	.blog-sidebar-recent a:hover {
		color: #BB7700;
		text-decoration: none;
	}

	.blogpost-title > a:hover {
		color: #BB7700;
		text-decoration: none;
	}
}

@media (min-width: 670px) {
	.blog-sidebar         { position: absolute; }
	.blog-sidebar-actions { left:  calc(50% + 20px); }
	.blog-sidebar-recent  { right: calc(50% + 20px); }
}

@media (min-width: 1400px) {
	.blog-sidebar         { top: 200px; }
	.blog-sidebar-actions { left:  calc(50% + 0.5*750px); }
	.blog-sidebar-recent  { right: calc(50% + 0.5*750px); }
}

@media (max-width: 750px) {
	.blogpost-three-images img { width: 300px; }
	.blogpost-two-images   img { width: 300px; }
}

@media (max-width: 650px) {
	.blogpost-three-images img { width: 250px; }
	.blogpost-two-images   img { width: 250px; }
}

@media (max-width: 550px) {
	.blogpost-three-images img { width: 350px; }
	.blogpost-two-images   img { width: 350px; }
}
