:root {
	/* CSS HSL */
	--hunter-green: hsla(144, 30%, 31%, 1);
	--faded-hunter-green: hsla(144, 6%, 74%, 1);
	--space-cadet: hsla(235, 21%, 21%, 1);
	--platinum: hsla(120, 4%, 91%, 1);
	--timberwolf: hsla(120, 2%, 81%, 1);
	--lighter-timberwolf: hsla(120, 2%, 91%, 1);
	--eerie-black: hsla(228, 8%, 12%, 1);
	--eerie-light: hsla(228, 8%, 78%, 1);
	--hunter-green-hex: #37674aff;
	--space-cadet-hex: #2b2d42ff;
	--platinum-hex: #e6e8e6ff;
	--timberwolf-hex: #ced0ceff;
	--eerie-black-hex: #1c1d21ff;
	--warning-color: hsl(0, 30%, 31%);


	--color-primary: var(--hunter-green);
	--color-text: var(--eerie-black);
	--color-alternate: var(--space-cadet);
	--color-text-background: var(--platinum-hex);

	--header-offset: 5rem;
	--content-width: 80rem;
}

html {
	scroll-behavior: smooth;
}

body {
	padding: 0;
	box-sizing: border-box;
	font-size: 16px;
	color: var(--color-text);
	background: var(--color-text-background);

	margin: var(--header-offset) 0 0 0;
}

a {
	color: var(--color-primary)
}

nav a {
	text-decoration: none;
}

h1, h2, h3, h4, h5, table caption {
	font-family: sans-serif;
}

body > header {
	margin-top: calc(var(--header-offset) * -1);
	height: var(--header-offset);
	z-index: 100;

	backdrop-filter: blur(10px) opacity(0.8);
	-webkit-backdrop-filter: blur(10px) opacity(0.8);

	background-color: hsla(0, 0%, 100%, .9);

	width: 100vw;
	box-sizing: border-box;
	position: fixed;
	border-bottom: 1px solid var(--faded-hunter-green);
}

body > header > nav {
	display: flex;
	align-items: center;
	justify-content: space-between;

	font-family: sans-serif;
	max-width: var(--content-width);
	margin: 0 auto;

	color: var(--color-primary);

	padding: 0 1rem;
}

body > header > nav > ul {
	display: flex;
	align-items: baseline;

	list-style-type: none;
	padding-inline-start: 0;

	padding: 0;
}

body > header > nav > ul > img { display: block; }

nav ul {
	display: flex;
	align-items: baseline;

	list-style-type: none;
	padding-inline-start: 0;

	gap: 1rem;
}

body > header > nav > ul > a {
	display: flex;
	align-items: center;
	justify-content: space-between;

	font-weight: lighter;
}

.menu-toggle {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
}

.menu-toggle input[type='checkbox']:not(:checked) + ul li {
	font-size: 1.5rem;
}

.menu-toggle > input[type='checkbox'] {
	display: none;
}

.menu-toggle > label[for='menu'] {
	display: none;
	font-size: 1.5rem;
}

@media screen and (max-width: 700px) {
	.menu-toggle {
		display: block;
	}
	.menu-toggle > label[for='menu'] {
		display: block;
		-webkit-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}
	.menu-toggle > input[type='checkbox'] + ul {
		position: absolute;
		z-index: 1000;

		min-width: 5rem;

		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: end;
		gap: 0;

		top: calc(var(--header-offset) - .9rem);
		right: -700px;
		transition: right .2s ease-in-out;

		background: white;

		border: 1px solid var(--faded-hunter-green);

		font-size: 1rem;
	}
	.menu-toggle > input[type='checkbox']:checked + ul {
		right: 0;
	}
	.menu-toggle > input[type='checkbox'] + ul li {
		line-height: 2rem;
		padding: 1rem;
		text-align: right;
		border-right: .5rem solid var(--color-text-background);
		transition: border-right .35s ease-in-out;
	}
	.menu-toggle > input[type='checkbox'] + ul li:hover {
		border-right: .5rem solid var(--color-primary);
		color: var(--color-text-background);
	}
	.menu-toggle > input[type='checkbox'] + ul li a {
		transition: color .35s ease-in-out;
		color: var(--color-primary);
	}
	.menu-toggle > input[type='checkbox'] + ul li:hover a {
		color: var(--color-text);
	}
	.menu-toggle > input[type='checkbox']:checked + ul a::before {
		content: attr(title);
		margin-right: .5rem;
	}
}

body > header #site-name {
	display: flex;
	align-items: center;
	text-transform: capitalize;
	letter-spacing: .2rem;

	font-size: 1.8rem;
	font-weight: lighter;
	gap: 1rem;

	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;

	color: var(--color-primary);
}
body > header #site-name:hover {
	color: var(--color-primary);
}

[data-trademark]:after {
	content: '™';
	font-size: 1rem;
	margin-top: -1rem;
	margin-left: -1.2rem;
	font-weight: normal;
}

