@font-face {
  font-family: "Inconsolata";
  src: url("/assets/fonts/Inconsolata.otf"); }
* {
  margin: 0;
  padding: 0;
  font-size: inherit; }

a {
  text-decoration: none;
  color: #57a3e8;
  transition: all 0.2s ease; }

a:hover {
  color: #222; }

body {
  margin: 0 auto;
  padding: 1.5em;
  max-width: 48em;
  font-family: "Open Sans", sans-serif;
  line-height: 1.6em;
  overflow-y: scroll;
  color: #3a4145; }

code {
  font-family: "Inconsolata", monospace;
  font-size: 1.3em; }

#nav {
  float: left;
  width: 8em;
  margin-top: 3em;
  margin-right: 4em;
  position: fixed;
  text-align: right;
  color: #222; }
  #nav > a {
    margin-right: 0.5em; }
  #nav img {
    vertical-align: bottom;
    margin-bottom: 0;
    height: 5em;
    transition: transform 0.4s ease-in-out; }
  #nav img:hover {
    transform: rotate(14deg); }
  #nav ul {
    margin-top: 1.3em;
    margin-right: 0.5em;
    font-size: 1.1em;
    font-weight: bold; }
  #nav li {
    list-style-type: none;
    transition: all 0.2s ease; }
    #nav li a {
      display: inline;
      color: inherit;
      padding: 0em 0.3em; }
    #nav li a:hover {
      background: #eee; }
  #nav li.current a {
    color: white;
    background: #222; }

#content {
  margin-bottom: 3em;
  margin-top: 3em;
  max-width: 36em;
  float: right; }
  #content p {
    -hyphens: auto;
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    text-align: justify; }
  #content p, #content ul, #content ol, #content pre, #content hr, #content dl {
    margin-bottom: 1em; }
  #content h1, #content h2, #content h3, #content h4 {
    color: #222;
    line-height: 1;
    font-family: "Bree Serif", serif; }
  #content h2, #content h3, #content h4 {
    margin-top: 2em;
    margin-bottom: 1em; }
  #content li, #content pre {
    margin-left: 2em; }
  #content li {
    margin-bottom: 0.5em; }
  #content ul {
    list-style-type: disc; }
  #content ol {
    list-style-type: decimal; }
  #content pre {
    font-size: 0.75em;
    white-space: pre-wrap; }
  #content blockquote {
    margin-left: 1em;
    margin-right: 1em; }
    #content blockquote small {
      font-style: italic; }
  #content dt {
    font-weight: bold; }
  #content dd {
    margin-left: 1em; }
  #content .underline {
    text-decoration: underline; }
  #content hr {
    border: none;
    text-align: center; }
  #content hr:after {
    content: "...";
    letter-spacing: 0.6em; }
  #content img {
    max-width: 100%;
    display: block;
    margin: auto; }
  #content iframe {
    margin: 1em 0; }
  #content a.titlepage {
    display: inline-block;
    box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.4);
    vertical-align: middle;
    margin: 0.5em;
    background: white; }
    #content a.titlepage img {
      max-width: 16.5em;
      max-height: 30em;
      margin: 0; }
  #content a.titlepage:hover {
    box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.8); }
  #content h1 {
    font-size: 2.2em; }
    #content h1 a {
      color: inherit; }
  #content h2 {
    font-size: 1.5em; }
  #content th {
    text-align: left;
    padding-right: 1em; }
  #content td {
    vertical-align: top;
    font-size: 80%;
    padding-right: 1em; }
  #content table {
    margin-bottom: 1em; }
  #content .subtitle {
    font-family: "Bree Serif", serif;
    font-style: italic;
    margin-bottom: 0.2em; }
  #content .meta {
    font-size: 0.8em;
    margin-bottom: 1.875em;
    color: #9eabb3; }
    #content .meta a {
      color: inherit; }
    #content .meta a:hover {
      color: #3a4145; }
  #content #intro {
    margin-bottom: 2em;
    line-height: 1.4em; }
    #content #intro .filter a {
      border-bottom: 1px dashed; }
    #content #intro img {
      float: left;
      max-width: 100%;
      max-height: 11em;
      padding-right: 1em; }
  #content #search {
    clear: both;
    margin-bottom: 1em; }
    #content #search #morr-search {
      padding: 0.4em;
      font-size: 1.2em; }
    #content #search #morr-clear {
      font-size: 1.5em;
      vertical-align: middle; }
  #content .boxes {
    margin: -0.75em;
    padding-top: 1.75em;
    padding-bottom: 2.75em;
    overflow: auto;
    transition: all 0.2s ease; }
  #content .box:hover {
    box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.8); }
    #content .box:hover .meta {
      height: auto !important;
      margin-top: 0.6em !important;
      top: 0 !important; }
  #content .box {
    position: relative;
    box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.4);
    float: left;
    width: 11em;
    height: 11em;
    margin: 0.75em;
    overflow: hidden;
    transition: all 0.2s ease; }
    #content .box > a > img {
      width: 100%;
      height: 9em;
      object-fit: cover;
      object-position: 50% 50%; }
    #content .box .info {
      display: block;
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 0.5em;
      box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.4);
      background: white; }
      #content .box .info h2 {
        font-size: 1.0em;
        font-family: "Open Sans", sans-serif;
        color: #3a4145;
        margin-top: 0;
        margin-bottom: 0; }
      #content .box .info h3 {
        font-size: 0.8em;
        font-family: "Open Sans", sans-serif;
        font-weight: normal;
        color: #9eabb3;
        margin-top: 0.6em;
        margin-bottom: 0;
        font-style: italic; }
      #content .box .info .meta {
        font-size: 0.8em;
        line-height: 90%;
        height: 0;
        margin-top: 0.6;
        margin-bottom: 0;
        transition: all 0.2s ease;
        position: relative;
        top: 0.6em;
        color: #3a4145; }
    #content .box > a {
      height: 100%; }
  #content .flag {
    height: 0.6em;
    width: auto;
    display: inline; }
  #content .spoiler {
    background: #3a4145; }

#about {
  font-size: 0.8em;
  padding-top: 0.5em; }

@media screen and (max-width: 53em) {
  #nav {
    position: relative;
    float: none;
    width: 100%;
    max-width: 36em;
    margin-right: 0;
    text-align: center;
    margin-left: auto;
    margin-right: auto; }
    #nav ul {
      display: inline; }
    #nav li {
      display: inline; }

  #content {
    float: none;
    margin-left: auto;
    margin-right: auto; } }
