@import "/css/normalize.css";

:root {
	--font-color-head: #510;
	--font-color-head-highlight: #330000A0;
	--font-color-head-shadow: #772200A0;
	--font-color-body: #5F1300;
	--font-color-muted: #7F3310;
	--font-color-first-letter: rgba(12, 120, 12, 1);
	--wax-color: #0A0;
	--romsize: 1.5em;
	--italsize: 1.5em;
	--romwght: 400;
	--romslnt: 8;
	--italopsz: 10;
	--italwght: 400;
	--italslnt: 0;
	--romspacing: 1;
	--romGRAD: 0;
	--romopsz: 10;

}

@font-face {
	font-family:'Elstob';
	font-style:normal;
	font-weight:400;
	font-display:swap;
	src:url("/css/Elstob.woff2") format('woff2')
}
@font-face {
	font-family: Caps;
	/* src: url("/css/gloucester-initialen.regular.ttf") */
	src: url("/css/gloucester-initialen-lite.regular.woff2") format('woff2')
}

body {
	background:url("/img/bg.svg");
	background-size:100% auto;
	background-color:#2a2216;
	/* background-size:cover; */
	padding:1rem;
	font-family: /*'Elstob',*/
		et-book,
		Palatino,
		"Palatino Linotype",
		"Palatino LT STD",
		"Book Antiqua",
		Georgia,
		serif;
	font-size:1.2rem;
}

table.figure {
	width:100%;
	margin:2rem 0;
}
table.figure img {
	max-width:5in;
}
table.figure td {
	font-size:1.1rem;
	color:var(--font-color-muted);
	font-style:italic;
}
.tags-list {
	font-size:0.9rem;
	text-align:center;
	line-height:0.5rem;
}
.tags-list a:after {
	content: ', ';
}
.tags-list a:last-child:after {
	content: ''
}

hr {
	text-align: center;
	display: block;
	line-height: 1px;
	height: 1px;
	margin: 1rem 0;
	background: repeating-linear-gradient(299deg,
				rgba(12, 120, 12, 1) 0px,
				rgba(106, 146, 34, 1) 40px,
				rgba(12, 120, 12, 1) 90px);
	opacity: 0.5;
}

hr:before,
hr:after {
	content: '§';
	font-size: 2rem;
	color: #0A0;
	position: absolute;
	transform: rotate(90deg);
}

article {
	margin:0.5rem auto 3rem auto;
	padding:0.5rem;
	position: relative;
	background:transparent;
	color:var(--font-color-body);
	max-width: 8.5in;
	clear: both;
}
nav :link, p :link {
	color: #0000EE;
}
nav :visited, p :visited {
	color: #551A8B;
}
article:before {
	background: #fffef0;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbeQaKxFAEB6EN+cYN6xD7RYGpXpNndMmZgM5Dcs3YSNFDHUo2LGfZuukSWyUYirJAdYbF3MfqEKmjM+I2EfhA94iG3L7uKrR+GdWD73ydlIB+6hgref1QTlmgmbM3/LeX5GI1Ux1RWpgxpLuZ2+I+IjzZ8wqE4nilvQdkUdfhzI5QDWy+kw5Wgg2pGpeEVeCCA7b85BO3F9DzxB3cdqvBzWcmzbyMiqhzuYqtHRVG2y4x+KOlnyqla8AoWWpuBoYRxzXrfKuILl6SfiWCbjxoZJUaCBj1CjH7GIaDb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==);
	position:absolute;
	content:'';
	z-index:-1;
	top:-1rem;bottom:-1rem;right:-1rem;left:-1rem;
	filter:url(#wavy2);
	box-shadow: 2px 3px 20px black, 
		0 0 125px #8f5922 inset,
		0 0 1rem 0.25rem lime;
}

a.next, a.prev {
	position: fixed;
	top: 50vh;
	height: 4rem;
	width: 4rem;
	background: rgba(0, 0, 0, 1);
	color: transparent;
	border-radius: 2rem;
}
a.next {
	right: 2vh;
}
a.prev {
	left: 2vh;
}
a.next::after, a.prev::after {
	font-size: 2rem;
	display: block;
	width: 4rem;
	height: 4rem;
	position: absolute;
	color: rgba(255, 255, 255, 1);
	text-align: center;
	line-height: 4rem;
	top: 0;
}

a.next::after {
	content: '▶';
	left: 0.25rem;
}
a.prev::after {
	content: '◀';
	right:0.25rem;
}
a.next, a.prev {
	transition:
		box-shadow .1s,
		opacity .1s,
		filter .1s
}

a.next, a.prev {
	box-shadow: 0 0 0 lime;
	opacity: 0.25;
	/* filter: blur(0.1rem); */
}

a.next:hover, a.prev:hover {
	box-shadow: 0 0 1rem lime;
	opacity: 1;
	/* filter: blur(0rem); */
}

article > p {
	min-height: 1.15rem;
	line-height:1.5rem;
}
article > blockquote {
	font-style:italic;
	color: var(--font-color-body);
	opacity: 0.8;
}
article cite, article .cite {
	display:block;
	text-align:right;
}
article cite::before, article .cite::before {
	content:'-- ';
}
header, article > h1 {
	font-variant: small-caps;
}
header > h1, header > h2, article > h1 {
	text-align: center;
	background: repeating-linear-gradient(
		299deg, 
		rgba(12, 120, 12, 1) 0px, 
		rgba(106, 146, 34, 1) 40px,
		rgba(12, 120, 12, 1) 90px
	);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke:0.5px #060;
	-webkit-font-smoothing: antialiased;
}
header {
	display:grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
}
header h1 {
	font-size:2.5rem;
	letter-spacing: -.1rem;
	text-align: left;
	margin:0 1rem;
}
header nav > * {
	margin:0 1rem;
}

article > h1 {
	font-weight:bold;
}

.seal {
	display: block;
	width: 4.4rem;
	height: 4.4rem;
	position: relative;
	border-radius: 2.2rem 1.9rem 2.3rem 2.0rem;
	background: var(--wax-color);
	color: var(--wax-color);
	border-color: var(--wax-color);
	box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2) inset,
		0 3px 3px rgba(255, 255, 255, 0.6) inset,
		0 1px 5px rgba(0, 0, 0, 0.8);
	/* text-align: center; */
	line-height: 3.25rem;
	font-size: 4.1rem;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
#seal_logo circle, #seal_logo path {
	fill: #0A0;
	
}
#seal_logo g circle:nth-child(1) {
	fill: #070;
}
#seal_logo g circle:nth-child(3) {
	fill: #006A00;
}
/* .seal>span {
	display: block;
	width: 3.52rem;
	height: 3.52rem;
	position: absolute;
	top: .44rem;
	left: .44rem;
	line-height:3.3rem;
	box-shadow: 0 -2px 2px rgba(205, 205, 205, 0.1) inset,
		0 3px 3px rgba(30, 30, 30, 0.1) inset,
		0 1px 2px rgba(30, 30, 30, 0.6) inset;
	border-radius: 999rem;
	background-image: -webkit-linear-gradient(top,
			rgba(51, 51, 51, 0.3) 0%,
			rgba(51, 51, 51, 0.2) 100%);
} */


