@import "../../../Shared/variables.scss";

.nav {
  position: fixed;
  z-index: 10000;
  width: 100%;
  padding: 0 90px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;

  &__pages {
    display: flex;
    gap: 44px;

    &-item {
      display: flex;
      align-items: center;
      a {
        font-size: 14px;
        color: #32303a;
        font-weight: 500;
      }
    }

    &-item_active {
      a {
        font-weight: 700;
        line-height: 48px;
      }
      border-bottom: 2px solid black;
    }
  }

  &__lang-auth {
    display: flex;
    align-items: center;
    gap: 25px;
  }
}

@media screen and (max-width: 1024px) {
  .nav {
    padding: 0 30px;

    &__pages {
      display: none;
    }
  }
}

@media screen and (max-width: 768px) {
  .nav {
    height: 72px;
    gap: 10px;
    &__logo {
      flex: 1;
    }

    &__pages {
      display: none;
    }

    &__profile,
    &__sign-in {
      display: none;
    }

    &__menu {
      display: flex;
    }
  }
}

@media screen and (max-width: 550px) {
  .nav {
    padding: 16px;
  }
}
