:root {
  --bg: #EEEEEE;
  --body: #0D1B1E;
  --title: #704863;
  --link-visited: #477055;
  --link-hover: #7a5e21;
  --link: #477055;
  --font-size: 18pt;
  --font-size-small: 16pt;
}

@font-face {
    font-family: 'vollkorn';
    src: url('fonts/vollkorn-regular-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'vollkorn';
    src: url('fonts/vollkorn-semibold-webfont.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'vollkorn';
    src: url('fonts/vollkorn-italic-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'vollkorn';
    src: url('fonts/vollkorn-semibolditalic-webfont.woff2') format('woff2');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'atkinson';
    src: url('fonts/AtkinsonHyperlegibleNext-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'atkinson';
    src: url('fonts/AtkinsonHyperlegibleNext-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'atkinson';
    src: url('fonts/AtkinsonHyperlegibleNext-RegularItalic.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'atkinson';
    src: url('fonts/AtkinsonHyperlegibleNext-BoldItalic.woff2') format('woff2');
    font-weight: bold;
    font-style: italic;
}

* {
  margin: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  font-family: "atkinson";
}

body {
  background-image: url('images/bg.webp');
  height: 100%;
  font-size: var(--font-size);
  color: var(--body);
}

:is(h1, h2, h3, h4, h5, h6) {
    color: var(--title);
    font-family: "vollkorn";
}

h1 {
  font-size: 36pt;
}

h2 {
  font-size: 32pt;
}

a {
  color: var(--link);
}

a:visited {
  color: var(--link-visited);
}

a:hover {
  color: var(--link-hover);
}

.logo {
  max-width: 100%;
  max-height: 96pt;
  filter: brightness(0) saturate(100%) invert(32%) sepia(8%) saturate(2089%) hue-rotate(267deg) brightness(91%) contrast(87%);
}

.center {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.homeMain {
  background-color: var(--bg);
  border: 4px dashed var(--title);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16pt;
}

.main {
  background-color: var(--bg);
  border-right: 4px dashed;
  border-left: 4px dashed;
  border-color: var(--title);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 16ch auto;
  gap: 0px;
  margin: auto;
  min-height: 100%;
  padding-top: 16pt;
  padding-bottom: 16pt;
}

.navigator {
  grid-area: menu;
  margin-left: 16pt;
  margin-right: 16pt;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.navigator img {
  width: 100%;
  margin-bottom: 0.5em;
}

.navigatorLinks {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  padding: 0.5em;
  border: 4px dashed var(--title);
}

.homeMain .navigatorLinks {
  flex-direction: row;
  border: none;
}

.navigatorLinks a {
  margin: 0.25em;
}

.content {
  grid-area: main;
  padding: 16pt;
}

.content .smallText {
  font-size: var(--font-size-small)
}

.content .header {
  margin-bottom: var(--font-size);
}

.content .header .date {
  font-size: var(--font-size-small);
  margin-bottom: var(--font-size);
}

.content .photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.content .photo img {
  width: 100%;
  object-fit: contain;
}

.content .preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: var(--font-size-small);
  text-align: center;
  margin-bottom: 1em;
}

.content .preview img {
  max-height: 320pt;
  object-fit: contain;
  max-width: 100%
}

.content p {
  margin-bottom: 1em;
  line-height: 1.6em;
}

.content ol {
  line-height: 1.6em;
  margin-bottom: 1em;
}

@media only screen and (max-width: 600px) {
  .homeMain h1 {
    font-size: 28pt;
  }

  .main {
    width: 95%;
    grid-template-columns: 100%;
  }

  .navigator {
    grid-area: 1 / span 1;
    margin-left: auto;
    margin-right: auto;
  }

  .navigatorLinks {
    flex-direction: row;
    max-width: 75%;
    align-items: center;
    justify-content: center;
  }

  .content {grid-area: 2 / span 4}
}

@media only screen and (min-width: 600px) {
  .main {max-width: 95%};
  .navigator {grid-area: 1 / span 1}
  .content {grid-area: 1 / span 1}
}

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

@media only screen and (min-width: 1096px) {
  .main {max-width: 1024px};
}