.containerAnchor {
  min-height: 8.4rem;
}

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

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

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

.defaultConatiner {
  position: relative;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.anchor {
  position: relative;
  max-width: var(--anchor-max-width, --main-container-max);
  margin: 0 auto;
  @include flex-direction(row);
  &::-webkit-scrollbar {
    height: 0.4rem;
    display: none;
  }
  &::-webkit-scrollbar-track {
    background: #9c9ab0;
  }
  &::-webkit-scrollbar-thumb {
    background: #1c1a28;
  }
  overflow-x: scroll;
}
.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: #ffffff;
    }
  }
}

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

.storyDivs {
  width: 100%;
  display: block;
  margin: 3rem 0;
  padding: 2rem;
}

.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);
  width: 3.2rem;
  height: 3.2rem;
  color: white;
  flex: none;
  place-self: center;
  background-color: #262629;
  border-radius: 10rem;
}

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

.staticShowButtons {
  display: flex;
  gap: 1.6rem;

  > ul.anchor {
    margin: 0;
  }

  > button {
    position: static;
  }
}

.stickyShowButtons {
  > button:first-child {
    position: absolute;
    top: 0.8rem;
    left: 0;
    margin-left: 0.8rem;
    transform: none;

    @include custom-min(1080) {
      left: calc(50% - (var(--anchor-max-width, var(--main-anchor-max-width, 96rem)) / 2) - 4rem);
      transform: translateX(-50%);
    }
  }

  > button:last-of-type {
    position: absolute;
    top: 0.8rem;
    right: 0;
    margin-right: 0.8rem;
    transform: none;

    @include custom-min(1080) {
      right: calc(50% - (var(--anchor-max-width, var(--main-anchor-max-width, 96rem)) / 2) - 4rem);
      transform: translateX(50%);
    }
  }

  > ul.anchor {
    margin: 0 5.5rem;

    @include custom-min(1080) {
      margin: 0 auto;
    }
  }
}
