.header {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
}
.header__desktop {
  display: none;
}
.header__mobile {
  display: block;
  padding-inline: 20px;
}
.header__mobile-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 118px;
}
.header__logo {
  display: flex;
  align-items: center;
  padding: 0 21px;
  min-height: 89px;
}
.header__button-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  aspect-ratio: 1 / 1;
  background-color: #2d8c55;
  border-radius: 2px;
  color: #1d1d1b;
  border: none;
  padding: 0;
}
.header__button-menu svg {
  width: 100%;
  max-width: 20px;
}
@media (min-width: 1024px) {
  .header__desktop {
    display: block;
    padding: 0 55px;
    min-height: 121px;
  }
  .header__mobile {
    display: none;
  }
  .header__desktop-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    grid-column-gap: 20px;
  }
  .header__left {
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 0;
  }
  .header__list {
    display: flex;
    flex-wrap: wrap;
    align-self: center;
    list-style: none;
    margin: 0;
  }
  .header__item-link {
    display: flex;
    align-items: center;
    height: 100%;
    font-size: 0.9375rem;
    line-height: 120px;
    text-transform: uppercase;
    color: #ffffff;
    padding-inline: 25px;
    transition: color 150ms;
  }
  .header__item-link--active {
    color: #6ec873;
  }
  .header__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    min-height: 0;
  }
  .header__button {
    display: flex;
    align-items: center;
    padding-block: 5px;
    padding-inline: 24px;
    min-height: 41px;
    font-size: 0.9375rem;
    font-weight: 600;
    background-color: #ffffff;
    color: #1d1d1b;
    transition: background-color 150ms;
  }
}
@media (hover: hover) and (pointer: fine) {
  .header__item-link:hover {
    color: #6ec873;
  }
  .header__button:hover {
    background-color: #2d8c55;
  }
}
