:root {
  --grape:#701939;
  --cream:#FDDCBF;
  --pink:#CB7885;
  --darkgreen: #5e6623;
  --background0: var(--darkgreen);
}

@font-face {
  font-family: CharisW;
  font-weight: 200;
  src: url(Charis-Regular.woff2);
}
@font-face {
  font-family: runethia;
  font-weight: 400;
  src: url(Runethia.otf);
}

body {
  font-size: 1.4em;
  padding-left: 1vw;
  padding-right: 1vw;
  padding-top: 0;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 95vw;
  min-height: 100%;
  z-index: -10000; -webkit-font-smoothing: subpixel-antialiased;
  color: var(--foreground0);
  background-color: var(--background0);
  font-family: CharisW, serif;
}

details > p {
  padding-left: 1em;
}

p {
  padding-bottom: 0.5em;
}

.article-header {
  display: flex; 
  flex-direction: row; 
  justify-content: space-between; 
  flex-wrap: wrap;
}
article {
  --max-width: min(95vw, 70em) !important;
  max-width: var(--max-width);
  align-self: center;
  padding-left: calc(0.5 * (100vw - var(--max-width)));
  color: var(--cream);
}
header {
  color: var(--pink);
  /*background-color: var(--grape);*/
}

h1, h2, h3, h4, h5 {
  padding-top: 1em;
}


a {
  text-decoration: underline;
  color: var(--cream);
}
a:hover {
  background-color: var(--pink)
}

.landing-zone {
  background-image: url('av-long.jpg');
  text-align: center;
  margin: auto auto;
  width: 95vw;
  aspect-ratio: 800 / 369;
  background-size: contain;
  background-repeat: no-repeat;
  display:flex;
  flex-direction: column;
  align-items:center;
  align-content: flex-start;
  justify-items: center;
  white-space: nowrap;
  color: var(--grape);
  font-size:1cqw;
}
.landing-zone > div > b {
  font-size: 2em;
}
.fancy {
  font-family: runethia, sans-serif;
  color: var(--pink);
  padding: 0;
  font-size: 8em;
  width: 100%;
  margin: 0;
}

.landing-zone > h2 { 
  padding: 0;
  font-size: 4em;
  margin-top: 1rem;
}
.landing-zone > div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  width: min(30em, 100%);
}

/* nav styling */
nav {
  width: 100%;
  background-color: var(--grape);
  color: var(--cream);
  text-align: right;
  font-size: 1.3em;
  position: sticky;
  top: 0;
  flex-direction: row;
  display:flex;
  justify-content:space-between;
  row-gap: 20px;
}
.nav-items {
  display: flex;
  flex-direction:row-reverse;
  flex-wrap:wrap;
  justify-content: flex-end;
  list-style: none !important;
  padding: 0;
  margin: 0;
}
.nav-items > li > a{
  padding: 0 1em 0 1em;
  font-style:normal;
  font-weight: normal;
  text-wrap: nowrap;
  font-variant: small-caps;
  text-decoration: none;
}

.checkbtn {
  color: white;
  cursor: pointer;
  display: none;
}

#nav-open{
  display: none;
}

@media (max-width: 768px) {
  nav {
    font-size: 1em;
  }
  .checkbtn {
    display: block;
    order: 1;
  }
  .nav-items  {
    text-decoration: none;
    position: fixed;
    right: -150%;
    display: flex;
    background-color: var(--darkgreen);
    flex-direction: column-reverse;
    justify-content: flex-end;
    align-items: flex-end;
    transition: all 0.3s;
    width: 100vw;
    height: 90vh;
  }
  .nav-items {
    padding: 0 0.3em;
  }

   #nav-open:checked ~ ul {
      right: 0;
  }
  .nav-items > li > a {
    text-wrap: wrap;
  }
  .landing-zone {
    background-image: url('av-tall.jpg');
    text-align: center;
    width: 95vw;
    background-size: cover;
    overflow: visible;
    aspect-ratio: 599/800;
    background-repeat: no-repeat;
    display:flex;
    flex-direction: column;
    align-items:center;
    align-content: flex-start;
    justify-items: center;
    white-space: wrap;
    color: var(--grape);
    font-size: 1.5em;
  } 
  .landing-zone > div > b {
    font-size: 0.6em;
  }
  .fancy {
    font-family: runethia, sans-serif;
    color: var(--pink);
    padding: 0;
    font-size: 1.3em;
    width: 100%;
    margin: 0;
    padding: 1em 0;
  }

  .landing-zone > h2 { 
    font-size: 1em;
    padding: 0;
  }
  .landing-zone > div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
  }
}

