.NavBar {
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: max(3vh, 10px) max(50px, 4vw);
  position: fixed;
  width: calc(100% - 100px);
  z-index: 999999999;
  font-size: max(20px, 1.5vw);
  img,
  svg {
    width: 60px;
    font-size: 30px;
  }
  > ul {
    display: flex;
    li {
      all: unset;
      cursor: pointer;
      transition: 0.5s ease-in-out;
      &:hover {
        scale: 1.1;
      }
    }
  }
  .NavBarLinks {
    display: flex;
    gap: max(20px, 2vw);

    a {
      color: var(--white) !important;
      opacity: 0.6;
      transition: 0.5s ease-in-out;
      font-weight: normal;
      font-size: 18px;
      &:hover {
        color: var(--secondary) !important;
        scale: 1.1;
        opacity: 1;
      }
    }
    .activeLink {
      a {
        color: var(--thirdly) !important;
        opacity: 1;
      }
    }
  }
  > div {
    article {
      &:nth-child(2) {
        display: none;
      }
    }
  }
}

@media screen and (max-width: 900px) {
  .NavBar {
    .NavBarLinks {
      display: none !important;
    }
    > div {
      display: flex;
      article {
        &:nth-child(2) {
          display: block;
        }
      }
    }
  }
}

.NavBarContent {
  position: relative;
  z-index: 9999999999;
  background: var(--thirdly);
  width: 150px;
  min-height: 200px;
  padding-top: 20px;
  .NavBarLinks {
    all: unset;
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--white);
    li {
      border-bottom: 1px solid var(--white);
      padding: 10px;
      &:last-child {
        border: none;
      }
    }
  }
}
.ant-popover,
.ant-popover-inner {
  padding: 0 !important;
  z-index: 999;
  margin-inline: 30px;
}
