@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.containerAnchor {
  min-height: 8.4rem;
}

.progressBar {
  height: 5px;
  width: 100px;
  background-color: var(--progress-bar-color, #1c1a28);
  transition: width 1s;
  position: absolute;
  bottom: 0;
  left: 0;
}

.defaultConatiner {
  position: relative;

  @include flex-direction(row);
}

.anchor {
  max-width: var(--main-container-max);

  @include flex-direction(row);

  &::-webkit-scrollbar {
    height: 0.4rem;
  }

  &::-webkit-scrollbar-track {
    background: #9c9ab0;
  }

  &::-webkit-scrollbar-thumb {
    background: #1c1a28;
  }

  overflow-x: scroll;
}

.stickyContainer {
  position: fixed;
  z-index: 2;
  animation: fade-in 1s forwards;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 8px 12px 0;
  left: 0;
  right: 0;
  top: var(--nav-height);

  @include flex-direction(row);
  @include flex-align(center, center);

  padding-bottom: 0.5rem;

  .anchor{
  &::-webkit-scrollbar {
    display: none;
  }
  }

  &.usingExclOperator {
    top: calc(var(--nav-height) + var(--exc-operator-height));
  }
}

.link {
  word-break: inherit;
  white-space: nowrap;
  background-color: transparent;
  padding: 0.4rem 1.6rem;
  border-radius: 0.4rem;
  border: 1.5px solid #33313d;
  color: #1c1a28;
  font-weight: 500;
  font-size: 16px;
  line-height: 27px;

  @include flex-align(center, center);

  margin-right: 1.6rem;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;

  svg {
    margin-left: 1rem;
  }

  @include min(laptop) {
    &:hover {
      background-color: #272735;
      color: #fff;
    }
  }
}

.anchorItem {
  &.active>a {
    background-color: #1c1a28;
    color: #fff;
    border: 1.5px solid #3e3c47;
    font-weight: 700;
  }
}

.anchorTitle {
  font-size: var(--h2-size);
  font-weight: var(--h2-font-weight);
  line-height: var(--h2-line-height);
  color: var(--heading-base-color);
}

.buttLeft,
.buttRight {
  @include flex-align(center, center);

  background-color: var(--body-background-color, #fff);

  @include flex-align(center, center);

  display: none;
  z-index: 1;
  padding: 0 1rem;

  @include custom-min(960) {
    display: flex;
  }

  >svg {
    width: 3.2rem;
    height: 3.2rem;
    padding: 0.8rem;
    color: #fff;
    background-color: #262629;
    border-radius: 10rem;
  }
}

.disabled {
  >svg {
    color: #515156;
    background-color: #f4f4f4;
  }
}