/* © 2017 Rouven Spreckels <n3vu0r@qu1x.org> */

/* no centering jumps when navigating */
html {
	overflow-y: scroll;
}

/* sticky footer */
html {
	height: 100%;
}
body {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}
main {
	flex: 1;
}

/* text */
@font-face {
	font-family: Fira Sans;
	src: url(/font/FiraSans-Regular.woff);
}
@font-face {
	font-family: Fira Sans;
	font-weight: bold;
	src: url(/font/FiraSans-Bold.woff);
}
@font-face {
	font-family: Fira Sans;
	font-style: italic;
	src: url(/font/FiraSans-Italic.woff);
}
@font-face {
	font-family: Fira Sans;
	font-weight: bold;
	font-style: italic;
	src: url(/font/FiraSans-BoldItalic.woff);
}
@font-face {
	font-family: Fira Sans;
	font-style: oblique;
	src: url(/font/FiraSans-Italic.woff);
}
@font-face {
	font-family: Fira Sans;
	font-weight: bold;
	font-style: oblique;
	src: url(/font/FiraSans-BoldItalic.woff);
}
html {
	line-height: 1.7;
}
body {
	margin: 0;
	font-family: Fira Sans;
	font-size: .85em;
	color: #343434;
	background-color: #e3e3e3;
}

/* headlines */
h1 {
	margin: 0;
	color: #8e0700; /*f19456*/
}
h2 {
	margin: 0;
	color: #343434;
}
header h1 {
	text-align: right;
	font-size: 1.2em;
	font-weight: bold;
	line-height: 1.9;
}
header h1:nth-child(odd) {
	color: #343434;
}
main h1 {
	margin-top: 1em;
	font-size: 1.5em;
}
main h2 {
	margin-top: 1.5em;
	font-size: 1.2em;
}
footer h1 {
	font-size: 1.5em;
}
footer h2 {
	margin-bottom: 2em;
	font-size: 1em;
}

/* text links */
a {
	color: #343434;
	transition: color .2s ease-out;
}
a:hover {
	color: #dadada;
	text-decoration: none;
}
h1 a {
	color: inherit;
	text-decoration: none;
}

/* containers */
header, nav, main, footer {
	margin: 0 auto;
	padding: 0 40px;
	padding-top: 10px;
	width: 240px;
	background-color: #ffffff;
}

/* header images */
header img {
	padding-bottom: 20px;
	display: block;
}

/* unordered navigation lists */
nav ul {
	margin: 1em 0;
	padding: 0;
	list-style-type: none;
}
nav ul li {
	display: inline;
}
nav ul li + li:before {
	content: " | ";
}

/* description lists */
dl {
	overflow: auto;
}
dt {
	clear: both;
	float: left;
	font-weight: bold;
}
dt:after {
	content: ":";
}
dd {
	clear: right;
	float: right;
	margin-left: 1ch;
	text-align: right;
}
