.nav-link {
  color: var(--gray);
  transition: all 0.2s ease-in-out;
}

.nav-link.active {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
}

.nav-item .btn.active {
  color: var(--accent);
  border: 2px solid var(--accent);
  background-color: var(--bg-lilac);
  transition: all 0.2s ease-in-out;
}

.nav-item .btn.active:hover {
  color: white;
  border: 2px solid var(--primary);
  background-color: var(--accent);
  transition: all 0.2s ease-in-out;
}

.nav-link:focus,
.nav-link:hover {
  color: var(--primary);
}

.navbar-toggler {
  border: none;
  position: relative;
  width: 15px;
  height: 13px;
  padding: 0;
  display: inline-flex;
}

.navbar-toggler span {
  display: block;
  position: absolute;
  height: 1.5px;
  width: 100%;
  background: var(--black);
  opacity: 1;
  left: 0;
  border-radius: 2px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

.navbar-toggler span {
  background: var(--black);
}

.navbar-toggler span:nth-child(1) {
  top: calc(50% - 6px);
  transform: translateY(-50%);
}

.navbar-toggler span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.navbar-toggler span:nth-child(3) {
  top: calc(50% + 6px);
  transform: translateY(-50%);
}

.navbar-toggler:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] span:nth-child(1) {
  top: 7px;
  width: 0%;
  left: 50%;
}

.navbar-toggler[aria-expanded="true"] span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: calc(50% + 0.3px);
}

.navbar-brand {
  padding: 0 0 0 28px;
  margin: 0;
  line-height: 0;
}

@media screen and (min-width: 992px) {
  .navbar.fixed-top {
    top: 24px;
    left: 24px;
    width: calc(100% - 48px);
  }

  .navbar {
    background: #fff;
    border-radius: 100px;
    padding: 12px;
    box-shadow: rgba(51, 55, 66, 0.04) 0px 2px 4px,
      rgba(51, 55, 66, 0.04) 0px 4px 8px, rgba(51, 55, 66, 0.02) 0px 4px 12px;
  }

  .nav-item {
    margin: 0 8px;
  }

  .nav-item:last-child {
    margin-right: 0;
  }

  .navbar-brand img {
    height: 32px;
  }
}

@media screen and (max-width: 991px) {
  .navbar {
    padding: 44px 24px 44px 24px;
    background: transparent;
    box-shadow: none;
    transition: all 200ms ease;
  }

  .navbar-open .navbar {
    background: #f0ecf6;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    align-items: flex-start;
  }

  .navbar:before {
    content: "";
    position: absolute;
/*     left: 24px;
    top: 24px;
    width: calc(100% - 48px); */
    left: 20px;
    top: 24px;
    width: calc(100% - 40px);

    height: 64px;
    border-radius: 100px;
    background: #fff;
    z-index: -1;
    box-shadow: rgba(51, 55, 66, 0.04) 0px 2px 4px,
      rgba(51, 55, 66, 0.04) 0px 4px 8px, rgba(51, 55, 66, 0.02) 0px 4px 12px;
  }

  .navbar-brand {
    padding: 0 0 0 16px;
  }

  .navbar-brand img {
    height: 24px;
  }

  .navbar-toggler {
    right: 20px;
  }

  .nav-link-icon {
    display: flex;
    align-items: center;
    column-gap: 16px;
    padding: 20px 16px !important;
    border-radius: 16px;
    margin-bottom: 16px;
    background: #fff;
  }

  .nav-item-icon:nth-child(1) .nav-link-icon {
    margin-top: 52px;
  }

  .nav-item-icon:nth-child(3) .nav-link-icon {
    margin-bottom: 40px;
  }

  .nav-item .btn {
    justify-content: center;
    margin-bottom: 16px;
    height: 50px;
  }
}
.blur-nav-overlay {
  backdrop-filter: blur(16px);
  position: fixed;
  content: "";
  width: calc(100% - 48px);
  height: 57px;
  top: 0px;
  left: 24px;
  z-index: 1;
  background-color: #ffffff3d;
}
@media screen and (max-width: 991px) {
  .blur-nav-overlay {
    left: -4px;
    height: 62px;
    width: calc(100% - 40px);
  }
}