body > header a {
	text-decoration: none;
	font-family: sans-serif;
}

nav a:hover, nav i:hover {
	color: var(--color-text);
}

form.pt-form input,
form.pt-form textarea,
form.pt-form select,
form.pt-form button {
	margin: 0;
	box-sizing: border-box;
}

form.pt-form textarea {
	resize: vertical;
}

form.pt-form input[type="text"],
form.pt-form input[type="number"],
form.pt-form input[type="date"],
form.pt-form select {
	display: block;
	width: 20rem;
	padding: .5rem;
	margin: .2rem 0;
}

form.pt-form label + input[type="text"],
form.pt-form label + input[type="number"],
form.pt-form label + input[type="date"],
form.pt-form label + select,
form.pt-form label + textarea {
	margin: .2rem 0 1rem 0;
}

form.pt-form label {
	display: block;
}

form.pt-form input[type="checkbox"] {
	display: block;
	width: auto;
}

form.pt-form select::-ms-expand {
	display: none;
}

form.pt-form select {
	background: var(--color-text-background);
	appearance: none;
	background-color: transparent;
	margin: 0;
	width: 100%;
	font-family: inherit;

	min-width: 15ch;
	max-width: 32ch;
	border: 1px solid #777;
	border-radius: 0;
	padding: 0.25em 0.5em;
	font-size: 1rem;
	cursor: pointer;
	line-height: 1.1;
	background-image: linear-gradient(to top, #f9f9f9, #fff 33%);
}

form.pt-form fieldset {
	display: block;
	position: relative;
}

form.pt-form fieldset legend {
	font-family: sans-serif;
	top: 0;
	left: 0;
	position: relative;
}

form.pt-form fieldset + label {
	margin-top: 2rem;
}

form.pt-form label {
	font-family: sans-serif;
}

form.pt-form label + select {
	margin: .2rem 0 1rem 0;
}

form.pt-form textarea {
	display: block;

	padding: .5rem;
	margin: .5rem 0 0 0;
	width: 100%;

	border-right: 1px solid;

	/* resize  : none; */
	overflow: auto;
}

.container, article {
	max-width: 80rem;
	margin: 0 auto;
}

article {
	padding: 1rem;
	background: var(--color-text-background);
}

footer {
	margin-top: 1rem;
}

footer, footer article {
	color: var(--color-text-background);
	background: var(--color-text);
}

table tbody tr th {
	text-align: left;
}

figure {
	padding: 0;
	margin: 0;
	/*max-width: 100%;*/
	/*overflow: scroll;*/
}

.date-cell {
	white-space: break-spaces;
}

.asset-name-column {
	min-width: 20rem;
}

.datetime-column {
	min-width: 10rem;
}

.tile-row {
	display: block;
}

@media screen and (min-width: 700px) {
	.tile-row {
		display: flex;
		justify-content: space-evenly;
		flex-direction: row;
	}

	.tile-row .tile {
		min-width: 10rem;
		gap: 1rem 2rem;
	}
}

figure {
	display: block;
	margin: 0;
	padding: 0;
	overflow-x: auto;
}

.tile-row .tile {
	background: var(--timberwolf);
	padding: 1rem;
	margin: 1rem;
	text-align: center;
	font-size: 1.3rem;
}

.tile-row .tile table,
.tile-row .tile table tbody,
.tile-row .tile table tbody td {
	border: none;
}

.tile-row .tile table tbody td {
	font-size: 1rem;
}

.tile-row .tile summary {
	position: relative;
	background: none;
}

.tile-row .tile th {
	background: none;
}

.tile-row .tile table tbody tr td:first-of-type {
	text-align: left;
}

.tile-row .tile h4,
.tile-row .tile h5 {
	border-bottom: solid .2rem var(--color-text-background);
}

.tile-row .tile table {
	width: 100%;
	font-family: sans-serif;
	table-layout: fixed;
}

.tile-row .tile table td {
	text-align: center;
	font-weight: bold;
}

.tile-row .tile table tr:nth-child(2n - 1),
.tile-row .tile table tr:nth-child(2n) {
	background: none;
	border: none;
}

.tile-row .tile tr .key {
	font-weight: bold;
}

.tile-row .tile tr .value {
	font-weight: bolder;
	text-align: right;
}

table.striped-table,
.markdown table {
	border-collapse: collapse;
	margin: 25px 0;
	font-size: 0.9em;
	font-family: sans-serif;
	min-width: 400px;
}

table.striped-table thead th,
table.striped-table .rh,
.markdown table .th,
.markdown table .rh {
	background-color: var(--color-primary);
	color: var(--color-text-background);
}

table.striped-table .rh,
.markdown table .rh {
	font-weight: bold;
}

table.striped-table thead th a,
.markdown table thead th a {
	color: var(--color-text-background);
}

table.striped-table th,
table.striped-table td,
.markdown table th,
.markdown table td {
	padding: 12px 15px;
}

table.striped-table tbody tr th,
.markdown table tbody tr th {
	border-bottom: none;
	border-left: none;
	border-top: none;
}

table.striped-table caption,
.markdown table caption {
	caption-side: top;
	font-size: 1.2rem;
	margin: 2rem 0 1rem 0;
	text-align: left;
	font-weight: bold;
}

table.striped-table th,
table.striped-table td,
.markdown table th,
.markdown table td {
	padding: .5rem;
}

table.striped-table tbody tr,
.markdown table tbody tr {
	border-bottom: 1px solid #dddddd;
}

table.striped-table tbody tr:nth-of-type(even),
.markdown table tbody tr:nth-of-type(even) {
	background-color: #f3f3f3;
}

table.striped-table tbody tr:last-of-type,
.markdown table tbody tr:last-of-type {
	border-bottom: 2px solid var(--color-primary);
}

table.striped-table tbody tr:first-of-type,
.markdown tbody tr:first-of-type {
	border-top: 3px solid var(--color-primary);
}

blockquote {
	border-left: .2rem solid var(--faded-hunter-green);
	padding-left: .5rem;
	margin-left: 1rem;
}

a > i.fa {
	margin-right: .5rem;
}

nav {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.button, button:not(.cl-button) {
	padding: .5rem;
	border-radius: .5rem;
	display: inline-block;
	text-decoration: none;
	background: var(--faded-hunter-green);
	font-size: 1rem;
	font-family: sans-serif;
	border: none;
	min-width: 4rem;
	box-shadow: 0 0 0 0 var(--faded-hunter-green);
	transition-duration: 0.1s;
	transition-timing-function: ease-in-out;
	transition-property: box-shadow;
	text-align: center;
	color: var(--color-primary);

	margin: .5rem;
}

article header>nav {
	gap: 0;
	display: flex;
	flex-wrap: wrap;

	background: var(--faded-hunter-green);
	border-top: .1rem solid var(--color-primary);
}

article header nav>h1 {
	padding: 0 1rem;
}

article header nav>a {
	padding: 1rem;

	font-family: sans-serif;

	border-bottom: .2rem solid hsla(0, 0%, 0%, 0%);
}

article header nav > a:hover {
	border-bottom: .2rem solid var(--color-primary)
}

article header nav > a > i:only-child {
	margin: 0;
}

article header nav > a[aria-current="true"] {
	color: var(--color-text-background);
	background: var(--color-primary);
}

#benchmark-run-links {
	border-top: .1rem solid var(--color-primary);
	margin-bottom: 2rem;
	background: var(--faded-hunter-green);
	gap: 0;
}

#benchmark-run-links > a {
	padding: 1rem;
	border-bottom: .2rem solid hsla(0, 0%, 0%, 0%);
	text-decoration: none;
	font-weight: bold;
	font-family: sans-serif;
}

