.header {
  position: relative;
}
.nav-top {
  background: $base-light-blue;
}
.nav-top-wrapper {
  padding: 1.6rem 0;
  color: $base-black;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 19.5rem;
}

.nav-top-list {
  display: flex;
  gap: 0.8rem;
}

.nav-top-list-item a {
  padding: 0.8rem;
  font-size: 1.8rem;
  color: $base-black;
}

.sign-in-item {
  font-size: 1.8rem;
  padding: 0.8rem;
  font-weight: 700;
}

.nav-bottom {
  background: $base-blue;
}

.nav-bottom-wrapper {
  display: flex;
  width: 100%;
  position: relative;
  // justify-content: space-between;
  justify-content: center;
  align-items: center;
}

.nav-lang-wrapper {
  display: flex;
  gap: 1.6rem;
  justify-self: end;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.nav-lang-item {
  color: $base-light-blue;
  font-weight: 700;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0.8rem;

  &:hover {
    color: $base-white;
  }
}

.lang-active {
  color: $base-white;
}

.nav-bottom-list {
  padding: 2.4rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.4rem;

  a {
    color: $base-white;
    font-size: 1.8rem;
    font-weight: 700;
    padding: 0.8rem;
  }
}

.mobile-nav {
  display: none;
  background: $base-light-blue;
  padding: 1.6rem 0;
  width: 100%;
  z-index: 3;
}

.burger {
  width: 4rem;
  height: auto;
  cursor: pointer;

  img {
    width: 100%;
    height: 100%;
  }
}

.close-burger {
  width: 4rem;
  height: auto;
  fill: #fff;
  position: absolute;
  top: 2rem;
  right: 2rem;
}

.mobile-nav-content {
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  background: $base-blue;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s linear;
  transform: translateY(-100%);
  z-index: 2;
  flex-direction: column;
}

.nav-lang-wrapper-mobile {
  width: 100%;
}

.active {
  top: 100%;
  transform: translateY(0);

  .mobile-nav-list {
    opacity: 1;
  }
}

.mobile-nav-list-item {
  display: flex;
  align-items: center;
  a {
    color: $base-white;
    font-size: 1.8rem;
    padding: 0.8rem;
    display: inline-block;
    width: 100%;
  }
}

.mobile-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}

.mobile-nav-list {
  padding: 2.4rem 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  // justify-content: space-around;
  gap: 2.4rem;
  opacity: 0;
  transition: all 1.5s ease;
}

@keyframes nav-anim {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 1250px) {
  .nav-top-list-item a {
    font-size: 1.4rem;
  }

  .sign-in-item {
    font-size: 1.4rem;
  }

  .logo {
    width: auto;
  }

  .nav-bottom-list {
    padding: 2.4rem 0;
    gap: 2.4rem;

    a {
      color: $base-white;
      font-size: 1.4rem;
      font-weight: 600;
      padding: 0.8rem;
    }
  }

  .nav-lang-wrapper {
    gap: 0.8rem;
  }

  .nav-lang-item {
    font-size: 1.4rem;
  }
}

@media (max-width: 1000px) {
  .nav-top,
  .nav-bottom {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .nav-lang-item {
    font-size: 1.8rem;
  }

  .nav-lang-wrapper-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2.4rem;
  }
}
