html {
	font-size: 18px;
}

body {
	margin: 0;
	font-family: Helvetica, Arial, sans-serif;
	background-color: #fff;
}

h1,
h2,
h3 {
	margin-top: 48px;
	margin-bottom: 16px;
}

h1 {
	font-size: 5rem;
}

h2 {
	font-size: 2rem;
}

h3 {
	font-size: 1.7rem;
}

p {
	margin: 0;
	line-height: 1.7;
}
p + p {
	margin-top: 16px;
	margin-bottom: 0;
}

a {
	color: #000;
	text-decoration: underline;
}
a:hover {
	color: #666;
	text-decoration: none;
}


/**
 * Button
 */
a.button {
	display: inline-block;
	padding: 16px 24px;
	color: #555;
	font-weight: bold;
	text-decoration: none;
	background-color: #f6f6f6;
	border-radius: 8px;
}
a.button:hover {
	color: #333;
	text-decoration: underline;
}
a.button:active {
	background-color: #eee;
	box-shadow: 0 2px 4px #ddd inset;
}



/**
 * Layout
 */
.container {
	margin-left: auto;
	margin-right: auto;
	max-width: 1000px;
}



/**
 * Navigation
 */
ul#navigation-items {
	display: flex;
	align-items: center;
	margin: 0 64px;
	padding: 0;
	list-style: none outside;
}

ul#navigation-items li {
	margin: 32px 24px;
	font-size: 0.9rem;
	font-weight: bold;
	color: #999;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 0.03em;
}
ul#navigation-items li:first-child {
	margin-left: 32px;
}
ul#navigation-items li:last-child {
	margin-right: 32px;
}

ul#navigation-items li a {
	color: #999;
	text-decoration: none;
}
ul#navigation-items li a:hover {
	color: #666;
}

ul#navigation-items li.active a {
	padding-bottom: 4px;
	border-bottom: #999 solid 2px;
}
ul#navigation-items li.active a:hover {
	border-bottom-color: #666;
}

@media screen and (max-width: 1000px) {
	ul#navigation-items {
		margin-left: 32px;
		margin-right: 32px;
	}
}

@media screen and (max-width: 600px) {
	ul#navigation-items {
		display: block;
		margin-left: 0;
		margin-right: 0;
	}

	ul#navigation-items li {
		margin-left: 32px;
		margin-top: 24px;
		margin-bottom: 24px;
	}
}



/**
 * Content
 */
main p {
	max-width: 70ch;
	font-size: 1.125rem;
}



/**
 * Footer
 */
footer {
	margin-top: 240px;
	margin-bottom: 160px;
}

footer .content {
	margin-left: 48px;
	margin-right: 48px;
}

footer h3 {
	display: inline-block;
	margin-top: 0;
	margin-bottom: 16px;
	padding-bottom: 4px;
	border-bottom: #34ad5e solid 4px;
}

footer a.linkedin {
	display: inline-block;
	margin-top: 32px;
}

@media screen and (max-width: 1000px) {
	footer .content {
		margin-left: 64px;
		margin-right: 64px;
	}
}

@media screen and (max-width: 600px) {
	footer {
		margin-top: 180px;
		margin-bottom: 120px;
	}

	footer .content {
		margin-left: 16px;
		margin-right: 16px;
	}
}



/**
 * Projects
 */
#project-heading {
	padding-top: 240px;
	padding-bottom: 240px;
}

#project-heading .content {
	margin-left: 32px;
	margin-right: 32px;
}

#project-heading h1 {
	display: inline-block;
	margin-top: 80px;
	margin-bottom: 0;
	padding-bottom: 4px;
	font-size: 2rem;
	color: #000;
	border-bottom: #34ad5e solid 4px;
}

#project-heading img {
	height: auto;
	width: 100%;
}

.projects {
	margin-left: auto;
	margin-right: auto;
	max-width: 2000px;
}

.projects .project {
	display: flex;
	flex-direction: row-reverse;
}
.projects .project:nth-of-type(2n) {
	flex-direction: row;
}

