.navbar-container {
  width: 100%;
}

.sticky_element {
  position: relative;
  width: 100%;
  transition: all 0.3s ease;
}

.sticky_element.sticky_scrolled {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: #2c3545;
  box-shadow: 0 20px 20px -20px rgba(0, 0, 0, 0.25);
}

.sticky_element .navbar__top {
  height: 80px;
  transition: height 0.3s ease;
}

.sticky_element.sticky_scrolled .navbar__top {
  height: 100px;
}

.navbar {
  width: 100%;
  background-color: #2c3545;
  display: flex;
  justify-content: center;
}

.navbar__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  height: 80px;
}

.navbar__logo {
  max-height: 40px;
}

.navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 10px;
}
.navbar__burger span {
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

.navbar__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.navbar__burger.active span:nth-child(2) {
  opacity: 0;
}

.navbar__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

.navbar__list {
  display: flex;
  gap: 45px;
  list-style: none;
  margin-left: 20px;
  padding: 0;
  align-items: center;
}

.navbar__list-item {
  position: relative;
}

.navbar__list-link {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #2c3545;
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.navbar__list-item:hover .dropdown {
  display: flex;
}

.dropdown__link {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  padding: 8px 12px;
}

.dropdown__link:hover {
  background-color: #4e4b4b;
}


@media (max-width: 820px) {

  .navbar__burger {
    display: flex;
  }

  .navbar__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;

    position: absolute;
    top: 80px;
    left: 0;

    background-color: #2c3545;
    width: 100%;

    transform: translateY(-200%);
    transition: transform 0.3s ease;

    z-index: 1000;
    margin-left: 0;
  }

  .navbar__list.open {
    transform: translateY(0);
  }

  .dropdown {
    position: static;
    box-shadow: none;
    padding-left: 15px;
  }
}