:root {
	color-scheme: light dark;
}

* {
	text-rendering: optimizeLegibility;
}

html, body {
	width: 100%;
}

body {
	font-family: Aptos, Calibri, Times, "Times New Roman", serif;
	font-weight: 300;
	margin: 0;
	position: relative;
	background-color: #efefef;
	color: #101010;
	min-height: 100%;
	background-image: url("/assets/bg-image-transparent-blue-box.png");
	background-image: image-set(
		url("/assets/bg-image-transparent-blue-box.jxl") type("image/jxl"),
		url("/assets/bg-image-transparent-blue-box.webp") type("image/webp"),
		url("/assets/bg-image-transparent-blue-box.png") type("image/png")
	);
	background-repeat: repeat;
}
b, strong {
	font-weight: 700;
}

a {
	color: #f0f;
	transition: color 0.5s ease
}
a:hover {
	color: #ff0;
}
a:visited {
	color: #a0a;
}

body > header {
	font-size: 20px;
	min-height: 60px;
	display: flex;
	flex-direction: row;
	background:#002402;
	background:linear-gradient(180deg,#2c2e2d 0%,#404241 66%,#565756 100%);
	color:#e5e5e5
}

body > header > div {
	flex: auto;
	display: flex;
}
body > header > div > div {
	padding-top: 14px;
}
body > header img {
	margin: 0 1ex 0 0.5ex;
}
body > header nav {
	flex: initial;
}
body > header nav ul {
	display: flex;
	margin-right: 15px;
}
body > header nav li {
	flex: auto;
	display: inline-block;
	padding: 0 14px 14px 14px;
}
body > header nav a,
footer > p > a {
	color: inherit !important;
}

:not(section) > header h1, :not(section) > header h2 {
	font-size: inherit;
}
.logo {
	font-size:30px;
}

main {
	width:75%;
	margin: 20px auto 0 auto;
	display: flex;
	justify-content: space-between;
	flex-direction: row;
}

article {
	display: block;
	margin-top:20px;
	margin-bottom: 1em;
	hyphens: auto;
	padding: 20px;
	background-color: rgba(9,9,9,0.75);
	border-radius: 32px;
	color: #fefefe;
}
article > header {
	font-size: 36px;
	margin-bottom:20px;
}
article > header p {
	font-size: medium !important;
	margin-bottom: 3em;
}
article h1+h2 {
	margin-top: 0 !important;
	font-size: large;
}
article > section:not(:last-of-type) {
	margin-bottom: 6em;
}


/* Footer */
footer {
	background:#002402;
	background:linear-gradient(0deg,#2c2e2d 0%,#404241 66%,#565756 100%);
	color:#e5e5e5;
	font-size:16px;
	padding:20px;
	margin: 0 auto;
}
footer p {
	font-size: x-small;
	text-align: center;
}
footer img[src$=".svg"] {
	height:2em !important;
	margin-left: 3px;
	vertical-align: middle;
}
a[rel="cc:attributionURL"] {
	font-style: italic;
}
a[href^="https://creativecommons.org/licenses/by-sa/4.0/"] {
	display: inline-block;
}

dt {
	font-weight: bold;
	text-decoration: underline;
	page-break-after: avoid;
}
dd {
	margin: 0;
	padding: 0 0 0.5em 0;
}

/* Footer navigation links */
footer a {
	color: #97d8fc;
}
footer a:visited {
	color: #da6bd6;
}

.print {
	display: none;
}

@media (prefers-color-scheme: dark) {
	body {
		background-color:#090909;
		color:#e5e5e5 !important
	}
	body > header {
		background:linear-gradient(0deg,#2c2e2d 0%,#404241 66%,#565756 100%) !important;
		color:#e5e5e5 !important
	}
	footer {
		background:linear-gradient(180deg,#2c2e2d 0%,#404241 66%,#565756 100%) !important;
		color:#e5e5e5 !important
	}
	a {
		color: #97d8fc;
	}
	a:visited {
		color: #da6bd6;
	}
	a:hover {
		color: #fed700;
	}
	body > header img, body > header picture {
		filter: saturate(105%) contrast(110%) brightness(0.9);
		transition: filter 1.5s ease-in;
	}
	picture:hover, img:hover {
		filter: none !important;
		transition: filter 1.5s ease-in;
	}
}
@media (max-width: 600px) {
	body > header > nav ul {
		flex-direction: column;
	}
	body > header > nav li {
		padding: 0 7px 7px 7px;
	}
	body > header picture, body > header img {
		padding: 2px;
	}
	#header > div {
		display: none !important;
	}
	main {
		margin: 0 auto;
		width: 95%;
	}
	footer > div {
		width: 90%;
	}
}

@media (prefers-reduced-motion: reduce) or (update: slow) {
	a, a:hover, a:visited, picture:hover, img:hover {
		transition: none !important;
	}
}

@media print {
	@page {
		margin: 0.5in;
	}

	body {
		background-color: #fff;
		color: #000;
	}

	.print {
		display: inherit !important;
	}

	.noprint, nav, footer a[rel~="prev"], footer a[rel~="next"] {
		display: none;
	}

	abbr {
		text-decoration: none;
	}

	p, dt, dd {
		widows: 2;
		orphans: 2;
		text-align: justify;
	}
	figure>
	p {
		text-indent: 0.25in;
	}
	
	main {
		width: 100%;
	}

	.print h2 {
		margin-top: 1em;
		font-size: 14pt;
	}

	dt::after {
		content: ":";
	}

	dd {
		margin-bottom: 6pt;
	}

	h1, h2, h3 {
		break-after: avoid;
	}

	figure, table {
		break-inside: avoid;
	}

	.print ul {
		padding-left: 0;
		list-style-type: none;
		break-before: avoid;
	}

	.print li {
		text-indent: -.5in;
		padding-left: .5in;
		page-break-inside: avoid;
	}

	a {
		display: inline;
		border-radius: 0;
		background-color: transparent !important;
		padding: 0;
		color: inherit;
		text-decoration: none;
	}
	a[rel="tag"]::before {
		content: none;
	}
	
}
@media print and (min-width: 9in) {
	article {
		columns: 2;
		column-gap: 2em;
		column-rule: solid 1px #000;
	}
}
@media (prefers-reduced-data: reduce) {
	.noReducedData {display:none}
}
hgroup h1 {
	display: none;
}

hgroup h2 {
	font-size: inherit !important;
}

article :not(nav) /* including header */ {
	margin-top: 0.5em !important;
}

@media (max-width: 799px) {
	main {
		display: block;
	}
}
@media (min-width: 800px) and (max-width: 1279px) {
	main {
		flex-direction: column;
	}
}

#top p:first-of-type {
	font-size: x-large;
}
#top time
{
	font-weight: bold;
}
