I'm facing an issue with achieving symmetrical spacing in the div. When I increase the font size to 200% or 32px, there is a mismatch between the lower padding set at 3em and the <body>
tag's margin of 3 em as it extends longer towards the bottom.
Link to the screenshot
<html lang="en">
<head>
<meta charset="UTF-8>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body style="margin-left: 5px;
margin-right: 5px;
margin-top: 3em;">
<div style="text-align: center; padding-bottom: 3em; font-size:32px;">Lorem ipsum dolor sit amet</div>
<div style="font-size: 55px; background-color: #000000; color: #FFFFFF;">Lorem Ipsum Dolor Sit Amet</div>
</body>
</html>