/* Route announcer */
	.astro-route-announcer {
		position: absolute;
		left: 0;
		top: 0;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		overflow: hidden;
		white-space: nowrap;
		width: 1px;
		height: 1px;
	}/* CSS RESET */
*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font: inherit;
}

nav :where(ol, ul) {
  list-style: none;
}

img,
picture {
  width: 100%;
  max-width: 100%;
  display: block;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

button {
  cursor: pointer;
  border: 0;
  border-radius: 0;
}

:root {
  /* colors */
  --primary: #25262a;
  --secondary: #2d2e32;
  --fallback: #2c2c2c;
  --white: #ffffff;
  --grey-dark: #8e8e8e;
  --grey-light: #a0a1a6;
  --green: #63f5ad;

  --bg-primary: var(--primary);
  --bg-secondary: var(--secondary);
  --fs-primary: var(--white);
  --fs-secondary: var(--grey-light);
  --fs-green: var(--green);

  /* fonts */
  --font-mono: var(--font-roboto-mono), monospace;

  --font--3: clamp(0.5787rem, 0.5156rem + 0.2804vw, 0.768rem);
  --font--2: clamp(0.6944rem, 0.6059rem + 0.3934vw, 0.96rem);
  --font--1: clamp(0.8333rem, 0.7111rem + 0.5432vw, 1.2rem);
  --font-0: clamp(1rem, 0.8333rem + 0.7407vw, 1.5rem);
  --font-1: clamp(1.2rem, 0.975rem + 1vw, 1.875rem);
  --font-2: clamp(1.44rem, 1.1388rem + 1.3389vw, 2.3438rem);
  --font-3: clamp(1.728rem, 1.3274rem + 1.7803vw, 2.9297rem);
  --font-4: clamp(2.0736rem, 1.5441rem + 2.3533vw, 3.6621rem);
  --font-5: clamp(2.4883rem, 1.7919rem + 3.0953vw, 4.5776rem);
  --font-6: clamp(2.986rem, 2.074rem + 4.0534vw, 5.722rem);
  --font-7: clamp(3.5832rem, 2.3934rem + 5.288vw, 7.1526rem);
  --font-8: clamp(4.2998rem, 2.7529rem + 6.8754vw, 8.9407rem);
  --font-9: clamp(5.1598rem, 3.1544rem + 8.9127vw, 11.1759rem);
  --font-10: clamp(6.1917rem, 3.599rem + 11.5231vw, 13.9698rem);

  /* spaces */
  --space-3xs: clamp(0.25rem, 0.2083rem + 0.1852vw, 0.375rem);
  --space-2xs: clamp(0.5rem, 0.4167rem + 0.3704vw, 0.75rem);
  --space-xs: clamp(0.75rem, 0.625rem + 0.5556vw, 1.125rem);
  --space-sm: clamp(1rem, 0.8333rem + 0.7407vw, 1.5rem);
  --space-md: clamp(1.5rem, 1.25rem + 1.1111vw, 2.25rem);
  --space-lg: clamp(2rem, 1.6667rem + 1.4815vw, 3rem);
  --space-xl: clamp(3rem, 2.5rem + 2.2222vw, 4.5rem);
  --space-2xl: clamp(4rem, 3.3333rem + 2.963vw, 6rem);
  --space-3xl: clamp(6rem, 5rem + 4.4444vw, 9rem);

  /* gaps */
  --gap-1: 1rem;
  --gap-2: 2rem;
  --gap-2-5: 2.5rem;
  --gap-3-5: 3.5rem;

  /* radius */
  --radius-xs: 0.1em;
  --radius-sm: 0.2em;
  --radius-md: 0.4em;
  --radius-lg: 0.8em;
  --radius-full: 100vmax;
}

html {
  width: 100%;
  box-sizing: border-box;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  scrollbar-color: var(--grey-dark) var(--fallback);
}

body {
  width: 100%;
  min-height: 100%;

  color: var(--fs-primary);
  font-size: var(--font-md);
  font-family: var(--font-mono);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.3;

  background-color: var(--bg-primary);
  margin: 0;
}

#root {
  min-height: 100vh;

  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 100%;
  place-items: center;
}

