header {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 100;
  background-image: url('/assets/backgrounds/light-paper.jpg');
  background-position: center;
  background-size: 800px;
}

@media (max-width: 768px) {
  .header-main {
    visibility: hidden;
    height: 85px;
  }
}

.header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
}

.header-content {
  width: 1200px;
  display: flex;
  margin: 0 auto;
  max-width: 100%;
  padding: 30px 10px;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  margin: 0;
}

@media (max-width: 1200px) {
    .header-content {
        width: 992px;
    }
}

.header-sticky .header-content {
  padding: 5px 0;
}

@media (max-width: 992px) {
  .header-content {
    flex-direction: column;
  }
}

.header-logo-link {
  max-width: 80%;
  width: 500px;
  margin: 10px 0;
}


.header-logo {
  margin: 0 auto;
  display: block;
  max-width: 100%;
}

.header-sticky .header-logo-link {
    max-width: 300px;
    margin: 10px 0;
}

nav {
  display: flex;
  max-width: 500px;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.nav-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  text-align: center;
}

.nav-content > li {
  padding: 10px;
  flex: 1;
  position: relative;
}

@media (max-width: 400px) {
  .nav-content > li {
    padding: 10px 5px;
    font-size: 12px;
  }
}

.nav-content > li > a {
  font-family: 'Cormorant Garamond';
  text-transform: uppercase;
  line-height: 1em;
  font-weight: 200;
  color: #555555;
}

.nav-content > li > a.nav-link-active {
  font-weight: 700;
  font-size: 1.3em;
}

.nav-content > li > ul.nav-submenu {
  position: absolute;
  display: block;
  top: 95%;
  right: 0;
  width: 200px;
  border-radius: 5px;
  background-color: #d9d9d9;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);

  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.nav-content > li > ul.nav-submenu::before {
  content: ' ';
  position: absolute;
  top: -5px;
  right: 20px;
  width: 20px;
  height: 20px;
  z-index: 2;
  transform: rotateZ(45deg);
  background-color: #d9d9d9;
}

.nav-content > li:hover > ul.nav-submenu {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

.nav-content > li > ul.nav-submenu > li:first-child {
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}
.nav-content > li > ul.nav-submenu > li:last-child {
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}
.nav-content > li > ul.nav-submenu > li:hover {
  background-color: #ebb710;
  z-index: 10;
  position: relative;
}

.nav-content > li > ul.nav-submenu > li > a {
  color: black;
  display: block;
  font-family: 'Cormorant Garamond';
  padding: 10px 20px;
}
