.showScrollToTopButton {
  @include max(mobile) {
      display: none !important;
  }
}

.scrollToTop {
  z-index: 1;
  border-radius: 50%;
  position: relative;
  background-color: var(--scroll-to-top-background-color);
  width: 4rem;
  height: 4rem;
  text-align: center;
  margin: 1rem;
  position: absolute;
  bottom: calc(100%);
  right: 0;

  &:before {
    @include arrow(#fff, 1rem, up, false);
    position: absolute;
    bottom: calc(50% - 0.7rem);
    left: calc(50% - 0.4rem);
  }
}
