html {
    height: 100%;
}

.clear{
	clear:both;
}

::selection {
  background: rgba(169, 65, 36, 0.1); /* WebKit/Blink Browsers */
}

::-moz-selection {
  background: rgba(169, 65, 36, 0.1); /* Gecko Browsers */
}

.image {
	padding-top: 1rem;
}

footer {
	height: 100px;
	float: left;
}

img {
	max-width: 100%;
	height: auto;
}

/*-----Text Styles-----*/

a:link    {
	color: #5e5e5e; 
	text-decoration:none;
}

a:visited {
	color: #5e5e5e; 
	text-decoration:none;
}

a:hover   {
	color: #aa4124; 
	background-color:rgba(169, 65, 36, 0.1); 
	text-decoration:none;
	transition: all 0.5s ease;
}

a:active  {
	color:#aa4124; 
	text-decoration:none;
}

@font-face {
	font-family: Panton;
	font-weight: 100;
	src: url(fonts/panton/panton-thin.otf);
}

@font-face {
	font-family: Panton;
	font-weight: 200;
	src: url(fonts/panton/panton-light.otf);
}

@font-face { 
	font-family: Panton;	
	font-weight: 400; 
	src: url(fonts/panton/panton.otf); 
}

@font-face {
	font-family: LeagueMono;
	src: url(fonts/LeagueMono/LeagueMono-VF.ttf), url(fonts/LeagueMono/LeagueMono-VF.woff), url(fonts/LeagueMono/LeagueMono-VF.woff2);
	font-weight: 800;
}

@font-face {
    font-family: 'LeagueSpartan';
    src: url('fonts/LeagueSpartan/LeagueSpartan-VF.ttf') format('truetype');
    src: url('fonts/LeagueSpartan/LeagueSpartan-VF.woff') format('woff'),
         url('fonts/LeagueSpartan/LeagueSpartan-VF.woff2') format('woff2-variations');
    font-weight: 800;
}

@font-face {
	font-family: chunk;
	src: url(fonts/chunk/ChunkFive-Regular.eot), url(fonts/chunk/ChunkFive-Regular.woff), url(fonts/chunk/ChunkFive-Regular.woff2);
}

@font-face {
    font-family: 'Junction';
    src: url('fonts/junction/junction-bold.eot');
    src: url('fonts/junction/junction-bold.eot?#iefix') format('embedded-opentype'),
         url('fonts/junction/junction-bold.woff') format('woff'),
         url('fonts/junction/junction-bold.ttf') format('truetype'),
         url('fonts/junction/junction-bold.svg#junctionbold') format('svg');
}

@font-face {
    font-family: 'Fanwood';
    src: url('fonts/fanwood/fanwood-webfont.eot');
    src: url('fonts/fanwood/fanwood-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/fanwood/fanwood-webfont.woff') format('woff'),
         url('fonts/fanwood/fanwood-webfont.ttf') format('truetype'),
         url('fonts/fanwood/fanwood-webfont.svg') format('svg');
}