#base {
  min-height: 100vh;
  width: 100%;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#content {
  counter-reset: section;
}

main {
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
}

section {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: var(--space-2xl) var(--space-lg);

  @media (min-width: 768px) {
    min-height: 100vh;
  }

  @media (min-width: 1201px) {
    min-height: 100vh;
    flex-direction: row;
    padding: 0;
  }
}

h5 {
  font-size: var(--font--1);
  font-weight: 700;
  margin-top: var(--space-md);
  margin-bottom: var(--space-2xs);
}

strong {
  font-weight: 700;
}

.link {
  display: inline-block;
  color: var(--fs-green);
  text-decoration: none;
  transition: 0.1s;

  &::after {
    content: '';
    width: 0px;
    height: 1px;
    background: var(--green);
    display: block;
    transition: 300ms;
  }

  &:hover::after {
    width: 100%;
  }
}

.button-sm,
.button-md,
.button-lg {
  width: fit-content;

  display: flex;
  place-items: center;

  color: var(--fs-green) !important;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;

  background-color: transparent;
  border-width: var(--border-sm);
  border-style: solid;
  border-color: var(--green);
  border-radius: var(--radius-sm);
  transition: 0.2s;

  &:hover {
    color: var(--bg-primary) !important;
    background-color: var(--green);
  }
}

.button-sm {
  padding: calc(var(--space-2xs) * 0.75) var(--space-xs);
}

.button-md {
  padding: calc(var(--space-sm) * 0.75) var(--space-md);
}

.button-lg {
  padding: calc(var(--space-lg) * 0.75) var(--space-xl);
}

.section-header {
  display: flex;
  align-items: center;
  gap: var(--gap-1);

  color: var(--fs-primary);
  font-size: var(--font-0);
  font-weight: 700;
  white-space: nowrap;

  &::before {
    counter-increment: section;
    content: '0' counter(section) '.';
    color: var(--fs-green);
  }

  &::after {
    content: '';
    height: 1px;
    background-color: var(--grey-dark);
    flex-grow: 1;

    min-width: 30px;
    max-width: 500px;
  }
}

#navbar {
  width: 100%;
  top: 0;
  position: sticky;
  z-index: 1001;

  background-color: rgba(45, 46, 50, 1);
  backdrop-filter: blur(12px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  padding: var(--space-lg) var(--space-lg);

  @media (min-width: 1201px) {
    padding: var(--space-sm) var(--space-lg);
  }
}

#navbar.slidedown {
  animation: slidedown 0.3s forwards;
}

@keyframes slidedown {
  from {
    top: -250px;
  }

  to {
    top: 0;
    background-color: rgba(45, 46, 50, 0.6);
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);
    padding: var(--space-xs) var(--space-lg);
  }
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;

  font-weight: 500;
  margin: 0 auto;

  .logomark-lg {
    display: none;
  }

  .logomark-sm {
    display: grid;
  }

  .logomark-lg,
  .logomark-sm {
    place-items: center;
  }

  .nav-menu {
    display: none;
  }

  @media (min-width: 1201px) {
    font-size: var(--font--3);

    .logomark-lg {
      display: grid;
    }

    .logomark-sm {
      display: none;
    }

    .nav-menu {
      display: flex;
    }

    .nav-hamburguer {
      display: none;
    }

    .nav-menu-mobile.open {
      display: none;
    }

    .nav-overlay {
      display: none;
    }
  }
}

