.menu-overlay {
  position: fixed;
  top: -10vh;
  left: 50%;
  width: clamp(2000px, 200vw, 4500px);
  height: 120vh;
  background-color: rgba(0, 0, 0);
  z-index: 1000;
  transform: translateX(-50%) translateY(100%);
  border-radius: 90% 90% 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  place-items: center;
}

.menu-overlay.active {
  transform: translateX(-50%) translateY(0%);
  border-radius: 0 0 0 0;
}

.menu-overlay.fade-out {
  transform: translateX(-50%) translateY(-100%);
  border-radius: 90% 90% 0 0;
}

header {
  background-color: #00000000;
  transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.menu-overlay + header {
  transition: padding-top 0.6s cubic-bezier(0.645, 0.045, 0.355, 1),
    padding-bottom 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.scroll-active {
  backdrop-filter: blur(10px);
  background-color: #00000094;
  padding-top: 15px;
  padding-bottom: 15px;
}
#contact-page-header.scroll-active .header-title {
  color: white !important;
  transition: 0s !important;
}

#contact-page-header.scroll-active path {
  stroke: #ffffff !important;
  transition: 0s !important;
}

.menu-overlay.active + header {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}

.menu-overlay.active div {
  opacity: 1;
  transform: translate(0%, 0%);
}

header input {
  display: none;
}

svg {
  display: block;
  cursor: pointer;
  width: 60px;
  height: 60px;
  max-width: 150px;
  max-height: 150px;
}

path {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  --length: 24;
  --offset: -38;
  stroke-dasharray: var(--length) var(--total-length);
  stroke-dashoffset: var(--offset);
  transition: all 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
  transform: translate(0%, 0%) scale(1.5);
  transform-origin: center;
}

.cross.hamburger-active svg {
  .line--1,
  .line--3 {
    --length: 22.627416998;
  }
  .line--2 {
    --length: 0;
  }
}

.menu--1 {
  .line--1,
  .line--3 {
    --total-length: 126.64183044433594;
  }
  .line--2 {
    --total-length: 70;
  }
}

.hamburger-active svg {
  .line--1,
  .line--3 {
    --offset: -94.1149185097;
  }
  .line--2 {
    --offset: -50;
  }
}

.header-title {
  transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1) 0.4s;
  transform: translateX(0);
  opacity: 1;
}

.header-title.active {
  transform: translateX(50px);
  opacity: 0;
}

.menu-overlay ul li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  text-align: center;
  color: #777777 !important;
  position: relative;
  overflow: hidden;
  font-size: calc(28 * 1px + (42 - 28) * ((100vw - 320px) / 1600)) !important;
}

.menu-overlay ul li span {
  display: inline-block;
  opacity: 1;
  transform: translate(0%, -100%);

  transition: transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1) var(--delay),
    opacity 0.6s cubic-bezier(0.645, 0.045, 0.355, 1) var(--delay);
}

.menu-overlay.active ul li span {
  opacity: 1;
  transform: translate(0%, 0%);
}

.menu-overlay.fade-out ul li span {
  transition: transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1),
    opacity 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
  opacity: 1;
  transform: translate(0%, 100%);
}

.menu-overlay ul li a {
  font-weight: 400;
  letter-spacing: 2.5px;
  line-height: 1.4;
  transition: 0.3s ease-in-out;
}

.menu-overlay ul li a:hover {
  color: #ffffff !important;
}

#responsive-menu,
#navigation-resp {
  display: none;
}

h4 {
  font-weight: 300;
  letter-spacing: 2px;
  line-height: 1.3;
  text-transform: uppercase;
}
