         return !(style.display === 'none' || style.visibility === 'hidden' || el.offsetParent === null);
            }

            document.querySelectorAll('.information[data-title]').forEach(el => {
                el.onmouseenter = null;
                el.onmouseleave = null;
                el.onclick = null;

                el.addEventListener('mouseenter', () => {
                    if (currentTarget !== el) {
                        currentTarget = el;
                        createTooltip(el);
