/* ---------------------------------------------------------
   Template stylesheet
   ---------------------------------------------------------*/
body {
  font-family: Helvetica, Verdana, sans-serif;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

div.wrap {
  width: 90%;
  margin: 0 auto 0 auto;

}
/*  Navigation area */
/*  Much of this taken from w3bits.com */
.menu {
  margin: 0;
  padding: 0;
}
.menu li {
  margin: 0;
}
.sitenav .menu {
  display: flex;
  font-size: 1.2rem;
}
/* make the nav work with flex */

.sitenav {
  line-height: 1;
  background-color: #eee;
}
/* The flex-grow means the header expands to fill the available space */
.nav-header {
  flex-grow: 1;
}
.sitenav .menu a,
.sitenav .menu li {
  display: inline-block;
}
.sitenav .menu a {
  padding: 1em;
  color: currentColor;
}
.sitenav .menu li {
  border-width: 0 0 1px;
  border-style: solid;
  color: rgba(0, 0, 0, .5);
  border-color: rgba(255, 255, 255, .5);
}
.sitenav .menu li:hover > a,
.sitenav .menu li:focus > a,
.sitenav .menu li:active > a {
  color: rgba(0, 0, 0, .5);
  background-color: rgba(0, 0, 0, .05);
}
/* -------------------------------------------------
 * Inline elements
 * ------------------------------------------------- */
dfn {
  font-style: italic;
}
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
a,
a:visited {
  color: #93291b;
  text-decoration: none;
}
a:hover {
  text-decoration: underline
}
abbr[title] {
  cursor: help;
  border-bottom: 1px dotted #777;
  text-decoration: dotted; /* this resets the normalize version */
}
mark {
  padding: .2em;
  background-color: #fcf8e3;
}
small {
  font-size: 85%;
}
/*  Other common elements */
blockquote {
  padding: 0.6rem 1.2rem;
  margin: 0 0 1.2rem;
  font-size: 1.1em;
  border-left: 0.3rem solid #eee;
}
figure {
  margin: 1rem 2rem;
}
p {
  margin-bottom: 1rem;
  line-height: 1.3rem;
}
footer {
  display: flex;
  flex-direction: column;
}
footer h3,
footer h4 {
  margin: auto;
}
footer.sitefooter {
  margin-left: 2rem;
}
ul,
ol {
  margin-top: 0;
  margin-bottom: 0.5rem;
}
ul ul,
ol ul,
ul ol,
ol ol {
  margin-bottom: 0;
}
dl {
  margin-top: 0;
  margin-bottom: 1.5rem;
}
dt,
dt {
  font-weight: bold;
}
dd {
  margin-left: 0;
}
h1 {
  color: #808080;
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 100;
  line-height: 4rem;
  letter-spacing: 0.5rem;
  padding: 0 0 2rem;
  border-bottom: double #555;
}

/* ---------------------------------------------------------
 * Media queries for responsive design
 * --------------------------------------------------------- */
/* 
 */
@media only screen and (min-width : 768px) {
  h1 {
    font-size: 46px;
  }
  /*  Grid  */
  .articleheader {
    grid-area: header;
  }
  .articlecontent {
    grid-area: content;
  }
  .back {
    grid-area: back;
  }
  article {
    display: grid;
    width: 90%;
    margin: 0 auto 0 auto;
    grid-template-columns: 1fr 3fr;
    gap: 2rem;
    grid-template-areas: "header header" ". content" "back back";
  }
}
@media screen and (max-width : 767px) {
  h1 {
    font-size: 36px;
  }
  /*  Grid  */
  .articleheader {
    grid-area: header;
  }
  .articlecontent {
    grid-area: content;
  }
  .back {
    grid-area: back;
  }
  aside {
    grid-area: sidebar;
  }
  article {
    display: grid;
    width: 90%;
    margin: 0 auto 0 auto;
    grid-template-areas: "header" "sidebar" "content" "back";
  }
  .site {
    display: none;
  }
  img {
    max-width: 480px;
    height: auto;
  }
}

@media only screen and (min-width : 1200px) {
/* Baseline */
  .sitenav .menu {
    display: flex;
  }
  .sitenav .menu > li {
    border-width: 0 1px 0 0;
  }
  .sitenav .menu > li > a {
    padding: 1.25em 1.5em;
  }
}
/* ---------------------------------------------------------
   Print styles
   ---------------------------------------------------------*/
@media print {
  * {
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    background: transparent !important;
  }
  html {
    background-color: #fff;
  }
  /* Hide navigation */
  nav {
    display: none;
  }
  /* Show link destinations in brackets after the link text */
  a[href]:after {
    content: " (" attr(href) ") ";
  }
  a[href] {
    font-weight: bold;
    text-decoration: underline;
    color: #06c;
    border: none;
  }
  /* Don't show link destinations for JavaScript or internal links */
  a[href ^= "javascript:"]:after,
  a[href ^= "#"]:after {
    content: "";
  }
  /* Show abbr title value in brackets after the text */
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  figure {
    margin-bottom: 1em;
    overflow: hidden;
  }
  figure img {
    border: 1px solid #000;
  }
}