/* Variable, Property, Token */
/* CSS - Dynamic */
:root {
  /* Set, Default */
  --color-key-hue: 270;
  --color-fill: hsl(var(--color-key-hue), 100%, 100%);
  --color-key: hsl(var(--color-key-hue), 100%, 12.5%);
  --color-spot: hsl(var(--color-key-hue), 100%, 50%);
  /* 300 - 900 */
  --font-weight: 400;
  --font-weight-bold: 900;
  /* Need Sass-y build system */
  /* CAN'T use CSS vars into a @media query ;( */
  /* --media-screen-width: 1000px; */
  /* Scheme */
  /* --color-fill: black;
  --color-key: white; */
  /* Animation, Motion */
  --time-in: 0.3s;
  --time-out: 0.3s;
  --time-curve: cubic-bezier(0.68, -0.6, 0.32, 1.6);
} /* :root end */
/* Dev, Debug */
.debug * {
  border: 1px dotted hsla(var(--color-key-hue), 100%, 25%, 0.5);
  background-color: hsla(var(--color-key-hue), 100%, 25%, 0.05);
}

/* Move, Pop */
.move-pop {
  transform: scale(1);
  transition: transform var(--time-out) var(--time-curve);
}

.move-pop:focus {
  transform: scale(1.05);
}

.move-pop:hover {
  transform: scale(1.05);
}

.move-pop:active {
  transform: scale(1);
}

/* SASS - Compiled */
/* Media */
/* Cascade */
pre {
  font-family: "Figtree", sans-serif;
  white-space: pre-wrap;
  margin: 0;
}

/* Root */
html {
  background-color: var(--color-fill);
}

/* Text, Type */
html {
  color: var(--color-key);
  font-family: "Figtree", sans-serif;
  font-size: 17px;
  font-weight: var(--font-weight);
  /* line-height: 130%; */
  line-height: 1.3333;
  font-optical-sizing: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.25px;
}

h1 {
  font-size: 40px;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  margin-bottom: 0.75rem;
}
@media screen and (width >= 600px) {
  h1 {
    font-size: 55px;
  }
}
@media screen and (width >= 900px) {
  h1 {
    font-size: 70px;
  }
}

h2 {
  font-size: 24px;
  margin-bottom: 1rem;
}

h3 {
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.75rem;
}

a {
  color: var(--color-key);
  text-decoration: underline solid 0.1em;
  text-underline-offset: 0.2em;
  -webkit-tap-highlight-color: transparent;
}
a:focus, a:hover, a:active {
  outline: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

::-moz-selection { /* Code for Firefox */
  color: white;
  background: var(--color-key);
}

::selection {
  color: white;
  background: var(--color-key);
}

.title-alt {
  font-size: 20px;
  font-weight: var(--font-weight);
  opacity: 1;
}
@media screen and (width >= 900px) {
  .title-alt {
    font-size: 30px;
  }
}

.title-alt-alt {
  font-size: 19px;
  font-weight: var(--font-weight);
}
@media screen and (width >= 900px) {
  .title-alt-alt {
    font-size: 25px;
  }
}

section {
  padding: 10px 30px;
}
@media screen and (width >= 600px) {
  section {
    padding: 15px 45px;
  }
}
@media screen and (width >= 900px) {
  section {
    padding: 20px 60px;
  }
}

section:first-child {
  padding-top: 40px;
}
@media screen and (width >= 600px) {
  section:first-child {
    padding-top: 60px;
  }
}
@media screen and (width >= 900px) {
  section:first-child {
    padding-top: 60px;
  }
}

section.projects {
  padding-bottom: 40px;
}
@media screen and (width >= 900px) {
  section.projects {
    padding-bottom: 60px;
  }
}

section.nav {
  padding-bottom: 20px;
}
@media screen and (width >= 900px) {
  section.nav {
    padding-bottom: 50px;
  }
}

section.footer {
  padding-top: 40px;
  padding-bottom: 20px;
}
@media screen and (width >= 900px) {
  section.footer {
    padding-bottom: 40px;
  }
}

/* Body blocks, stack - style */
section.header > .group > a {
  display: inline-flex;
  flex-direction: row;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.group {
  margin: auto;
  max-width: 1000px;
}
.group *:last-child {
  margin-bottom: 0;
}

.projects > .group,
.box.alt > .row.group {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  align-items: center;
}
@media (width >= 600px) {
  .projects > .group,
  .box.alt > .row.group {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}
@media (width >= 900px) {
  .projects > .group,
  .box.alt > .row.group {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

.box.alt > .row.group {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.box.alt > .row.group a[data-fancybox] {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.125);
}
.projects .project > a.link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 20px 25px;
  border-radius: 10px;
  overflow: hidden;
  height: 180px;
  position: relative;
  color: white;
  text-decoration: none;
}
@media screen and (width >= 600px) {
  .projects .project > a.link {
    height: 190px;
  }
}
@media screen and (width >= 900px) {
  .projects .project > a.link {
    height: 200px;
  }
}
.projects .project > a img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  z-index: 1;
  opacity: 0.1;
  transform: translateZ(0);
}
.projects .project > a h3,
.projects .project > a p {
  margin: 0;
  text-align: center;
  z-index: 10;
}
.projects .project > a h3 {
  font-size: 22px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.25px;
}
.projects .project > a p {
  font-size: 17px;
}

.nav > .group {
  overflow: hidden;
}
.nav > .group > a {
  font-size: 23px;
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.75rem;
  padding: 0.8rem 1rem;
}
.nav > .group > a.prev {
  float: left;
  margin-right: 0.5rem;
}
.nav > .group > a.next {
  float: right;
  margin-left: 0.5rem;
}

.footer {
  background-color: hsla(var(--color-key-hue), 0%, 95%, 1);
}
.footer h2 {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.25em;
}
.footer .social-links {
  margin-left: -5px;
  margin-bottom: 0.75rem;
  margin-bottom: 2rem;
}
.footer .social-links .social-link {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
  margin-right: 0.5rem;
  color: inherit;
  font-weight: var(--font-weight-bold);
  text-decoration: none;
}
.footer .social-links .social-link .label {
  font-size: 17px;
}