vv-shell {
	display: grid;
	grid-template-rows: calc(var(--running-size) - var(--padding)) 1fr var(--running-size);
	grid-template-areas:
		"header header"
		"aside main"
		"footer footer"
	;
	grid-template-columns: 300px 1fr;
}

/* # Main */

main {
	--primer-color-accent: 0, 0, 0;
	--color-accent: black;

	gap: var(--padding);
	display: flex;
	padding: var(--padding);
	grid-area: main;
	font-family: sans-serif;
	flex-direction: column;
}

main code {
	color: white;
	padding: 0 5px;
	font-weight: normal;
	font-family: monospace;
	border-radius: 6px;
	background-color: #212121;
}

main h2 {
	font-size: 1.5em;
}

main h3 {
	font-size: 1em;
	margin-bottom: 5px;
}

/* # Sections */

section.md {
	gap: 5px;
	display: flex;
	align-items: baseline;
	flex-direction: column;
}

section.md :is(ol, ul) li {
	margin: calc(var(--padding) / 2) 0;
}

/* # Size queries */

@media (max-width: 950px) {
	vv-shell {
		grid-template-rows: calc(var(--running-size) - var(--padding)) 1fr var(--running-size);
		grid-template-areas:
			"header"
			"main"
			"footer"
		;
		grid-template-columns: 100svw;
	}

	aside {
		display: none;
	}

	vv-shell.menu-open {
		grid-template-areas:
			"header"
			"aside"
			"footer"
		;
	}

	vv-shell.menu-open aside {
		display: initial;
	}

	vv-shell.menu-open main {
		display: none;
	}
}