one";
      }
    });

    bottomToTopButton.addEventListener("click", () => {
      if (icon.classList.contains("fa-arrow-down")) {
        // scroll to bottom
        window.scrollTo({
          top: document.documentElement.scrollHeight,
          behavior: "smooth",
        });
      } else {
        // scroll to top
        window.scrollTo({ top: 0, behavior: "smooth" });
      }
    });
  </script>

  <script>
    document.addEventListener("DOMContentLoaded", () => {
      const elements = document.qu