@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&display=swap');

:root {
	--primary-color: #202046;
	--secondary-color: #3886ce;
	--accent-color: #fe633d;
	--background-color: #fff;
	--placeholderColor: #ccc;
	--disabledColor: #aaa;
	--disabledTextColor: #ccc;
	--maxContentWidth: min(calc(100vw - 2rem), 1000px);
}

*,
*::before,
*::after {
	margin: 0px;
	padding: 0px;
	border: none;
	box-sizing: border-box;
}

* {
	font-size: 16px;
	font-family: 'Montserrat', sans-serif;
	line-height: 1.5em;
}

/*------------*/
/*  ALGEMEEN  */
/*------------*/

html,
body {
	width: 100%;
	min-height: 100%;
}

div.container {
	display: grid;
	grid-template-rows: auto 1fr auto;
	width: 100%;
	min-height: 100vh;
}

table.nowrap td,
table.nowrap th,
td.nowrap,
th.nowrap {
	white-space: nowrap;
}

a {
	text-decoration: none;
	color: var(--primary-color);
}

a:hover {
	color: var(--secondary-color);
}

a.button {
	background: var(--primary-color);
	color: var(--background-color);
	border-radius: 0.25rem;
}

a.button:hover {
	background: var(--secondary-color);
}

h1 {
	font-size: 1.5rem;
	font-weight: 400;
}

h2 {
	font-size: 1.25rem;
	font-weight: 500;
}

@media (width > 600px) {
	h1 {
		font-size: 3rem;
	}

	h2 {
		font-size: 2rem;
		font-weight: 400;
	}
}

ol li {
	margin: 1rem;
}

button.button,
span.button {
    border: 1px solid #bbb;
    background: #eee;
    padding: 0.25rem 0.5rem;
    display: inline-block;
    border-radius: 0.25rem;
    cursor: pointer;
}

button.button:hover,
span.button:hover {
    background: #ddd;
}

::placeholder {
	color: var(--placeholderColor);
}



/*-------------*/
/*  NAVIGATIE  */
/*-------------*/

nav {
	position: sticky;
	top: 0px;
	background: var(--background-color);
	box-shadow: 0px 1px 3px #0008;
	z-index: 10;
}

nav input.hamburger {
	display: none;
}

nav label.hamburger {
	position: absolute;
	right: 0px;
	top: 50%;
	translate: -50% -50%;
	cursor: pointer;
}

nav label.hamburger i {
	font-size: 1.5rem;
}

nav ul {
	list-style: none;
}

nav input.hamburger + ul li {
	overflow: hidden;
	height: 0px;
	transition: 200ms height;
}

nav input.hamburger:checked + ul {
	padding-bottom: 1rem;
}

nav input.hamburger:checked + ul li {
	height: 2.5rem;
}

nav input.hamburger + ul li:first-child {
	display: block;
	height: auto;
}

nav ul li {
	width: 100%;
	text-align: center;
}

nav ul li:first-child {
	flex-grow: 1;
	position: relative;
	text-align: left;
}

nav input.hamburger:checked + ul li:last-child {
	margin-top: 0.5rem;
}

nav img {
	max-width: 70vw;
	height: 40px;
	vertical-align: middle;
}

nav a {
	display: inline-block;
	padding: 0.5rem 1rem;
}

@media (width > 850px) {
	nav ul {
		list-style: none;
		display: flex;
		align-items: center;
	}

	nav img {
		width: auto;
		height: 60px;
	}
	
	nav label.hamburger {
		display: none;
	}
	
	nav input.hamburger:checked + ul {
		padding-bottom: 0px;
	}
	
	nav ul li {
		width: fit-content;
	}
	
	nav input.hamburger + ul li {
		height: auto;
	}
	
	nav ul li:last-child {
		margin-block: 0px;
		margin-inline: 1rem;
	}
}






/*---------------*/
/*  HERO/DIVIDER */
/*---------------*/

.hero,
.divider {
	width: 100%;
	min-height: 50vh;
	background-position: 50% 50%;
	background-size: cover;
	display: grid;
	align-content: center;
	justify-items: center;
	position: relative;
	isolation: isolate;
}

.divider {
	min-height: 10vh;
	padding-block: 3rem;
}

