@font-face {
  font-family: Communist;
  src: url('/static/communist_regular_ubasic/COMMUNIS-webfont.woff') format('woff');
}

@font-face {
  font-family: Communist;
  src: url('/static/communist_italic_ubasic/COMMI___-webfont.woff') format('woff');
  font-style: italic;
}

@font-face {
  font-family: FreeBaskerville;
  src: url('/static/freebaskerville/freebaskerville-regular-webfont.woff2') format('woff2'),
       url('/static/freebaskerville/freebaskerville-regular-webfont.woff') format('woff');
}

@font-face {
  font-family: FreeBaskerville;
  src: url('/static/freebaskerville/freebaskerville-bold-webfont.woff2') format('woff2'),
       url('/static/freebaskerville/freebaskerville-bold-webfont.woff') format('woff');
  font-weight: 700;
}

@font-face {
  font-family: FreeBaskerville;
  src: url('/static/freebaskerville/freebaskerville-italic-webfont.woff2') format('woff2'),
       url('/static/freebaskerville/freebaskerville-italic-webfont.woff') format('woff');
  font-style: italic;
}

header:before {
  content: "G";
  position: fixed;
  top: 0;
  left: 0;
  width: 3rem;
  height: 3rem;
  background-color: #76ff76;
  color: #660000;
  font-family: Impact,sans;
  font-size: 2.6rem;
  text-align: center;
  line-height: 4rem;
  text-decoration: none;
}

@media screen and (width >= 900px) {
  body {
    display: grid;
    grid-template-columns: auto 16rem;
    margin-top: 12rem;
    max-width: 1100px;
  }
  body > header {
    grid-row: 1;
    grid-column: 1;
    padding-bottom: 12rem;
  }
  body > nav {
    grid-row: 1 / span 2;
    grid-column: 2;
    padding-top: 8rem;
  }
  body > nav aside {
    margin-bottom: 21rem;
  }
  body > main {
    grid-row-start: 2;
    grid-column: 1;
    margin: 0 3.5rem 0 0.5rem;
  }
  body > footer {
    grid-row: 3;
    grid-column: 1 / span 2;
    margin-top: 5rem;
  }
}
@media screen and (width < 900px) {
  body > header { margin-left: 1rem; }
  #endeavor { margin-bottom: 3rem; }
}

body {
  font-family: FreeBaskerville, serif;
}

body > header h1 {
  font-family: Communist, serif;
  margin-bottom: 0;
  letter-spacing: 0.16rem;
}
body > header h1:after {
  content: '.';
}

body > header h2 {
  font-family: Communist;
  font-style: italic;
  letter-spacing: 0.1rem;
}

header aside img {
  height: 65px;
  width: 65px;
}

body > nav h3 {
  font-family: Communist;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
    color: #7a000d;
}
body > nav h3 a {
  color: #7a000d;
}

body > nav aside ul {
  list-style: none;
  padding-left: 0;
}

body > nav aside ul a {
  color: #888;
  font-style: italic;
}

#endeavor {
  list-style:none;
}

#endeavor dd {
  padding-left: 0;
  margin-left: 0;
  margin-bottom: 1rem;
  color: #888;
  font-style: italic;
  font-size: 90%;
}

ol {
  padding-left: 0;
  list-style: none;
}

ol li article {
  line-height: 1.38rem;
  margin-bottom: 2rem;
}

h3.entry-title {
  margin: 0 0 1rem;
  font-family: Communist;
  font-size: 1.6rem;
}

main article section {
  font-size: 94%;
  line-height: 153%;
}

main article section code {
  font-size: 120%;
  background-color: #eee;
}

main article aside {
  font-size: 70%;
  margin-bottom: 1.8rem;
}

#content { line-height: 1.48rem; }

main article aside a,
header nav a {
  text-decoration: none;
}
main article aside a:hover,
header nav a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  margin: 1.5rem 0 2rem 0;
  font-size: 70%;
}
