@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap');

body {
	xbox-shadow: inset 0 27px 15px -17px rgba(0, 0, 0, 0.4);
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0.65+0,0+100;Neutral+Density */
	xbackground: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 50px); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

div.wrapper {
	max-width: 1200px;
	margin: auto;
}

header {
	xfont-family: 'Roboto Slab', serif;
	background-image: url('../images/header2.jpg');
	background-size: cover;
	background-position: right;
	min-height: 1vw;
}

h1 {
	color: darkred;
}

h2 {
	font-size: 1.5rem;
	color: darkred;
}

header h1 {
	font-size: 4rem;
	letter-spacing: 4px;
	line-height: 4.2rem;
	margin-bottom: 20px;
}

header h2 {
	font-size: 1.5rem;
	letter-spacing: 3px;
	line-height: 3rem;
}

header a {
	color: white;
	text-shadow:
		-1px -1px 1px rgba(0, 0, 0, 0.7),
		-1px 1px 1px rgba(0, 0, 0, 0.7),
		1px -1px 1px rgba(0, 0, 0, 0.7),
		1px 1px 1px rgba(0, 0, 0, 0.7),

		-3px -3px 11px rgba(255, 255, 255, 0.9),
		-3px 3px 11px rgba(255, 255, 255, 0.9),
		3px -3px 11px rgba(255, 255, 255, 0.9),
		3px 3px 11px rgba(255, 255, 255, 0.9);
}

header h1 a {
	color: darkred;
	text-shadow:
		-1px -1px 8px rgba(255, 255, 255, 0.7),
		-1px 1px 8px rgba(255, 255, 255, 0.7),
		1px -1px 8px rgba(255, 255, 255, 0.7),
		1px 1px 8px rgba(255, 255, 255, 0.7);
}

header a, header a:hover {
	text-decoration: none;
}

header h1 a:hover {
	color: darkred;
}

header h2 a:hover {
	color: white;
}

main {
	xfont-family: 'Roboto Slab', serif;
	letter-spacing: 0.3px;
	word-spacing: 1.1px;
	xpadding-top: 40px;
}

main a {
	color: darkred;
	font-weight: bold;
}

main a:hover {
	color: darkred;
}

section > h1 a {
	font-weight: normal;
}

div.logos img {
	display: block;
	margin: 0px auto 30px auto;
	height: 30px;
	filter: brightness(70%);
}

div.logos img.big {
	height: 50px !important;
}

.bignav a {
	background-size: cover;
	background-position: 50% 50%;
	filter: sepia(1);

	display: flex;
	align-items: center;
	justify-content: center;

}

.bignav a div {
	filter: none;

	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;

	padding: 5px;
	color: white;
	font-size: 2.6rem;
	line-height: 2.7rem;
	font-weight: normal;
	letter-spacing: 0.4rem;
	xbackground-color: rgba( 102,0,34, 0.7 ); /* #660022; */

	text-shadow:
		-1px -1px 5px rgba(0, 0, 0, 1),
		-1px 1px 5px rgba(0, 0, 0, 1),
		1px -1px 5px rgba(0, 0, 0, 1),
		1px 1px 5px rgba(0, 0, 0, 1);

}


.bignav a:hover {
	opacity: 0.7;
}

/* https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_aspect_ratio_169 */
div.articles {
	margin-top: 25px;
	margin-bottom: 25px;
}

div.articles p {
	clear: both;
}

/* Thumbnails on lists of articles: */
div.articles p>img, div.articles p>a>img {
	float: left;
	border: 1px solid black;
	margin-right: 10px;
	margin-bottom: 10px;
}

div.blurb {
	xbackground-color: lightgrey;
	line-height: 1.8rem;
	border-right: 1px solid grey;
}

div.blurb strong {
	color: darkred;
}

div.blurb p:first-child:first-letter {
	float: left;
	font-size: 4rem;
	padding-top: 4px;
	padding-right: 1px;
	padding-left: 0px;
}

/* https://stackoverflow.com/a/5460239/378779 */
.nav-wrapper {
	xbox-shadow: 0px 5px 8px 3px rgba(0, 0, 0, 0.5);
}

nav, footer {
	background-color: darkred;
	color: rgba(255, 255, 255, 0.7);
	font-family: 'Roboto Slab', serif;
}

nav img, footer img {
	height: 15px;
	vertical-align: baseline;
	position: relative;
	top: 2px;
	opacity: 0.8;
}