.nav-menu-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;

  li {
    a {
      color: var(--fs-primary);
      text-decoration: none;
      border-bottom: 1px solid transparent;
      transition: 0.2s ease-in-out;

      &::after {
        content: '';
        width: 0px;
        height: 1px;
        display: block;
        background: var(--green);
        transition: 300ms;
      }

      &:hover {
        color: var(--fs-green);
      }

      &:hover::after {
        width: 100%;
      }

      span {
        color: var(--fs-green);
      }
    }
  }
}

.nav-hamburguer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 38px;
  height: 38px;
  background: none;
  color: var(--fs-green);
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-hamburguer-close {
  display: none;
}

#nav-hamburguer[aria-expanded='true'] {
  .nav-hamburguer-menu {
    display: none;
  }

  .nav-hamburguer-close {
    display: block;
  }
}

.nav-menu-mobile {
  display: none;
  position: absolute;
  background-color: var(--bg-secondary);
  color: var(--fs-primary);
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1001;

  /* Show mobile menu when active */
  &.open {
    display: block;
  }
}

.nav-menu-mobile-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
  padding: 2.2rem;

  li {
    list-style: none;

    a {
      color: var(--fs-primary);
      text-decoration: none;
      border-bottom: 1px solid transparent;
      transition: 0.2s ease-in-out;

      &::after {
        content: '';
        width: 0px;
        height: 1px;
        display: block;
        background: var(--green);
        transition: 300ms;
      }

      &:hover {
        color: var(--fs-green);
      }

      &:hover::after {
        width: 100%;
      }

      span {
        color: var(--fs-green);
      }
    }
  }
}

/* Mobile menu overlay */
.nav-overlay {
  position: fixed;
  top: 112px;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  z-index: 1000;

  display: none;
  background-color: rgba(45, 46, 50, 0.65);

  opacity: 0;
  backdrop-filter: blur(10px);
  transition: 0.3s ease;

  &.open {
    display: block;
    opacity: 1;
  }

  @media (min-width: 1201px) {
    display: none !important;
  }
}

#hero {
  width: 100%;
  justify-content: center;
  align-items: center;

  text-align: center;
  background-color: var(--bg-secondary);

  @media (min-width: 1201px) {
    flex-direction: column;
    place-items: center;
  }
}

.hero-header,
.hero-tldr {
  max-width: 711px;
}

.hero-header {
  font-weight: 700;

  h1 {
    display: flex;
    flex-direction: column;

    font-size: var(--font-4);
    color: var(--fs-green);

    span {
      font-size: var(--font--1);
      color: var(--fs-primary);
    }
  }

  h2 {
    font-size: var(--font-1);
  }
}

.hero-tldr {
  color: var(--fs-secondary);
  font-size: var(--font--1);

  p {
    a {
      display: inline-block;
    }
  }
}

#about {
  color: var(--fs-secondary);

  @media (min-width: 1201px) {
    max-width: 1174px;
    place-self: center;
    place-items: center;
    gap: var(--space-2xl);
  }
}

.about-intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);

  p {
    font-size: var(--font-0);
  }

  ul {
    display: grid;
    grid-template-columns: auto auto auto;
    list-style-type: '𐰷 ';
    list-style-position: inside;

    li {
      margin: var(--space-3xs) 0;
      transition: 0.2s;

      &::marker {
        color: var(--green);
      }

      &:hover {
        color: var(--green);
      }
    }

    @media (max-width: 480px) {
      grid-template-columns: auto auto;
    }
  }

  @media (min-width: 1201px) {
    max-width: 553px;

    p {
      font-size: var(--font--1);
    }
  }
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-card-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);

  background-color: var(--bg-secondary);
  padding: var(--space-md) var(--space-lg);
  border-radius: 8px;
  transition: 0.2s;

  &:hover {
    box-shadow: 0px 4px 5px 0 rgba(0, 0, 0, 0.15);

    .about-card-container_title {
      h3 {
        color: var(--green);
      }
    }
  }
}

