@charset "UTF-8";
#skip-to-main {
  position: absolute;
  background: white;
  padding: 0.5rem;
}
#skip-to-main:focus {
  z-index: 99;
}

nav {
  border-bottom: 2px solid var(--primary-color);
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "meno-text", serif;
  font-weight: 500;
  position: fixed;
  width: 100%;
  z-index: 9;
  height: 105px;
}
nav img {
  max-width: 16rem;
  align-self: end;
}
nav #menu-icon {
  display: none;
}
nav .links {
  font-size: 1rem;
  font-weight: bold;
}
nav .links ul:not(.sub-menu) > .menu-item:last-child a {
  background-color: var(--secondary-color);
  color: var(--main-bg-color);
  padding: 0.5rem 1rem;
  border-radius: 3px;
}
nav .links ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding-right: 2rem;
}
nav .links ul .menu-item {
  padding: 40px 0;
  display: flex;
  align-items: center;
}
nav .links ul .menu-item.menu-item-has-children::after {
  content: "▼";
  font-size: 0.75rem;
  top: 1px;
  left: 6px;
  position: relative;
}
nav .links ul .menu-item a {
  text-decoration: none;
  white-space: nowrap;
  color: var(--primary-color);
}
nav .links ul .menu-item a:hover {
  text-decoration: underline;
}
nav .links ul .menu-item a[href="#"] {
  pointer-events: none;
  font-style: italic;
}
nav .links ul .menu-item .sub-menu {
  position: absolute;
  background-color: white;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border: 2px solid #8b4437;
  border-top: none;
  top: 4.4rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
nav .links ul .menu-item .sub-menu .menu-item {
  padding: 0;
}
nav .links ul .menu-item .sub-menu.visible {
  opacity: 1;
  pointer-events: all;
}

@media screen and (max-width: 1280px) {
  nav {
    height: 88px;
  }
}
@media screen and (max-width: 768px) {
  nav {
    height: 68px;
  }
  nav #menu-icon {
    display: block;
    border-radius: 0;
    margin-right: 1rem;
    width: 1.75rem;
    margin-bottom: 1.25rem;
  }
  nav #logo {
    width: 12rem;
  }
  nav .links {
    position: fixed;
    top: 52px;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  nav .links.visible {
    opacity: 1;
    pointer-events: all;
  }
  nav .links ul:not(.sub-menu) > .menu-item:last-child a {
    padding: 1.5rem 1rem;
  }
  nav .links #menu-header {
    flex-direction: column;
    background: white;
    padding: 1rem;
    gap: 0;
    border-bottom: 2px solid var(--primary-color);
  }
  nav .links #menu-header .menu-item {
    padding: 1rem 0;
    flex-direction: column;
    align-items: flex-start;
  }
  nav .links #menu-header .menu-item:not(:last-child) {
    border-bottom: 2px solid var(--primary-color);
  }
  nav .links #menu-header .menu-item.menu-item-has-children {
    border-bottom: none;
  }
  nav .links #menu-header .menu-item.menu-item-has-children::after {
    content: none;
  }
  nav .links #menu-header .menu-item:last-child a {
    width: 100%;
    display: inline-block;
    margin-top: -1.25rem;
    height: 35px;
    display: flex;
    align-items: center;
  }
  nav .links #menu-header .menu-item .sub-menu {
    position: relative;
    width: 100%;
    opacity: 1;
    border: 0;
    margin: 0;
    pointer-events: all;
    margin-top: -4.75rem;
    padding-top: 0;
  }
}

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