.hero::after,
.divider::after {
	content: '';
	position: absolute;
	inset: 0px;
	background: #0006;
	z-index: 2;
}

.hero h1,
.divider h1 {
	color: #fff;
	text-shadow: 0px 0px 3px #000;
	font-size: 2.5rem;
	z-index: 3;
}

.hero span,
.divider span {
	color: #fff;
	text-shadow: 0px 0px 3px #000;
	font-size: 1.5rem;
	z-index: 3;
}
.hero p,
.divider p {
	color: #fff;
	text-shadow: 0px 0px 3px #000;
	font-size: 1rem;
	z-index: 3;
}

.hero a,
.divider a {
	color: var(--background-color);
	z-index: 3;
	border: 1px solid var(--background-color);
	margin-block: 2rem;
	padding: 1rem 1.5rem;
	border-radius: 0.25rem;
	font-size: 1.25rem;
	transition: 200ms color, 200ms background;
}

.hero a:hover,
.divider a:hover {
	background: var(--background-color);
	color: var(--primary-color);
}

.hero a img,
.divider a img {
	height: 1.5rem;
	margin-right: 1rem;
	vertical-align: middle;
}

@media (width > 600px) {
	.divider {
		padding-block: 4rem;
	}
	
	.hero h1,
	.divider h1 {
		font-size: 4rem;
	}
	
	.hero span,
	.divider span {
		font-size: 2rem;
	}
	
	.hero p,
	.divider p {
		font-size: 1.25rem;
	}
}





/*-----------*/
/*  ARTICLE  */
/*-----------*/

article {
	width: var(--maxContentWidth);
	margin-inline: auto;
	margin-block: 1rem;
}





/*--------*/
/*  FORM  */
/*--------*/

.form {
	width: min(90vw, 600px);
	margin: 3rem auto;
	padding-inline: 1rem;
	border-radius: 0.5rem;
/*	box-shadow: 0px 1px 3px #0008;*/
}

.form .formrow {
	position: relative;
	padding-block: 0.5rem;
}

.form h2 {
	padding-block: 0.5rem;
}

.form .formrow label {
	font-size: 0.9rem;
	padding: 0.5rem;
	opacity: 0.75;
}

.form input,
.form select {
	padding: 0.5rem;
	border: 1px solid var(--primary-color);
	width: 100%;
	border-radius: 0.25rem;
}

.form span.showpassword {
	position: absolute;
	top: 2.5rem;
	right: 0.5rem;
	cursor: pointer;
	opacity: 0.6;
	width: 1.5rem;
	text-align: center;
}

.form span.showpassword:hover {
	opacity: 1;
}

.form button {
	display: block;
	background: var(--primary-color);
	padding: 0.5rem 2rem;
	color: var(--background-color);
	border-radius: 0.25rem;
	width: 100%;
	/* margin-top: 1rem; */
	/* margin-bottom: 0.5rem; */
	margin-block: 0.5rem;
	cursor: pointer;
	position: relative;
}

.form button:hover {
	background: var(--secondary-color);
}

.form button.icon {
	padding: 0.5rem;
	width: 2.5rem;
}

.form a {
	display: block;
	margin-block: 1rem;
}

div.error,
.form span.error {
	width: calc(100% - 1rem);
	display: block;
	margin: 0.5rem;
	padding: 0.5rem;
	background: #f44;
	color: #fff;
	border-radius: 0.5rem;
	font-weight: 500;
	text-align: center;
}

.form span.hideerror {
	overflow: hidden;
	height: 0px;
	padding: 0px;
	margin: 0px;
	transition: 200ms all;
}


/*----------*/
/*  FOOTER  */
/*----------*/

footer {
	background: var(--primary-color);
	padding: 3rem 1rem;
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}

footer,
footer * {
	color: var(--background-color);
}

footer a:hover {
	color: var(--accent-color);
}

footer div {
	white-space: nowrap;
	min-width: 90%;
	line-height: 2rem;
	text-align: center;
}

footer img {
	height: 1.5rem;
	vertical-align: middle;
	margin-right: 0.5rem;
}

@media (width > 600px) {
	footer div {
		min-width: auto;
		text-align: left;
	}
}
