/* BODY & CONTAINER */

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

.grid-container {
  display: grid;
  grid-template-columns: auto minmax(300px, 1200px) auto;
  grid-template-rows: max-content max-content auto max-content;
  width: 100%;
  grid-template-areas:
    "nav nav nav"
    "header header header"
    ". main ."
    ". footer .";
}

.oneringrotation {
display: block;
margin-right: auto;
margin-left: auto;
}

.centered
{text-align: center;}

.affy
{margin: 1rem;}


/* SCROLLBAR */

::-webkit-scrollbar {height:2rem; width: 1.5rem;}
::-webkit-scrollbar-corner {background:#74aacb;}

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

::-webkit-scrollbar-thumb {
    width:2rem; height:2rem;
    background-color: #74aacb;
    border: 0.3rem solid #a5d4f8;
}


/* HEADER */

header { grid-area: header;
text-align: center;
}

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


/* TEXT LEVEL SEMANTICS */

main a:link,
main a:visited,
main a:active { text-decoration: none;
       color: #235871;
       letter-spacing: 1px;
       -webkit-transition: all 0.2s ease-in-out;
       -moz-transition: all 0.2s ease-in-out;
       -o-transition: all 0.2s ease-in-out;
       -ms-transition: all 0.2s ease-in-out;
       transition: all 0.2s ease-in-out;
       font-weight: 600;
       border-bottom: 1px solid #bcdff9;
       }

main a:hover {text-decoration: none;
       text-shadow: 0 0 3px #6495b4, 0 0 6px #6495b4;
       border: 0;
       color: #fff;
       -webkit-transition: all 0.2s ease-in-out;
       -moz-transition: all 0.2s ease-in-out;
       -o-transition: all 0.2s ease-in-out;
       -ms-transition: all 0.2s ease-in-out;
       transition: all 0.2s ease-in-out;
       font-weight: 600;
          }

p {margin: 0 0 2rem 0;}

p.centre {text-indent: 0;
text-align: center;}

p.noindent {text-indent: 0;}

h1 {
      font-family: 'Libre Baskerville', serif;
      font-size: 170%;
      letter-spacing: 0.25rem;
      color: #416f85;
      text-shadow: 0px 0px 3px #fff, 0px 0px 20px #fff;
      padding-bottom: 0;
      border-bottom: 1px dashed #d5ebfc;
      background: url(h1bg.png) top left no-repeat;
      text-indent: 3rem;
      letter-spacing: 0.2rem;
      margin-bottom: 0.25rem;
}

h1::first-letter {
      color: #fff;
      font-family: 'Parisienne', cursive;
      font-size: 250%;
      color: #416f85;
      font-weight: bold;
      text-shadow: 0px 0px 3px #fff, 0px 0px 20px #fff;
      margin-top: 0;
      letter-spacing: 0.5rem;
      padding-top: 0;
      margin-bottom: 0.25rem;
}

h2 {
      font-family: 'Libre Baskerville', serif;
      font-size: 140%;
      letter-spacing: 0.15rem;
      color: #457ea6;
      padding-bottom: 0;
      letter-spacing: 0.2rem;
      margin-bottom: 0.25rem;
      text-shadow: 0px 0px 3px #fff, 0px 0px 10px #fff;
}

h2::before {
    content: "\2726 ";
    margin-right: 0.5rem;
    font-style: normal;
    color: #80bce1;
      text-shadow: none;
}

h3 {
      font-family: 'Libre Baskerville', serif;
      font-size: 120%;
      letter-spacing: 0.15rem;
      color: #457ea6;
      padding-bottom: 0;
      letter-spacing: 0.2rem;
      margin-bottom: 0.25rem;
}

h3::before {
    content: "\2698 ";
    margin-right: 0.5rem;
    font-style: normal;
    color: #fff;
}

strong {
   color: #3c557a;
      font-family: 'Libre Baskerville', serif;
}

em {
   color: #5e7c92;
}



/* NAVIGATION */

nav { grid-area: nav;
      text-align: center;
      font-size: 230%;
      background:#275973;
      padding: 1rem;
      word-spacing: 2.5rem;}

nav a:link,
nav a:visited,
nav a:active { text-decoration: none;
        color: #c2e1f8;
        text-shadow:  -1px -1px 0 #123456, 1px -1px 0 #123456, -1px 1px 0 #123456, 1px 1px 0 #123456;
        display: inline-block;
        font-family: 'Parisienne', cursive;
        text-transform: lowercase;
        font-weight: bold;
        -webkit-transition: all 0.75s ease-in-out;
        -moz-transition: all 0.75s ease-in-out;
        -o-transition: all 0.75s ease-in-out;
        -ms-transition: all 0.75s ease-in-out;
        transition: all 0.75s ease-in-out;
}

nav a:hover {color: #fff;
        text-shadow:  -1px -1px 0 #457fa7, 1px -1px 0 #457fa7, -1px 1px 0 #457fa7, 1px 1px 0 #457fa7,
        0px 0px 10px #fff, 0px 0px 20px #fff;
        -webkit-transition: all 0.75s ease-in-out;
        -moz-transition: all 0.75s ease-in-out;
        -o-transition: all 0.75s ease-in-out;
        -ms-transition: all 0.75s ease-in-out;
        transition: all 0.75s ease-in-out;
}

/* MAIN */

main { grid-area: main;
         text-align: justify;
         width: auto;
         margin: 0rem auto 1rem auto;
         padding: 0rem 5rem 1rem 5rem;
         font-family: 'Roboto', sans-serif;
         font-size: 92%;
         line-height: 180%;
         color: #2d4b62;
}


blockquote {display: block;
      width: 75%;
      font-family: 'Libre Baskerville', serif;
      font-size: 110%;
      line-height: 200%;
      margin: 1rem auto 2rem auto;
      text-align: justify;
      color: #1e536c;
      }

.cite {display: block;
text-align: right;
font-size: 90%;
margin-top: 0.5rem;
color: #7899a8;
}


/* FOOTER */

footer { grid-area: footer;
width: 78%;
text-align: center;
margin: 2rem auto 2rem auto;
font-family: 'Asap Condensed', sans-serif;
font-size: 66%;
color: #5774a1;
line-height: 150%; }

footer a:link,
footer a:visited,
footer a:active { text-decoration: none;
color: #1d546d;
}

footer a:hover {color: #020f18;
      -webkit-transition: all 0.2s ease-in-out;
      -moz-transition: all 0.2s ease-in-out;
      -o-transition: all 0.2s ease-in-out;
      -ms-transition: all 0.2s ease-in-out;
      transition: all 0.2s ease-in-out;
}



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

      something {}
}


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

      something {}

}

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

      something {}
}