@font-face {
    font-family: 'KnewaveRegular';
    src: url('fonts/knewave/knewave-webfont.eot');
    src: url('fonts/knewave/knewave-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/knewave/knewave-webfont.woff') format('woff'),
         url('fonts/knewave/knewave-webfont.ttf') format('truetype'),
         url('fonts/knewave/knewave-webfont.svg#KnewaveRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'KnewaveOutlineRegular';
    src: url('fonts/knewave/knewave-outline-webfont.eot');
    src: url('fonts/knewave/knewave-outline-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/knewave/knewave-outline-webfont.woff') format('woff'),
         url('fonts/knewave/knewave-outline-webfont.ttf') format('truetype'),
         url('fonts/knewave/knewave-outline-webfont.svg#KnewaveOutlineRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'LeagueGothic';
    src: url('fonts/LeagueGothic/LeagueGothic-Regular.otf');
    src: url('fonts/LeagueGothic/LeagueGothic-Regular.woff') format('woff'),
         url('fonts/LeagueGothic/LeagueGothic-Regular.woff2') format('woff2'),
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TheNeue-Black';
    src: url('fonts/TheNeueBlack/TheNeue-Black.otf');
    src: url('fonts/TheNeueBlack/TheNeue-Black.woff') format('woff'),
         url('fonts/TheNeueBlack/TheNeue-Black.ttf') format('truetype'),
         url('fonts/TheNeueBlack/TheNeue-Black.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

p.introduction:first-letter {
	font-family: Panton;
	font-size : 62px;
	font-weight : 100;
	line-height: 1;
	float : left;
	margin-left:auto;
	margin-right:auto;
	width:100%;
	min-height: 100%;
	text-rendering: optimizeLegibility;
	position: relative;
	padding-top: -10px;
	padding-right: 5px;
}

body {
	font-family: georgia, serif;
	font-weight:400;
	font-size: 1.2rem;
	line-height: 2.2rem;
	color: #2e2e2e;
	margin-left:auto;
	margin-right:auto;
	width:100%;
	max-width:900px;
	min-width:520px;
	min-height: 100%;
	text-rendering: optimizeLegibility;
	position: relative;
	background-color: white;
}

body > * {
	font-size: 100%;
	margin-left: 11.5rem;
	margin-right: 2.5rem;
}

leadin {
	font-family: georgia, serif;
	font-weight:600;
	font-size:21px;
	line-height:1.5;
	color: #2e2e2e;
	text-rendering: optimizeLegibility;
	font-variant: small-caps;
}

h1	{
	font-family: 'Panton', verdana, sans-serif;
	font-weight:100;
	font-size: 4rem;
	line-height: 4.2rem;
	color:#000;
}

h2	{
	font-family: 'Panton', verdana, sans-serif;
	font-weight:400;
	font-size:2.2rem;
	line-height: 2.2rem;
	padding-top: 2rem;
	margin-bottom: -.25rem;
	color:#000;
}

h3	{
	font-family: 'Panton', sans-serif;
	font-weight:400;
	font-size:2rem;
	line-height: 2.2rem;
	margin-top: -1.8rem;
	color:#000;
}

h4 {
	font-family: georgia, serif;
	font-size: 1.2rem;
	line-height: 0rem;
	margin-bottom: -1.5rem;
	font-weight: 800;
	color: #aa4124;
	font-variant: small-caps;
	letter-spacing: 2px;
}

title-block {
	margin-bottom: 2em;
	border-top: solid 2px black;
	padding-top: 6px;
}

ul	{
	display:block;
	line-height:2;
	list-style-type: none;
}

aside {
	font-family: "Panton";
	font-size: 0.85rem;
	line-height: 1.40;
	color: #667;
	float: left;
	position: absolute;
	margin-left: 0;
	left: 2.5rem;
	width: 7rem;
	text-align: right;
	margin-bottom: 1rem;
	letter-spacing: .05rem;
}

below {
	font-family: "Panton";
	font-size: 0.85rem;
	line-height: 1;
	color: #667;
	float: left;
	position: relative;
	margin-left: 0;
	left: 0rem;
	width: 20rem;
	text-align: left;
	margin-bottom: 2rem;
	letter-spacing: .05rem;
	display: none;

}

footer{
	font-family: georgia, serif;
	font-weight:400;
	font-size:14px;
	line-height:1.5;
	color: #2e2e2e;
	margin-left:auto;
	margin-right:auto;
	margin-top: 2rem;
	width:100%;
	text-rendering: optimizeLegibility;
	position: relative;
}

hr.title {
	margin-top: -1.7rem;
    margin-bottom: 1rem;
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #d8d8d8;
}

/*-----nav styles-----*/

header {
	margin-bottom: 20px;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: 150px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin-left: 1rem;

}

header h4 {
	margin-bottom: 1rem;
}

#logo {
	float: left;
	z-index: 1000;
	opacity: 1.0;
}

nav	{
	font: 1.2rem/2.2rem georgia, serif;
	text-align: left;
	display: block;
	margin-bottom: 4rem;
}

.mobileNavButton {
	visibility: hidden;
}

.mobileNavClose {
	visibility: hidden;
}

/*-----dark mode-----*/

@media (prefers-color-scheme: dark) {
	body {
		color: #B3B3B3;
		background-color: #1E1E1E;
	}

	h1 {
		color: #B3B3B3;
	}

	h2 {
		color: #B3B3B3;
	}

	h3 {
		color: #B3B3B3;
	}

	footer {
		color: #B3B3B3;
	}

	a {
		color: #8e8e8e;
	}

	a:link    {
		color: #8e8e8e; 
	}

	a:hover   {
		color: #aa4124; 
		background-color:rgba(169, 65, 36, 0.15);
	}

	.image {
		opacity: .8;
	}

	leadin {
		color: #B3B3B3;
	}

	::selection {
		background: rgba(169, 65, 36, 0.25); /* WebKit/Blink Browsers */
	}

}

/*-----mobile nav styles-----*/

@media (max-width: 952px) {

body {
	margin-left:0;
	margin-right:0;
	max-width: 100%;
	min-width: 100%;
	min-height: 100%;
	text-rendering: optimizeLegibility;
	position: relative;
}

header {
	position: relative;
	top: 0;
	left: 0;
	width: 95%;
	padding: 0px;
	margin-bottom: 0px;
	display: flex;
	display: -webkit-flex;
	flex-direction: row;
	-webkit-flex-direction: row;
	justify-content: space-between;
	z-index: 100;
}

nav	{
	font: 1rem/1.5rem georgia, serif;
	text-align: left;
	margin-left: 0rem;
}

#logo img {
	width: 50%;
	margin: 10px;
}

footer {
	display: none;
}

body > * {
	margin-left: 1rem;
	margin-right: 1rem;
}

br {
	display: none;
}

nav br {
	display: none;
}

nav hr {
	display: none;
}

h1 {
	margin-top: 2.5rem;
}

.clear {
	clear: none;
}

.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 24px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn .mobileNavClose{
  position: absolute;
  top: 20px;
  float: right;
  font-size: 60px;
  text-align: right;
}

.mobileNavButton {
	visibility: visible;
	margin-top: 2rem;
}

.mobileNavClose {
	visibility: visible;
}

}

/* Captions */

@media (max-width: 1200px) {

	aside {
		display: none;
	}

	below {
		display: inline;
	}
}

/* Mobile Portrait */

@media (max-width: 668px) {
  
h1 {
	font-size:3rem;
	line-height: 3.7rem;
}

h2 {
	font-size: 1.6rem;
	line-height: 1.6rem;
	padding-top: 2rem;
	margin-bottom: -.25rem;
}

h4 {
	font-size: 1.4rem;
}

below {
	font-size: .8rem;
}

body {
	font-size: 1.2rem;
	line-height: 2rem;
	padding-bottom: 6rem;
}

body > * {
	margin-right: 1rem;
}

nav {
	margin-right: 0rem;
	margin-left: 0rem;
}

nav br {
	display: inline;
}

header {
	margin-bottom: 1rem;
	width: 90%;
}

#logo img {
	width: 40%;
	margin: 0px;
}

#random {
	font-size: 3rem;
	font-size: 9.5vw;
}

.mobile {
	margin-top: -1rem;
	margin-left: -3rem;
}

}