.nav_link_group_phone {
  display: none;
}

.toggler {
  display: none;
}

.Navbar_btn {
  display: none;
}

.toggler div {
  width: 1.5rem;
  height: 0.15rem;
  margin: 0.5rem;
  background: #0c1239;
  background-color: #0c1239;
  transition: 0.4s ease-in-out;
}

.toggler .toggle_item2 {
  width: 1rem;
}

.overflow {
  position: absolute;
  display: none;
  top: 0;
  height: 100%;
  background-color: rgba(66, 64, 64, 0.199);
}

@media (max-width: 580px) {
  .overflow.active {
    display: block;
    left: 0;
    bottom: 0;
    width: 100%;
  }
  .nav_link_group {
    display: none;
  }

  .toggler {
    display: block;
    width: 100%;
  }

  .toggler.toggle {
    display: flex;
    flex-direction: column;
    align-items: start;
  }

  /* animation toggle icon */
  .toggler.toggle .toggle_item1 {
    transform: rotate(-45deg) translate(-20px, 5px);
  }
  .toggler.toggle .toggle_item2 {
    opacity: 0;
  }
  .toggler.toggle .toggle_item3 {
    transform: rotate(45deg) translate(-20px, -5px);
  }

  .nav_link_group_phone {
    position: fixed; /* ✅ absolute emas */
    z-index: 1001; /* yuqoriroq bo‘lsin */
    top: 0;
    left: 0;
    height: 100vh;
    width: 80%; /* ✅ width: calc(40% + 100px) o‘rniga */
    max-width: 400px; /* qo‘shimcha himoya */
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 20px;
    padding: 10px;
    transform: translateX(-100%);
    transition: transform 0.4s ease-in-out;
    box-sizing: border-box; /* ✅ scrollni oldini olish */
  }

  .overflow {
    position: absolute;
    display: none;
    width: 100vw;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background-color: rgba(66, 64, 64, 0.199);
  }
}

.active {
  transform: translate(0);
}
