text: const _elements = {
  	date: document.querySelector(".date"),
  
  	scrollLinks: document.querySelectorAll(".navbar-list__link, .footer-list__link"),
  	navbarList: document.querySelector(".navbar-list"),
  	toggle: document.querySelector(".navbar-header__toggle")}
  
  let _sliderCounter = 0, _touchStart, _touchEnd;
  
  _elements.date.innerHTML = new Date().getFullYear() + "."
  
  _elements.scrollLinks.forEach(link => {
  	link.addEventListener("click", e =>{
  		_elements.navbarList.classList.remove("navbar-list--show-links")
  		const id = link.getAttribute("href");
  		const element = document.querySelector(id);
  
  		const position = element.offsetTop - 62;
  
  		window.scrollTo({
  			top: position,
  			behavior: "smooth"
  		});
  
  		e.preventDefault();
  	});
  });
  
  _elements.toggle.addEventListener("click", () => {
  	_elements.navbarList.classList.toggle("navbar-list--show-links")
  
  });
  
  _elements.galleryItems.forEach(item => {
        item.addEventListener("click", e => {
  		  const id = getImageId(e.target);
  		  updateModal(id);
            _elements.modal.style.display = "flex";
  	  });
  });
  
  