.menu-wrap {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 45px;
  height: 45px;
  z-index: 1;
}

.menu-wrap .toggler {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 12;
  cursor: pointer;
  width: 50px;
  height: 50px;
  opacity: 0;
}


.hamburger {
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 15;
  width: 60px;
  height: 100%;
  padding: 1rem;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 950px) {
  .hamburger {
    display: none;
  }
}

.hamburger.active {
  position: fixed;
  top: 6px;
  height: 44px;
  right: 0;
}

/* Hamburger Line */
.hamburger>div {
  position: relative;
  z-index: 15;
  flex: none;
  width: 100%;
  height: 2px;
  background: var(--main-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

/* Hamburger Lines - Top & Bottom */
.hamburger>div::before,
.hamburger>div::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: -10px;
  width: 100%;
  height: 2px;
  background: inherit;
}

/* Moves Line Down */
.hamburger>div::after {
  top: 10px;
}

/* Toggler Animation */
.hamburger.active>div {
  background: var(--main-white);
  transform: rotate(135deg);
}

/* Turns Lines Into X */
.hamburger.active>div:before,
.hamburger.active>div:after {
  top: 0;
  transform: rotate(90deg);
}

/* Rotate On Hover When Checked */
.hamburger.active:hover>div {
  transform: rotate(225deg);
}

/* Show Menu */
.menu-wrap .toggler:checked~.menu {
  visibility: visible;
}

.menu-wrap .toggler:checked~.menu>div {
  transform: scale(1);
  transition-duration: var(--menu-speed);
}

.menu-wrap .toggler:checked~.menu>div>div {
  opacity: 1;
  transition: opacity 0.2s ease 0.2s;

}

.menu-wrap .menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  visibility: hidden;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-wrap .menu>div {
  margin-top: 120%;
  background: var(--second-blue);
  border-radius: 50%;
  width: 400vw;
  height: 400vw;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: all 0.35s ease;
}

.menu-wrap .menu>div>div {
  text-align: center;
  /* width: 100%; */
  max-width: 90vw;
  /* max-height: 100vh; */
  overflow: scroll;
  opacity: 0;
  position: relative;
  z-index: 10;
  transition: opacity 0.2s ease;

}

.menu-wrap .menu>div>div>ul {
  overflow-y: scroll;
}

.menu-wrap .menu>div>div>ul li {
  list-style: none;
  color: var(--main-white);
  font-size: 1.5rem;
  padding: 1rem;
}

.menu-wrap .menu>div>div>ul>li>ul {
  margin-left: 64px;
  border-left: 4px solid var(--main-blue);
}

.menu-wrap .menu>div>div>ul>li>ul>li {
  text-align: left;
}

.menu-wrap .menu>div>div>ul>li a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.menu-wrap .menu>div>div>ul li:hover {
  color: var(--main-blue);
}

@media(max-width: 950px) {

  .mainNavbar {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mainNavbar__logo {
    height: 100%;
    width: auto;
  }
}

.overlay_menu {
  position: fixed;
  z-index: 4;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: var(--main-blue);
  width: 100vw;
  height: 100vh;
  transform: scale(0.4);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.2s ease-in-out;
  overflow-y: auto;
  display: none;
}

.overlay_menu.menu--active {
  display: block;
  transform: scale(1);
  border-radius: unset;
  opacity: 1;
}

.menu {
  list-style: none;
  text-decoration: none;
  margin: 22px auto;
  width: fit-content;
  color: var(--main-white);
  padding: 22px;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  overflow: scroll;
}

.menu__item {
  color: var(--main-white);
  padding: 16px;
  font-size: 22px;
}

.menu__item.menu__item--centered {
  text-align: center;
}

.menu__item.menu__item--focused {
  align-self: center;
  border: 2px solid var(--main-white);
  border-radius: 4px;
  width: 50%;
  text-align: center;
}

.menu__item ul {
  margin-top: 10px;
  margin-left: 8px;
  font-size: 20px;
  border-left: 2px solid var(--main-white);
  padding: 0 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.menu__item ul li {
  padding: 12px 6px;
  transition: color 0.15s ease-in-out;
}

.menu__item ul li a:hover {
  color: var(--second-blue);
}

.menu__item a {
  color: var(--main-white);
}

.menu * {
  text-decoration: none;
  list-style: none;
}