What is the best way to center a div in HTML and CSS? Should I use flex, margin, etc.?