.navigation-container {
  display: flex;
  align-items: center;
}

@media (min-width: 864px) {
  .navigation-container {
    width: 100%;
    align-items: flex-end;
  }
}

/* hamburger menu */
#menu__toggle {
  opacity: 0;
}

#menu__toggle:checked ~ .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked ~ .menu__btn > span::before {
  top: 0;
  transform: rotate(0);
}
#menu__toggle:checked ~ .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}

.menu__btn {
  display: flex;
  align-items: center;
  position: absolute;
  width: 16px;
  height: 12px;
  cursor: pointer;
  z-index: 1;
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--fugle-black);
  transition-duration: .25s;
}
.menu__btn > span::before {
  content: '';
  top: -6px;
}
.menu__btn > span::after {
  content: '';
  top: 6px;
}

@media (min-width: 864px) {
  .menu__btn, #menu__toggle {
    display: none;
  }
}

/* open-account-btn */
.open-account-btn {
  width: 90px;
  height: 30px;
  border-radius: 50px;
  color: #ffffff;
  margin: 0 12px 0 18px;
  z-index: 1;
  cursor: pointer;
  background-image: url('../../../images/section1/btn-sm.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

@media (min-width: 864px) {
  .open-account-btn {
    width: 100px;
    height: 34px;
  }
}

/* anchor */
.navigation {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  background-color: #ffffff;
  padding: 20px 0 20px 30px;
  visibility: hidden;
  transition-duration: .25s;
}

.nav-link {
  transition: font-weight 0.3s;
  line-height: 20px;
  opacity: 0.5;
}

.nav-link.active {
  font-weight: 500;
  opacity: 1;
}

.nav-link + .nav-link {
  margin-top: 8px;
}

#menu__toggle:checked ~ .navigation {
  visibility: visible;
  top: 44px;
}

@media (min-width: 864px) {
  .navigation {
    flex-direction: row;
    position: unset;
    background-color: transparent;
    width: unset;
    padding: 0;
    visibility: visible;
    margin: auto;
  }

  .nav-link {
    font-size: 18px;
    line-height: 26px;
  }

  .nav-link + .nav-link {
    margin-top: 0;
    margin-left: 30px;
  }
}

/* mask */
#menu__toggle:checked ~ .viewport-mask {
  position: fixed;
  top: 44px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 44px);
  background-color: rgba(0, 0, 0, .5);
  z-index: -1;
}

@media (min-width: 864px) {
  #menu__toggle:checked ~ .viewport-mask {
    display: none;
  }
}