I utilized a Flexbox layout to achieve the desired result. For more information on Flexbox, you can refer to this resource.
* {
font-family: Arial;
}
.footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
background-color: #3498DB;
color: white;
text-align: center;
}
.flex-container {
display: flex;
align-items: center;
justify-content: center;
}
p {
padding: 10px;
}
img {
padding-right: 5px;
}
.navbar {
position: fixed;
right: 0;
top: 0;
width: 100%;
background-color:#3498DB ;
color:white;
text-align: center;
}
<div class="navbar">
<h1><span><img width="30" height="30" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAdVBMVEX///8AAABLS0ujo6OWlpba2trQ0ND8/Pz39/fz8/P4+PhPT0/s7OzU1NQ7Ozvj4+OysrLExMRCQkISEhJpaWkmJiaDg4M1NTV7e3sZGRlZWVlgYGC9vb0aGhqIiIgqKiqbm5siIiJ1dXVoaGheXl6Ojo6pqamU9iTBAAAEaklEQVR4nO3c61riMBSF4XDQIooKHkB0EHX0/i9xZMQhK80JaPbO+Kzv30iH9FVoS9tgDGOMMcYYY4wxxhhjjDHGGGOMMcYYY...23IrXrx3uynf/iaHCcqxBvYD79pNtyjPcDXFEdRYXGgwbm4fyfHSQphIslxN6+HA+LmnIegEOY7lRluE8zFnUsKYeZhmW8Wc8fsbU6PiwmXOG7J4He5G1fyOxXKAp33g4aw68mx7ea+YeWEJeZwuz17xhUTlpmH7+S7YCwlLPd1EZDnrgYhochfcFP7ryj1XV+TU5kmretz/L42CinUj0IKKdSvjPDnf5/39aCewjeGMcYYY4wxxhhjjDHGGGOMMcYYY4wxxhhjjDHGGGOMMcb++/4A3qE/10C+aHIAAAAASUVORK5CYII=" alt="Error"></span></h1>
<p> A abcd abcde abcdabcd abc abcde abcdefgh </p>
</div>
<br><br><br><br><br><br><br><br>
<h2 style="text-align: center;">Invitation to join Project ((ProjectName))</h2><br>
((InviterFirstName)) ((InviterLastName)) has invited you as ((ProjectRole)) to the following project.<br>
Project Name: ((ProjectName))<br>
Project Number: ((ProjectNumber))<br><br><br>
Team HTML
<div class="footer">
<div class="flex-container">
<p style="text-align:left;"><span><img width="30" height="30" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAdVBMVEX///8AAABLS0ujo6OWlpba2trQ0ND8/Pz39/fz8/P4+PhPT0/s7OzU1NQ7Ozvj4+OysrLExMRCQkISEhJpaWkmJiaDg4M1NTV7e3sZGRlZWVlgYGC9vb0aGhqIiIgqKiqbm5siIiJ1dXVoaGheXl6Ojo6pqamU9iTBAAAEaklEQVR4nO3c61riMBSF4XDQIooKHkB...
<p>© 2020 All rights reserved</p>
</div>