header {
	background-color: #fff;
}

#filter {
	margin-bottom: 12px;
}
#filter span {
	display: block;
	font-weight: 600;
	font-size: 0.75em;
	color: #aaa;
	margin-bottom: 12px;
}

#filter input {
	margin-right: 4px;
}

#filter .filter-btn {
	display: inline-block;
	padding: 8px 12px;
	margin: 4px 0;
	font-size: 0.85em;
	font-weight: 600;
	border: 2px solid rgba(11,38,70,0.4);
	color: rgba(11,38,70,0.4);
	border-radius: 100px;
	line-height: 1em;
	text-decoration: none;
}

#filter .filter-btn.checked, #filter .filter-btn.init {
	color: #3169ad;
	border: 2px solid #3169ad;
}

#intro {
	color: #0B2646;
}

#intro h1 {
	font-size: 1.75em;
	color: #0B2646;
	margin-bottom: 12px;
}

#intro p {
	font-size: 1.2em;
	font-weight: 500;
	color: rgba(11,38,70,0.85);
	margin-bottom: 0;
}

#referencer {
	background-color: #f5f5f5;
	min-height: 0;
	overflow: hidden;
	margin: 0 auto;
}

#referencer .cards {
	display: flex;
	flex: 0 0;
	flex-basis: auto;
	flex-direction: row;
	flex-wrap: wrap;
}

#referencer .reference {
	display: flex;
	height: 14vw;
	min-height: 14vw;
	width: 25%;
	overflow: hidden;
	position: relative;
	background-color: transparent;
}

#referencer .reference a {
	width: 100%;
	text-decoration: none;

}

#referencer .reference .reference-image {
	width: calc(100% - 0.5vw);
	height: calc(100% - 0.5vw);
	margin: 0.5vw;
	overflow: hidden;
	border-radius: 4px;
}

#referencer .reference .reference-image img {
	width: 100%;
	height: 100%;
	transition: all 0.3s ease;
}

#referencer .reference .overlay {
	position: absolute;
	background-color: rgba(11, 38, 70, 0.85);
	opacity: 0.5;
	z-index: 1;
	transition: all 0.3s ease;
	display: flex;
	width: calc(100% - 0.5vw);
	height: calc(100% - 0.5vw);
	justify-content: center;
	align-items: center;
	margin: 0.5vw;
	border-radius: 4px;
}

#referencer .reference a:hover .overlay {
	opacity: 0;
}

#referencer .reference a:hover .reference-image img {
	transform: scale(1.05);
}

#referencer .headers {
	padding: 28px;
	flex-direction: column;
	flex-wrap: wrap;
}

#referencer .reference .project-name {
	position: absolute;
	top: calc(32px + 0.5vw);
	left: calc(32px + 0.5vw);
	color: #fff;
	padding: 0px;
	border-radius: 2px;
	font-size: 1.125em;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 8px;
	display: inline-flex;
	z-index: 2;
}

#referencer .reference .project-client {
	position: absolute;
	top: calc(64px + 0.5vw);
	left: calc(32px + 0.5vw);
	color: #fff;
	padding: 2px 10px;
	background-color: #0B2646;
	border-radius: 3px;
	font-size: 0.85em;
	font-weight: 700;
	margin-bottom: 8px;
	display: inline-flex;
	z-index: 2;
}

@media screen and (max-width: 767px) {
	header {
		background-position: top center;
		background-size: cover;
	}
	#referencer .reference {
		margin: 0 0 20px 0;
		height: auto;
		min-height: auto;
		width: 100%;
	}
}
@media screen and (min-width: 768px) and (max-width: 1600px) {
	#referencer .reference {
		height: 28vw;
		min-height: 28vw;
		width: 50%;
	}
}
@media screen and (min-width: 1601px) and (max-width: 2400px) {
	#referencer .reference {
		height: 18vw;
		min-height: 18vw;
		width: 33.33%;
	}
}