body {
	font-family: 'Maax', Sans-serif;
}

a {
	text-decoration: none;
	color: unset;
	transition: color .3s;
}

a:hover {
	color: #336;
}

.navigation-open {
	max-height: 100vh;
	overflow: hidden;
}

#popup-nav {
	display: none;
	z-index: 9999;
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100vh;

	background-color: rgba(0, 0, 0, .8);
	pointer-events: all;
}

.navigation-open #popup-nav {
	display: block;
}

#popup-nav > nav {
	height: 100%;
	overflow-y: scroll;

	width: 640px;
	max-width: 100vw;
	margin-inline: auto;
}

#popup-nav > nav > .menu {
	min-height: 100%;
	background-color: #2E1A47;
	color: white;
	padding: 30px 20px 130px;

	display: flex;
	flex-direction: column;
	gap: 40px;
}

#popup-nav > nav > .menu > hr {
	display: none;
}

#popup-nav > nav > .menu summary {
	padding: 15px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 20px;
	border-bottom: 1px white solid;
}

#popup-nav > nav > .menu summary > svg {
	height: 15px;
	fill: white;
}

#popup-nav > nav > .menu details::details-content {
	height: 0;
	transition: height 1s;
}

#popup-nav > nav > .menu details[open]::details-content {
	height: auto;
}

#popup-nav > nav > .menu details ul {
	padding: 20px 0;
	font-size: 15px;
	line-height: 22.5px;
}

#popup-nav > nav > .menu ul > li {
	display: flex;
	align-items: center;
}

#popup-nav > nav > .menu details ul > li > a {
	width: 100%;
	transition: color 0.3s;
}

#popup-nav > nav > .menu details ul > li > a:hover {
	color: #E40046;
}

#popup-nav > nav > .menu details ul > li:not(:first-child) {
	margin-block-start: 4px;
}

#popup-nav > nav > .menu details ul > li:not(:last-child) {
	padding-block-end: 4px;
}

#popup-nav > nav > .menu > ul {
	list-style: none;
	padding: 0;
}

#popup-nav > nav > .menu > ul > li {
	font-size: 20px;
	line-height: 30px;
}

#popup-nav > nav > .menu > ul > li > a {
	color: #F3F0F5;
}

#popup-nav > nav > .menu > ul > li:not(:first-child) {
	margin-block-start: 7.5px;
}

#popup-nav > nav > .menu > ul > li:not(:last-child) {
	padding-block-end: 7.5px;
}

#popup-nav > nav > .menu > div:has(> h6) {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

#popup-nav > nav > .menu > div > h6 {
	margin: 0;
	font-size: 15px;
	line-height: 25px;
	width: 80%;
	margin-block-end: 12px;
	color: #F3F0F5;
}

#popup-nav > nav > .menu > div > h6:has(> a) {
	width: 100%;
	margin-block-end: 0;
}

#popup-nav > nav > .menu > div > h6 > a {
	font-size: 20px;
	line-height: 30px;
	text-decoration: underline;
	color: #F3F0F5;
}

