@font-face {
	font-family: "AtkinsonHyperlegible";
	font-display: fallback;
	src: url("/src/font/Atkinson-Hyperlegible-Regular-102a.woff2");
}
@font-face {
	font-family: "AtkinsonHyperlegible";
	font-style: italic;
	font-display: fallback;
	src: url("/src/font/Atkinson-Hyperlegible-Italic-102a.woff2");
}
@font-face {
	font-family: "AtkinsonHyperlegible";
	font-weight: bold;
	font-display: fallback;
	src: url("/src/font/Atkinson-Hyperlegible-Bold-102a.woff2");
}

.dark {
	--bkg: #221e17;
	--txt: #f2eada;
	--acct: #ea0;
	--code: #eea57a;
	--txtGentle: #ddd3cb;
	--bkgContainer: #0008;
	--edge: #8888;
	--acctGentle: #db9c00;
}
.dark b {
	color: var(--txtGentle);
}
.light {
	--bkg: #eee;
	--txt: #222;
	--acct: #06d;
	--code: #048;
}
.light b{
	color: #000;
}
body {
	font-family: 'AtkinsonHyperLegible', sans-serif;
	text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
	font-size: 0.5cm;
	color: var(--txt);
	line-height: 1.4;
	-moz-tab-size: 4;
	tab-size: 4;

	margin: 0;
	padding: 0 0 50vh 0;
	background-color: var(--bkg);
}
canvas {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: -1;
}
@media print {
	canvas{display:none!important;}
	a{color:#06d!important;}
	a::after{content: " (" attr(href) ") ";}
	h1{margin-top:0!important;}
	nav,footer{display: none!important;}
	#content,body{
		margin:0!important;
		padding:0!important;
		font-size:12pt!important;
		--acct: #06d!important;
		max-width: 100%!important;
	}
}
#content {
	background-color: var(--bkg);
	box-sizing: content-box;;
	max-width: 70ch;
	padding: 0 0.5cm;
	margin: auto;
}

@media screen and (min-width: 70ch){
#content {
	word-break: break-word;
	text-justify: inter-word;
	text-align: justify;
	hyphens: auto;
	hyphenate-limit-lines: 2;
	hyphenate-limit-chars: 8 4 4;
	/* length >= 8, before >= 4, after >= 4*/
}
}

@media only screen and (min-width: 70ch) {
	#content {
		padding: 0 1.5cm;
	}
}
@media only screen and (min-width:140ch) {
	#content {
		padding: 0 2cm;
	}
}

a {
	color: var(--acct);
	text-decoration: none;
}
a:hover, a:focus, a:focus-visible, a:focus-within {
	text-decoration: underline;
	/*! border-bottom: 3px solid var(--acctGentle); */
}

h1 {
	font-size: 1.6em;
	border-bottom: 0.0625cm solid var(--acct);
}
h2{
	font-size: 1.4em;
}
h3{
	font-size: 1.2em;
}

h2 a {
  color: var(--acctGentle);
}

/*
yeah fuck this shit, looks good tho
hand tweaked to fit 4 lines
.dropcap::first-letter {
	font-family: "Library3am", sans-serif;
	font-size: 2.125cm; 
	line-height: 1;
	float: left;
	padding: 0.0625em;
	margin: 0.0625em 0.0625em 0 0;
	border: 0.0625cm solid var(--acct);
	color: var(--acct);
}
*/

blockquote{
	position: relative;
}
blockquote:before {
	content: "\201C";
	font-size: 4em;
	line-height: .9em;
	color: var(--acct);
	position: absolute;
	left: -0.5em;
	top: 0;
}
blockquote cite {
	color: #999;
	display: block;
	text-align: right;
}
blockquote cite:before {
	content: "\2014 \2009";
}
code {
	color: var(--code);
}
pre {
	white-space: pre-wrap;
	word-wrap: break-word;
	word-break: keep-all;
	hyphens: none;
	background-color: var(--bkgContainer);
	padding: 1em;
	margin: 0 -1em;
	border-radius: 0.5em;
	box-shadow: inset #0004 0 0 1em 0.5em;
}
img {
	max-height: 80vh;
}
img,video,figure {
	max-width: 100%;
	margin: auto;
	display: block;
	text-align: center;
}
figcaption {
	font-style: italic;
}
figure.center{
	margin: auto;
	text-align: center;
}
.right{
	float: right;
	max-width: 20ch;
	margin: 0 0 .5cm .5cm;
}
nav, footer {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	background-color: var(--bkg);
}
nav {
	z-index: 1;
	position: sticky;
	top: 0;/*???*/
	margin: 0 -.5em;
	justify-content: flex-start;
	user-select: none;
}
nav > a:hover, nav > .dropdown:hover {
  border-bottom: 3px solid var(--acctGentle);
  text-decoration: none;
}
.dropdown-content > *:hover {
  /*! border-bottom: 1px solid var(--acct); */
  text-decoration: none;
  background-color: #fff1;
}
.dropdown > a:hover {
  text-decoration: none;
}
nav > a, nav > .dropdown {
	padding: 0.5em;
	border-bottom: 3px solid var(--edge);
	/*! box-sizing: border-box; */
	/*! display: inline-block; */
	/*! margin: 0.5em; */
}
nav #zoeken {
	right: 0;
	position: absolute;
}
.dropdown{
	position: relative;
	display: inline;
}
.dropdown-content {
	display: none;
	position: absolute;
	margin-top: 0.4em;
	padding-top: 0.1em;
	width: 10ch;
	border-radius: 0.05cm;
	margin-left: -0.5em;
	z-index: 1;
}
.dropdown-content>*{
	display: block;
	padding: 0.5em;
}
.dropdown:focus-visible .dropdown-content,
.dropdown:focus-within .dropdown-content,
.dropdown:focus .dropdown-content,
.dropdown:hover .dropdown-content {
	display: block;
	background-color: var(--bkgContainer);
	box-shadow: 0 0.6em 1em #0008;
	backdrop-filter: blur(0.2cm);
	border: 1px solid var(--edge);
}


footer {
	margin: 2em -1em;
}
footer article {
	flex: 1 1 20ch;
	padding: 0 1em;
	margin-bottom: 1em;
}
footer table{
	width: 100%;
}
td {
	padding: 0;
}
footer h2{
	border-bottom: 0.0625cm solid var(--acct);
}
input, textarea, button {
	border: 1px solid var(--edge);
	box-sizing: border-box;
	padding: 0.125em 0.5em;
	background-color: var(--bkgContainer);
	color: var(--txt);
	border-radius: 0;
	font-size: inherit;
	font-family: inherit;
}
table{
	box-sizing: border-box;
	border-collapse: collapse;
}
txt, acct, bkg{}
article td,
article th{
	border: 1px solid #8886;
	padding: .5em
}
article th{
	color: var(--acct);
	font-weight: bold;
	text-align: center;
}
article tr:nth-child(1){
	background-color:#5552;
}

table label {
	display: block;
	width: 6ch;
}
textarea{
	display: block;
	width:100%;
	font-size: inherit;
}
h2,h3{
	margin-bottom: -0.625em;
	margin-top: 1em;
	color: var(--txtGentle);
}
.date {
	margin-top: 2.8em;
}
summary:hover {
  cursor: pointer;
}