.about-card-container_title {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;

  h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--fs-primary);
    font-size: var(--font-0);
    font-weight: 500;
    transition: 0.2s;
  }

  p {
    font-size: var(--font--1);
  }

  @media (min-width: 1201px) {
    max-width: 356px;

    h3 {
      font-size: var(--font--1);
    }

    p {
      font-size: var(--font--2);
    }
  }
}

#about-card-clients {
  place-self: start;
  position: relative;
  display: inline-block;

  button {
    display: inline;
    width: fit-content;
    color: var(--fs-primary);
    background-color: transparent;
    font-size: var(--font--1);
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.2s ease-in-out;

    &:hover {
      color: var(--fs-green);
    }

    &::after {
      content: '';
      width: 0px;
      height: 1px;
      display: block;
      background: var(--fs-green);
      transition: 300ms;
    }

    &:hover::after {
      width: 100%;
    }
  }

  @media (min-width: 1201px) {
    button {
      font-size: var(--font--2);
    }
  }
}

#about-card-client {
  place-self: start;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;

  min-width: 250px;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  place-content: center;
  gap: var(--space-sm);

  margin-top: 10px;
  padding: 1rem;
  background: var(--secondary);
  border: 1px solid var(--green);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all 0.2s ease-in-out;
  pointer-events: none;

  @media (min-width: 480px) {
    min-width: 300px;
  }
}

#about-card-clients:hover #about-card-client {
  display: flex;

  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0.1s;
  pointer-events: auto;
}

.about-card-client_content {
  display: flex;
  flex-direction: column;
  align-items: center;

  img,
  picture {
    height: 45px;
    width: 45px;
  }
}

#experience {
  background-color: var(--bg-secondary);
  scrollbar-color: var(--grey-dark) var(--secondary);

  @media (min-width: 1201px) {
    flex-direction: column;
    place-items: center;
    place-content: center;
    justify-content: center;
  }
}

.experience-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.experience-jobs {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);

  @media (min-width: 1201px) {
    height: 60vh;
    width: 860px;
    flex-direction: row;
  }
}

.experience-tablist {
  display: flex;
  overflow: auto;
  white-space: nowrap;
  position: relative;

  .active-tab {
    color: var(--fs-green);
    background-color: var(--primary);
  }

  .active-tab-block {
    position: absolute;
    z-index: 10;
    height: 3px;
    width: var(--active-block-width);
    transform: translateX(var(--active-block-left));
    background-color: var(--green);
    transition: 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition-delay: 0.1s;
  }

  button {
    color: var(--fs-secondary);
    border-top: 3px solid var(--grey-dark);
    background-color: transparent;
    padding: var(--space-xs) var(--space-md);
    cursor: pointer;

    &:hover {
      background-color: var(--bg-primary);
    }
  }

  @media (min-width: 1201px) {
    flex-direction: column;
    overflow: unset;
    white-space: nowrap;

    .active-tab-block {
      width: 3px;
      height: var(--active-block-height);
      transform: translateY(var(--active-block-top));
    }

    button {
      font-size: var(--font--2);
      text-align: left;
      border-top: none;
      border-left: 3px solid var(--grey-dark);
    }
  }
}

.experience-resume {
  article {
    display: flex;
    flex-direction: colum;
  }

  .experience-resume_title {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xs);

    font-size: var(--font-0);
    font-weight: 600;
    margin-bottom: var(--space-sm);

    span {
      color: var(--fs-green);
    }

    p {
      color: var(--fs-secondary);
      font-size: var(--font--1);
      font-weight: 400;
    }
  }

  .experience-resume_text {
    font-size: var(--font--1);
    overflow: auto;

    ul,
    ol,
    il {
      padding: 0;
      margin: 0;
      list-style: none;

      li {
        position: relative;
        padding-left: var(--space-sm);
        margin-bottom: var(--space-xs);
        list-style-type: '𐰷 ';

        &::before {
          content: '𐰷 ';
          position: absolute;
          left: 0;
          color: var(--green);
        }
      }
    }
  }

  @media (min-width: 1201px) {
    .experience-resume_text {
      height: 51vh;
    }
  }
}

