@font-face {
	font-family: GeistSans;
	src: url("./geist-sans.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}
:root {
	color-scheme: light;
	--background: #f6f5fa;
	--foreground: #020817;
	--border: #e2e8f0;
	--panel: #fff;
	--accent: #cce6ff;
	font:
		16px / 32px GeistSans,
		sans-serif;
	background: var(--background);
	color: var(--foreground);
}
:root.dark {
	color-scheme: dark;
	--background: hsl(254, 52%, 5%);
	--foreground: #f8fafc;
	--border: #1e293b;
	--panel: #020817;
	--accent: #1e293b;
}
* {
	box-sizing: border-box;
	border-color: var(--border);
}
[hidden] {
	display: none !important;
}
body,
p,
h1,
h3 {
	margin: 0;
}
h1,
h3 {
	font-size: inherit;
	font-weight: inherit;
}
body {
	text-align: center;
}
a {
	color: inherit;
	text-decoration: inherit;
}
button {
	font: inherit;
	color: inherit;
	background: transparent;
	border: 0;
	cursor: pointer;
}
button:disabled {
	opacity: 0.5;
	pointer-events: none;
}
button:focus-visible {
	outline: 2px solid #28aae2;
	outline-offset: 2px;
}
main {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 32px 0;
}
#heading {
	margin-bottom: 32px;
}
.container {
	width: 100%;
	margin: auto;
	padding: 0 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
}
#content {
	position: relative;
	margin: auto;
	aspect-ratio: 16 / 9;
	width: 100%;
	max-width: 1920px;
}
#content.no-webgl {
	display: flex;
	align-items: center;
	justify-content: center;
}
#player {
	position: relative;
	text-align: center;
}
canvas {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
}
#fullscreen-controls {
	display: flex;
	justify-content: flex-end;
}
#fullscreen {
	border-radius: 2.8px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	background: #28aae2;
	color: #01202d;
	box-shadow:
		0 1px 3px rgb(0 0 0 / 0.1),
		0 1px 2px -1px rgb(0 0 0 / 0.1);
}
#fullscreen:hover {
	background: #43b6e6;
}
#fullscreen svg {
	width: 14px;
	height: 14px;
}
#downloads {
	margin: 16px 0;
}
#downloads h3 {
	margin-bottom: 8px;
}
#platforms {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
}
#platforms button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	padding: 8px 16px;
	border-radius: 2.8px;
}
#platforms button:hover {
	background: var(--accent);
}
#platforms svg {
	width: 48px;
	height: 48px;
}
footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
footer > a {
	display: block;
	margin-bottom: 16px;
}
#madein_svg__Layer_1 {
	display: block;
	width: 288px;
	height: 64px;
}
#theme-picker {
	position: relative;
	max-width: 320px;
}
#theme {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 36px;
	width: 100%;
	padding: 8px 12px;
	font-size: 14px;
	line-height: 24px;
	border: 1px solid var(--border);
	border-radius: 2.8px;
	box-shadow:
		0 1px 3px rgb(0 0 0 / 0.1),
		0 1px 2px -1px rgb(0 0 0 / 0.1);
}
#theme svg {
	width: 16px;
	height: 16px;
	opacity: 0.5;
	flex-shrink: 0;
}
#theme-position {
	will-change: transform;
	position: fixed;
	left: 0;
	top: 0;
}
#theme-options {
	position: relative;
	translate: 0 4px;
	z-index: 20;
	width: 128px;
	padding: 4px;
	border: 1px solid var(--border);
	border-radius: 2.8px;
	background: var(--panel);
	box-shadow:
		0 4px 6px -1px rgb(0 0 0 / 0.1),
		0 2px 4px -2px rgb(0 0 0 / 0.1);
}
#theme-options button {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	text-align: left;
	padding: 6px 32px 6px 8px;
	font-size: 14px;
	line-height: 24px;
	border-radius: 0.8px;
}
#theme-options button:hover,
#theme-options button:focus {
	background: var(--accent);
	color: #020817;
	outline: none;
}
.dark #theme-options button:hover,
.dark #theme-options button:focus {
	color: #f8fafc;
}
.theme-check {
	position: absolute;
	right: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
}
#theme-options .theme-check svg {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
}
[aria-selected="false"] .theme-check {
	display: none;
}
#notice-region {
	width: 100%;
	padding: 0 32px;
}
#notice {
	position: relative;
	width: 100%;
	margin: 32px;
	padding: 12px 16px;
	font-size: 14px;
	line-height: 22.75px;
	text-align: start;
	border: 1px solid var(--border);
	border-radius: 4.8px;
	background: var(--panel);
}
#notice h3 {
	margin-top: 4px;
	font-size: 28px;
	line-height: 40px;
}
#notice a {
	color: oklch(71.4% 0.203 305.504);
	text-decoration: underline;
}
#loading {
	pointer-events: none;
}
.spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -12px;
	animation: spin 1s linear infinite;
}
progress {
	display: none;
}
@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}
.not-found main {
	display: block;
	padding: 0;
}
.not-found #heading {
	margin: 0;
	padding: 80px;
	font-size: 56px;
	line-height: 72px;
	font-weight: 700;
}
.not-found .container,
.not-found footer {
	display: none;
}
.mobile main {
	display: block;
	padding: 0;
}
.mobile #heading,
.mobile footer,
.mobile #downloads {
	display: none;
}
.mobile .container {
	padding: 0;
}
.mobile #content {
	aspect-ratio: auto;
}
.mobile #player {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
}
.mobile canvas {
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	touch-action: none;
}
.mobile #fullscreen-controls {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 10;
}
.mobile #notice-region {
	padding: 0;
}
@media (min-width: 1400px) {
	.container {
		max-width: 1400px;
	}
}

#fullscreen {
	position: relative;
}
#fullscreen::before {
	content: "";
	height: 50%;
	width: 100%;
	position: absolute;
	z-index: 30;
	top: 0;
	left: 0;
	border-radius: 4px 4px 0 0;
	background: rgb(255 255 255 / 0.1);
}
#fullscreen::after {
	content: "";
	position: absolute;
	z-index: 50;
	inset: 0;
	border-radius: 4px 4px 0 0;
	box-shadow: 0 1px 0 rgb(255 255 255 / 0.25) inset;
	pointer-events: none;
}

.dark #notice a {
	color: oklch(82.7% 0.119 306.383);
}

.mobile.not-found #heading {
	display: block;
}

.mobile #notice {
	text-align: center;
}
