diff --git a/src/styles/global.css b/src/styles/global.css index d424a57..95eaa67 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -428,18 +428,15 @@ svg { } } } +/* Clean monotonic top→bottom pan: as the page scrolls, the board slowly drifts + so the motion is always obvious (no wandering loop that nets to zero). ~40% of + the 215%-tall image = a long, continuous travel. */ @keyframes bgPan { - 0% { - transform: translate(-50%, -38%); + from { + transform: translate(-50%, -28%); } - 35% { - transform: translate(-50%, -62%); - } - 68% { - transform: translate(-62%, -62%); - } - 100% { - transform: translate(-62%, -38%); + to { + transform: translate(-50%, -72%); } }