.header {
  background-color: #121114;
  border-top: 1px solid #1c1b1d;
  border-bottom: 1px solid #1c1b1d;
  padding: 8px 0;
}

.header_navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header_logo_link {
  display: block;
  width: 110px;
}

.burger-menu {
  display: block;
  position: relative;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1000;
}

.burger-menu span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #d6d6d6;
  border-radius: 6px;
  transition: all 0.9s ease;
}

.burger-menu span:nth-child(1) {
  top: 0;
}

.burger-menu span:nth-child(2) {
  top: 9px;
}

.burger-menu span:nth-child(3) {
  bottom: 0;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(43deg);
  top: 9px;
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-43deg);
  bottom: 9px;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.mobile-nav-overlay.active {
  display: block;
}

.header_menu_list {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 350px;
  height: 100vh;
  background-color: #1b1b24;
  display: flex;
  flex-direction: column;
  padding: 8px 24px 24px;
  z-index: 999;
  transition: left 0.9s ease;
}

.header_menu_list.active {
  left: 0;
}

.burger-menu {
  display: block;
}

.mobile_logo_item {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  margin-bottom: 24px;
}

.mobile_logo_link {
  display: block;
  width: 110px;
}

.mobile_menu_scroll {
  flex: 1;
  overflow-y: auto;
}

.mobile_menu_scroll::-webkit-scrollbar {
  display: none;
}

.header_menu_item {
  border-bottom: 1px solid #333333;
  width: 100%;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.header_menu_item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.header_menu_link {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-transform: capitalize;
  transition: font-weight 0.9s ease, transform 0.9s ease;
}

.header_menu_link:hover {
  font-weight: 900;
  transform: translateX(4px);
}

.header_menu_link_active {
  font-weight: 900;
  transform: translateX(4px);
}

@media screen and (min-width: 768px) {
  .header_logo_link {
    width: 130px;
  }

  .mobile_logo_link {
    width: 130px;
  }
}

@media screen and (min-width: 1024px) {
  .header {
    padding: 16px 0;
  }

  .header_menu_list {
    padding: 16px 24px 24px;
  }
}

@media screen and (min-width: 1440px) {
  .burger-menu,
  .mobile-nav-overlay {
    display: none !important;
  }

  .header_menu_list {
    position: static;
    height: auto;
    width: auto;
    max-width: none;
    background: none;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 0;
    overflow: visible;
  }

  .mobile_logo_item {
    display: none;
  }

  .mobile_menu_scroll {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .header_menu_item {
    border-bottom: none;
    width: auto;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .header_menu_link {
    display: inline-block;
    font-size: 18px;
    background: linear-gradient(90deg, #f2f2f2 16.15%, #f2f2f2 100%);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 0% 8%;
    transform: none;
    transition: background-size 0.9s ease;
  }

  .header_menu_link:hover {
    background-size: 100% 8%;
    transform: none;
  }

  .header_menu_link_active {
    background-size: 100% 8%;
    transform: none;
  }
}
