How to solved duplicate code smell

I have tried to solve css duplicate issue. While using @media css in the same scss file, I am facing duplicate code issue, for example:- .while using class1 for web as well as for mobile , I am getting duplicate css issue (screeshot attached)

and the same issue in the HTML files also, using same , etc… tags and code in all the html file like: index.html, contact.html etc…

Hello @Charanjeet_Singh ,

Could you send the CSS file causing the issue (_home-media.scss), or at least give visibility on a larger piece of the code, the issue on line 163 seems related to the code on (or around) line 150 that we can’t see