.containerAnchor {
  padding-bottom: 0 !important;
  min-height: 9.5rem;
}

.stickyContainer {
  position: fixed;
  z-index: 2;
  animation: fadeIn 1s forwards;
  width: 100%;
  background-color: white;
  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(--anchor-thumb-color);
  transition: width 1s;
}

.anchor {
  padding: 1rem 0;

  li:first-child {
    // margin-left: 2.4rem;

    @include max(mobile) {
      // margin-left: 1.6rem;
    }
  }
  li:last-child {
    margin-right: 2.4rem;

    @include max(mobile) {
      margin-right: 1.6rem;
    }
  }

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

.defaultConatiner {
  position: relative;
}

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

.anchor {
  padding-top: 1rem;
  overflow-x: auto;
  @include flex-direction(row);
  @include min(tablet) {
    overflow: none;
    flex-wrap: wrap;
    gap: 1.6rem;

    li {
      margin: 0;
    }
  }
  > h2 {
    padding: 0;
  }

  &::-webkit-scrollbar {
    height: 15px;
  }
  &::-webkit-scrollbar-track {
    border: 5.5px var(--color-5) solid;
    background: var(--color-5);
  }
  &::-webkit-scrollbar-thumb {
    background: var(--anchor-thumb-color);
    border: 5.5px var(--color-5) solid;
  }

  li {
    margin-right: 0.8rem;

    &:last-child {
      margin-right: 0;
    }
  }
}
.link {
  background: transparent;
  border-radius: 4px;
  padding: 1.6rem 2.4rem;
  font-weight: 500;
  font-size: 16px;
  line-height: 27px;
  color: #1c1a28;
  word-break: inherit;
  white-space: nowrap;
  padding: 4px 16px;
  border: 1.5px solid #33313d;
  &:hover {
    background: #272735;

    color: white;
  }
}

.anchorTitle {
  color: #090e13;
  font-weight: 800;
  font-size: 24px;
  line-height: 34px;
  margin: 1.6rem 0;

  @include min(tablet) {
    font-size: 32px;
    line-height: 42px;
  }
}

.anchorItem {
  &.active > a {
    background-color: var(--anchor-active-color);
    color: var(--color-22);
  }
}
