html, body {
	height: 100%;
	margin: 0;
	font: 14px/20px 'Lato', sans-serif;
	font-weight: lighter;
}

* {
	box-sizing: border-box;
}

section h1 {
	font-size: 6em;
	line-height: 1em;
	font-weight: normal;
	text-align: center;
	margin: -0.25em 0 0.65em 0;
	font-family: 'Cookie', cursive;
	color: #E2A059;
}

@media (min-width: 700px) {
	section h1 {
		margin: 0 0 0.65em 0;
	}
}

section h2 {
	font-size: 1em;
	margin-bottom: 1em;
	font-weight: bold;
}

.container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 4em 0;
}

.container + .container {
	padding-top: 0;
}

body > header {
	min-height: 100vh;
	text-align: center;
	background: #F5F7F9;
}

body > section {
	padding: 0 1em;
}

body > section:nth-child(odd) {
	background: #F5F7F9;
}

body > section a {
	color: #000;
}

/* Screenshots & column stuff */

@media (min-width: 700px) {

	.grid.container {
		display: flex;
		justify-content: space-around;
		align-items: flex-start;
	}

	.grid.container > .column {
		flex: 1 1 auto;
	}

	.grid.container > .column img {
		max-width: 100%;
	}

}

.screenshot {
	position: relative;
	width: 100%;
}

.iphone.screenshot::after {
	content: '';
	position: absolute;
	background: url(img/iphone-white.png) top center no-repeat;
	background-size: 100% auto;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.iphone.screenshot > img {
	width: 87.5%;
	margin: 23.75% 6.25%;
}

.black.iphone.screenshot::before {
	content: '';
	background: black;
	width: 90%;
	height: 85%;
	display: block;
	position: absolute;
	margin: 5% 5% 10% 5%;
	z-index: -1;
}

.black.iphone.screenshot::after {
	background-image: url(img/iphone-black.png);
}

@media (max-width: 700px) {
	.paged {
		overflow-x: auto;
		overflow-y: hidden;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
		scroll-snap-points-x: repeat(100%);
		scroll-snap-type: mandatory;
		scroll-snap-destination: 0% 100%;
		-webkit-scroll-snap-points-x: repeat(100%);
		-webkit-scroll-snap-type: mandatory;
		-webkit-scroll-snap-destination: 0% 100%;
		padding: 1em 0;
		margin: 0 -1em;
	}

	.paged.grid.container {
		margin: 3em -1em;
	}

	.paged > .screenshot,
	.paged > .column {
		width: 70%;
		margin: 0 15% !important;
		display: inline-block;
	}
}

@media (min-width: 700px) {

	.collage {
		display: flex;
		justify-content: center;
		padding-top: 2em;
	}

	.collage > .screenshot {
		z-index: 2;
		margin-top: -4.5%;
	}

	.collage > .screenshot:first-child {
		margin-right: -9.5%;
		margin-top: 0;
		z-index: 1;
	}

	.collage > .screenshot:last-child {
		margin-left: -9.5%;
		margin-top: 0;
		z-index: 1;
	}

}

.title.container {
	text-align: center;
}

.text.container {
	text-align: center;
	margin-top: -5%;
	padding: 1em;
}

.title.container h1 {
	margin-bottom: 0.25em;
}

.call-to-action {
	display: inline-block;
	text-decoration: none;
	font: 2.5em/1em 'Cookie', cursive;
	font-weight: normal;
	margin-top: 0.25em;
	padding: 0.25em 1em;
	background: #85A875;
	color: white;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
	transition: transform ease-in-out 150ms, box-shadow ease-in-out 150ms;
}

.call-to-action:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Header */

body > header {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	color: #414141;
}

body > header .logo {
	position: relative;
	width: 30vmin;
}

body > header .logo img {
	width: 100%;
}

body > header .logo h1 {
	position: absolute;
	bottom: 0;
	left: 80%;
	font: 20vmin/1em 'Cookie', cursive;
	margin: 0 0 -0.15em 0;
}

body > header > .logo,
body > header > p,
body > header > .call-to-action {
	z-index: 2;
}


body > header .homescherm,
body > header .laadscherm,
body > header .kaart {
	display: none;
}

@media (min-width: 700px) {

	body > header .hide-overflow {
		position: absolute;
		overflow: hidden;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 1;
	}

	body > header .homescherm,
	body > header .laadscherm,
	body > header .kaart {
		position: absolute;
		display: block;
	}

	body > header .homescherm {
		left: 5vw;
		width: 20vw;
		top: -5vh;
	}

	body > header .laadscherm {
		right: -5vw;
		width: 30vw;
		top: 5vh;
	}

	body > header .kaart {
		bottom: -5vh;
		left: -1vw;
		width: 35vw;
	}

	body > header .homescherm,
	body > header .laadscherm,
	body > header .kaart {
		opacity: calc(1.0 - 1.5 * var(--scroll-pos));
		/*-webkit-filter: drop-shadow(12px 12px 25px rgba(0,0,0,0.5));*/
		/*filter: url(#drop-shadow);
		-ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";
		filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";*/
	}

	body > header .homescherm {
		transform: translateY(calc(var(--scroll-pos) * -25vh));
	}

	body > header .laadscherm {
		/*-webkit-filter: drop-shadow(-12px 12px 25px rgba(0,0,0,0.5));*/
		transform: translateY(calc(var(--scroll-pos) * -45vh));
	}

	body > header .kaart {
		/*-webkit-filter: drop-shadow(6px 6px 6px rgba(0,0,0,0.3));*/
		transform: translateY(calc(var(--scroll-pos) * -15vh));
	}

}

/* Features */

#features {
	display: flex;
	justify-content: center;
	flex-direction: column;
}

