@SurajHadage
Posted
Use Paint app to get accurate dimensions of design. I have suggestion to shorten your HTML :
<main><section><h1><h2><p></section><section><h3><div><span>29$</span><span>text</span></div><p><button></section><section><h3><ul></ul></section></main> TO put your <main> element center, use body {display; flex; align & justify content : center;}