@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);
  min-height: 100vh;
  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,
.clickable-text {
  color: var(--ivory);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
a:hover,
.clickable-text:hover {
  color: var(--gold);
}
hr {
  width: 100%;
  border-color: var(--gem);
  border-width: 0.5rem;
  margin: 0;
}
img {
  max-width: 100%;
  display: block;
}
svg,
embed {
  height: 100%;
  display: block;
  color: var(--noir);
}
.hidden {
  display: none !important;
}
/* 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 */
.site-header {
  position: sticky;
  top: 0;
  pointer-events: none;
  width: fit-content;
  z-index: 100;
}
.site-header .homeboy {
  position: absolute;
  height: 5rem;
  left: 0.5rem;
  top: 0.5rem;
  z-index: 100;
  pointer-events: all;
}
.site-header .homeboy img {
  height: 100%;
  border-radius: 50%;
  border: 0.15rem solid var(--geode);
}
.site-header .top-bar {
  position: relative;
  padding: 0.5rem 1rem 0.5rem 6rem;
  background: var(--gem);
  width: fit-content;
  z-index: 99;
  border-bottom: 2px solid var(--ivory);
  clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 1rem), calc(100% - 1rem) 100%, 0% 100%);
}
.site-header .top-bar h1 {
  font-size: 2rem;
  font-family: 'megrim', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.site-header .parent-links {
  position: absolute;
  left: 0;
  top: 2.75rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.25rem;
  pointer-events: all;
  background: var(--geode);
  padding: 1rem 1rem 0.5rem 6rem;
  border-bottom: 2px solid var(--ivory);
  clip-path: polygon(0% 0%, calc(100% - 0.5rem) 0%, 100% 0.5rem, 100% calc(100% - 0.5rem), calc(100% - 0.5rem) 100%, 0% 100%);
}
.site-header .parent-links span {
  display: flex;
  gap: 0.25rem;
}
.site-header .parent-links span a:hover {
  color: var(--gold);
}
.site-footer {
  position: fixed;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}
.site-footer .bottom-bar {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  z-index: 3;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  background: var(--gem);
  width: fit-content;
  clip-path: polygon(1rem 0%, 100% 0%, 100% 100%, 0% 100%, 0% 1rem);
}
.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);
}
/* settings */
.settings-holder {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 101;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.settings-holder .settings-container {
  height: fit-content;
  width: fit-content;
  padding: 0.5rem;
  background: var(--gold);
  background: var(--gem);
  clip-path: var(--notches);
  margin: auto;
}
.settings-holder .settings-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: auto;
  width: 30rem;
  max-height: 70vh;
  background: var(--gem);
  background: var(--ivory);
  opacity: 1;
  z-index: 102;
  clip-path: var(--notches);
  padding: 1rem;
}
.settings-holder .settings-box .field {
  color: var(--ivory);
  color: var(--noir);
}
.settings-holder .settings-box .field .fieldset {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
/* 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;
}
.page {
  margin-top: 1rem;
  padding: 2rem;
}
.page.wide {
  max-width: 100%;
}
.narrow {
  max-width: 717px;
}
svg.background {
  z-index: -1;
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
}
svg.background.filled polygon.geode {
  fill: var(--geode);
}
svg.background.filled polygon.gem {
  fill: var(--gem);
}
svg.background.filled polygon.gold {
  fill: var(--gold);
}
svg.background.filled polygon.ivory {
  fill: var(--ivory);
}
svg.background.filled polygon.noir {
  fill: var(--noir);
}
svg.background.stroked polygon {
  fill: none;
  stroke-width: 3;
}
svg.background.stroked polygon.geode {
  stroke: var(--geode);
}
svg.background.stroked polygon.gem {
  stroke: var(--gem);
}
svg.background.stroked polygon.gold {
  stroke: var(--gold);
}
svg.background.stroked polygon.ivory {
  stroke: var(--ivory);
}
svg.background.stroked polygon.noir {
  stroke: var(--noir);
}
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 .aside {
  color: var(--ivory);
  background: var(--gem);
  padding: 0.5rem;
  border-left: 0.5rem solid var(--geode);
  width: fit-content;
}
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 .btns {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-link,
.btn {
  background-color: var(--gem);
  clip-path: var(--notches);
  width: fit-content;
  padding: 1rem;
  color: var(--ivory);
  cursor: pointer;
}
.btn-link:hover,
.btn: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;
}
h3 {
  color: var(--noir);
  font-family: 'megrim', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 1.25rem;
  margin: 0;
  width: fit-content;
}
.beveled {
  clip-path: var(--bevel);
}
/* inputs */
fieldset {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 0;
  padding: 0;
  margin: 0;
  padding-left: 0.5rem;
}
fieldset::before {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  content: '';
  background: var(--geode);
  width: 0.25rem;
}
fieldset .radio-option,
fieldset .checkbox-option {
  width: fit-content;
  cursor: pointer;
  position: relative;
  margin-left: 1.5rem;
}
fieldset .radio-option input,
fieldset .checkbox-option input {
  appearance: none;
}
fieldset .radio-option input::before,
fieldset .checkbox-option input::before {
  position: absolute;
  left: -1rem;
  top: 0.2rem;
  content: '';
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--gem);
}
fieldset .radio-option input:checked::before,
fieldset .checkbox-option input:checked::before {
  background: var(--gem);
}
fieldset .radio-option:hover,
fieldset .checkbox-option:hover {
  color: var(--gem);
}
fieldset .radio-option input::before {
  border-radius: 50%;
}
/* reactive classes */
.collapsible {
  transition: 0.2s;
  max-height: 100rem;
}
.collapsible .collapser {
  font-size: 3rem;
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  line-height: 1;
  transition: 0.2s;
  height: 1.5rem;
  transform: rotate(180deg);
}
.collapsible.collapsed {
  max-height: 4rem;
  transition: 0.2s;
  overflow: hidden;
  opacity: 0.55;
}
.collapsible.collapsed:hover {
  opacity: 1;
}
.collapsible.collapsed .collapser {
  transform: rotate(0deg);
  transition: 0.2s;
}
/* generic classes */
.flex-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media screen and (max-width: 768px) {
  article {
    opacity: 0.85;
  }
  article img {
    max-width: 100%;
  }
  .settings-holder .settings-container {
    width: calc(100% - 4rem);
  }
  .settings-holder .settings-container .settings-box {
    width: 100%;
  }
  /* reactive classes */
  .collapsible.collapsed:hover {
    opacity: 0.75;
  }
}