nav {
	xbox-shadow: 0px 5px 15px 5px rgba(0, 0, 0, 0.5);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: flex-start;
}

nav a {
	display: block;
	xborder: 2px solid green;

	xbox-sizing: border-box;
	flex-basis: 1;
	flex-grow: 1;

	xmargin: 0px 10px 0px 10px;
	padding: 1px 10px 3px 10px;
	border-radius: 0px;
	font-weight: normal;
	xbackground-color: rgba(255, 255, 255, 0.4);
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	color: inherit;
	xtext-shadow: 2px 2px 4px #ffffff;
	border-right: 1px solid rgba(255, 255, 255, 0.3);
}

nav a.on {
	background-color: #4b0000; 
}

nav a:last-child {
	border-right: none;
}

nav a:hover {
	background-color: rgba(255, 255, 255, 0.2);
	text-decoration: none;
	color: inherit;
}


div.featured img {
	margin-right: 10px;
	margin-bottom: 10px;
	width: 80%;
	filter:
		drop-shadow(-1px -1px 3px rgba( 0,0,0, 0.4 ))
		drop-shadow(-1px 1px 3px rgba( 0,0,0, 0.4 ))
		drop-shadow(1px -1px 3px rgba( 0,0,0, 0.4 ))
		drop-shadow(1px 1px 3px rgba( 0,0,0, 0.4 ));
}

div.featured img.small {
	width: 40%;
}

div.featured h3 {
	color: darkred;
	letter-spacing: 2px;
	font-size: 22px;
}

div.featured div > a {
	display: block;
	margin-top: 10px;
	height: 100px;
	text-align: left;
	letter-spacing: 2px;
	line-height: 18px;
	text-decoration: none;
	padding: 10px;
	background-image: url('../images/header.jpg');
	background-size: cover;
	background-position: right;
	font-size: 1rem;
	line-height: 1.1rem;
	color: darkred;
	text-shadow:
		-2px -2px 5px rgba(255, 255, 255, 1.9),
		-2px 2px 5px rgba(255, 255, 255, 1.9),
		2px -2px 5px rgba(255, 255, 255, 1.9),
		2px 2px 5px rgba(255, 255, 255, 1.9);
}

div.featured div > a:hover {
	text-decoration: none;
	opacity: 0.7;
}

div.featured p {
	text-align: left;
	font-size: 0.9rem;
	line-height: 1.2rem;
}

div.featured p a {
	white-space: nowrap;
}

a.more::before {
	content: "Read more \000bb";
	color: darkred;
	white-space: nowrap;
}

footer {
	clear: both;
	letter-spacing: 1px;
}

footer a {
	color: inherit;
	text-decoration: none;
}

footer a:hover {
	color: inherit;
	text-decoration: underline;
}

footer small a {
	text-decoration: underline;
}

article img {
	float: right;
	border: 1px solid grey;
	xborder-radius: 5px;
	max-width: 50%;
	margin: 10px 0px 15px 20px;
	box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.5);
}

article img.full {
	width: 100%;
	max-width: 100%;
	margin: 10px 0px 15px 0px;
	float: none;
}

article h1 {
	font-size: 2rem;
	margin-bottom: 0.3rem;
	color: darkred;
}

article h2 {
	font-size: 1.4rem;
	margin-bottom: 1rem;
	color: darkgrey;
}

article h3 {
	font-family: Arial, Helvetica, Verdana, sans-serif;
	margin-top: 1rem;
	font-size: 1.2rem;
	opacity: 0.7;
	font-style: italic;
}

article h4 {
	font-family: Arial, Helvetica, Verdana, sans-serif;
	font-size: 1.1rem;
	opacity: 0.7;
	margin-bottom: 2rem;
}

article p:first-of-type {
	margin-top: 20px;
}

article p:first-of-type:first-letter {
	float: left;
	line-height: 2rem;
	font-size: 3.3rem;
	padding-top: 4px;
	padding-right: 4px;
	padding-left: 0px;
	color: darkred;
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 767px) {
	header {
		background-position: 50% center;
	}

	header h1 {
		font-size: 3rem;
	}

	div.featured div > a {
		height: 200px;
		font-size: 1.3rem;
		line-height: 1.5rem;
	}

	div.blurb {
		border-right: none;
	}

	.bignav a div {
		font-size: 2.3rem;
		line-height: 2.4rem;
	}

}
