.en {
  .side_bar {
    left: var(--sidebarspace);
  }
}
.side_bar {
  width: var(--sidebarwidth);
  min-width: var(--sidebarminwidth);
  height: 95vh;
  max-height: 95vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--bgsidebar);
  color: var(--textsidebar);
  position: absolute;
  transition: all 0.6s ease;
  right: var(--sidebarspace);
  top: 5vh;
  border-radius: 20px;
  padding: 2% 0.2%;
  display: flex;
  flex-direction: column;
  z-index: 2;

  .logo {
    img {
      width: 100%;
    }
  }
  > h1 {
    color: var(--links);
    font-size: 0.9vw;
    font-weight: 400;
    text-align: center;
    position: relative;
    &::after {
      content: "";
      position: absolute;
      display: block;
      width: 90%;
      height: 1px;
      background-color: var(--links); /* Underline color */
      left: 5%;
      bottom: -7px;
    }
  }
  .side_bar_links {
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
    padding-inline: 7%;
    height: 60vh;
    overflow-y: auto;
    scroll-behavior: smooth;
    scroll-padding: 10rem;
    @include Scrollbar;
    position: relative;

    .link {
      display: flex;
      align-items: center;

      cursor: pointer;
      gap: 5%;
      padding: 0.7vw 1vw;
      border-radius: 5px;
      // font-family: 'Poppins', sans-serif !important;

      a {
        font-size: 0.9vw;
        font-weight: 600;
        color: #626262;
      }
      svg {
        color: var(--primary);
        font-size: 0.9vw;
      }
    }
  }
  button {
    background: var(--button);
    color: var(--white);
    font-size: 0.8vw;
    height: 2.5vw;
    width: 80%;
    font-weight: bold;
    margin-inline: auto;
    border-radius: 5px;
    margin-top: auto;
  }
}

.active.DropDownLink {
  a {
    color: black !important;
  }
}
.active {
  // transform: translateX(1vw);
  background-color: var(--bg);
  color: var(--text) !important;
  font-weight: bold;
  a {
    color: #626262 !important;
    font-weight: bold !important;
  }

  i {
    width: 1.5vw;
    height: 1.5vw;
    border-radius: 5px;
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;

    svg {
      color: var(--white) !important;
      text-align: center;
    }
  }
  .DropDownIcon {
    left: 2vw;
  }
}
.sub-menu {
  margin-bottom: 0;
}
.DropDownIcon {
  position: absolute;
  left: 2vw;
  svg {
    color: black;
  }
}
