.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  // background-color: $primary-color;
  color: #fff;
}

.logo-color {
  display: none;
}
.logo-white {
  display: block;
}

.light {
  background-color: transparent;
  .logo-color {
    display: block;
  }
  .logo-white {
    display: none;
  }
}

.transparent {
  background-color: transparent;
  position: absolute;
  width: 100%;
}

.header-logo {
  z-index: 5;
}

.nav-links {
  position: relative;
  h4 {
    z-index: 5;
  }
  .nuxt-link-exact-active {
    color: $secondary-color;
  }
}

.nav-links {
  position: relative;
  z-index: 5;
}
.nav-wrap {
  position: relative;
  z-index: 15;
}

.nav-bg {
  position: absolute;
  width: 150%;
  height: 130px;
  z-index: 1;
  top: -30px;
  left: -25%;
  pointer-events: none;
}

.header-bag {
  position: relative;
  pointer-events: all;
  cursor: pointer;
  z-index: 14;
}

.header-bag-number {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 19px;
  background-color: $tertiary-color;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header a {
  transition: all 0.2s;
  &:hover {
    color: $secondary-color;
  }
}

.header-white-box {
  position: absolute;
  width: 100px;
  height: 220px;
  right: 0;
  top: -100px;
  z-index: 14;
  background: linear-gradient(white 90%, #ffffff00);
}

.header-bag-fixed {
  position: fixed;
  z-index: 12;
  background-color: #ef9d1c;
  right: 1%;
  top: 10px;
  height: 43px;
  width: 45px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 7px;
  border-radius: 50%;
  box-shadow: 0px 0px 0px 10px #ef9d1c;
  opacity: 0;
  transition: all 1s ease 1s;
}
.header-bag-fixed.in-viewport {
  opacity: 1;
}

.lang-wrap {
  position: relative;
  z-index: 5;
  color: #fff;
  cursor: pointer;
  &:hover {
    .lang-sub {
      display: block;
      padding-top: 15px;
    }
  }
}
.lang-wrap.nav {
  color: $primary-color;
}
.lang-sub {
  padding-top: 5px;
  position: absolute;
  display: none;
  z-index: 10;
}
.lang {
  display: block;
  color: $tertiary-color;
}
.active-lang {
  display: none;
  color: $secondary-color;
}

.hamb-btn {
  display: none;
}

.mob-show {
  display: none;
}

@media (max-width: 1200px) {
  .header-bag-fixed {
    right: 8px;
    top: 8px;
    box-shadow: 0px 0px 0px 8px #ef9d1c;
  }
}
@media (max-width: 1000px) {
  .header-bag-fixed {
    height: 40px;
    width: 40px;
  }
}

@media (max-width: 800px) {
  .header {
    overflow-x: hidden;
  }
}

@media (max-width: 700px) {
  .header {
    position: fixed;
    width: 100%;
    z-index: 500;
    // background-color: #fff;
    background-color: $primary-color;
    padding: 5px 5%;
    overflow-x: unset;
  }

  .transparent {
    background-color: $primary-color;
  }

  .light {
    background-color: #fff;
  }

  .header-white-box {
    display: none;
  }
  .nav-bg {
    width: 250px;
    height: 100px;
    right: -35px;
    top: -26px;
    left: unset;
  }

  .hamb-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 5;
    margin-left: 10px;
    cursor: pointer;
    .hamb-line {
      width: 34px;
      height: 4px;
      margin: 3px;
      background-color: $tertiary-color;
      transition: all 0.25s;
    }
  }
  .hamb-btn.open {
    .hamb-line:nth-child(2) {
      visibility: hidden;
      background-color: #fff;
    }
    .hamb-line:nth-child(1) {
      transform: rotate(45deg) translateX(7px) translateY(6px);
    }
    .hamb-line:nth-child(3) {
      transform: rotate(-45deg) translateX(8px) translateY(-7px);
    }
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: $primary-color;
    color: $secondary-color;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s;
    h4 {
      margin-bottom: 20px;
      font-size: 46px;
    }
    .nuxt-link-exact-active {
      color: $primary-color;
    }
  }
  .nav-links.show {
    pointer-events: all;
    transform: translateY(0%);
    opacity: 1;
    background-color: #ffeed3;
  }

  .header-bag.nav {
    img {
      filter: invert(1);
    }
  }
  .header-bag-fixed {
    display: none;
  }

  .header a:hover {
    color: inherit;
  }

  .mob-show {
    display: block;
  }
}