.seal:before,
.seal:after {
	display: block;
	content: ' ';
	position: absolute;
	line-height: 0;
	font-size: 0;
	background: inherit;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.8),
		0 3px 3px rgba(205, 205, 205, 0.4) inset;
}
.seal:after {
	width: 0.7rem;
	height: 0.7rem;
	top: 84%;
	left: 94%;
	border-radius: 1rem 0.9rem 0.95rem 0.8rem;
}
.seal:before {
	width: 0.3rem;
	height: 0.3rem;
	top: 103%;
	left: 85%;
	border-radius: 1rem 0.9rem 0.95rem 0.8rem;
}

article p {
	text-align:justify;
}
article a {
	font-weight:bold;
	text-decoration: none;
}
article p.drop-cap:first-letter {
	float: left;
	font-family: Caps;
	background-color: transparent;
	font-size: 5rem;
	text-shadow: 1px 1px 1px black;
	margin: 0.25rem 0.5rem 0 0rem;
	color:var(-font-color-first-letter);
	line-height:3.5rem;
}
article p.blog-date {
	text-align:center;
	font-style:italic;
	opacity: 0.75;
}

@media screen and (max-width: 480px) {
	body {
		font-size:1rem;
		line-height:1.5rem;
		padding:0;
	}
	header, header label {
		position:relative;
	}
	header {
		position:sticky;
		margin: -0.5rem -0.5rem 1rem -0.5rem;
		padding: 0.5rem;
		top: 0;
		background-color: #dddad0;
		box-shadow: -2px -3px 20px black,
			0 0 25px #8f5922 inset;
		z-index: 1
	}
	header .seal {
		transform: scale(0.75)
	}

	header .menu {
		width:2rem;
		height:2rem;
		position:relative;
	}
	header .menu:before {
		content: '☰';
		color:#060;
		font-size: 2rem;
		line-height:2rem;
		position: absolute;
	}
	header .menu nav {
		display:none;
		position: absolute;
	}
	header .menu .trigger:checked + nav {
		display:block;
		top:3rem;
		right:1rem;		
		padding:1rem;
		font-size:2rem;
		line-height:3.5rem;
		z-index:1;
		background-color:#dddad0;
		box-shadow: 2px 3px 20px black,
				0 0 25px #8f5922 inset;
	}
		
	header h1 {
		font-size:2rem;
		margin:0 0.25rem;
	}
	header + hr {
		display: none
	}
	article {
		margin:0;
	}
	article:before {
		top: 0;
		bottom: 0;
		right: 0;
		left: 0;
		filter: none;
		box-shadow: 2px 3px 20px black,
				0 0 25px #8f5922 inset
	}
	h1 {
		font-size:1.5rem;
		line-height:3rem;
	}
	h2 {
		font-size:1.4rem;
		line-height:2.8rem;
	}
	article p {
		text-align:unset;
	}
	article p.drop-cap:first-letter{
		font-size:3rem;
		line-height:1.5rem;	
		margin: 0.3rem 0.5rem 0 0rem;
	}
	a.next, a.prev {
		top:auto;
		bottom:2vh;
		height:2rem;
		width:2rem;
		border-radius:1rem;
	}
	a.next::after, a.prev::after {
		font-size: 1rem;
		width: 2rem;
		height: 2rem;
		line-height: 2rem;
	}
	a.next::after {
		left: 0.125rem;
	}
	a.prev::after {
		right:0.125rem;
	}
	table.figure img {
		max-width:80vw;
	}

}
