html,
body {
   font-size: 16px; /* base font reset */
   margin:0;
   padding:0;
   height:100%;
   background: #3c0b0d url(bg.png) repeat;
}

::-webkit-scrollbar {height: 0.75rem; width: 0.75rem;}
::-webkit-scrollbar-corner {background:#bea27e ; } /*bar*/

::-webkit-scrollbar-track-piece {
    background: #3c0b0d url(bg.png) repeat;
}

::-webkit-scrollbar-thumb {
    background-color: #bea27e; /*bar*/
    border: 0.3rem solid #3c0b0d;
}

.grid-container {
  display: grid;
  grid-template-columns: minmax(320px, 1202px);
  grid-template-rows: max-content max-content auto max-content;
  min-height: 100vh;
  max-width: 1202px;
  margin-left: auto;
  margin-right: auto;
  grid-template-areas:  
	  "header"
	  "nav"  
	  "main" 
	  "footer"
}

header {
grid-area: header;
text-align: center;
margin: 0;
padding: 0;
line-height: 0;
}

.resize {
  max-width: 100%;
  height: auto;
  margin: 0; padding: 0;
}

nav {
    grid-area: nav;
    text-align: center;
    font-size: 145%;
    padding: 0.5rem 1rem 1rem 1rem;
    font-family: "Poppins", sans-serif;
    font-weight: normal;
    letter-spacing: 7px;
    word-spacing: 3rem;
    font-variant: small-caps;
}

nav a:link,
nav a:visited,
nav a:active {
	color: #e8e7e5;
    text-shadow: 0 0 1px #000, 0 0 2px #3f140a, 0 0 4px #3c0b0d;
    transition: all 0.45s ease-in-out;
}

nav a:hover, nav a:focus {
    color: #bb9b74;
    text-shadow: 0 0 1px #2f1b0c, 0 0 5px #130b04, 0 0 10px #000;
    transition: all 0.45s ease-in-out;
	
}



main {
	grid-area: main;
	max-width: 1202px;
	text-align: justify;
	margin: 0 auto 1rem 0;
	font-family: 'Ubuntu', sans-serif;
	font-size: 100%;
	letter-spacing: 1px;
	line-height: 180%;
	padding: 0 2rem;
	color: #b9b4b3;
}

strong, b {color: #e8e7e5;
  font-family: "Sedan", serif;
}

em, i {color: #8e796d;}

abbr {text-decoration: none;
border-bottom: 1px dotted #8970457a;}
	

h1 {
	font-family: "Cinzel Decorative", serif;
	text-shadow: 2px 2px 2px #000;
	font-size: 170%;
	letter-spacing: 5px;
	text-shadow: 2px 2px 2px #000;
	color: #cab49a;
	}
  
h1::first-letter {
	font-size: 180%;
	font-family: "Dawning of a New Day", cursive;
	margin-right: 0.25rem;
}

h1.box {
    font-family: "Sedan", serif;
    text-shadow: 1px 1px 1px #431012;
    font-size: 170%;
    letter-spacing: 5px;
    color: #cab49a;
	margin: 0.5rem 0 1rem 0;
	}

h1.box::before {
	content: "✶";
	color: #fff;
	margin-right: 0.5rem;
	font-size: 50%;
	font-weight: normal;
}

h1.box::after {
	content: "\2926";
	color: #e8e7e5;
	margin-left: 1rem;
	font-size: 70%;
	font-weight: normal;
}
  
h2 {
    font-family: "Sedan", serif;
    color: #7c603d;
    letter-spacing: 3px;
    margin: 2rem 0 0.5rem 0;
}
  
h2::before {
	content: "✶";
	color: #aeb4b3;
	margin-right: 0.75rem;
	font-size: 100%;
	font-weight: bold;
	text-shadow: 0 0 10px #fff;
}

h2.affiliates {
    font-family: "Sedan", serif;
    color: #cab49a;
    letter-spacing: 1px;
    margin: 2rem 0 0.5rem 0;
	text-align: center;
	font-size: 160%;
}
  
h2.affiliates::before {
	content: "·\22B1";
	color: #aeb4b3;
	margin-right: 0.75rem;
	font-weight: bold;
	text-shadow: 0 0 5px #fff;
}

h2.affiliates::after {
	content: "\22B0·";
	color: #aeb4b3;
	margin-left: 0.75rem;
	font-weight: bold;
	text-shadow: 0 0 5px #fff;
}

h3 {
    font-family: "Poppins", sans-serif;
    color: #fff;
    letter-spacing: 10px;
    font-weight: normal;
    margin: 2rem 0 1rem 0;
    border-bottom: 1px dashed #806445;
    text-indent: 3rem;
}

aside {
    display: block;
    background: #806445;
    width: 75%;
    margin: 2.5rem auto;
    color: #3c0b0d;
    line-height: 140%;
    padding: 1rem;
    box-shadow: 0px 0px 14px #755651;
    border: 1px solid #000;
    outline: 1px solid #806445;
}

aside a:link,
aside a:visited,
aside a:active {
	color: #fff;
}

aside a:hover, 
aside a:focus {
    color: #e8e7e5;
}

aside b, aside strong {color: #000;}

.codecredit {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 75%;
    letter-spacing: 1px;
    border-top: 1px dotted #432816;
    text-align: right;
    display: block;
    padding-top: 0.36rem;
    width: 100%;
    letter-spacing: 1px;
    line-height: 120%;
    color: #8f7d7c;
}

.codesort img {
    margin: 0 1rem 0.5rem 0;
}

.cliques,
.cliques b,
.cliques strong {
    text-align: center;
    font-size: 100%;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
    margin: 2rem 0;
    font-size: 110%;
    color: #fff;
}

.affs {
    text-align: center;
    font-size: 85%;
    line-height: 160%;
    letter-spacing: 2px;
    margin: 1rem auto;
    display: block;
    width: 90%;
}

.affs img {
    margin: 0.5rem;
    box-shadow: 2px 2px 4px #cab49a;
}

hr {
    margin: 0 1rem 1rem 1rem;
    overflow: visible;
    padding: 0;
    border: none;
    border-top: 2px dotted #80644578;
    color: #806445;
    text-align: center;
}

hr:after {
    content: "\B7✶\B7";
    display: inline-block;
    position: relative;
    top: -0.65rem;
    font-size: 1.5em;
    padding: 0 0.25em;
    background: #431012;
    color: #e8e7e5;
    text-shadow: 0px 0px 3px #cab49a, 0px 0px 5px #b9b4b3, 0px 0px 10px #b9b4b3;
}

footer { grid-area: footer;
max-width: 1202px;
text-align: center;
margin: 3rem auto 1rem auto;
font-family: 'PT Sans Narrow', sans-serif;
font-size: 75%;
letter-spacing: 1px;
color: #8f7d7c;
line-height: 160%;
padding-bottom: 2rem;
}

.dedication {
	font-family: "Sedan", serif;
	letter-spacing: 2px;
	line-height: 130%;
	font-style: italic;
}


.center {text-align: center; display: block;}

a:link,
a:visited,
a:active {text-decoration: none;
color: #bb9b74;
    transition: all 0.25s ease-in-out;}


a:hover {color: #e2ded8;
    transition: all 0.25s ease-in-out;}
