header {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  min-height: var(--head-foot-height);
  max-height: var(--head-foot-height);

  background-color: var(--main-bg);
  border-bottom: var(--head-foot-border);
  box-shadow: var(--head-foot-shadow);
  z-index: 10;
  background-image: var(--head-foot-gradient);

  position: fixed;
  top: 0;
}

nav {
  padding: 5px 10px;
  padding-bottom: 10px;
  background-image: url(/img/header-bg.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 50% 100%;
}

nav,
.nav {
  width: 100%;
  display: flex;
}

.nav {
  overflow-x: auto;
  scrollbar-width: thin;
  display: flex;
  align-items: center;
  width: 100%;
}

.nav li:not(:first-child) {
  display: inherit;
  margin: auto;
}

.nav li {
  height: 100%;
  overflow: hidden;
  min-width: max-content;
}

.nav a:not(:has(.logo)) {
  display: inherit;
  align-items: center;
  flex: 1 1 auto;
  padding: 0 5px;
  min-width: max-content;
  text-shadow: black 2px 2px 5px;
}

.nav a:not(:has(.logo)):hover {
  text-shadow: 0px 0px 5px white;
}

header .logo {
  height: var(--head-foot-height);
  width: 100%;
  translate: 0 -10px;
  min-width: max-content;
}
