/* <weight>: Use a value from 200 to 800 / <uniquifier>: Use a unique and descriptive class name */
.bricolage-grotesque-800 {
	font-family: "Bricolage Grotesque", sans-serif;
	font-optical-sizing: auto;
	font-weight: 800;
	font-style: normal;
	font-variation-settings: "wdth" 100;
} /* <weight>: Use a value from 100 to 900 // <uniquifier>: Use a unique and descriptive class name */
.inter-450 {
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
	font-weight: 450;
	font-style: normal;
} /*/ <weight>: Use a value from 400 to 900 // <uniquifier>: Use a unique and descriptive class name*/
.playfair-display-400 {
	font-family: "Playfair Display", serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}

/*opbouw*/

html,
body {
	margin: 0;
	padding: 0;
	height: 100%;
}

body {
	display: flex;
}

.bigbox {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 100vh;
	min-width: 0;
}

.info {
	display: flex;
	flex: 1;
	overflow: hidden;
	padding-bottom: 40px;
	box-sizing: border-box;
	min-height: 0;
	min-width: 0;
}

/* HEADER KRISTEL VRANKEN */
.header {
	padding: 20px;
	width: 100%;
	box-sizing: border-box;
}

a {
	text-decoration: none;
	color: black;
}
.header a {
	display: inline-block;
	width: 100%;
	margin: 0 auto;
	line-height: 0.8;
	text-align: center;
	font-family: "Bricolage Grotesque", Helvetica, sans-serif;
	font-weight: 900;
	font-size: clamp(60px, 12.8vw, 280px);
	white-space: nowrap;
	overflow: hidden;
	max-width: 100%;
	color: #4d6d51;
}

/* INFO */
.empty,
.text,
.picture {
	min-height: 0;
}

.text {
	width: 50%;
	padding: 0 20px 0 40px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	box-sizing: border-box;
}
p {
	text-align: left;
	font-family: "Inter", Helvetica, sans-serif;
	font-weight: 450;
	font-size: 13pt;
	line-height: 1.4;
}

.picture {
	width: 33%; /* vaste breedte */
	overflow: hidden; /* zorgt dat het beeld wordt afgesneden */ /* optioneel: afgeronde hoeken */
	padding-right: 40px;
	display: flex;
	align-items: center;
}

.picture img {
	width: 100%;
	height: 100%;
	object-fit: cover; /*  zorgt dat de foto meecropt */
	object-position: center; /* bepaalt welk deel zichtbaar blijft */
	display: block; /* verwijdert ongewenste witte ruimte */
}

.credits {
	position: fixed;
	bottom: 0;
	padding-bottom: 15px;
}

/*luidspreker*/
.empty {
	width: 17%;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	padding-right: 20px;
	min-height: 0;
	justify-content: flex-end;
}

.luidspreker {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-radius: 10px;
	margin-bottom: 10px;
}
.luidspreker p {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0;
}
.klik {
	display: block;
	font-size: 12pt;
	font-family: "Playfair Display";
	font-style: italic;
	font-weight: 400;
	text-align: center;
	margin-top: -10px;
}
.symbool {
	width: 80px;
	height: auto;
	display: block;
	margin: 0 auto;
}

/*LINKS*/
#link {
	background-color: #4d6d51;
	color: white;
}

/*FOTO's reclame*/

.samenwerkingen {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
}

.samenwerkingen img {
	width: 25%;
}

#voorstellingfoto {
	width: 50%;
}
#voorstellingfoto2 {
	width: 50%;
	margin-left: 25%;
}

.fragment {
	display: inline-block;
	font-size: 13pt;
	font-family: "Playfair Display";
	font-style: italic;
	font-weight: 400;
	margin-left: 40px;
}
.kalender {
	display: inline-block;
	font-size: 13pt;
	font-family: "Playfair Display";
	font-style: italic;
	font-weight: 400;
}

