body {
	font-family: Courier, monospace, sans-serif;
	background-color: #000;
	color: #7f7f7f;
	overflow: hidden;
	user-select: none; -webkit-user-select: none;
}
a {
	color: #3f3f3f;
	text-decoration: none;
}
#container {
	width: 100%; height: 100%;
	display: flex; display: -webkit-flex;
	flex-direction: column; -webkit-flex-direction: column;
	justify-content: flex-start; -webkit-justify-content: flex-start;
	align-items: center; -webkit-align-items: center;
}
#header {
	z-index: 100;
	margin: 0px;
	flex: 0 1 auto;
	display: none;
	flex-direction: row; -webkit-flex-direction: row;
	justify-content: space-between; -webkit-justify-content: space-between;
	align-items: center; -webkit-align-items: center;
}
#contents {
	position: relative;
	margin: 8px;
	flex: 1 1 auto;
	display: flex; display: -webkit-flex;
	flex-direction: column; -webkit-flex-direction: column;
	justify-content: center; -webkit-justify-content: center;
	align-items: center; -webkit-align-items: center;
	background-color: #000;
}
#screen {
	aspect-ratio: 1;
}
.offscreen {
	display: none;
}
#footer {
	z-index: 100;
	width: 100%; height: 12px; margin-top: -8px;
	flex: 0 1 auto;
	display: flex; display: -webkit-flex;
	flex-direction: row; -webkit-flex-direction: row;
	justify-content: flex-end; -webkit-justify-content: flex-end;
	align-items: center; -webkit-align-items: center;
	font-size: 12px;
	opacity: 0.1;
}
#logo {
	color: #3f3f3f;
}
#logo #title {
	display: none;
	font-size: 24px;
}
#logo #subtitle {
	display: none;
	font-size: 24px;
}
.item {
	width: 40px; height: 40px; margin: 0px;
	display: flex; display: -webkit-flex;
	flex-direction: column; -webkit-flex-direction: column;
	justify-content: center; -webkit-justify-content: center;
	align-items: center; -webkit-align-items: center;
	font-size: 16px;
}
.item.dark {
	background-color: #3f3f3f;
	color: #dfdfdf;
}
.light {
	background-color: #dfdfdf;
	color: #3f3f3f;
}
.secret {;
	display: none;
}
.icon {
	max-width: 80%;
}
.menu a {
	transform: scale(1);
	opacity: 1;
}
.menu a:hover {
	transform: scale(1);
	opacity: 0.6;
}
.menu a:active {
	transform: scale(0.9);
	opacity: 1;
}
@media (max-height: 539px) {
	#container {
		flex-direction: row; -webkit-flex-direction: row;
	}
	#contents {
		width: 100%; height: 95%;
	}
	#header {
		order: 1; height: 95%;
		display: flex; display: -webkit-flex;
		flex-direction: column; -webkit-flex-direction: column;
		justify-content: space-between; -webkit-justify-content: space-between;
		align-items: center; -webkit-align-items: center;
	}
	#logo {
		display: none;
	}
	.menu {
		width: 60px;
		display: flex; display: -webkit-flex;
		flex-direction: column; -webkit-flex-direction: column;
		justify-content: space-between; -webkit-justify-content: space-between;
		align-items: center; -webkit-align-items: center;
	}
	.center {
		position: absolute;
		top: 18px;
	}
	#screen {
		@media (min-aspect-ratio: 0.7) {
			height: 130%;
		}
		@media (max-aspect-ratio: 0.7) {
			width: 130%;
		}
	}
}
@media (min-height: 540px) {
	#header {
		width: 95%;
	}
	#contents {
		width: 95%; height: 80%;
	}
	.menu {
		height: 60px;
		display: flex; display: -webkit-flex;
		flex-direction: row; -webkit-flex-direction: row;
		justify-content: space-between; -webkit-justify-content: space-between;
		align-items: center; -webkit-align-items: center;
	}
	#logo {
		margin: 0px 16px;
	}
	@media (min-width: 320px) {
		.center {
			position: absolute;
			left: 50%; transform: translate(-50%, 0);
		}
	}
	#screen {
		@media (min-aspect-ratio: 0.7) {
			height: 100%;
		}
		@media (max-aspect-ratio: 0.7) {
			width: 130%;
		}
	}
}
@media (prefers-color-scheme: dark) {
	body {
		background-color: #000;
		color: #3f3f3f;
	}
	a {
		color: #dfdfdf;
	}
	#logo {
		color: #dfdfdf;
	}
}
