Scroll-margin property is set on the child elements inside the container, so that snap position is offset by a margin inside the container.
In this case, snap position is set to start in y direction, so the element in focus should snap into place at the very top of the container. But instead, because of the scroll-margin value, the element in focus is offset by 20px margin between child element and container.