
:root {
  --primary: rgba(12, 12, 10, 0.8);
  --highlight: #a3ffa0;
}

@font-face {
    font-family: "Catamaran";
    src: url("/fonts/catamaran-black.woff2") format("woff2"),
         url("/fonts/catamaran-black.woff") format("woff");
    font-weight: 800;
    font-style: normal;
}
@font-face {
  font-family: "Open Sans";
  src: url("/fonts/OpenSans-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Open Sans";
  src: url("/fonts/OpenSans-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: "Open Sans";
  src: url("/fonts/OpenSans-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

html {
  font-size: 100%;
  text-rendering: optimizeLegibility;
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  line-height: 1.5;
}
body {
  max-width: 60rem;
  margin: 0 auto;
  color: var(--primary);
}
main {
  margin: 0.6rem;
}
header {
  border: var(--primary) solid 5px;
  padding: 0 0 0.3rem 0.6rem;
  background: var(--primary);
  border-radius: 5px 5px 0 0;
}
h1 {
  font-family: Catamaran, sans-serif;
  font-weight: 800;
  font-size: 4em;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
}
header > p {
  color: #fff;
  text-transform: uppercase;
  font-size: 1.4rem;
  margin: 0;
  letter-spacing: 0.1em;
  padding-left: 1.2rem;
}
#meta {
  display: flex;
  border: var(--primary) solid 5px;
  border-top: 0;
  border-radius: 0 0 5px 5px;
  margin-top: 0;
}
#meta img {
  max-width: 100%;
}
section {
  padding: 0 0.6rem;
  margin-top: 3em;
}
section p, section li {
  font-size: 1.1rem;
}
a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
  transition: background .25s;
  border-bottom: 1px solid var(--highlight);
  box-shadow: inset 0 -2px 0 var(--highlight);
}
a:hover, a:focus {
  background-color: var(--highlight);
}
h2 {
  font-size: 2em;
  font-weight: normal;
  border-bottom: 1px solid var(--primary);
  border-left: 5px solid var(--primary);
  border-top-left-radius: 5px;
  padding-left: 0.6rem;
  margin: 0 -0.6rem 1rem -0.6rem;
}
section:target > h2 {
  border-left-color: var(--highlight);
}
ul {
  margin: 0 1.2rem 0.6rem 1.5rem;
  list-style-type: none;
  padding: 0;
}
main::after {
  content: "\220e";
  font-size: 2em;
  display: block;
  text-align: right;
  color: var(--highlight);
  margin: 3rem 0.6rem;
}

#revue-embed {
  border: var(--primary) solid 5px;
  border-radius: 5px;
  padding: 0.3rem 0.6rem;
}
#revue-embed label {
  font-weight: bold;
}
#revue-embed input[type="text"],
#revue-embed input[type="email"] {
  width: 90%;
  margin-bottom: 1rem;
}
.revue-form-actions {
  width: 90%;
  margin-bottom: 1rem;
  text-align: right;
}
#revue-embed input[type="submit"] {
  border: 0;
  font: inherit;
  background: var(--highlight);
  cursor: pointer;
}
.revue-form-footer {
  width: 90%;
  text-align: right;
  font-size: 0.7rem;
}

@media screen and (max-width: 699px) {
  #meta {
    display: block;
  }
  h1 {
    font-size: 2em;
  }
}

@media print {
  html {
    font-size: 70%;
  }
  body {
    max-width: none;
  }
  a, a:focus {
    border: none;
    box-shadow: initial;
    background: none;
  }
  p a::after {
    content: " (" attr(href) ")";
  }
  main::after {
    color: #aaa;
    margin: 1rem 0.6rem;
  }
  h2 {
    page-break-after: avoid;
  }
}
