@Hassiai
Posted
Replace <h2> with <h1> and <div class="attribution"> with the footer tag to fix the accessibility issues. for more on semantic html visit https://web.dev/learn/html/semantic-html/
Use rem or em as unit for the padding, margin, width and preferably rem for the font-size for more on this watch this https://youtu.be/N5wpD9Ov_To
There is no need to give the main a height the padding is sufficient and more responsive.
Hope am helpful. Happy coding..