text: const preloader = document.querySelector('.preloader');
  const loader = document.querySelector('.loader');
  const main = document.querySelector('.main');
  
  function init() {
    setTimeout(() => {
      loader.style.opacity = 0;
      loader.style.display = 'none';
      preloader.style.opacity = 0;
      preloader.style.display = 'none';
  
      main.style.display = 'block';
      setTimeout(() => (main.style.opacity = 1), 50);
    }, 4000);
  }
  
  init();