Use the place-content property to both vertically and horizontaly align the grid inside the container.
The value "center" positions the grid items in the middle of the container (both vertically and horizontally):