
.button-to-top {
  position: absolute;
  z-index: 1000;
  top: -3rem;
  right: 2rem;

  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;

  width: 6rem;
  height: 6rem;

  cursor: pointer;
  transition: all .2s ease;

  color: rgb(var(--color-background));
  border-radius: 100%;
  background-color: rgb(var(--color-foreground));

  font-size: 1.4rem;
}

@media screen and (min-width: 750px) {
  .button-to-top {
    right: 4rem;
  }
}

.button-to-top svg {
  width: 2rem;
}
