* {
  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: 55em;
  min-width: 42em;
  font-family: "Montserrat", "Futura", sans-serif;
  line-height: 1.6em;
  color: black; }

#header {
  margin-bottom: 1.5em;
  height: 7em;
  position: relative; }
  #header img#logo {
    height: 7em;
    display: block;
    float: left;
    margin-right: 1.5em; }
  #header p {
    color: #222; }
  #header #icons li, #header #nav li {
    display: inline;
    list-style-type: none; }
  #header #icons {
    position: absolute;
    top: 0;
    right: 0; }
    #header #icons img {
      height: 1em; }
    #header #icons li a {
      padding: 0em 0.1em; }
  #header #nav {
    position: absolute;
    left: 22em;
    bottom: -0.2em;
    color: #222;
    font-size: 1.1em;
    font-weight: bold;
    display: block; }
    #header #nav > a {
      margin-right: 0.5em; }
    #header #nav li {
      transition: all 0.2s ease; }
      #header #nav li a {
        display: inline;
        color: inherit;
        padding: 0em 0.5em; }
      #header #nav li a:hover {
        background: #eee; }
    #header #nav a:hover {
      background: #eee; }
    #header #nav a.disabled {
      color: #ccc;
      cursor: default; }
    #header #nav a.disabled:hover {
      background: transparent; }

.page img {
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5);
  width: 100%;
  display: block; }

.page + .page {
  margin-top: 1.5em; }

#meta {
  font-size: 0.9em;
  padding-top: 0.75em;
  height: 5em;
  color: #222; }
  #meta #left {
    float: left; }
  #meta #right {
    float: right;
    text-align: right; }

#content {
  font-size: 1.1em; }
  #content p, #content ul {
    margin-bottom: 1em; }
  #content li {
    margin-left: 1em; }
  #content h1 {
    font-size: 1.5em;
    font-weight: 900;
    margin-bottom: 0.5em;
    margin-top: 1.5em; }
  #content img {
    width: 100%; }
  #content #pages img {
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5);
    width: calc(50% - 0.76em);
    margin-bottom: 0.75em;
    margin-right: 1.5em;
    display: inline-block;
    transition: all 0.2s ease;
    position: relative; }
  #content #pages a:nth-child(2n) img {
    margin-right: 0; }
  #content #pages img:hover {
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.8);
    transform: scale(1.2);
    z-index: 9; }

#footer {
  padding-top: 1.5em;
  font-size: 1.1em; }
  #footer #references {
    margin-bottom: 3em; }
    #footer #references a {
      width: calc(33.33% - 2em);
      margin-top: 3em;
      margin-right: 3em;
      height: 5em;
      line-height: 5em;
      display: inline-block;
      text-align: center; }
    #footer #references img {
      max-width: 100%;
      max-height: 100%;
      display: inline-block;
      margin: auto;
      vertical-align: middle;
      filter: grayscale(100%);
      transition: all 0.2s ease; }
    #footer #references a:hover img {
      filter: grayscale(0%);
      transform: scale(1.1); }
    #footer #references a:nth-child(3n) {
      margin-right: 0; }
