
  
  function checkScrollPosition() {
    if (document.body.scrollTop > scrollThreshold || document.documentElement.scrollTop > scrollThreshold) {
      backToTop.classList.add('show');
    } else {
      backToTop.classList.remove('show');
    }
  }
  
  backToTop.addEventListener('click', function() {
    window.scrollTo({
      top: 0,
      behavior: 'smooth'
    });
    return false;
  });
});
</script>
<style>
#back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: rgba(7