
/* Icons */

.right-arrow-icon {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  transition: filter 180ms ease;
}

.footer-icon {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

.hero-social-icon {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

.hero-badge-link {
  display: inline-flex;
  flex: 1 1 0;
  min-width: 0;
  text-decoration: none;
}

.hero-badge-link-thm {
  flex-grow: 1;
}

.hero-badge-link-htb {
  flex-grow: 1.1;
}

.hero-badge-image {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
}

a.icon-link {
  width: 42px;
  height: 42px;
  border: 2px solid #141414;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #141414;
  text-decoration: none;
  background-color: white;
  box-shadow: 0 0 0 rgba(20, 20, 20, 0);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

a.icon-link:hover,
a.icon-link:active,
a.icon-link:focus-visible {
  cursor: pointer;
  background-color: #141414;
  box-shadow: 0 14px 26px rgba(20, 20, 20, 0.16);
}

a.icon-link:hover .footer-icon,
a.icon-link:active .footer-icon,
a.icon-link:focus-visible .footer-icon {
  filter: invert(1);
}


/* Navbar Styling */

.navbar {
  width: 100%;
  padding: 28px 28px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  pointer-events: none;
}

.nav-title-link {
  position: relative;
  display: inline-flex;
  color: black;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.nav-title-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background-color: #141414;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-title-link:hover,
.nav-title-link:active,
.nav-title-link:focus-visible {
  opacity: 0.72;
}

.nav-title-link:hover::after,
.nav-title-link:active::after,
.nav-title-link:focus-visible::after {
  transform: scaleX(1);
}

.nav-header-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  pointer-events: auto;
}

.nav-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 2px solid #141414;
  border-radius: 999px;
  background-color: white;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 0 0 rgba(20, 20, 20, 0);
  pointer-events: auto;
  cursor: pointer;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.nav-menu-toggle:hover,
.nav-menu-toggle:active,
.nav-menu-toggle:focus-visible,
.nav-menu-toggle[aria-expanded="true"] {
  background-color: #141414;
  box-shadow: 0 14px 26px rgba(20, 20, 20, 0.18);
}

.nav-menu-toggle-bar {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background-color: #141414;
  transition: background-color 180ms ease;
}

.nav-menu-toggle:hover .nav-menu-toggle-bar,
.nav-menu-toggle:active .nav-menu-toggle-bar,
.nav-menu-toggle:focus-visible .nav-menu-toggle-bar,
.nav-menu-toggle[aria-expanded="true"] .nav-menu-toggle-bar {
  background-color: white;
}

.nav-icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 10px;
  border: 2px solid #141414;
  border-radius: 28px;
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(20, 20, 20, 0.12);
  pointer-events: auto;
}

.nav-icon-link {
  width: 42px;
  height: 42px;
  border: 2px solid #141414;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #141414;
  text-decoration: none;
  background-color: white;
  box-shadow: 0 0 0 rgba(20, 20, 20, 0);
  transition: background-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.nav-icon-link:hover,
.nav-icon-link:active,
.nav-icon-link:focus-visible {
  background-color: #141414;
  box-shadow: 0 14px 26px rgba(20, 20, 20, 0.18);
  color: white;
}

.nav-icon {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
  transition: filter 180ms ease;
}

.nav-icon-link:hover .nav-icon,
.nav-icon-link:active .nav-icon,
.nav-icon-link:focus-visible .nav-icon {
  filter: invert(1);
}

.nav-icon-label {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
  padding: 6px 10px;
  border: 2px solid #141414;
  border-radius: 999px;
  background-color: #141414;
  color: white;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-icon-link:hover .nav-icon-label,
.nav-icon-link:active .nav-icon-label,
.nav-icon-link:focus-visible .nav-icon-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.nav-cta {
  margin-left: 1px;
}

/* Small devices (portrait tablets and large phones, 800px and below) */
@media only screen and (max-width: 800px) {
  .navbar {
    width: 100%;
    padding: 20px 20px 0;
    gap: 14px;
    background-color: transparent;
  }

  .nav-header-row {
    padding: 10px 12px;
    border-radius: 28px;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 24px rgba(20, 20, 20, 0.08);
  }

  .nav-brand-row {
    gap: 12px;
  }

  .nav-menu-toggle {
    display: inline-flex;
  }

  .nav-icon-box {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-width: 180px;
    padding: 12px;
    border-radius: 24px;
  }

  .nav-icon-box.is-open {
    display: flex;
  }

  .nav-icon-link {
    width: 100%;
    height: 46px;
    justify-content: flex-start;
    padding: 0 14px;
    gap: 12px;
  }

  .nav-icon-label {
    position: static;
    transform: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    color: #141414;
    font-size: 13px;
    opacity: 1;
    display: inline;
    pointer-events: none;
  }

  .nav-icon-link:hover .nav-icon-label,
  .nav-icon-link:active .nav-icon-label,
  .nav-icon-link:focus-visible .nav-icon-label {
    transform: none;
    color: white;
  }
}


/* Button Styling */

a.button {
  padding: 8px 16px;
  border: 3px solid #141414;
  border-radius: 50px;
  color: black;
  text-decoration: none;
  width: fit-content;
  display: flex;
  gap: 5px;
  align-items: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

a.button:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(20, 20, 20, 0.14);
  cursor: pointer;
}

a.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(20, 20, 20, 0.14);
}

a.button:active {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(20, 20, 20, 0.14);
}

a.button:not(.button-contrast):hover,
a.button:not(.button-contrast):active,
a.button:not(.button-contrast):focus-visible {
  background-color: #141414;
  color: white;
}

a.button:not(.button-contrast):hover .right-arrow-icon,
a.button:not(.button-contrast):active .right-arrow-icon,
a.button:not(.button-contrast):focus-visible .right-arrow-icon {
  filter: invert(1);
}

a.button.button-contrast {
  background-color: #141414;
  border-color: #141414;
  color: white;
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.18);
}

a.button.button-contrast:hover {
  background-color: white;
  border-color: #141414;
  color: #141414;
}

a.button.button-contrast:focus-visible {
  background-color: white;
  border-color: #141414;
  color: #141414;
}

a.button.button-contrast:active {
  background-color: white;
  border-color: #141414;
  color: #141414;
}

.button-contrast-icon {
  filter: invert(1);
}

a.button.button-contrast:hover .button-contrast-icon,
a.button.button-contrast:active .button-contrast-icon,
a.button.button-contrast:focus-visible .button-contrast-icon {
  filter: none;
}

.hero-social-link {
  width: 42px;
  height: 42px;
  border: 2px solid #141414;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #141414;
  background-color: white;
  box-shadow: 0 0 0 rgba(20, 20, 20, 0);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.hero-social-link:hover,
.hero-social-link:active,
.hero-social-link:focus-visible {
  background-color: #141414;
  box-shadow: 0 14px 26px rgba(20, 20, 20, 0.16);
}

.hero-social-link:hover .hero-social-icon,
.hero-social-link:active .hero-social-icon,
.hero-social-link:focus-visible .hero-social-icon {
  filter: invert(1);
}

.hero-badge-link {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-badge-link:hover,
.hero-badge-link:active,
.hero-badge-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(20, 20, 20, 0.14);
}

.filter-button {
  padding: 8px 14px;
  border: 2px solid #141414;
  border-radius: 999px;
  background-color: white;
  color: #141414;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.filter-button:hover,
.filter-button:active,
.filter-button:focus-visible {
  background-color: #141414;
  color: white;
  box-shadow: 0 12px 24px rgba(20, 20, 20, 0.12);
}

.filter-button.is-active {
  background-color: #141414;
  color: white;
}

.filter-button.is-active:hover,
.filter-button.is-active:active {
  background-color: #333333;
  box-shadow: 0 12px 24px rgba(20, 20, 20, 0.18);
}

.project-tag {
  padding: 4px 10px;
  border: 1px solid #141414;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}


/* Footer Styling */

#footer {
  width: 100%;
  display: flex;
  padding: 30px 50px;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Link Styling */
a.no-underline {
  text-decoration: none;
  color: black
}

a.no-underline:hover {
  text-decoration: underline;
  cursor: pointer;
}

/* Small devices (portrait tablets and large phones, 800px and below) */
@media only screen and (max-width: 800px) {
  #footer {
    padding: 20px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
}