/* 	
 * 	Solarized Color Scheme by Ethan Schoonover
 *	http://ethanschoonover.com/solarized
 */

html {
	font-family: "Sono","Open Sans","Lucida Grande","Segoe UI",Arial,Sans-serif;
	text-align: left;
	background-color: var(--bgc-canvas);
	font-variant: slashed-zero;
	font-variation-settings: "MONO" 0;
}

html, body {
	margin: 0;
	min-height: 100vh;
}

#header .headline {
	font-variation-settings: "MONO" 1;
}

#header.headfoot {
	background: linear-gradient(to right, transparent, var(--bgc-head) 30%, var(--bgc-head) 70%, transparent);
}

a {
	color: rgb(var(--sol-cyan));
	text-decoration: none;
}

a:visited {
	color: rgb(var(--sol-violet));
}

a:hover {
	text-decoration: underline;
}

body {
	background-color: var(--bgc-void);
}

.headfoot {
	text-align: center;
	padding: 20px 0;
	overflow: hidden;
	position: relative;
	color: rgb(var(--fg-head));
	text-shadow: 1px 2px rgba(var(--fg-fade), 0.9);
}

.headfoot a {
	color: inherit;
	text-decoration: underline;
}

.headfoot a:hover {
	color: rgb(var(--sol-cyan));
	text-decoration: underline;
}

.headline {
	font-size: 1.2em;
}

.body-overlay {
	min-width: 2in;
	max-width: 8in;
	margin: auto;
}

main#content-container {
	border-top: 1px solid rgb(var(--sol-orange));
	border-top-width: 3px;
	display: flex;
	flex-direction: column;
}

.mainbox, .TextShower-box {
	background-color: rgb(var(--bg-main));
	color: rgb(var(--fg-main));
}

.TextShower-box {
	border: none;
	overflow: clip;
}

.ts-dyn {
	color: rgb(var(--sol-orange));
	text-align: center;
}

.TextShower-text {
	border-top: none;
	overflow: visible;
}

.tstbpad {
	padding-top: 1em;
	padding-bottom: 1em;
}

.title {
	border-bottom: 0.5px solid rgb(var(--bg-main));
	background-color: rgb(var(--fg-fade));
	color: rgb(var(--fg-emph));
	font-weight: bold;
	height: 4ex;
	display: grid;
	grid-template-columns: 2.5em auto 1fr;
	align-items: center;
}

.title > span {
	background: radial-gradient(ellipse closest-side, rgba(var(--bg-emph), 0.65) 70%,rgb(var(--fg-fade)));
	border-radius: 3em;
	padding: 0 2em;
	grid-column: 2;
	margin-left: -1.5em;
	height: 3ex;
	line-height: 137%;
	z-index: 0;
}

.title .ts-dyn {
	background: none;
	grid-column: 1;
	padding: 0;
	padding-left: 0.5em;
	margin: 0;
	font-size: x-large;
	height: 0;
	line-height: 0;
	z-index: 1;
}

.content {
	margin: 1em 3em;
}

.justified {
	text-align: justify;
}

.bolded {
	font-weight: bold;
}

p {
	margin: 0;
	padding: 0.5em 0;
}

:root {
    --sol-base03: 0, 43, 54;
    --sol-base02: 7, 54, 66;
    --sol-base01: 88, 110, 117;
    --sol-base00: 101, 123, 131;
    --sol-base0: 131, 148, 150;
    --sol-base1: 147, 161, 161;
    --sol-base2: 238, 232, 213;
    --sol-base3: 253, 246, 227;
    --sol-yellow: 181, 137, 0;
    --sol-orange: 203, 75, 22;
    --sol-red: 220, 50, 47;
    --sol-magenta: 211, 54, 130;
    --sol-violet: 108, 113, 196;
    --sol-blue: 38, 139, 210;
    --sol-cyan: 42, 161, 152;
    --sol-green: 133, 153, 0;
    
    --bg-main: var(--sol-base3);
    --bg-emph: var(--sol-base2);
    
    --fg-head: var(--sol-base03);
    --fg-emph: var(--sol-base01);
    --fg-main: var(--sol-base00);
    --fg-fade: var(--sol-base1);

    --bgc-head: rgba(var(--bg-main), 0.4);
	--bgc-void: rgba(var(--bg-main), 0.5);
	--bgc-canvas: #aaa;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg-main: var(--sol-base03);
		--bg-emph: var(--sol-base02);
	
	    --fg-head: var(--sol-base3);
		--fg-emph: var(--sol-base1);
		--fg-main: var(--sol-base0);
		--fg-fade: var(--sol-base01);
		
		--bgc-canvas: black;
	}
}