#features > .container {
	flex: 0 0;
}

#features .column {
	margin: 1em;
	text-align: center;
}

/* Impression */

@media (min-width: 700px) {

	#impression .screenshot {
		width: 33%;
	}

	#impression .text {
		margin-top: 8em;
		width: 8em;
	}

	#impression .left.text {
		float: left;
		text-align: right;
	}

	#impression .right.text {
		float: right;
	}

}

/* Quote */

#quote {
	background: #E2A059;
}

#quote blockquote {
	color: white;
	font: 2em 'Cookie', cursive;
	margin:0;
	text-align: center;
	quotes: "\201C""\201D""\2018""\2019";
}

#quote blockquote::before {
	content: open-quote;
}

#quote blockquote::after {
	content: close-quote;
}

#quote blockquote br {
	display: none;
}

@media (min-width: 700px) {
	#quote blockquote {
		font-size: 4em;
	}

	#quote blockquote br {
		display: inline;
	}
}

/* Quote rixt */

#quote-rixt {
	background: #85A875;
	display: flex;
}

#quote-rixt .photo {
	max-width: 50%;
	margin: 0 auto 3em auto;
}

#quote-rixt .photo img {
	border-radius: 50%;
	width: 100%;
}


@media (min-width: 700px) {
	#quote-rixt .container {
		display: flex;
		align-items: center;
	}

	#quote-rixt .photo {
		flex: 1;
		max-width: none;
		margin: 0 5em 0 0;
	}
}

#quote-rixt blockquote {
	flex: 3;
	font-size: 1.2em;
	line-height: 1.5em;
	color: white;
	margin:0;
	quotes: "\201C""\201D""\2018""\2019";
}

#quote-rixt blockquote p:first-child {
	margin-top: 0;
}

#quote-rixt blockquote p::before {
	content: open-quote;
}

#quote-rixt blockquote p::after {
	content: close-quote;
}

#quote-rixt blockquote footer {
	text-align: right;
}

#quote-rixt blockquote footer small {
	display: block;
}

