html, body {
	background: #fff;
	/*background: url(img/hero/staalstructuur-3.jpg) no-repeat center center fixed;
	background-size: cover;*/
}

header {
	padding: 2rem;
}

.title {
	display: inline-block;
	vertical-align: middle;
}

h1 {
	font-size: 78px;
	letter-spacing: 5px;
	line-height: 1em;
	text-transform: uppercase;
}

h2 {
	font-size: 30px;
	font-weight: normal;
	letter-spacing: 1px;
}

nav {
	display: inline-block;
	margin-left: 2rem;
	vertical-align: middle;
}

nav li {
	display: inline-block;
	margin: 0 1rem;
}

nav a {
	background: linear-gradient(to bottom, #333 0%, #333 100%);
	background-position: 0 100%;
	background-repeat: repeat-x;
	background-size: 2px 0;

	color: inherit;
	font-size: 1.2rem;
	padding: 0.1em 1em 0.2em 1em;
	position: relative;
	transition: all 0.4s;
}

nav a:visited {
	color: inherit;
}

nav a:hover {
	background-size: 2px 2em;
	color: #fff;
}

.unstiled-link {
	color: inherit;
}

.unstiled-link:hover {
	color: inherit;
}

.unstiled-link:visited {
	color: inherit;
}

main {
	min-height: 100%;
	padding: 1rem;
	width: 100%;
}

.project-type-selection {
	font-size: 1.2rem;
	font-weight: 600;
	margin: 0 auto 2rem auto;
	padding: 1rem;
}

.project-type-selection svg {
	vertical-align: text-bottom;
}

.arrow-down {
	bottom: -5px;
	position: relative;
}

.project-type-selection p {
	margin: 0;
}

.project-type-selection li {
	display: inline-block;
	margin-bottom: 1rem;
	margin-right: 0.2rem;
	vertical-align: top;
}

.project-type-selection select {
	/*background: #f6f6f6;*/
	border: 1px solid #eee;
	color: #333;
	/*display: block;*/
	font-family: 'Barlow-Regular', Arial, sans-serif;
	font-size: 1.2rem;
	margin-right: 6px;
	margin-top: 0;
	padding: 0 4px;
}

/*.projects-container {
	display: grid;
	grid-column-gap: 20px;
	grid-row-gap: 20px;
	grid-template-columns: 1fr 1fr 1fr;
	margin: 2rem auto 5rem auto;
	width: 100%;
}

.project {
	display: none;
	opacity: 0;
	transition: opacity 0.4s ease-out, visibility 0.4s linear;
	width: 100%;
}*/

.projects-container {
	column-gap: 30px;
	margin: 2rem auto 5rem auto;
	min-height: 100vh;
	width: 100%;
}

.narrow-columns {
	column-count: 3;
}

.wide-columns {
	column-count: 2;
}

.project {
	display: none;
	grid-template-rows: 1fr auto;
	margin-bottom: 30px;
	opacity: 0;
	page-break-inside: avoid;
	transition: opacity 0.4s ease-out, visibility 0.4s linear;
	width: 100%;
}

.visible-project {
	opacity: 1;
}

.img-container {
	align-items: center;
	display: flex;
	justify-content: center;
	overflow-x: hidden;
	overflow-y: hidden;
	position: relative;
}

.project-thumbnail {
	transform: scale(1.01);
	transition: transform 0.8s linear;
	width: 100%;
}

.img-description {
	background: #fff;
	bottom: 20px;
	color: #333;
	display: none;
	font-size: 0.8rem;
	left:  0;
	padding: 4px;
	position: absolute;
	right: 20px;
	z-index: 999;
}

.project img:hover {
	cursor: pointer;
	transform: scale(1.02);
}

.project-title {
	margin: 1rem auto;
	text-align: center;
}

.project-title-content-wrapper {
	border-bottom: 1px solid #ccc;
	padding: 0.2em 2em;
}

.gray {
	color: #666;
}

@media screen and (min-width: 1460px) {
	.narrow-columns {
		column-count: 4;
	}
}

@media screen and (max-width: 768px) {
	main {
		flex-flow: column wrap;
	}
	nav {
		display: block;
		margin-left: 0;
		margin-top: 1rem;
	}
	nav li {
		margin: 0 0.5rem 0.5rem 0;
	}
	nav a {
		padding: 0 0.5em 0 0;
	}
	.project-type-selection {
		font-size: 1.2rem;
		margin: 0 auto 0.5rem auto;
	}
	.project-type-selection select {
		font-size: 1.2rem;
		margin-top: 4px;
	}
	.projects-container {
		column-gap: 10px;
		grid-template-columns: 1fr 1fr;
	}
	.narrow-columns {
		column-count: 2;
	}
	.wide-columns {
		column-count: 1;
	}
	.project {
		margin-bottom: 10px;
	}
	.img-description {
		display: none;
	}
}

/*@media screen and (max-width: 400px) {
	.projects-container {
		column-count: 1;
	}
	.img-description {
		right: 20px;
	}
}*/
