@charset "UTF-8";
#navbar {
  width: 100%;
  height: 40px;
  padding: 20px 0px;
  z-index: 1000;
  border-bottom: 1px solid color-mix(in srgb, var(--black-grey) 10.3%, transparent);
  background-color: var(--off-white);
  font-family: var(--font-family-title);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
}

#navbar a {
  text-decoration: none;
  color: var(--black-grey);
}

#navbar a:hover,
#navbar a.active {
  text-decoration: underline;
  text-decoration-color: var(--accent-red);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.12em;
}

#navbar a:hover,
#navbar a.active {
  color: var(--black-grey);
}

#navbar a.active {
  color: var(--black-grey);
}

#navbar .nav-header a {
  text-decoration: underline;
  text-decoration-color: var(--accent-red);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.12em;
  display: inline-block;
  transition: transform 180ms ease-in-out;
  transform-origin: left center;
}

#navbar .nav-header a:hover {
  transform: skewX(-10deg);
}

#navbar h1 {
  font-weight: 500;
  font-size: 26px;
}

.nav-right, .nav-left {
  gap: 40px;
}

.nav-right {
  font-weight: 400;
}

.nav-header {
  margin: 0;
}

.nav-btn {
  display: inline;
  margin-top: 2px;
  font-size: 1.15rem;
  letter-spacing: 1px;
}

#footer {
  z-index: 1000;
  width: 100%;
  height: 20px;
  padding: 20px 0px;
  background-color: var(--black-grey);
  border-bottom: 3px solid var(--black-grey);
}

.foot-wrapper {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 400;
  color: var(--off-white);
}

.foot-left, .foot-right {
  margin-top: 6px;
  gap: 24px;
}

.foot-wrapper a:hover {
  text-decoration: underline;
}

.foot-left p::after {
  content: " →";
}

/* Vertical layouts */
@media (width <= 950px) {
  #navbar {
    height: fit-content;
    position: relative;
  }
  #navbar h1 {
    font-size: 1.25rem;
  }
  .nav-wrapper {
    flex-direction: column;
    gap: 12px;
  }
  .nav-left, .nav-right {
    justify-content: start !important;
  }
  .nav-right {
    gap: 5%;
  }
  .nav-btn {
    font-size: 1.1rem;
    text-decoration: underline !important;
  }
}