/* fonts */

@font-face {
    font-display: swap;
    font-family: 'Latin Modern Mono';
    font-style: normal;
    font-weight: bold;
    src: url('../font/lmmono-bold.woff');
}

@font-face {
    font-display: swap;
    font-family: 'Latin Modern Mono';
    font-style: italic;
    font-weight: bold;
    src: url('../font/lmmono-bolditalic.woff');
}

@font-face {
    font-display: swap;
    font-family: 'Latin Modern Mono';
    font-style: italic;
    font-weight: normal;
    src: url('../font/lmmono-italic.woff');
}

@font-face {
    font-display: swap;
    font-family: 'Latin Modern Mono';
    font-style: normal;
    font-weight: normal;
    src: url('../font/lmmono-normal.woff');
}

/* roboto-mono-regular - latin */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: normal;
  src: local(''),
       url('../font/roboto-mono-v13-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../font/roboto-mono-v13-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-mono-600 - latin */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: bold;
  src: local(''),
       url('../font/roboto-mono-v13-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../font/roboto-mono-v13-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-mono-italic - latin */
@font-face {
  font-family: 'Roboto Mono';
  font-style: italic;
  font-weight: normal;
  src: local(''),
       url('../font/roboto-mono-v13-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../font/roboto-mono-v13-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-mono-600italic - latin */
@font-face {
  font-family: 'Roboto Mono';
  font-style: italic;
  font-weight: bold;
  src: local(''),
       url('../font/roboto-mono-v13-latin-600italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../font/roboto-mono-v13-latin-600italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* global */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}


time {
    color: gray;
    margin-left: 1rem;
    min-width: 5rem;
}

#wrapper {
    display: flex;
    flex-direction: column;
    font-family: 'Roboto Mono', 'Latin Modern Mono', 'Times New Roman', monospace;
    min-height: 100vh;
    padding: 1rem;
    word-break: break-word;
}

.link {
    color: grey;
    text-decoration: none;
}

.link:hover {
 border-bottom: 1.8px solid grey
}

.citation {
  color: black;
  padding: 10px;
  border: 1px solid;
  margin-bottom: 10px;
  transition: .2s;
  text-decoration: none;
}

.citation:hover {
  color: white;
  background-color: black;
}

.row {
  display: flex;
  flex-direction: row;
}

.column {
  flex: 50%;
}

@media (max-width: 768px) {
  .row {
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
  }
  .column {
    margin: 0 auto;
    display: block;
  }
}

.paginator {
    align-items: flex-end;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 2rem;
}

::-webkit-scrollbar {
    background-color: #FAFAFA;
    height: 8px;
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: #AAAAAA;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #888888;
}

/* header */

#header {
    align-items: center;
    display: flex;
    flex-direction: column;
}

#header > h1 {
    text-align: center;
    font-size: 1.55rem;
}

#header > nav {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    max-width: 600px;
    margin-top: .3rem;
    width: 100%;
}

#header > nav > span > a {
    font-size: 1rem;
}

@media screen and (min-width: 768px) {

  #header > h1 {
      font-size: 2.8rem;
  }

  #header > nav > span > a {
      font-size: 1.2rem;
  }
}



/* main */

#main {
    align-self: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    max-width: 768px;
    padding: 2rem 0;
    width: calc(100% - 2rem);
}

/* footer */

#footer {
    align-items: center;
    display: flex;
    font-size: .7rem;
    flex-direction: column;
}

#footer > .footnote {
    text-align: center;
}
