ageOverlay = document.querySelector('.page__overlay');

    // Nav listeners
    closeNavBtn.addEventListener('click', toggleNav);
    toggleNavBtn.addEventListener('click', toggleNav);
    pageOverlay.addEventListener('click', toggleNav);
    // Nav funtion
    function toggleNav() {
      sideNav.classList.toggle('open');
    };

    // (on mobile) close nav menu when link is clicked
    // this is useful on mobile when clicking an anchor tag on the current page (eg. index.html#last-section)
    let navIt