#under-construction {
  flex-direction: column;

  div {
    max-width: 580px;
    max-height: 450px;
  }

  @media (max-width: 435px) {
    div {
      picture {
        img {
          max-width: 380px;
          max-height: 250px;
        }
      }
    }
  }

  @media (min-width: 768px) {
    place-self: center;
    justify-content: center;
    padding-bottom: 0;
  }
}

#projects {
  flex-direction: column;
  padding: var(--space-3xl) var(--space-lg);

  @media (min-width: 1201px) {
    max-width: 1178px;
    place-self: center;
    gap: var(--space-2xl);
  }
}

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.projects-unit {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: stretch;
  /* fix resizing following the screen width */
  gap: var(--space-md);
  transition: 0.2s;

  &:hover,
  &:focus-visible {
    box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.15);
  }

  &:nth-of-type(odd) {
    @media (min-width: 768px) {
      .projects-unit-card {
        grid-column: 5 / -1;

        .projects-unit-card_stack,
        .projects-unit-card_links,
        .projects-unit-card_title {
          justify-content: flex-end;
          align-items: flex-end;
        }

        .projects-unit-card_title {
          div {
            flex-direction: row-reverse;
          }
        }
      }

      .projects-unit-image {
        grid-column: 1 / 9;
      }
    }
  }

  @media (min-width: 768px) {
    &:hover,
    &:focus-visible {
      box-shadow: none;
    }
  }
}

.projects-unit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  grid-column: 1 / -1;
  grid-row: 1;
  gap: var(--space-sm);
  z-index: 5;

  padding: var(--space-lg);

  .projects-unit-card_title {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: var(--space-2xs);
    font-size: var(--font-2);
    font-weight: 700;
    transition: 0.2s;

    h3 {
      transition: 0.2s;

      a {
        display: flex;
        align-items: center;
        gap: var(--space-xs);
        cursor: pointer;
        transition: 0.2s;
      }

      &:hover {
        color: var(--fs-green);
      }
    }

    div {
      display: flex;
      align-items: center;
      gap: var(--space-xs);
      font-size: var(--font--1);
      font-weight: normal;
      transition: 0.2s;

      strong {
        color: var(--fs-green);
      }
    }
  }

  .projects-unit-card_text {
    position: relative;
    z-index: 2;

    @media (min-width: 768px) {
      background-color: var(--secondary);
      padding: var(--space-md);
      transition: 0.2s;

      &:hover {
        box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.15);
      }
    }
  }

  .projects-unit-card_stack {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);

    list-style: none;
    font-size: var(--font--2);
    color: var(--fs-secondary);

    li {
      transition: 0.2s;

      &:hover {
        color: var(--fs-green);
      }
    }
  }

  .projects-unit-card_links {
    display: flex;
    align-items: center;
    gap: var(--space-xs);

    a {
      color: var(--fs-primary);
      text-decoration: none;
      transition: 0.2s;

      &:hover {
        color: var(--fs-green);
      }
    }
  }

  @media (min-width: 768px) {
    grid-column: 1 / 9;
    grid-row: 1 / -1;
    padding: 0;
    margin: var(--space-md) var(--space-lg);
  }
}

.projects-unit-image {
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  grid-row: 1;
  z-index: 1;
  opacity: 0.1;

  span {
    background-color: var(--green);
    border: 1px solid var(--grey-dark);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.15);
    transition: 0.5s;

    &::before {
      width: 100%;
      height: 100%;
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 3;
      background-color: var(--secondary);
      border-radius: var(--radius-sm);
      mix-blend-mode: screen;
    }

    &:hover,
    &:focus {
      background: transparent;
      outline: 0;

      &::before,
      img {
        background: transparent;
        filter: none;
        /* animation: spazz 0.2s; */
      }
    }
  }

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-sm);
    filter: grayscale(100%) contrast(1) brightness(90%);
  }

  @media (min-width: 768px) {
    grid-column: 5 / -1;
    grid-row: 1 / -1;
    opacity: 1;
    z-index: 4;

    span {
      border: none;

      &:hover {
        cursor: pointer;
      }
    }

    img {
      mix-blend-mode: multiply;
      filter: grayscale(100%) contrast(1) brightness(50%);
    }
  }
}

