*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--kop-hoogte) + 1rem);
}

body {
	margin: 0;
	min-height: 100vh;
	background: var(--kleur-nacht);
	color: var(--kleur-tekst-licht);
	font-family: var(--font-tekst);
	font-size: var(--fs-basis);
	line-height: var(--lh-tekst);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

body.menu-open {
	overflow: hidden;
}

img,
svg,
video,
picture {
	display: block;
	max-width: 100%;
	height: auto;
}

svg.icoon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 var(--ruimte-4);
	font-family: var(--font-kop);
	font-weight: 800;
	line-height: var(--lh-kop);
	letter-spacing: 0;
	text-wrap: balance;
}

h1 {
	font-size: var(--fs-h1);
}

h2 {
	font-size: var(--fs-h2);
}

h3 {
	font-size: var(--fs-h3);
}

h4 {
	font-size: var(--fs-h4);
}

p {
	margin: 0 0 var(--ruimte-4);
	text-wrap: pretty;
}

a {
	color: var(--kleur-messing-licht);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: color var(--duur-snel);
}

a:hover {
	color: var(--kleur-papier-licht);
}

:focus-visible {
	outline: 2px solid var(--kleur-focus);
	outline-offset: 3px;
	border-radius: 2px;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

input,
select,
textarea {
	width: 100%;
	min-height: 3rem;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--kleur-lijn-donker);
	border-radius: var(--radius-klein);
	background: var(--kleur-papier-licht);
	color: var(--kleur-inkt);
	transition: border-color var(--duur-snel), box-shadow var(--duur-snel);
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--kleur-messing);
	box-shadow: 0 0 0 3px rgba(200, 137, 47, 0.25);
}

input[type="checkbox"],
input[type="radio"] {
	width: auto;
	min-height: 0;
	accent-color: var(--kleur-messing);
}

textarea {
	resize: vertical;
}

::selection {
	background: var(--kleur-messing);
	color: var(--kleur-nacht);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skiplink {
	position: absolute;
	top: -100px;
	left: 1rem;
	z-index: 1000;
	padding: 0.75rem 1rem;
	background: var(--kleur-messing);
	color: var(--kleur-nacht);
	font-weight: 700;
}

.skiplink:focus {
	top: 1rem;
}

.tekst > *:last-child {
	margin-bottom: 0;
}

.tekst h2 {
	font-size: var(--fs-h3);
	margin-top: var(--ruimte-6);
}

.tekst h3 {
	font-size: var(--fs-h4);
	margin-top: var(--ruimte-5);
}

.tekst ul,
.tekst ol {
	padding-left: 1.25rem;
	margin: 0 0 var(--ruimte-4);
}

.tekst li {
	margin-bottom: var(--ruimte-2);
}

.tekst blockquote {
	margin: var(--ruimte-5) 0;
	padding-left: var(--ruimte-5);
	border-left: 3px solid var(--kleur-zegel);
	font-family: var(--font-kop);
	font-size: var(--fs-h4);
	font-style: italic;
}

.typemachine {
	font-family: var(--font-type);
	letter-spacing: 0.02em;
}

.leeg {
	font-family: var(--font-type);
	color: var(--kleur-gedempt);
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

.feb-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
}

.tekst-intro {
	font-size: 1.1rem;
	color: var(--kleur-tekst-licht, #e5e5e5);
}

.tekst-inhoud {
	margin: var(--ruimte-5) 0 var(--ruimte-6);
	padding: 1.25rem 1.5rem;
	border: 1px solid var(--kaart-rand, rgba(255, 255, 255, 0.08));
	border-radius: var(--kaart-radius, 14px);
	background: var(--kaart-bg, #141414);
}

.tekst .tekst-inhoud ol {
	columns: 2 16rem;
	column-gap: 2rem;
	margin: 0;
}

.tekst-inhoud li {
	break-inside: avoid;
}

.tekst-inhoud a {
	color: inherit;
	text-decoration: none;
}

.tekst-inhoud a:hover {
	color: var(--kleur-accent);
}

.tekst h2[id] {
	scroll-margin-top: calc(var(--kop-hoogte) + 1.5rem);
}

.tekst-versie {
	margin-top: var(--ruimte-7);
	color: #8a8a8a;
	font-size: var(--fs-klein);
}

.post-password-form {
	display: grid;
	gap: var(--ruimte-3);
	max-width: 30rem;
	padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
	border: 1px solid var(--kaart-rand, rgba(255, 255, 255, 0.08));
	border-radius: var(--kaart-radius, 14px);
	background: var(--kaart-bg, #141414);
}

.post-password-form p {
	margin: 0;
}

.post-password-form label {
	display: grid;
	gap: 0.4rem;
	font-weight: 700;
}

.post-password-form input[type="submit"] {
	justify-self: start;
	margin-top: var(--ruimte-2);
}
