made the container's margins based on the grid