please assess: https://codepen.io/zortron756/full/zYrGeoX
Looks pretty much perfect. the only thing I’d say is that when you are setting an image size using CSS, you can actually just set a width, and the height will be automatically adjusted to maintain aspect ratio. For example:
<img src="images/blueberries.jpg" alt="blueberries" style="width: 400px">