On mobile, 100vh is taller than the screen because it ignores the browser's collapsing toolbar. Use dvh, svh, and lvh to size full-height elements to the viewport that is actually visible.
CSS Values and Units Module Level 4 — Viewport-relative lengths
web.dev — The large, small, and dynamic viewport units