:root {
	--bg-light: #fff;
	--bg-dark: #303030;
	--fg-light: #000;
	--fg-dark: #fff;
	--accent-primary: hsla(0, 100%, 35%, 1);
	--accent-secondary: hsla(0, 75%, 50%, 1);
	--shadow-light: hsla(0, 0, 0, 0.375);
	--shadow-dark: hsla(0, 0, 0, 0.375);
}

*,
*:before,
*:after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html,
body {
	width: 100%;
	height: 100%;
	font-size: 16px;
	font-family: sans-serif;
}
body {
	padding-top: 4rem;
}
a {
	color: var(--accent-primary);
	text-decoration: underline;
}
a:hover,
a:focus {
	color: var(--accent-secondary);
}
header {
	top: 0;
	left: 0;
	right: 0;
	position: fixed;
	display: flex;
	justify-content: space-between;
	background-color: #fff;
	box-shadow: rgba(0, 0, 0, 0.375) 0 1px 4px;
}
header .logo-link {
	flex: 1;
	margin: 1rem;
	display: flex;
}
header .logo {
	height: auto;
	max-height: 3rem;
	max-width: 100%;
}
header nav {
	display: flex;
}
header #mobile-nav {
	display: none;
}
main {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
}
main h1,
main h2,
main h3,
main h4,
main p,
main ol,
main ul {
	padding-top: 1rem;
	max-width: 48rem;
}
main ul > li {
	margin-left: 1.5rem;
	list-style-type: disc;
}
main ol {
	list-style-type: none;
	counter-reset: list;
}
main ol > li {
	counter-increment: list;
}
main ol > li > h2:before,
main ol > li > h3:before {
	content: counters(list, ".") " ";
}
main li {
	padding-top: 0.5rem;
}
aside {
	margin-top: 2rem;
	display: flex;
	justify-content: center;
	align-content: center;
	flex-wrap: wrap;
}
aside .info {
	padding: 1rem;
}
aside .info p {
	white-space: nowrap;
}
footer {
	text-align: center;
	padding-bottom: 2rem;
}
footer span {
	display: block;
}
footer .logos {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
footer .logos a {
	padding: 1rem;
	height: 8rem;
}
footer .logos a img {
	height: 100%;
}
.seperator {
	display: inline;
	padding: 0 0.5rem;
}
.navitem {
	margin: 1rem;
	margin-left: 0;
	text-decoration: none;
	color: var(--accent-primary);
	font-size: 2rem;
	vertical-align: top;
	word-wrap: break-word;
}
.navitem:hover,
.navitem:focus {
	color: var(--accent-secondary);
}
.portrait {
	display: flex;
	margin-top: 1rem;
}
.portrait img {
	height: 16rem;
}
@media (max-width: 47rem) {
	header {
		justify-content: flex-start;
		flex-wrap: wrap;
	}
	header .logo-link {
		justify-content: flex-end;
	}
	header nav {
		position: relative;
		flex-direction: column;
		padding-left: 2rem;
		width: 100%;
	}
	header #mobile-nav:checked ~ nav {
		display: none;
	}
	header #mobile-nav {
		transform: rotate(90deg);
		flex-shrink: 0;
		display: block;
		width: 3rem;
		height: 3rem;
		margin: 1rem;
		-webkit-appearance: none;
		-moz-appearance: none;
		background-image: url("../arrow-left.svg");
		background-position: center;
		background-repeat: no-repeat;
	}
	header #mobile-nav:focus {
		outline: none;
	}
	header #mobile-nav:checked {
		background-image: url("../bars.svg");
		transform: none;
	}
	.mobilelist {
		display: flex;
		flex-direction: column;
	}
	.mobilelist .seperator {
		display: none;
	}
	.portrait {
		justify-content: center;
	}
}
