html, body {
	background: #fff;
	color: #888;
}

a:link, a:visited {
	color: inherit;
}
a:hover, a:active {
	color: #000;
	text-decoration: underline;
}

body {
	font-family: 'Assistant', sans-serif;
	font-weight: lighter;
	margin: 1em 4em;
	text-rendering: optimizeSpeed;
}

main > h1, header > h1 {
	font-weight: lighter;
	font-size: 28px;
	margin: 0.5em 0;
	padding: 0 0 0.25em 0;
	border-bottom: solid #e0e0e0 1px;
	color: #000;
}
body>header>h1 {
	font-weight: normal !important;
	color: #000;
	border-bottom: none;
	display: inline;
	padding: 0 1em 0 0;
	margin-bottom: 12px;
}
body>header>h2 {
	display: inline;
	padding: 0 0 0 0;
	margin-bottom: 12px;
}
header>p.sprachen {
	border-top: solid #e0e0e0 1px;
	font-weight: lighter;
	font-size: 12px;
	padding: 0.5em 0 0 0;
}
main > h2, header > h2 {
	font-weight: lighter;
	font-size: 14px;
	margin: 0.5em 0;
	color: #666;
}
main > section, #frontmatter > section {
	clear: both;
	margin-top: 2em;
}
main p, main dt, main dd {
	max-width: 60em;
	line-height: 1.4;
	margin-bottom: 1em;
}
main dt {
	font-weight: normal;
}
main > section > h1, #frontmatter > section > h1 {
	font-weight: lighter;
	font-size: 24px;
	margin: 0.5em 0;
	color: #000;
}
main > section > section > h1 {
	font-weight: normal;
}
header {
	padding-right: 156px;
	min-height: 156px;
	background-repeat: no-repeat;
	background-position: 100% 0;
	background-size: 128px 128px;
	background-image: url('avatar.jpeg');
}

main {
	margin-top: -4em;
	position: relative;
}

#frontmatter {
	max-width: 60%;
	margin-top: 0;
	min-height: 10em;
}
section#contact {
	position: absolute;
	top: 0;
	left: 80%;
	max-width: 15%;
	margin-top: 0;
}
section#profile > h1, section#contact > h1 {
	margin-top: 0;
}
section.project, section.social {
	width: 300px;
	max-width: 100%;
	float: left;
	margin: 0 32px 8px 0;
}

section.experience, section.refer>section {
	padding-left: 156px;
	min-height: 128px;
	margin-left: 0;
	padding-top: 1em;
	border-top: solid #e0e0e0 1px;
	background-repeat: no-repeat;
	background-position: 0 16px;
	background-size: 128px 128px;
}
	
section.project > h1, section.social>h1 {
	margin: 0.5em 0;
	padding: 0;
	font-weight: lighter;
	font-size: 20px;
	color: #444;
	padding-top: 1em;
	border-top: solid #e0e0e0 1px;
	height: 2.5em;
}
section.social>h1 {
	height: inherit;
	padding: 0.5em 0 0 0.25em;
}
section.experience > h1, section.wiki > h1 {
	margin: 0.5em 0;
	padding: 0;
	font-weight: lighter;
	font-size: 20px;
	color: #444;
}
section.experience > h2, section.wiki > h2 {
	margin: -0.5em 0 0.5em 0;
	padding: 0;
	font-weight: lighter;
	font-size: 16px;
	color: #666;
}
section.experience > h2 > a:link, section.experience > h2 > a:visited,
section.wiki > h2 > a:link, section.wiki > h2 > a:visited {
	color: inherit !important;
	text-decoration: inherit;
}
section.wiki > h2 > a:hover, section.wiki > h2 > a:active {
	color: #000;
	text-decoration: underline;
}

h1 > a:link, h1 > a:visited {
	color: inherit !important;
	text-decoration: inherit !important;
}
section.project > div.img {
}
section.project > div.img img, section.social>div.img img {
	display: block;
	width: 100%;
	border: none !important;
}
/* section.project > ul, section.project li {
	list-style: none;
	padding: 0;
	margin: 1em 0 1em 0;
	color: #888;
} */
section.project > ul {
	min-height: 9.5em;
}
section.project li {
	margin: 0.5em 0 0.5em 0;
}
section.project li.role>span.i {
	color: #000;
	font-weight: normal;
}
section.project li.link {
	word-wrap: break-word;
}
section.social .fa{
	margin-right: 0.75em;
}
section#contact ul, section#contact li {
	list-style: none;
	padding: 0;
	margin: 0.25em 2em 0.25em 0;
}
span.logo {
	font-size: 0;
	color: transparent;
	width: 0;
}

@media screen and (max-width: 65em) {
	header {
		background-size: 96px 96px;
		padding-right: 100px;
	}
}

@media screen and (max-width: 50em) {
	#frontmatter {
		max-width: inherit;
	}
	section#contact {
		position: static;
		max-width: inherit;
	}

}

@media screen and (max-width: 40em) {

	body {
		margin: 1em auto;
		width: 95%;
		max-width: 300px;
	}
	
	header {
		background-size: 64px 64px;
		padding-right: 72px;
	}

	section.project {
		float: none;
		width: 100%;
	}

	section.project > ul {
		min-height: 0;
	}

	section.experience {
		background-image: none !important;
		min-height: 0;
		padding-left: inherit !important;
	}
	
	section.refer>section {
		background-size: 64px 64px;
		background-position: 100% 16px;
		padding-left: inherit !important;
	}
	section.refer>section>h1 {
		padding-right: 80px;
		min-height: 64px;
		margin-top: 0;
		vertical-align: top;
	}
}
@media screen and (min-width: 30em) {
	body {
		margin: 1em 2em;
	}
}

main > pre {
	font-size: 120%;
}

section.refer>section#monzo {
	background-image: url('refer/monzo256.png');
}
section.refer>section#transferwise {
	background-image: url('refer/transferwise256.png');
}
section.refer>section#curve {
	background-image: url('refer/curve256.png');
}
section.refer>section#chipolo {
	background-image: url('refer/chipolo256.png');
}
section.refer>section#beardedcolonel {
	background-image: url('refer/beardedcolonel256.png');
}
section.refer>section#milanote {
	background-image: url('refer/milanote256.png');
}
section.refer>section#duolingo {
	background-image: url('refer/duolingo256.png');
}

section.home>ul>li {
	line-height: 1.75em;
}
section.home>ul>li>.fa {
	margin-right: 0.75em;
}
