@font-face {
  font-family: 'MarcovisaMenu';
  src: url('../we/font/MARCOVISA.otf') format('opentype'),
  url('../we/font/MARCOVISA.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'MarcovisaNavigation';
  src: url('../fonts/marcovisa-webfont.woff2') format('woff2'),
  url('../fonts/marcovisa-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.shared-header {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  height: 74px;
  padding: 16px 30px;
}
.shared-logo {
  display: block;
  width: 120px;
  height: 41px;
}
.shared-menu-toggle,
.shared-menu-close {
  display: block;
  padding: 8px;
  border: 0;
  background: none;
  cursor: pointer;
}
.shared-menu-toggle img {
  display: block;
  width: 32px;
  height: 25px;
}
.shared-menu-close {
  position: absolute;
  top: 0;
  right: 40px;
}
.shared-menu-close img {
  display: block;
  width: 32px;
  height: 31px;
}

.shared-overlay {
  position: fixed;
  z-index: 999999999;
  top: 0;
  left: -100vw;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: auto;
  background: #fff;
  color: #000;
  font-family: 'MarcovisaNavigation', sans-serif;
  font-weight: normal;
  line-height: 51px;
  text-align: center;
  transition: left .5s;
}
.shared-overlay.is-open {
  left: 0;
}
body.navigation-open {
  overflow: hidden;
}
.shared-menu-content {
  width: 100%;
  margin-top: 10vw;
}
.shared-menu-item {
  width: 250px;
  height: 83px;
  margin: 0 auto;
}
.shared-menu-link {
  position: relative;
  display: block;
  box-sizing: border-box;
  padding: 8px;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  color: #000;
  font-size: 70px;
  font-weight: normal;
  line-height: 51px;
  text-decoration: none;
}
.shared-menu-link:hover,
.shared-menu-link:focus-visible {
  color: #000;
  text-decoration: none;
}

.shared-menu-stroke {
  position: absolute;
  top: 0;
  left: 50%;
  display: none;
  width: 206px;
  height: 83px;
  transform: translateX(-50%);
  pointer-events: none;
}
.shared-menu-link:hover .shared-menu-stroke,
.shared-menu-link:focus-visible .shared-menu-stroke {
  display: block;
}
.shared-hover-do {
  filter: hue-rotate(240deg) saturate(1.2);
}
.shared-menu-brand {
  display: block;
  width: 150px;
  height: 14px;
  margin: 204px auto 28px;
}
.shared-header a:focus-visible,
.shared-menu-toggle:focus-visible,
.shared-menu-close:focus-visible {
  outline: 2px solid #000;
  outline-offset: 6px;
}
@media (max-width: 650px) {
  .shared-header {
    padding: 16px 20px;
  }
}
@media (max-width: 780px) {
  .shared-overlay {
    padding-top: 160px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .shared-overlay {
    transition: none;
  }
}