@media (min-width: 700px) {
	#quote-rixt blockquote footer small {
		display: inline;
		font-size: 1em;
	}
}

/* Steps */

#steps .step {
	position: relative;
	display: flex;
	align-items: flex-start;
}

#steps .step > img {
	width: 200px;
	flex: 0;
}

#steps .step .description {
	flex: 2;
	margin: 0 1em;
}

#steps .step h2 {
	font: 2em 'Cookie', cursive;
	margin: 0;
}

#steps .arrow {
	flex: 0;
	height: 4em;
	margin-top: -1em;
	margin-bottom: 1em;
	background: url(img/steps/arrow-down.svg) center no-repeat;
	background-size: 100% 100%;
	width: 90px;
}

@media (min-width: 700px) {
	#steps {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	#steps > .container {
		display: flex;
		justify-content: space-between;
	}

	#steps .step {
		flex: 3 1;
		width: 20%;
		text-align: center;
		display: block;
	}

	#steps .step > img {
		margin-bottom: 25%;
		width: 50%;
	}

	#steps .step h2 {
		margin: 0.25em;
	}

	#steps .step .description {
		background: #F5F7F9;
		padding: 1em;
		margin: 1em;
	}

	#steps .arrow {
		flex-grow: 2;
		height: auto;
		margin: 2em 0 0 0;
		width: auto;
		background: url(img/steps/arrow.svg) center top no-repeat;
		background-size: 80%;
	}
}

/* Kaartensets */

#kaartensets .kaartenset {
	margin: 0 1em;
}

@media (min-width: 700px) {
	#kaartensets .kaartenset > *{
		margin: 0 4em;
	}
}

#kaartensets .kaartenset > img {
	max-width: 100%;
	margin: 0 0 2em 0;
	display: none;
}

#kaartensets .kaartenset:first-child > img {
	display: inline-block;
}

@media (min-width: 700px) {
	#kaartensets .kaartenset > img {
		display: inline-block;
	}
}

#kaartensets .kaartenset > h2 {
	margin-bottom: 1em;
}

/* Newsletter */

#newsletter .title.container {
	padding-bottom: 2em;
}

#newsletter .title.container p {
	font-size: 1.5em;
	margin: 0;
}

#newsletter .column {
	text-align: center;
}

#newsletter form label {
	display: none;
}

#newsletter form input {
	font: inherit;
	padding: 0.5em;
}

#newsletter form button {
	display: inline-block;
	font: inherit;
	padding: 0.5em;
	margin: 0;
	border: 0;
	background: #E2A059;
	color: white;
	border: 1px solid #E2A059;
}

#logo_mind {
	width:170px;
	flex: 1;
	max-width: none;
	margin: 0;
}

/* Footer */
body > footer {
	background: #414141;
	color: white;
}

body > footer .container {
	padding: 1em 0;
	text-align: center;	
}

@media (min-width: 700px) {
	body > footer br {
		display: none;
	}
}

/* Maak abi mogelijk */

body.maak-abi-mogelijk {
	background: #F5F7F9;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.maak-abi-mogelijk > header {
	min-height: 0;
    margin: 125px 0;
    flex: 0;
}

body.maak-abi-mogelijk > header .logo {
	width: 100px;
}

body.maak-abi-mogelijk > header .logo h1 {
	font-size: 100px;
}

body.maak-abi-mogelijk > section {
	flex: 1;
	font-size: 1.5em;
	line-height: 1.25em;
}

body.maak-abi-mogelijk .container {
	padding: 0;
	max-width: 600px;
} 

body.maak-abi-mogelijk .container > p:first-child {
	margin-top: 0;
}

body.maak-abi-mogelijk .actions {
	font-size: 0.667em;	
	text-align: center;
}

body.maak-abi-mogelijk .call-to-action,
body.maak-abi-mogelijk .back-to-website {
	margin: 0.5em auto;
}