.navbar {
	background-color: white;
	height: 70px;
	padding: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.navbar > div:last-child,
.navbar > a:last-child {
	display: flex;
	align-items: center;
}

.navbar > div:has(> nav) {
	display: none;
}

.navbar > a:first-child > img {
	width: 65%;
	vertical-align: middle;
}

.navbar > div:last-child > a > svg,
.navbar > a:last-child > svg {
	height: 25px;
	width: 25px;
}
	
.navbar > div:last-child > a > svg.desktop,
.navbar > a:last-child > svg.desktop {
	display: none;
}

.navbar > a[href="#close-nav"]:last-child > svg {
	height: 20px;
	width: 20px;
}

footer > .top {
	background-color: #F3F0F5;

	font-size: 18px;
	font-weight: 400;
	line-height: 28px;
	color: var(--color-secondary);

	padding: 40px 15px 0;

	gap: 20px;
	display: grid;
	grid-template-rows: auto;
}

footer > .top > .left {
	gap: 50px;
	display: grid;
}

footer > .top > .left > h3 {
	font-size: 40px;
	line-height: 40px;
	font-weight: 400;
	margin: 0;
}

footer > .top > .left > .question {
	width: 66%;
}

footer > .top > .right {
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

footer > .bottom {
	background-color: #2E1A47;
	background-image: url(Background-vermaat.svg);
	background-position: bottom right;
	background-repeat: no-repeat;
	background-size: 1000px auto;

	padding: 60px 15px 100px;

	display: flex;
	flex-direction: column;
	gap: 50px;
}

footer > .bottom > div {
	display: grid;
	gap: 20px;
	grid-template-rows: repeat(4, auto);
}

footer > .bottom > div:first-child {
	display: block;
	height: 140px;
}

footer > .bottom > div > div {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

footer > .bottom h6,
footer > .bottom h6 > a {
	margin-block: 0;
	color: #faf9fb;
	font-size: 20px;
	line-height: 30px;
}

footer > .bottom ul {
	list-style: none;
	padding-inline-start: 0;
}

footer > .bottom ul > li:not(:last-child) {
	padding-block-end: 2px;
}

footer > .bottom ul > li:not(:first-child) {
	margin-block-start: 2px;
}

footer > .bottom ul > li > a {
	color: #CCC5D0;
	font-size: 17px;
	line-height: 27px;
}

footer > .bottom ul > li > a:has(> svg) {
	background-color: #745B5B00;
	border-style: solid;
	border-width: 1px 1px 1px 1px;
	border-color: #FFFFFF;
	border-radius: 50%;

	height: 50px;
	width: 50px;

	display: inline-flex;
	justify-content: center;
	align-items: center;
}

footer > .bottom ul > li > a > svg {
	height: 25px;
	width: 25px;
}

footer > .bottom ul > li > a > span:has(+ svg) {
	font-size: 0;
}

footer > .bottom > div:last-child {
	width: calc(50% - 10px);

	display: none;
	gap: 20px;
	flex-direction: column;

	color: white;
	font-size: 15px;
}

footer > .bottom > div:last-child a {
	color: white;
	font-size: 15px;
}

footer > .bottom > div:last-child ul {
	display: flex;
	flex-wrap: wrap;
}

footer > .bottom > div:last-child ul > li {
	padding: 0;
	margin: 0;
	white-space: nowrap;
	height: 34px;
	display: flex;
	align-items: center;
}

footer > .bottom > div:last-child ul > li:not(:last-child)::after {
	content: '';
	margin-inline: 8px;
	border-left: 1px solid white;
	height: 10px;
}

@media(min-width: 768px) {
	#popup-nav > nav > .navbar {
		display: none;
	}

	#popup-nav > nav > .menu {
		padding: 10px;
		gap: 20px;
	}

	#popup-nav > nav > .menu summary {
		border: 1px solid #F3F0F5;
		padding: 10px;
		flex-direction: row-reverse;
		justify-content: flex-end;
		gap: 10px;
		font-size: 16px;
	}

	#popup-nav > nav > .menu details ul {
		padding: 10px;
		font-size: 19px;
		line-height: 28.5px;
	}

	#popup-nav > nav > .menu > ul > li:not(:last-child),
	#popup-nav > nav > .menu > ul > li:not(:first-child) {
		font-size: 18px;
		line-height: 27px;
		margin: 0;
		padding: 0;
	}

	#popup-nav > nav > .menu > div:has(> h6) {
		gap: 0;
		padding-block-start: 80px;
	}

	#popup-nav > nav > .menu > div > h6 {
		font-size: 20px;
		line-height: 30px;
		width: 50%;
		margin-block-end: 20px;
	}

	#popup-nav > nav > .menu > div > h6:has(> a) {
		height: 30px;
	}

	#popup-nav > nav > .menu > div > h6 > a {
		font-size: 25px;
		line-height: 30px;
	}

	.navbar {
		padding: 10px;
		height: 56px;
	}

	.navbar > a:first-child > img {
		width: 130px;
	}

	.navbar > div:last-child,
	.navbar > a:last-child {
		align-self: baseline;
	}

	footer > .top,
	footer > .bottom {
		padding-inline: 30px;
	}

	footer > .top {
		grid-template-rows: 1fr;
		grid-template-columns: 1fr 1fr;

		font-size: 23px;
		line-height: 35px;
	}

	footer > .top > .left > h3 {
		font-size: 50px;
		line-height: 42px;
	}

	footer > .bottom {
		padding-bottom: 30px;
		background-size: unset;
	}

	footer > .bottom > div {
		grid-template-rows: 1fr;
		grid-template-columns: repeat(4, 1fr);
	}

	footer > .bottom > div:last-child {
		display: flex;
	}
}

