nav {
	display: flex;
	position: relative;
	gap: 1rem;
	justify-content: center;
	margin: 1rem auto;
}

nav a,
nav button {
	font-size: 1.4rem;
	border: .1rem solid;
	border-radius: .15rem;
	padding: .15rem .3rem;
	color: var(--color-accent);
	text-decoration: none;
	line-height: 2rem;
	outline-offset: .1rem;
}

@media (max-width: 650px) {
	nav a,
	nav button {
		font-size: 1.1rem;
	}
}

@media (any-hover: hover) {
	nav a:hover,
	nav button:hover {
		color: var(--color-bg);
		background-color: var(--color-accent);
		border-color: var(--color-accent);
	}
}

nav a:focus-visible,
nav button:focus-visible {
	outline: .1rem solid var(--color-accent);
}

#skip {
	left: -999px;
	position: absolute;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	z-index: -99;
	background-color: var(--color-bg);
}

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

@media (any-hover: hover) {
	#skip:hover {
		color: var(--color-bg);
		background-color: var(--color-accent);
	}
}

#current-page {
	border-right-width: .5rem;
	border-left-width: .5rem;
}

nav ul {
	list-style: none;
	display: none;
	position: absolute;
	z-index: 1;
	margin: 0 0 0 1rem;
	min-width: 10rem;
}

#dropdown {
	position: relative;
	display: inline-block;
	min-width: 3rem;
}

nav ul.show {
	display: block;
}

nav ul li {
	margin: .5rem;
}

nav ul a {
	display: inline-block;
	background-color: var(--color-bg);
}

footer {
	color: var(--color-bg);
	background-color: var(--color-text);
	padding: 1rem;
}

footer p {
	text-align: center;
	margin: 0;
}

footer a {
	color: var(--color-bg);
	text-decoration-color: var(--color-bg);
}

footer a:focus-visible {
	outline-color: var(--color-bg);
}
