<div style = "height:auto;width:auto; background-color:#5C81F4;display:flex; justify-content:center;">
<div style="display:flex;flex-direction:column; width:90vw;height:auto;overflow:hidden;border-radius:20px; background-color:#ffffff;margin-top:40px;margin-bottom:40px;">
<h1 style="display:flex; justify-self:center; align-self:center;color:#2A2836;">Quote of the Day</h1>
<p style = "font-size:30px;height:auto; color:#2A2836;margin-left:10px;overflow:hidden;">
"${quote}"
</p>
<p style ="display:flex; margin-right:10px; font-size:20px;color:#2A2836;justify-self:end;align-self:end">- <i>${author}</i></p>
</div>
</div>
When attempting to email this HTML code, the elements appear in a single horizontal line for the receiver as depicted in the following image: https://i.stack.imgur.com/9TVTt.png
However, when viewed in CodePen, the HTML renders properly as shown below: https://i.stack.imgur.com/onA9v.png
I am unsure where I may have made an error in the HTML code as it appears correct. Any guidance would be appreciated.