@media(min-width: 1025px) {
	#popup-nav {
		display: block;
		background: unset;
		right: -100%;
		transition: all 1s allow-discrete;
	}

	@starting-style {
		#popup-nav {
			right: -100%;
		}
	}

	.navigation-open #popup-nav {
		right: 0;
	}

	#popup-nav > nav {
		position: absolute;
		right: 0;
		top: 0;
		width: 49.5vw;
		background-color: #f3f0f5;
	}

	#popup-nav > nav > .navbar {
		display: flex;
		justify-content: flex-end;
		height: 65px;
		width: 49.5vw;
	}

	#popup-nav > nav > .navbar > a:first-child {
		display: none;
	}

	#popup-nav > nav > .navbar > a:last-child {
		padding: 10px;
		width: max(65px, 10%);
		justify-content: center;
	}

	#popup-nav > nav > .menu {
		background-color: #f3f0f5;
		padding: 125px 0 100px 100px;
		color: #2e1a47;
	}

	#popup-nav > nav > .menu details > summary {
		height: 30px;
	}

	#popup-nav > nav > .menu details:not(:last-child) {
		margin-bottom: 7px;
	}

	#popup-nav > nav > .menu details:hover > summary {
		color: #e40046;
	}

	#popup-nav > nav > .menu details > ul {
		padding: 20px 0;
		font-size: 17px;
		line-height: 25.5px;
	}

	#popup-nav > nav > .menu summary {
		font-size: 20px;
		line-height: 30px;
		padding: 0;
	}

	#popup-nav > nav > .menu summary > svg {
		display: none;
	}

	#popup-nav > nav > .menu > hr {
		display: block;
		width: 10%;
		margin: 0;
		border: none;
		border-top: 1px solid #2e1a47;
		margin-block: 15px;
	}

	#popup-nav > nav > .menu > ul > li > a {
		color: #2e1a47;
		font-size: 20px;
		line-height: 30px;
	}

	#popup-nav > nav > .menu > ul > li:not(:last-child) {
		padding-block-end: 3.5px;
	}

	#popup-nav > nav > .menu > ul > li:not(:first-child) {
		margin-block-start: 3.5px;
	}

	#popup-nav > nav > .menu > div > h6 {
		color: #2e1a47;
		width: 50%;
		font-size: 20px;
		line-height: 30px;
	}

	#popup-nav > nav > .menu > div > h6 > a {
		color: #2e1a47;
		font-size: 20px;
		line-height: 30px;
	}

	.navbar {
		padding: 0;
		gap: 20px;
		align-items: stretch;
		height: auto;
		min-height: 65px;
		position: fixed;
		width: 100vw;
	}

	.navbar > a:first-child {
		width: 40%;
		font-size: 22px;
		line-height: 34px;
		text-align: center;
		align-self: center;
	}

	.navbar > a:first-child > img {
		padding: 1px 0 10px;
		width: 135px;
	}

	.navbar > div:last-child,
	.navbar > a:last-child {
		background-color: #F3F0F5;
		padding: 10px 20px 5px;
		align-self: stretch;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 7%;
	}

	.navbar > div:last-child > a > svg.mobile {
		display: none;
	}

	.navbar > div:last-child > a > svg.desktop {
		display: unset;
		position: relative;
		top: -2px;
		right: -0.5px;
	}

	.navbar > div:has(> nav) {
		display: flex;
		align-items: center;
		width: 100%;
	}

	.navbar > div > nav {
		width: 100%;
		max-width: min(100%, 1140px);
		margin-inline: auto;
	}

	.navbar > div > nav a:hover {
		color: #E40046;
	}

	.navigation-open .navbar > div > nav a {
		color: transparent;
	}

	.navbar > div > nav > ul {
		list-style: none;
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
		padding-inline-start: 0;
	}

	.navbar > div > nav > ul > li {
		font-size: 16px;
		line-height: 20px;
		padding: 13px 10px;
		background-color: white;
		text-wrap-mode: nowrap;
		position: relative;
	}

	.navbar > div > nav > ul > li > ul {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 100%;
		background-color: #f3f0f3;
		padding: 30px 50px;
		list-style: none;
		z-index: 1;
	}

	.navbar > div > nav > ul > li:hover > ul {
		display: flex;
	}

	.navbar > div > nav > ul > li > ul > li {
		padding: 15px 0;
	}

	footer > .top,
	footer > .bottom {
		padding-inline: calc((100% - 1140px) / 2);
	}

	footer > .top {
		font-size: 25px;
		line-height: 35px;
	}

	footer > .top > .left {
		padding-block: 40px 80px;
	}

	footer > .bottom {
		padding-block-start: 120px;
	}
}
