@font-face {
  font-family: 'Megrim';
  src: url(/media/font/Megrim-Regular.ttf);
}
@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 100;
  src: url(/media/font/Dosis-ExtraLight.ttf);
}
@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 200;
  src: url(/media/font/Dosis-Light.ttf);
}
@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 300;
  src: url(/media/font/Dosis-Regular.ttf);
}
@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 400;
  src: url(/media/font/Dosis-Medium.ttf);
}
@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 500;
  src: url(/media/font/Dosis-SemiBold.ttf);
}
@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 600;
  src: url(/media/font/Dosis-Bold.ttf);
}
@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 700;
  src: url(/media/font/Dosis-ExtraBold.ttf);
}
/* defaults */
html {
  box-sizing: border-box;
  font-size: 100%;
  font-family: Dosis, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: 400;
  color: var(--ivory);
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
body {
  background: var(--noir);
  margin: 0;
  color: var(--ivory);
  --emerald: #1f6f5b;
  --sapphire: #1c3f8a;
  --amethyst: #5d2d86;
  --bevel: polygon(1rem 0, calc(100% - 1rem) 0, 100% 1rem, 100% calc(100% - 1rem), calc(100% - 1rem) 100%, 1rem 100%, 0 calc(100% - 1rem), 0 1rem);
  --notches: polygon(0 0.5rem, 0.5rem 0.5rem, 0.5rem 0, calc(100% - 0.5rem) 0, calc(100% - 0.5rem) 0.5rem, 100% 0.5rem, 100% calc(100% - 0.5rem), calc(100% - 0.5rem) calc(100% - 0.5rem), calc(100% - 0.5rem) 100%, 0.5rem 100%, 0.5rem calc(100% - 0.5rem), 0 calc(100% - 0.5rem));
}
h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}
a {
  color: var(--ivory);
  font-weight: 600;
  text-decoration: none;
}
a:hover {
  color: var(--gold);
}
img {
  max-width: 100%;
  display: block;
}
/* colors */
.emerald {
  --geode: #083d2e;
  --gem: #1f6f5b;
  --gold: #d4af37;
  --ivory: #f3e9d2;
  --noir: #111217;
}
.emerald-backed {
  background-color: #1f6f5b;
}
.sapphire {
  --geode: #0a1b3d;
  --gem: #1c3f8a;
  --gold: #c7a34b;
  --ivory: #e8e2d6;
  --noir: #23242b;
}
.sapphire-backed {
  background-color: #1c3f8a;
}
.amethyst {
  --geode: #1a1024;
  --gem: #5d2d86;
  --gold: #d6b04c;
  --ivory: #f2e8db;
  --noir: #2e2a33;
}
.amethyst-backed {
  background-color: #5d2d86;
}
.geode {
  color: var(--geode);
}
.gem {
  color: var(--gem);
}
.gold {
  color: var(--gold);
}
.ivory {
  color: var(--ivory);
}
.noir {
  color: var(--noir);
}
.geode-backed {
  background-color: var(--geode);
}
.gem-backed {
  background-color: var(--gem);
}
.gold-backed {
  background-color: var(--gold);
}
.ivory-backed {
  background-color: var(--ivory);
}
.noir-backed {
  background-color: var(--noir);
}
/* header */
header {
  height: 3.5rem;
  background-color: var(--geode);
  display: flex;
  flex-direction: row;
  gap: 1rem;
  transition: 0.2s;
  justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
}
header.active,
header:hover {
  opacity: 1;
  background-color: var(--gem);
  transition: 0.2s;
}
.perma-vis {
  position: absolute;
  top: 1rem;
  left: 1rem;
  height: 5rem;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  text-decoration: none;
  color: var(--ivory);
}
.perma-vis h1 {
  font-size: 2rem;
  font-family: 'megrim', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  pointer-events: none;
  height: fit-content;
}
.homeboy {
  height: 5rem;
}
.homeboy img {
  height: 100%;
  border-radius: 50%;
  border: 0.15rem solid var(--geode);
}
.site-links {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
.site-links .site-link {
  font-size: 1.25rem;
}
.site-links .site-link:hover {
  color: var(--gold);
}
/* color options */
.color-options {
  display: flex;
  flex-direction: row;
  gap: 0.25rem;
}
.color-options .color-option {
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 50%;
  border: 1px solid var(--ivory);
  cursor: pointer;
}
/* main content */
.page-content {
  max-width: calc(960px - 4rem);
  padding: 2rem;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1.5rem;
}
svg.background {
  z-index: -1;
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
}
svg.background polygon {
  fill: none;
  stroke-width: 3;
}
svg.background polygon.geode {
  stroke: var(--geode);
}
svg.background polygon.gem {
  stroke: var(--gem);
}
svg.background polygon.gold {
  stroke: var(--gold);
}
article {
  position: relative;
  padding: 1rem;
  filter: drop-shadow(0.25rem 0.25rem var(--gem));
  font-size: 1rem;
  color: var(--noir);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
article::after {
  position: absolute;
  background-color: var(--ivory);
  z-index: -1;
  inset: 0;
  content: '';
  clip-path: var(--bevel);
}
article a {
  color: var(--gem);
}
article a:hover {
  color: var(--geode);
}
article .sidenote {
  font-style: italic;
  color: var(--geode);
}
article img {
  max-width: 50%;
  margin: 0 auto;
  clip-path: var(--bevel);
}
article .img-container {
  max-width: 50%;
  margin: 0 auto;
}
article .img-container::before {
  display: flex;
  position: relative;
  content: '';
  height: 100%;
  width: 100%;
  box-shadow: 25px 25px 50px 0 white inset, -25px -25px 50px 0 white inset;
}
article .btn-link {
  background-color: var(--gem);
  clip-path: var(--notches);
  width: fit-content;
  padding: 1rem;
  color: var(--ivory);
}
article .btn-link:hover {
  background-color: var(--geode);
  color: var(--gold);
}
h2 {
  color: var(--geode);
  font-family: 'megrim', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 1.75rem;
  margin: 0;
  width: fit-content;
}
.beveled {
  clip-path: var(--bevel);
}
@media screen and (max-width: 768px) {
  article img {
    max-width: 100%;
  }
}
