div.scroll-to-top-btn {
  width: 3vw;
  height: 3vw;
  border-radius: 100%;
  background: var(--light-green);
  position: fixed;
  left: 2.5vw;
  bottom: 1vw;
  box-shadow: 0 0 0.7vw rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-200%);
  z-index: 8;
}

div.scroll-to-top-btn.reveal {
  opacity: 1;
  visibility: visible;
  transform: translateY(-0%);
}

div.scroll-to-top-btn:hover {
  background: var(--green);
}

div.scroll-to-top-btn::before {
  content: "";
  width: 40%;
  height: 0.2vw;
  border-radius: 0.2vw;
  background-color: black;
  position: absolute;
  right: 17.2%;
  transition: all 0.25s;
  transition-delay: 0.2s;
}

div.scroll-to-top-btn:hover::before {
  background-color: white;
  transition-delay: 0s;
}

div.scroll-to-top-btn.reveal::before {
  transform: rotate(45deg);
}

div.scroll-to-top-btn::after {
  content: "";
  width: 40%;
  height: 0.2vw;
  border-radius: 0.2vw;
  background-color: black;
  position: absolute;
  left: 17.2%;
  transition: all 0.25s;
  transition-delay: 0.2s;
}

div.scroll-to-top-btn:hover::after {
  background-color: white;
  transition-delay: 0s;
}

div.scroll-to-top-btn.reveal::after {
  transform: rotate(-45deg);
}

@media screen and (max-width: 992px) {
  div.scroll-to-top-btn {
    width: 7vw;
    height: 7vw;
    left: 2.8vw;
    bottom: 14vw;
    box-shadow: 0 0 1.5vw rgba(0, 0, 0, 0.2);
  }

  div.scroll-to-top-btn::before {
    height: 0.4vw;
  }

  div.scroll-to-top-btn::after {
    height: 0.4vw;
  }
}

@media screen and (max-width: 450px) {
  div.scroll-to-top-btn {
    width: 9vw;
    height: 9vw;
    left: 17px;
    bottom: 105px;
    z-index: 5 !important;
    box-shadow: 0 0 1.6vw rgba(0, 0, 0, 0.2);
  }

  div.scroll-to-top-btn::before {
    height: 3px;
    border-radius: 2px;
  }

  div.scroll-to-top-btn::after {
    height: 3px;
    border-radius: 2px;
  }
}
