.hamburger-icon {
  width: 36px;
  height: 32px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 5px;
  background-color: transparent;
  border: none;
  outline: none;

  @media (max-width: 992px) {
    display: flex;
  }

  span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
  }

  /* Optional: Styles for when the menu is open (e.g., transforming the icon into an 'X') */
  &.open {
    span:nth-child(1) {
      transform: translateY(11px) rotate(45deg);
    }

    span:nth-child(2) {
      opacity: 0;
    }

    span:nth-child(3) {
      transform: translateY(-11px) rotate(-45deg);
    }
  }
}

.mobile-menu {
  background-color: #212121;

  .btn-close {
    filter: invert(1);
  }

  .navigation {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;

    .nav-item {
      font-size: 24px;
      color: #fff;
      text-decoration: none;
      display: block;
      position: relative;
      width: fit-content;

      &::after {
        content: '';
        display: block;
        width: 0%;
        height: 2px;
        position: absolute;
        bottom: 0;
        border-radius: 999px;
        background-color: #fff;
        transition: all 0.3s ease;
      }

      &:hover {
        &::after {
          width: 100%;
        }
      }
    }

    .nav-item.nav-item-active {
      &::after {
        width: 95%;
      }
    }
  }
}


.social-follow-menu {
  background-color: #212121;

  .btn-close {
    filter: invert(1);
  }
  
  .navigation {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;

    .nav-item {
      font-size: 24px;
      color: #fff;
      text-decoration: none;
      display: block;
      position: relative;
      width: fit-content;
      display: flex;
      flex-direction: row;
      gap: 20px;

      &::after {
        content: '';
        display: block;
        width: 0%;
        height: 2px;
        position: absolute;
        bottom: 0;
        border-radius: 999px;
        background-color: #fff;
        transition: all 0.3s ease;
      }

      &:hover {
        &::after {
          width: 100%;
        }
      }
    }

    .nav-item.nav-item-active {
      &::after {
        width: 95%;
      }
    }
  }
}
