Needed guidance on a loading page layout

Feels like im playing tag of war of the margin top and bottom values. attached the design to this post. Here is the codepen: https://codepen.io/designsbyharp/pen/LYgYGMZ How to achieve the layout, I'm using flexbox but confused about margin spacing. Is it easier not to use flexbox and just work with margins?
1 Reply
vince
vince15mo ago
https://codepen.io/vince1444/pen/MWPWyeg My solution is kinda sucky because for some reason my p element had an insane amount of default margin on it. I have legitimately no idea why it was like that... maybe someone can explain. Oh, didn't know that p tag had default margins :o. Let me know if you have any questions