@charset "UTF-8";

.nav-container {
  position: relative;
  width: 180px;
  margin: 0 auto;
  font-family: "work-sans", sans-serif;
  text-align: center;
}

.header__links .nav-container .lang-btn {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 2.62vh auto 0;
  padding: 8px 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-list {
  display: none;
  width: 100%;
  margin: 4px 0 0;
  padding: 4px 0;
  position: relative;
  z-index: 1000;
  list-style: none;
  background: #bcac8b;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.nav-list.is-open {
  display: block;
}

.nav-list__item {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.nav-list__item:last-child {
  border-bottom: 0;
}

.header__links .nav-list__item .nav-link {
  display: flex;
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 8px 14px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

.header__links .nav-list__item .nav-link::after {
  display: none;
}

.header__links .nav-list__item .nav-link:hover,
.header__links .nav-list__item .nav-link:focus-visible {
  color: #fff;
  background: #9f8d68;
  outline: none;
}

@media screen and (min-width: 1025px) {
  .nav-container {
    width: 160px;
    margin: auto 0;
  }

  .header__links .nav-container .lang-btn {
    min-height: auto;
    margin: auto;
    padding: 10px 4px;
  }

  .nav-list {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    left: auto;
    margin: 0;
  }
}
