/* Site Header Section */

header {
  display: flex;
  align-items: center;
  position: fixed;
  z-index: 200;
  top: 0;
  width: 100%;
  height: auto;
  background: hsla(0, 0%, 100%, 0);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0);
  border-bottom: 1px solid rgba(0, 0, 0, 0);
  padding: var(--s-md) var(--s-lg);
  transform: translateY(0);
  will-change: transform;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

header.has-bg {
  background: hsla(0, 0%, 100%, 0.9);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.nav-bar {
  flex: 1;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--s-lg);
  text-align: left;
}

a.nav {
  font-family: "Open Sans", sans-serif;
  font-size: var(--fs-md);
  font-weight: bold;
  color: hsla(0, 0%, 0%, 0.4);
  text-decoration: none;
}

a.nav:hover {
  color: hsla(0, 0%, 0%, 0.8);
}

a.nav.selected {
  color: hsla(0, 0%, 0%, 0.8);
}
