:root {
  --bg: white;
  --link-color: grey;
  --overlay-body: black;
}

.overlay {
  position: absolute;
  width: 100vw;
  height: 100vh;
  top: 0;
  right: 0;
  z-index: 0;
}

.overlay {
  transform-origin: top right;
}

svg path {
  fill: fill;
  transition: fill 0.3s;
}

#toggle-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2em;
  z-index: 9999;
  margin-right: 10px;
  cursor: pointer;
}

.btn-outline {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 1px solid white;
}

.btn-outline-1 {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph 4s linear infinite;
}

.btn-outline-2 {
  border-radius: 53% 47% 43% 57% / 51% 39% 61% 49%;
}

@keyframes morph {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }

  100% {
    border-radius: 60% 40% 30% 70% / 60% 40% 70% 40%;
  }
}

#hamburger {
  position: relative;
  width: 20px;
  height: 20px;
  z-index: 2;
}

#hamburger span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 2.25px;
  background: white;
  transition: transform 0.25s;
}

#hamburger span::before {
  position: absolute;
  right: 0;
  content: "";
  width: 18px;
  height: 1.25px;
  background: white;
  transform: translateY(-6px);
  transition: transform 0.25s;
}

#hamburger.active span {
  transform: rotate(45deg);
}

#hamburger.active span::before {
  top: unset;
  width: 24px;
  transform: rotate(-90deg);
  background: white;
}

.menu {
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  pointer-events: none;
  opacity: 0;
  z-index: 4;
}

.menu > div {
  height: 100%;
  width: 100%;
  display: flex;
}

.menu a {
  position: relative;
  top: 120px;
  line-height: 70%;
  text-decoration: none;
  color: white;
  font-size: 32px;
}

.menu a span {
  font-size: 20px;
  margin-right: 1em;
}

.menu-item {
  position: relative;
  margin-bottom: 10px;
}
.menu-item a {
  position: relative;
  overflow: hidden;
}

.menu-item a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: white;
  transition: width 0.4s ease-in-out;
}

.menu-item a:hover::after {
  width: 100%;
}
.menu-container {
  width: 70%;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.primary-menu {
  flex: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.primary-menu .menu-container .wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.primary-menu a {
  text-transform: uppercase;
  font-size: 64px;
  font-weight: 500;
}

.secondary-menu {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2em;
}
.secondary-menu .menu-item {
  position: relative;
  margin-bottom: 20px;
}

@media screen and (min-width: 1400px) and (max-width: 1920px) {
  .menu-item {
    position: relative;
    margin-bottom: 30px;
  }

  .secondary-menu .menu-item {
    position: relative;
    margin-bottom: 30px;
  }
  #toggle-btn {
   


    margin-right: 10px;

}
}

/* Default hover state when menu is closed */
body:not(.menu-open) #toggle-btn:hover .btn-outline {
  border-color: #f0a8ff !important;
  filter: drop-shadow(0 0 5px #f0a8ff);
}

body:not(.menu-open) #toggle-btn:hover #hamburger span,
body:not(.menu-open) #toggle-btn:hover #hamburger span::before {
  background: #f0a8ff !important;
}

/* Hover state when menu is open (force white) */
body.menu-open #toggle-btn:hover .btn-outline {
  border-color: white !important;
  filter: drop-shadow(0 0 5px white);
}

body.menu-open #toggle-btn:hover #hamburger span,
body.menu-open #toggle-btn:hover #hamburger span::before {
  background: white;
}
@media screen and (max-width: 780px) {

.btn-outline.btn-outline-2 {
    height: 80px !important;
    width: 80px !important;
}
.btn-outline.btn-outline-1 {
    height: 80px !important;
    width: 80px !important;
}
}