:root {
	--background-color: oklch(15% 0 0);
	--accent-color: oklch(72.25% 0.1 265.5);
	--text-color: oklch(92.5% 0.025 0);
}

@font-face {
	font-family: Nova;
	src: url(nova-lig-regular.ttf) format(truetype);
	font-weight: normal;
	font-style: normal;
}

html {
	margin: 0;
	padding: 0;
}

body {
	height: 100vh;
	margin: 0;
	padding: 8px;
	box-sizing: border-box;

	display: flex;
	flex-flow: column;

	font-family: Nova, monospace;
	font-size: 14px;
	tab-size: 2;

	background-color: var(--background-color);
	color: var(--text-color);	
}

main {
	flex: 0 1 auto;
}

h1 {
	font-size: 1.8em;
	font-weight: bold;
	margin: 0.75em 0 0.1em 0;
}

iframe {
	flex: 1 1 auto;
	border: 0;
	width: 100%;
	height: auto;
}

img {
	float: left;
	height: 6em;
	width: auto;
	padding-right: 1ch;
}

a, a:visited, a:active {
	color: var(--accent-color);
	text-decoration: underline;
}

a {
	&:has(small) {
		text-decoration: none;
	}

	& > small {
		&::before {
			content: "> ";
		}

		&::after {
			content: " <";
		}
	}
}

@media (max-width: 800px) {
	body {
		line-height: 2;
	}
}
