You have declared grid in your css but that was it and the rest of the positioning is now being done with margins, you have to apply it to individual cards to position them in their proper places. Look into properties like grid-area
for example and see how to apply it.
Marked as helpful
0