@shubhamthedev
Posted
It's a simple concept if you designed your site first for desktop screen sizes like 1400px then you need to scale down your design using max-width
media queries and if you designed your webpage for mobile first screen sizes like 375px then you use min-width
media queries to scale up your design.
Here is an MDN page for the same although this contains a lot of details and might confuse you so here is a youtube video for the same.