:root {
	--color-darkred: #d00000;
  --color-lightred: #ffb7b7;
}

/* Google Font import (optioneel) */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
	font-family: 'Roboto', Arial, sans-serif;
	margin: 0;
	padding: 0;
	font-size: 1rem;       /* 16px basis */
	line-height: 1.6;
	color: #000;
	background-color: #fff;
}

/* Page container: content + skyscraper */
.page-container {
	display: flex;
	gap: 40px;
	max-width: 1100px;
	margin: 0 auto;
	align-items: flex-start;
	padding: 40px 20px;
	box-sizing: border-box;
}

/* Left side: logo + content */
.content-container {
	flex: 1;
}

header {
	text-align: center;
	margin-bottom: 40px;
	padding-bottom: 20px;
	border-bottom: 3px solid #d00000; /* rode lijn onder logo */
}

header img {
	max-width: 600px;
	height: auto;
}

h1 {
	font-size: 2.25rem; /* ~36px */
	margin: 0 0 20px;
	font-weight: bold;
}

h2 {
	font-size: 1.5rem;  /* ~24px */
	margin: 0 0 15px;
	font-weight: bold;
}

h3 {
	font-size: 1.25rem;  /* ~20px */
	margin: 0 0 15px;
	font-weight: bold;
}

p, table.intekst {
	margin: 0 0 1rem;
}

hr {
	border: none;
	border-top: 3px solid #d00000; /* rode scheidingslijnen */
	margin: 40px 0;
}

section {
	display: flex;
	justify-content: space-between;
	align-items: flex-start; /* bovenaan uitlijnen */
	gap: 20px;
	margin-bottom: 20px;
}

.text {
	flex: 1; /* tekst neemt resterende ruimte */
}

.image {
	max-width: 200px; /* vaste breedte voor afbeeldingen */
}

.image img {
	max-width: 100%;
	height: auto;
	display: block;
}

.columns {
	display: flex;
	gap: 30px; /* ruimte tussen de kolommen */
}

.col {
	flex: 1; /* beide kolommen even breed */
	text-align: left;
}






/* Formulier tabel */
form table {
  border-collapse: collapse;
  width: auto;
  max-width: 600px;
  margin: 20px auto;
}

form td {
  padding: 10px;
  vertical-align: middle; /* labels verticaal centreren */
}

/* Eerste kolom (labels) */
form td.label {
  font-weight: bold;
  text-align: left;   /* links uitlijnen */
  white-space: nowrap; /* voorkomt afbreken van labeltekst */
}

/* Tweede kolom (inputs) */
form td.input {
}

/* Inputvelden */
form input[type="text"],
form input[type="email"],
form input[type="password"],
form select,
form textarea {
  width: 250px !important;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
}

/* Focus effect */
form input:focus,
form select:focus,
form textarea:focus {
  border-color: #d00000;
  outline: none;
  box-shadow: 0 0 4px rgba(208,0,0,0.4);
}

/* Submitknop */
form input[type="submit"] {
  background-color: #d00000;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
}

form input[type="submit"]:hover {
  background-color: #bb0000;
}






/* Skyscraper rechts, hele hoogte */
.sidebar-placeholder {
	width: 160px;
	min-height: 100vh;
	background-color: #f0f0f0;
	border: 2px dashed #d00000;
	text-align: center;
	font-weight: bold;
	color: #d00000;
	position: sticky;
	top: 0; /* blijft zichtbaar bij scrollen */
	flex-shrink: 0;
}

/* Skyscraper rechts, hele hoogte */
.sidebar {
	width: 160px;
	min-height: 100vh;
	position: sticky;
	top: 0; /* blijft zichtbaar bij scrollen */
	flex-shrink: 0;
}

/* Inline advertentieblokken */
.ad-placeholder {
	width: 100%;
	min-height: 90px;
	background-color: #f0f0f0;
	border: 2px dashed #d00000;
	text-align: center;
	line-height: 90px;
	margin: 40px 0;
	font-weight: bold;
	color: #d00000;
	box-sizing: border-box;
}





a {
	color: #e60000;
	text-decoration: none;
	font-weight: bold;
}

a:hover {
	text-decoration: underline;
}

.center {
	text-align: center;
}

.red-bold {
  color: #e60000;
  font-weight: bold;
}

footer {
	text-align: center;
	font-size: 0.9rem; /* iets kleiner dan bodytekst */
	margin-top: 20px;
	color: #000;
}




/* Responsief: op smalle schermen onder elkaar */
@media (max-width: 900px) {
	.page-container {
		flex-direction: column;
		padding: 20px 10px;
	}
	.sidebar-ad {
		width: 100%;
		min-height: auto;
		position: static;
		line-height: normal;
		padding: 15px 0;
		margin-bottom: 20px;
	}
	section {
		flex-direction: column;
		text-align: left;
	}
	.image {
		max-width: 100%;
		margin-top: 15px;
	}
	.ad-block {
		min-height: auto;
		line-height: normal;
		padding: 15px 0;
	}
}





/* LAYOUT FOR ALERTS */

/* Everything outside the modal blurry and unclickable */
#overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.4);
	backdrop-filter: blur(5px);
	display: none;
	z-index: 1000;
}

/* The message in the middle */
#modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: var(--color-lightred);
	border: 2px solid #333;
	border-radius: 12px;
	padding: 25px 35px;
	z-index: 1001;
	display: none;
	text-align: center;
	box-shadow: 0 8px 20px rgba(0,0,0,0.3);
	min-width: 300px;
	max-width: 90%;
}

#modal button {
	margin-top: 20px;
	padding: 10px 20px;
	cursor: pointer;
	border: none;
	border-radius: 5px;
	background-color: #333;
	color: white;
	font-weight: bold;
}

#modal button:hover {
	background-color: #555;
}

/* Prevent background scrolling while modal is open */
body.modal-open {
	overflow: hidden;
}