nav {
	display: grid;
	grid-template-columns: auto auto;
	align-items: center;
	margin: 1rem auto;
}

nav a {
	font-family: Courier, monospace;
	text-decoration: none;
	border-radius: 0 1rem 0 1rem;
	outline-offset: .2rem;
	padding: 0 .2rem;
	line-height: 1;
	font-weight: bold;
	color: var(--color-purple);
}

nav a.current-page::before {
	content: "> " / "";
	color: var(--color-orange);
}

nav a.current-page::after {
	content: " <" / "";
	color: var(--color-orange);
}

nav a:focus-visible {
	outline: solid .2rem var(--color-orange);
}

#skip {
	left: -999px;
	position: absolute;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	z-index: -99;
	background-color: var(--color-bg);
	border-radius: 0 .65rem 0 .65rem;
	font-weight: bold;
	font-size: 1.15rem;
}

#skip:focus-visible {
	left: 10rem;
	top: 1.5rem;
	width: auto;
	height: auto;
	overflow: auto;
	z-index: 999;
}

@media (max-width: 1050px) {
	#skip:focus-visible {
		left: 2rem;
	}
}

@media (max-width: 650px) {
	#skip:focus-visible {
		left: 1rem;
	}
}

nav h2 {
	display: inline;
	margin: 0;
	font-size: 1.8rem;
	line-height: 1;
}

@media (any-hover: hover) {
	nav h2:hover {
		text-decoration: underline .25rem var(--color-orange);
	}
}

@media (max-width: 650px) {
	nav h2 {
		font-size: 1.5rem;
	}

	@media (any-hover: hover) {
		nav h2:hover {
			text-decoration: underline .2rem var(--color-orange);
		}
	}
}

nav ul {
	display: flex;
	flex-flow: column;
	justify-content: space-around;
	align-items: flex-end;
	align-self: flex-end;
}

nav li {
	list-style: none;
	padding: .3rem 0;
}

nav li a {
	font-size: 1.3rem;
}

@media (any-hover: hover) {
	nav li a:hover {
		text-decoration: underline .2rem var(--color-orange);
	}
}

@media (max-width: 650px) {
	nav li a {
		font-size: 1.18rem;
	}

	@media (any-hover: hover) {
		nav li a:hover {
			text-decoration: underline .17rem var(--color-orange);
		}
	}
}

footer {
	display: flex;
	gap: .5rem;
	justify-content: space-around;
	margin: 4rem 0 1rem;;
	border-top: solid .5rem var(--color-orange);
	padding-top: 1rem;
	font-size: .85rem;
}

@media (max-width: 650px) {
	footer {
		font-size: .7rem;
		flex-flow: column;
		align-items: center;
	}
}
