lector("i");

window.addEventListener("scroll", () => {
  if (window.scrollY > 100) {
     bottomToTop.style.display = "block";

    
    if (window.scrollY + window.innerHeight >= document.documentElement.scrollHeight - 10) {
      icon.classList.remove("fa-arrow-down");
      icon.classList.add("fa-arrow-up");
    } else {
      icon.classList.remove("fa-arrow-up");
      icon.classList.add("fa-arrow-down");
    }
  } else {
    bottomToTop.style.display = "none";
  }
});

  bottomToTop.addEventListener("