* {
	font-family: sans-serif;
	box-sizing: border-box;
	outline: none !important;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	-webkit-tap-highlight-color: transparent;
}
:root {
	--color-primary: #00cc99;
	--color-accent: #9966cc;
	--color-button: rgba(255,255,255,0.25);
}
img, svg {
	-webkit-user-drag: none;
	user-drag: none;
}
html {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
}
body {
	margin: 0;
	padding-top: env(safe-area-inset-top, 0);
	padding-bottom: env(safe-area-inset-bottom, 0);
	background-image: url("/img/bg.jpg");
	/* background: linear-gradient(#000, #000036, #4b0082, #000); */
	background-size: cover;
	background-repeat: no-repeat;
	width: 100vw;
	height: 100vh;
}
button {
	border: none;
	background-color: transparent;
	cursor: pointer;
	padding: 0;
}
svg path {
	fill: var(--color-button);
}
audio {
	display: none;
}
header {
	position: fixed;
	left: 12px;
	top: calc(12px + env(safe-area-inset-top, 0));
	z-index: 5;
}
header section {
	position: absolute;
	top: env(safe-area-inset-top, 0);
	left: 12px;
	width: fit-content;
	background-color: var(--color-button);
	border-radius: 6px;
	transition: all 250ms ease-in-out;
	opacity: 0;
	padding: 6px;
	transform: scaleY(0);
	overflow: hidden;
	box-shadow: 4px 4px 8px rgba(0,0,0,0.25);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
header section.opened {
	opacity: 1;
	top: calc(56px + env(safe-area-inset-top, 0));
	transform: scaleY(1);
}
header section span {
	display: flex;
	align-items: center;
	padding: 6px;
	height: 42px;
	color: whitesmoke;
	cursor: pointer;
	border-radius: 4px;
	transition: all 250ms ease-in-out;
}
header section span svg {
	margin-right: 12px;
}
header section span:hover, header section span:active {
	background-color: var(--color-button);
}
header section span svg path {
	fill: whitesmoke;
}
header section span label {
	white-space: nowrap;
	cursor: inherit;
}
header section span.off {
	display: none;
}
footer {
	position: fixed;
	bottom: 24px;
	border-radius: 50%;
	z-index: 5;
	transition: all 250ms ease-in-out;
}
footer:first-of-type {
	left: 24px;
	width: 162px;
	height: 162px;
	border: 4px solid var(--color-button);
}
footer:last-of-type {
	right: 24px;
	width: 64px;
	height: 64px;
}
footer section {
	position: relative;
	width: 100%;
	height: 100%;
}
footer:first-of-type.hide {
	left: -100% !important;
}
footer:last-of-type.hide {
	right: -100% !important;
}
footer section button {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 64px;
	height: 64px;
	border: 4px solid var(--color-button);
	border-radius: 50%;
	transition: background-color 250ms ease-in-out;
}
footer section button:active, footer section button.active {
	background-color: var(--color-button);
	box-shadow: 0 0 48px var(--color-button);
}
footer section button:first-of-type {
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}
footer section button:nth-of-type(2) {
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}
footer section button:nth-of-type(3) {
	top: 50%;
	right: 0;
	transform: translateY(-50%);
}
footer section button:last-of-type {
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}
footer section label {
	color: var(--color-button);
	font-size: 28px;
}
#light {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(225deg, #FFFFC8, transparent 50%, black 75%);
	opacity: 0.35;
	z-index: 1;
}
#rays {
	position: fixed;
	top: -110%;
	left: -100%;
	right: -100%;
	bottom: -100%;
	background: repeating-conic-gradient(rgba(255, 255, 255,0.05) 0 9deg, rgba(0,0,0,0.1) 9deg 18deg);
	opacity: 0;
	z-index: -1;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	transition: all 250ms ease-in-out;
}
#rays.show {
	opacity: 0.25;
	animation: rotate 10s linear infinite;
}
#particles {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -2;
}
#fps {
	position: absolute;
	top: calc(24px + env(safe-area-inset-top, 0));
	right: 12px;
	z-index: 5;
}
@keyframes rotate {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}