click", function () {
      // Smooth scroll back to top
      window.scrollTo({ top: 0, behavior: "smooth" });
    });
  </script>

</footer>

<script>
    window.onload = function() {
        document.getElementById('search-bar').focus();
    };
</script>

<script>
        window.addEventListener('scroll', function() {
        const winScroll = document.body.scrollTop || document.documentElement.scrollTop;
        const height = document.documentElement.scrollHeight - document.documentElement.clientHeight