Use the align-content property to vertically align the grid inside the container.
With the value "space-between" the space between the grid lines are equal, but the first grid item is flush with the start edge of the container, and the last grid item is flush with the end edge of the container: