.header {
  position: relative;
}

.header-menu {
  z-index: 150;
  background-color: #fff;
}

.header {
  a:hover {
    color: $tertiary-color;
  }
}

.header-link-more {
  position: relative;

  &:hover {
    color: $tertiary-color;
    .arrow-line-1,
    .arrow-line-2 {
      // transform: rotate(0deg);
      // bottom: -10px;
      // opacity: 0;
      background-color: $tertiary-color;
    }
  }
}

.header-link:hover {
  color: $tertiary-color;
}

.header-link,
.header-link-more {
  transition: all 0.2s;
  padding-left: 32px;
  padding-right: 32px;
}

.header-sub-menu {
  position: absolute;
  left: 0;
  padding-left: 26%;
  z-index: 100;
  top: 100px;
  width: 75%;
  background-color: #fff;
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;
  box-shadow: -6px 5px 30px -20px #a9a9a9;
  transition: all 0.3s;
  pointer-events: none;
  transform: translateY(-20%);
  opacity: 0;

  &--news {
    padding-left: 44.8%;
  }

  .nuxt-link-active {
    color: $tertiary-color;
  }
}
.header-sub-menu.open {
  pointer-events: all;
  opacity: 1;
  transform: translateY(0);
}

.hamb-menu {
  display: none;
}
.mob-submenu {
  display: none;
}

@media (max-width: 1600px) {
  .header-link,
  .header-link-more {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 1200px) {
  .header {
    padding-right: 22px;
  }
}

@media (max-width: 1000px) {
  .hamb-menu {
    display: flex;
    flex-direction: column;
    .hamb-line {
      width: 36px;
      height: 1px;
      margin: 4px;
      background-color: $primary-color;
      transition: all 0.25s;
    }
  }
  .hamb-menu.open {
    .hamb-line:nth-child(2) {
      visibility: hidden;
      background-color: #fff;
    }
    .hamb-line:nth-child(1) {
      transform: rotate(45deg) translateX(6px) translateY(5px);
    }
    .hamb-line:nth-child(3) {
      transform: rotate(-45deg) translateX(9px) translateY(-6px);
    }
  }

  .header-menu {
    flex-direction: column;
  }
  .header-link,
  .header-link-more p {
    font-size: 20px;
  }
  .header-link,
  .header-link-more {
    padding-bottom: 5px;
    padding-top: 5px;
  }
  .header-cont {
    justify-content: flex-start;
  }
  .header-nav {
    // display: none;
    position: fixed;
    padding-top: 150px;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 50;
    background-color: #fff;
    transform: translateX(-100%);
    transition: all 0.4s ease-in-out;
    .nuxt-link-exact-active {
      color: $tertiary-color;
    }
  }
  .header-nav.open {
    display: flex;
    transform: translateX(0%);
  }
  .header-mob {
    z-index: 90;
    width: 100%;
  }

  .header-sub-menu.open {
    opacity: 0;
  }

  .mob-submenu.open {
    display: flex;
  }

  .header-sub-menu.open {
    pointer-events: none;
  }
}
