@charset "UTF-8";
header {
  background: var(--background);
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  position: sticky !important;
  top: 0;
  z-index: 10 !important;
}

header a {
  color: var(--text);
  text-decoration: none;
}

.home {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
}

.logo {
  flex: none;
  width: auto;
  height: 40px;
}

.title-text {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  font-family: var(--title);
  text-align: left;
}

.title {
  font-size: var(--large);
}

.subtitle {
  font-size: 0.9rem;
  font-weight: var(--regular);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--primary);
  border-radius: var(--rounded);
  margin: 0;
  color: var(--text);
  appearance: none;
  transition: background var(--transition);
}

.nav-toggle:after {
  content: "☰";
  position: absolute;
  left: 50%;
  top: 50%;
  color: var(--text);
  font-size: 1.25rem;
  transform: translate(-50%, -50%);
}

.nav-toggle:checked:after {
  content: "×";
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--heading);
  text-transform: uppercase;
}

nav > a {
  padding: 5px;
}

nav > a:hover,
nav > a[aria-current=page] {
  color: var(--primary);
}

header :focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (max-width: 1020px) {
  header {
    gap: 12px;
    padding: 12px 16px;
  }
  .nav-toggle {
    display: block;
    flex: none;
  }
  .nav-toggle:not(:checked) + nav {
    display: none;
  }
  header nav {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-height: 65vh;
    overflow-y: auto;
  }
  header nav > a {
    padding: 10px 5px;
  }
}

/*# sourceMappingURL=header.css.map */