.ae-scroll-to-top {
  position: fixed;
  right: 0;
  bottom: 0;
  height: 20%;

  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  cursor: pointer;

  width: 25%;

  background-color: transparent;
}

.ae-scroll-to-top button {
  padding: 1.5rem;
  background-color: rgba(211, 211, 211, 0.25);
}

@media only screen and (min-width: 500px) {
  .ae-scroll-to-top {
    width: 10%;
    justify-content: center;

    background-image: linear-gradient(
      to bottom,
      rgba(250, 250, 250, 0) 80%,
      rgba(192, 192, 192, 0.5)
    );
    background-size: auto 200%;
    background-position: 0 75%;
    transition: background-position 0.5s;
    cursor: pointer;
  }
  .ae-scroll-to-top:hover {
    background-color: transparent;
    background-position: 0 100%;
  }
  .ae-scroll-to-top button {
    width: 100%;
    background-color: transparent;
  }
  .ae-scroll-to-top:hover button {
    opacity: 1;
  }
}