/*responsive*/
@media screen and (max-width: 997px) {
	html,
	body {
		height: auto;
		overflow-x: hidden;
		overflow-y: auto;
		display: block;
	}

	.bigbox {
		display: block;
		height: auto;
	}

	.info {
		display: flex;
		flex-wrap: wrap;
		height: auto;
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
		padding-bottom: 20px;
		overflow: visible;
	}

	.text {
		width: 50%; /* pas aan naar wens */
		overflow: visible;
		max-height: none;
		padding: 0 20px;
	}

	.picture {
		width: 45%; /* pas aan naar wens */
		height: 65vh; /* vaste hoogte voor schaal */ /* naast tekst */
		min-width: 150px;
		padding-top: 20px;
		position: relative;
		overflow: hidden;
	}

	.empty {
		width: 100%;
		order: 3;
		flex-direction: row;
		justify-content: space-evenly;
		align-items: center;
		gap: 12px;
		margin-top: 40px;
		height: auto;
	}

	.picture img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.credits {
		position: relative; /* Fixed op tablet blokkeert vaak de 'scroll-laag' */
		padding-top: 40px 0;
		text-align: center;
		width: 100%;
		pointer-events: auto;
	}
}

@media screen and (max-width: 800px) {
	/* 1. Header splitsen en vergroten */
	.header a {
		white-space: normal; /* Laat tekst naar de volgende regel springen */
		font-size: clamp(80px, 20vw, 150px); /* Grotere letters */
		line-height: 0.85;
		display: block;
		word-wrap: break-word;
	}

	/* 2. Layout aanpassingen */
	.info {
		flex-direction: column; /* Stapel de hoofdblokken */
		align-items: center;
	}

	/* Tekst bovenaan over de volle breedte */
	.text {
		width: 100% !important;
		padding: 0 30px;
		order: 1; /* Tekst als eerste */
	}

	.empty {
		width: 100% !important;
		order: 2;
		padding: 0;
		align-items: center;
		justify-content: center;
		margin-top: 15px;
		margin-bottom: 15px;
	}

	.picture {
		width: 65% !important;
		height: 400px;
		order: 3;
		padding: 0;
	}
	/* Samenwerkingen logo's iets groter op kleine schermen */
	.samenwerkingen img {
		width: 25%;
	}

	#quattro {
		order: 1;
		display: flex;
		flex-direction: row; /* Zet ze naast elkaar */
		flex-wrap: wrap; /* Laat ze naar de volgende rij springen */
		justify-content: center; /* Centreer de luidsprekers */
		gap: 40px; /* iets meer ruimte tussen de luidsprekers */
		width: 100%;
		margin-top: 5px;
	}

	#quattro .luidspreker {
		flex: 1 1 100px; /* Groeit en krimpt, maar probeert minimaal 150px breed te zijn */
		max-width: 130px; /* Voorkomt dat ze té groot worden op tablets */
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		margin: 8px; /* extra marge tussen speaker-blokken */
	}

	#stemfoto {
		display: none;
	}
}

@media screen and (max-width: 670px) {
	#quattro {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
	}

	#quattro .luidspreker {
		/* Forceer de browser om te denken dat ze 45% breed zijn.
Hierdoor passen er nooit 3 naast elkaar. */
		flex: 0 0 45%;
		max-width: 160px;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		box-sizing: border-box;
	}
}

@media screen and (max-width: 480px) {
	/* 1. Header nog iets compacter zodat de naam niet het hele scherm vult */
	.header a {
		font-size: clamp(40px, 20vw, 120px);
		margin-bottom: 0px;
	}

	/* 2. Tekst optimalisatie voor smalle schermen */
	.text {
		padding: 0 15px; /* Minder zijruimte zodat tekst breder kan uitlopen */
		/*background-color: #2a809a;*/
	}

	p {
		font-size: 13pt; /* Iets kleiner font leest prettiger op een smal scherm */
		line-height: 1.4;
	}

	/* 3. De Luidsprekers: Forceer de 2x2 grid nog strakker */
	.empty {
		margin-top: 0px;
	}

	#quattro {
		margin-top: -15px;
		margin-bottom: 50px;
	}

	#quattro .luidspreker {
		margin-bottom: -50px;
	}

	.klik {
		padding-top: 0;
	}

	.symbool {
		margin-bottom: 0;
	}

	/* 4. Foto optimalisatie */
	.picture {
		width: 85% !important; /* Foto mag weer wat breder zijn dan op tablet */
		height: 300px; /* Lagere hoogte zodat je minder hoeft te scrollen */
		margin-top: 20px;
	}

	/* 5. Logo's van samenwerkingen */
	.samenwerkingen img {
		width: 33.33%; /* 3 logo's per rij in plaats van 4 op hele kleine schermen */
	}
}