#open-source {
  flex-direction: column;
  place-items: center;
  padding: var(--space-md) var(--space-lg) var(--space-3xl) var(--space-md);

  h3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);

    font-size: var(--font-1);
    font-weight: 700;

    a {
      font-size: var(--font--1);
      font-weight: normal;
    }
  }

  ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);

    list-style: none;

    li {
      display: flex;
      flex-direction: column;
      align-items: space-between;
      gap: var(--space-sm);

      color: var(--fs-secondary);
      background-color: var(--secondary);
      border-radius: var(--radius-md);
      padding: var(--space-md);

      h4 {
        a {
          display: flex;
          align-items: center;
          gap: var(--space-sm);

          color: var(--fs-primary);
          font-weight: 700;
          text-decoration: none;

          &:hover {
            color: var(--fs-green);
          }
        }

        .repo-icon-link {
          display: none;
        }
      }

      div {
        display: flex;
        gap: var(--space-md);

        span {
          display: flex;
          align-items: center;
          gap: var(--space-3xs);
        }
      }

      &:hover {
        .repo-icon-link {
          display: inline-block;
        }

        h4 {
          a {
            color: var(--fs-green);
          }
        }
      }
    }
  }

  @media (min-width: 768px) {
    max-width: 1174px;
    place-self: center;
    padding: var(--space-2xl);

    ul {
      display: grid;
      grid-template-columns: 1fr 1fr;
    }
  }

  @media (min-width: 1201px) {
    padding: var(--space-xl) var(--space-lg) calc(1.5 * var(--space-3xl));
  }
}

#contact {
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bg-secondary);

  div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);

    h2 {
      color: var(--green);
    }

    h3 {
      font-size: var(--font-2);
      font-weight: 700;
    }

    p {
      color: var(--fs-secondary);
      margin-bottom: var(--space-md);
    }
  }

  @media (min-width: 768px) {
    height: 100vh;
    flex-direction: column;

    div {
      max-width: 711px;
    }
  }
}

.footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  place-content: center;
  gap: var(--space-2xs);
  color: var(--grey-light);
  font-size: var(--font--3);
  font-weight: 600;
  padding: var(--space-md);
}

#page404 {
  height: 100vh;

  place-self: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-xs);

  font-size: var(--font-4);
  font-weight: 700;

  h1 {
    margin: 0;
    padding: 0;

    span {
      color: var(--fs-green);
    }
  }

  p {
    font-size: var(--font-1);
    font-weight: 400;
    margin-bottom: 2rem;

    code {
      background-color: var(--secondary);
      border-radius: var(--radius-sm);
      padding: var(--space-3xs) var(--space-xs);
    }
  }

  a {
    font-size: var(--font-0);
    font-weight: 400;
  }
}

.autoShow {
  animation: text-appear both;
  animation-timeline: view();
  animation-range: entry 20% cover 100vh;
}

