tyle.backgroundImage = 'url(./passport-mask.png)';
			downloadEl.removeEventListener('click', downloadFn);
		});

		captureEl.addEventListener('click', function () {
			let seconds = 3;
			let interval = 0;

			captureEl.disabled = true;
			const timer = document.createElement('div');
			timer.style = `position:absolute;font-size:160px;color:white;top:${smallestWindowDimension / 2}px;margin-top:-80px;text-align:center;width:100%;`;
			timer.textContent = seconds;
			document.body.appendChild(timer);

			con