Use the place-content property to both vertically and horizontaly align the grid inside the container.
The "end space-between" value aligns the grid lines towards the bottom of the grid container, and aligns the grid items with the same space between them horizontally: