/* http://meyerweb.com/eric/tools/css/reset/
   v5.0.1 | 20191019
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, menu, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}

/* HTML5 hidden-attribute fix for newer browsers */
*[hidden] {
  display: none;
}

body {
  line-height: 1;
}

menu, ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

html, body {
  min-height: 100vh;
}

* {
  position: relative;
}

html, body {
  font: 1rem "Verdana", sans-serif;
}
html *, body * {
  font: inherit;
}

header {
  background-color: #3949ab;
  display: flex;
  flex-direction: column;
  padding: 0 3rem;
  border-radius: 0 0 1rem 1rem;
}
header h1 {
  color: white;
  margin: 0 auto;
  display: inline-block;
  font: 300 3rem "Raleway", "Arial", sans-serif;
  padding: 5rem 0;
}

nav .main-menu a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.87) !important;
  font: 600 1.2rem "Raleway", "Arial", sans-serif;
}
nav .main-menu a.active {
  color: white !important;
}
nav .breadcrumb a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.87) !important;
  font: 600 1.2rem "Raleway", "Arial", sans-serif;
}
nav .breadcrumb a.active {
  color: rgba(0, 0, 0, 0.54) !important;
}

ul, ol, p, table, h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
}

p {
  text-indent: 2rem;
}

.subpages,
.images {
  display: grid;
  grid-template-columns: repeat(auto-fill, 200px);
  grid-gap: 0.5rem;
  justify-content: space-between;
}

main h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}
main h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
main h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
main h4 {
  font-size: 2rem;
  margin: 0.7rem 0;
}
main h5 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: rgba(0, 0, 0, 0.54);
}
main h6 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: rgba(0, 0, 0, 0.54);
}
main strong {
  font-weight: bold;
}
main cite {
  font-style: italic;
}
main div.quests {
  max-width: 100%;
  overflow: scroll;
}
main li {
  margin-left: 3rem;
  list-style-type: disc;
}
main a.card {
  text-decoration: none;
}
main table {
  background-color: rgba(0, 0, 0, 0.1);
  table-layout: fixed;
  border-radius: 1rem;
  border-collapse: collapse;
  margin-bottom: 1rem;
  max-width: 100%;
  overflow: scroll;
}
main table th, main table td {
  padding: 0.3rem 0.5rem;
  font-size: 1rem;
}
main table tr {
  border-bottom: 3px solid white;
}
main table tr th:empty {
  display: none;
}
main table tbody tr:last-child {
  border-bottom: 0;
}

.prev-next-wrapper {
  display: flex;
  flex-direction: row;
  width: 100%;
}
.prev-next-wrapper.footer {
  margin: 1rem 0;
}
.prev-next-wrapper .prev-link::before {
  content: "< ";
}
.prev-next-wrapper .next-link {
  margin-left: auto;
}
.prev-next-wrapper .next-link::after {
  content: " >";
}
.prev-next-wrapper .year-link {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  margin-top: -2.2rem;
}