html,
body {
   font-size: 16px; /* base font reset */
   margin: 0;
   background: #695f5a;
   color: #2f1d13;
}



/* scrollbar */

::-webkit-scrollbar {height:10px; width:10px;}
::-webkit-scrollbar-corner {background:#8c7e72;}

::-webkit-scrollbar-track-piece {
    background-color:#695f5a;
    border: 0.1rem solid #695f5a;
}

::-webkit-scrollbar-thumb {
    width:1rem; height:1rem;
    background-color: #8c7e72;
    border: 0.1rem solid #695f5a;
}



.grid-container {
  display: grid;
  grid-template-columns: auto minmax(200px, 908px) auto;
  grid-template-rows: max-content max-content auto max-content;
  grid-template-areas:
    ". header ."
    ". nav ."
    ". main ."
    ". footer .";
  margin: 5rem auto 3rem auto;
  height: 100%;
  width: 809px;
  box-shadow: 5px 5px 25px #403f42;
  background: #d7cbc2;
}

h1 {color: #4b392e;
font-size: 150%;
text-indent: 2rem;
border-bottom: 1px solid #dcd4d1;
letter-spacing: 0.2rem;}

h2 {color: #4b392e;
font-size: 135%;
text-indent: 2rem;
letter-spacing: 0.1rem;
    font-family: 'Quicksand', sans-serif;}

h3 {color: #4b392e;
font-size: 120%;
text-indent: 1rem;
    font-family: 'Quicksand', sans-serif;}


header { grid-area: header; line-height: 0;
  background: #d1b589;}

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

b, strong {color: #515156; }
em, i {color: #66605f; }

a:link,
a:visited,
a:active {text-decoration: none; color: #64523d; border-bottom: solid 1px #dcd4d1;}
a:hover {border-bottom: 0;}

main { grid-area: main;
  background: url(middlebg1.png) left top no-repeat, url(midbg.png) repeat;
  padding: 0.75rem 1.5rem 2rem 1.5rem;
    font-family: 'Libre Baskerville', serif;
    line-height: 185%;
    text-align: justify;}

#theonering {width: auto;
text-align: center;
margin-left: auto;
margin-right: auto;
padding: 0.25rem;
font-size: 125%;
}

#theonering a {margin-left: 0.25rem;
margin-right: 0.25rem;
font-weight: bold;}



nav {
    grid-area: nav;
    text-align: center;
    background: #8c7e72;
    padding: 2rem;
    word-spacing: 3rem;
    font-size: 140%;
    text-transform: uppercase;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
}

nav a:link,
nav a:visited,
nav a:active { text-decoration: none;
color: #e0dbd7;
border-bottom: 0;}

nav a:hover { color: #d6d1cd;
              text-shadow: 0px 0px 10px #32241b;
              }

aside b,
aside strong {color: #ddd3ce;
    font-family: 'Libre Baskerville', serif;}

aside { background: #211c27 url(asidebg.png) right bottom repeat; width: 75%; padding: 0.75rem; text-align: justify; font-size: 120%; margin: 2rem auto 2rem auto; box-shadow: 5px 5px 15px #695f5a;

    font-family: 'Quicksand', sans-serif;}

aside a:link,
aside a:visited,
aside a:active { text-decoration: none; color: #9f917a; border-bottom: 0;}
aside a:hover { color: #af9284; }


footer { grid-area: footer;
    text-align: center;
    background: #b8aea6;
    padding: 1rem;
    line-height: 155%;
    font-size: 75%;
    color: #524034;
    font-family: 'Archivo Narrow', sans-serif;}

footer a:link,
footer a:visited,
footer a:active { border-bottom: 0; color: #100601; }
footer a:hover { color: #525056;}



@media only screen and (max-width: 808px) {

.grid-container {
  width: 80%;
  margin: 3rem auto 1rem auto;
   }

  nav {
    padding: 1rem;
    word-spacing: 2rem;}

}

@media only screen and (max-width: 399px) {

.grid-container {
  width: 100%;
  margin: 0 auto 0 auto;
  box-shadow: none;}


  nav {
    padding: 0.25rem;
    word-spacing: 0.5rem;}

}

