@import url(https://fonts.bunny.net/css?family=fascinate:400|merriweather-sans:300,300i,500,500i,800,800i);

body {
	background: url('gfx/xv.png'), /*#5f539b*/ #0a402c;
	background-blend-mode: multiply;
	font-family: sans-serif;
	color: #dfe;
	display: grid;
	grid-template-columns: 2in 1fr;
	gap: 2em;
	max-width: calc(2in + 1em + 10in);
	margin: 1em auto;
}

header, nav ul, main {
	background: url('gfx/rockywall_mult.png'), linear-gradient(#fff 1px, #7f73bb 1px, #5f539b calc(100% - 20px) calc(100% - 14px), #7f73bb calc(100% - 14px) calc(100% - 13px), #4f438b calc(100% - 13px), #0f034b);
	background-blend-mode: multiply;
	max-width: 10in;
	box-sizing: border-box;
	box-shadow: 0 2px 1px #000, 0 3px 2px #000, 0 5px 1em #000;
}

nav {
	grid-row: 1 / 4;
	width: 2in;
	position: relative; top: 0;
	font-size: 16pt;
	height: 100%;
	margin: 0;
	padding: 0;
}

nav ul {
	position: sticky; top: 12pt;
	padding: 1em;
	list-style: none;
	margin: 0;
}

nav li {
	background: #93ddc3;
	text-align: center;
	margin: 0;
	padding: 6pt;
	margin-bottom: 0.5em;
	border-radius: 3em;
	box-shadow: 0 1px 3px #000, 0 0 1px #000;
	font-weight: 800;
}

nav li:hover {
	background: linear-gradient(#135d4e, #337d63 4px, #63ad93 50% calc(100% - 4px), #539d83);
	box-shadow: inset 0 1px 3px #000;
}

nav li:active {
	background: linear-gradient(#000, #135d4e, #337d63 10px, #539d83 69% calc(100% - 4px), #337d63);
	box-shadow: inset 0 1px 3px #000;
}

header {
	text-align: center;
	padding: 1em 1em 1.5em 1em;
}

h1 { font-family: 'Fascinate', display; text-align: center; }
p, h2, li, th, td, h3, summary {
	font-family: 'Merriweather Sans', sans-serif;
}
a:link, a:visited { color: #43e }
a:hover { color: #f67; }
a:active { color: #000; }
nav a:link, nav a:visited, nav a:hover, nav a:active { color: #000; text-decoration: none;}

header h1 {
	font-size: 48pt;
	line-height: 1;
	text-shadow: 0 0 1px #000, 0 0 2px #000, 0 1px 3px #000, 0 2px 1px #000;
	margin: 0; padding: 0;
}
header h2 {
	font-style: italic;
	font-weight: 300;
	font-size: 24pt;
	line-height: 1.5;
	margin: 0;
	padding: 0;
	text-shadow: 0 0 1px #000, 0 0 3px #000, 0 1px 1px #000;
}

main {
	padding: 1em 1em calc(1em + 14px) 1em;
	font-size: 14pt;
	color: #000;
}

main h1 {
	color: #dfe;
	text-shadow: 0 0 1px #000, 0 1px 2px #000, 0 1px #000;
	margin: 0;
	padding: 0;
	line-height: 1.2;
	border-bottom: 2px groove #4f438b;
}

main h2 {
	color: #dfe;
	text-shadow: 0 0 1px #000, 0 0 2px #000;
}

article {
	background: #93ddc3;
	box-sizing: border-box;
	padding: 0.25em 0.75em;
	margin: 0.5em 0;
	box-shadow: inset 0 1px 3px #000;
	line-height: 1.5;
	text-shadow: 0 2px rgba(59,50,50,0.2);
}

summary {
	font-size: 16pt; font-weight: 800; color: #dfe;
	text-shadow: 0 0 1px #000, 0 0 1px #000;
}
summary:hover { cursor: pointer; }

/*.secnav {
	float: right;
	height: 100%;
	position: relative;
	top: 0;
}

.secnav2 {
	position: sticky;
	top: 0;
}*/

.realmnav { font-size: 12pt; }
