.tooltip { position: fixed; pointer-events: none; z-index: var(--z-index-popup); transform: translate(-50%, calc(-100% - 5px)); }