.projects .project + .project {
	margin-top: 96px;
}

.projects .project .info {
	display: flex;
	flex-direction: column;
	align-self: flex-end;
	flex: 1 3 100px;
	margin: 64px;
	min-width: 300px;
	max-width: 600px;
}

.projects .project .info h2 {
	margin-top: 0;
	margin-bottom: 16px;
}

.projects .project .info p {
	color: #555;
}

.projects .project .info .button {
	margin-top: 32px;
}

.projects .project .image {
	max-height: 600px;
	flex: 2 1 100px;
}
.projects .project:nth-of-type(2n) .image {
	margin-left: 64px;
}
.projects .project:nth-of-type(2n+1) .image {
	margin-right: 64px;
}

.projects .project .image {
	max-height: 600px;
	overflow: hidden;
}

.projects .project .image img {
	width: 100%;
}

@supports (object-fit: cover) {
	.projects .project .image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

@media screen and (max-width: 1200px) {
	.projects .project .info {
		margin: 48px;
	}

	.projects .project:nth-of-type(2n) .image {
		margin-left: 48px;
	}
	.projects .project:nth-of-type(2n+1) .image {
		margin-right: 48px;
	}
}

@media screen and (max-width: 1000px) {
	#project-heading {
		padding-top: 160px;
		padding-bottom: 160px;
	}

	.projects .project .info {
		margin: 32px;
	}

	.projects .project:nth-of-type(2n) .image {
		margin-left: 32px;
	}
	.projects .project:nth-of-type(2n+1) .image {
		margin-right: 32px;
	}
}

@media screen and (max-width: 800px) {
	.projects .project,
	.projects .project:nth-of-type(2n) {
		flex-direction: column;
	}

	.projects .project .info {
		min-width: auto;
		max-width: none;
		align-self: auto; /* IE */
		flex: auto; /* IE */
	}

	.projects .project .image {
		flex: auto; /* IE */
	}
	.projects .project:nth-of-type(2n) .image {
		margin-left: 0;
	}
	.projects .project:nth-of-type(2n+1) .image {
		margin-right: 0;
	}
}

@media screen and (max-width: 600px) {
	#project-heading {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	#project-heading .content {
		margin-left: 16px;
		margin-right: 16px;
	}

	#project-heading h1 {
		margin-top: 32px;
	}

	.projects .project .info {
		margin-left: 16px;
		margin-right: 16px;
	}
}



/**
 * Image header
 */
.image-header {
	background-image: url("gebouw.jpg");
	background-size: cover;
	background-position: center;
	background-blend-mode: overlay;
	background-color: #333;
}

.image-header h1 {
	display: inline-block;
	position: relative;
	margin: 0 48px;
	padding-top: 8rem;
	padding-bottom: 1rem;
	color: #fff;
	font-size: 6rem;
	text-shadow: #333 0 4px 8px;
}

.image-header h1 div.header-line {
	position: absolute;
	bottom: -6px;
	height: 12px;
	width: 100%;
	background-color: #34ad5e;
}

@media screen and (max-width: 1000px) {
	.image-header h1 {
		margin-left: 32px;
		margin-right: 32px;
	}
}

@media screen and (max-width: 800px) {
	.image-header h1 {
		margin-left: 32px;
		margin-right: 32px;
		font-size: 5rem;
	}
}

@media screen and (max-width: 600px) {
	.image-header h1 {
		margin-left: 16px;
		margin-right: 16px;
		padding-top: 6rem;
		font-size: 4rem;
	}
}



/**
 * Main content
 */
main .content {
	margin: 48px 96px;
}

@media screen and (max-width: 1000px) {
	main .content {
		margin-left: 32px;
		margin-right: 32px;
		margin-top: 32px;
		margin-bottom: 32px;
	}
}

@media screen and (max-width: 600px) {
	main .content {
		margin-left: 16px;
		margin-right: 16px;
	}
}