#benchmark-run-links > a:hover {
	border-bottom: .2rem solid var(--color-primary)
}

#benchmark-run-links > a > i:only-child {
	margin: 0;
}

#benchmark-run-links > a[aria-current="true"] {
	color: var(--color-text-background);
	background: var(--color-primary);
}

.warning {
	color: var(--warning-color);
}

.header-warning {
	padding: 1rem;
	border: 1px solid var(--warning-color);
}

article > header {
	margin-bottom: 1rem;
}

.portfolio-specification table {
	border-collapse: collapse;
	font-size: 0.9em;
	font-family: sans-serif;
	min-width: 400px;
}

.card {
	background: white;
	padding: 1rem;
	box-sizing: border-box;
}

.description-preview {
	display: block;
	overflow: scroll;
	width: 100%;
	padding: 1rem;
	box-sizing: border-box;
	border: 1px solid var(--color-text);
	margin: .5rem 0 0 0;
}

.form-section {
	margin: 1rem 0 3rem 0;
}

.card:not(:last-of-type) {
	margin-bottom: 1rem;
}

.htmx-display-indicator {
	display: none;
}

.htmx-request .htmx-display-indicator,
.htmx-request.htmx-display-indicator {
	display: inline;
}


.align-right {
	text-align: right;
}

.align-left {
	text-align: left;
}

caption em {
	font-weight: lighter;
}

.todo li p {
	margin-top: .5rem;
}

.primary-button {
	background: var(--color-primary);
	color: var(--color-text-background);
}

.ghost-button {
	background: transparent;
	border: 2px solid var(--color-primary);
	color: var(--color-primary);
	transition: background 0.1s ease-in-out, color 0.1s ease-in-out, border-color 0.1s ease-in-out;
}

.ghost-button:hover {
	background: var(--faded-hunter-green);
	color: var(--color-text);
}

.feature-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	gap: 1rem;
	margin: 2rem 0;
}

.feature-box {
	flex: 1;
	max-width: 30rem;
	min-width: 15rem;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	text-align: left;
}

.feature-box i {
	font-size: 4rem;
	text-align: center;
	color: var(--color-primary)
}

.feature-box h3 {
	text-align: center;
}

.feature-box p {
	font-size: 1.2rem;
}