.header {
  position: fixed;
  width: 100%;
  top: 0;
  display: flex;
  justify-content: space-between;
  z-index: 50;
  // background-color: #fff;
  background-color: #ffffffe6;
}
.nav {
  display: flex;
  align-items: center;
  color: $primary-color;
  a {
    transition: all 0.2s;
    &:hover {
      color: $secondary-color;
    }
  }
}
.lang {
  display: flex;
}

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

.transparent {
  background-color: transparent;
  .logo-white {
    display: block;
  }
  .logo-color {
    display: none;
  }
  .nav {
    color: #fff;
  }
}

.header .nuxt-link-exact-active {
  color: $secondary-color;
}

.hamb-btn {
  display: none;
}

@media (max-width: 800px) {
  .header nav {
    position: fixed;
    background-color: #fff;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    transition: all 0.5s ease;
    transform: translateY(-100%);
    p {
      margin: 20px 0;
    }
  }
  .header nav.open {
    transform: translateY(0);
  }
  .hamb-btn {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    z-index: 5;
    cursor: pointer;
    .hamb-line {
      width: 30px;
      height: 2px;
      margin: 3px;
      background-color: $secondary-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(5px) translateY(5px);
    }
    .hamb-line:nth-child(3) {
      transform: rotate(-45deg) translateX(6px) translateY(-6px);
    }
  }
  .lang {
    margin: 5px 0;
  }
}