@keyframes text-appear {
  from {
    opacity: 0;
    transform: translateY(200px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spazz {
  0% {
    filter: none;
    background-color: hsl(0, 100%, 70%);
    transform: translate(0px, 0px) scale(1.05);
  }

  2% {
    filter: blur(4px) brightness(1.3) contrast(1.4) saturate(1.8);
    background-color: hsl(340, 100%, 70%);
    transform: translate(-8px, 6px) scale(1.12);
  }

  5% {
    filter: blur(7px) brightness(0.85) hue-rotate(45deg) invert(0.4);
    background-color: hsl(120, 100%, 70%);
    transform: translate(12px, -9px) scale(1.18);
  }

  8% {
    filter: contrast(1.6) saturate(2.1) sepia(0.6);
    background-color: hsl(280, 100%, 70%);
    transform: translate(-5px, 11px) scale(1.08);
  }

  12% {
    filter: blur(2px) brightness(1.5) hue-rotate(200deg);
    background-color: hsl(45, 100%, 70%);
    transform: translate(9px, -4px) scale(1.22);
  }

  18% {
    filter: brightness(0.7) contrast(1.9) saturate(0.9) invert(0.7);
    background-color: hsl(190, 100%, 70%);
    transform: translate(-11px, 13px) scale(1.15);
  }

  25% {
    filter: blur(5.5px) hue-rotate(320deg) sepia(0.8);
    background-color: hsl(70, 100%, 70%);
    transform: translate(6px, -12px) scale(1.09);
  }

  33% {
    filter: contrast(1.2) saturate(2.4) brightness(1.1);
    background-color: hsl(250, 100%, 70%);
    transform: translate(-7px, 8px) scale(1.19);
  }

  40% {
    filter: blur(1px) invert(0.5) hue-rotate(80deg);
    background-color: hsl(10, 100%, 70%);
    transform: translate(14px, -6px) scale(1.06);
  }

  48% {
    filter: brightness(1.6) contrast(0.8) saturate(1.7);
    background-color: hsl(160, 100%, 70%);
    transform: translate(-3px, 10px) scale(1.25);
  }

  55% {
    filter: blur(6px) sepia(0.3) hue-rotate(260deg);
    background-color: hsl(300, 100%, 70%);
    transform: translate(10px, -14px) scale(1.11);
  }

  62% {
    filter: contrast(1.8) brightness(0.9) invert(0.6);
    background-color: hsl(85, 100%, 70%);
    transform: translate(-13px, 5px) scale(1.14);
  }

  70% {
    filter: blur(3px) saturate(2) hue-rotate(150deg);
    background-color: hsl(215, 100%, 70%);
    transform: translate(7px, -8px) scale(1.07);
  }

  78% {
    filter: brightness(1.4) contrast(1.3) sepia(0.9);
    background-color: hsl(35, 100%, 70%);
    transform: translate(-9px, 12px) scale(1.2);
  }

  85% {
    filter: blur(4.5px) hue-rotate(290deg) invert(0.3);
    background-color: hsl(130, 100%, 70%);
    transform: translate(11px, -3px) scale(1.16);
  }

  92% {
    filter: saturate(1.5) brightness(0.75) contrast(1.6);
    background-color: hsl(275, 100%, 70%);
    transform: translate(-6px, 9px) scale(1.13);
  }

  100% {
    filter: none;
    background-color: hsl(0, 100%, 70%);
    transform: translate(0px, 0px) scale(1.05);
  }
}
@keyframes astroFadeInOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

@keyframes astroFadeIn {
	from {
		opacity: 0;
		mix-blend-mode: plus-lighter;
	}
	to {
		opacity: 1;
		mix-blend-mode: plus-lighter;
	}
}

@keyframes astroFadeOut {
	from {
		opacity: 1;
		mix-blend-mode: plus-lighter;
	}
	to {
		opacity: 0;
		mix-blend-mode: plus-lighter;
	}
}

@keyframes astroSlideFromRight {
	from {
		transform: translateX(100%);
	}
}

@keyframes astroSlideFromLeft {
	from {
		transform: translateX(-100%);
	}
}

@keyframes astroSlideToRight {
	to {
		transform: translateX(100%);
	}
}

@keyframes astroSlideToLeft {
	to {
		transform: translateX(-100%);
	}
}

@media (prefers-reduced-motion) {
	::view-transition-group(*),
	::view-transition-old(*),
	::view-transition-new(*) {
		animation: none !important;
	}

	[data-astro-transition-scope] {
		animation: none !important;
	}
}
