.hamburger-nav {
    border: solid 2px var(--secondary);
    border-radius: 30px;
    padding: 7px 15px;
}

#nav-icon {
  width: 30px;
  height: 22.5px;
  position: relative;
  margin-left: 0rem;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}


#nav-icon span {
  display: block;
  position: absolute;
  height: 2.5px;
  width: 50%;
  background: var(--black);
  opacity: 1;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

.template-dark #nav-icon span {
    background: var(--white);
}

#nav-icon span:nth-child(even) {
  left: 50%;
  border-radius: 0 9px 9px 0;
}

#nav-icon span:nth-child(odd) {
  left:0px;
  border-radius: 9px 0 0 9px;
}

#nav-icon span:nth-child(1), #nav-icon span:nth-child(2) {
  top: 4px;
}

#nav-icon span:nth-child(3), #nav-icon span:nth-child(4) {
  top: 11px;
}

#nav-icon span:nth-child(5), #nav-icon span:nth-child(6) {
  top: 18px;
}

#nav-icon.open span:nth-child(1),#nav-icon.open span:nth-child(6) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon.open span:nth-child(2),#nav-icon.open span:nth-child(5) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon.open span:nth-child(1) {
  left: 2.5px;
  top: 3.5px;
}

#nav-icon.open span:nth-child(2) {
  left: calc(50% - 2.5px);
  top: 3.5px;
}

#nav-icon.open span:nth-child(3) {
  left: -50%;
  opacity: 0;
}

#nav-icon.open span:nth-child(4) {
  left: 100%;
  opacity: 0;
}

#nav-icon.open span:nth-child(5) {
  left: 2.5px;
  top: 14.5px;
}

#nav-icon.open span:nth-child(6) {
  left: calc(50% - 2.5px);
  top: 14.5px;
}

.nav-icon-text {
    color: var(--secondary);
    font-size: var(--bs-nav-link-font-size);
    margin-left: 0.5rem;
    cursor:pointer;
}