@import "variables";
.anchor-scroll{
  position: fixed;
  right: 1rem;
  height: 100%;
  top: var(--navbar-height);
  width: var(--anchor-width);
  overflow-y: auto;
}

@media (max-width: $MQMobile) {
  .anchor-scroll{
    display: none;

  }
}
.theme-anchor{
  position: relative;
  height: auto;
  margin-top: 20px;
}

.anchor-link-item {
  color: var(--c-text);
  margin: 5px 0 ;
  padding-left: 8px;
  transition: all .3s;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.anchor-link-href{
  font-size: 15px;
  color: inherit;
  transition: all .3s;
}

.anchor-ink{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  &:before{
    position: relative;
    display: block;
    content: "";
    height: 100%;
    width: 2px;
    background-color: var(--c-anchor-border);
    transition: all .3s;
  }
}
.anchor-link-text-active{
  color: var(--c-brand-light);
  transition: all .3s;
}

.anchor-link-active{
  position: absolute;
  background: var(--c-brand-light);
  display: block;
  width: 2px;
  height: 22px;
  transition: top .3s ease-in-out;
  top: 0;
}
