Hi! I have 2.5 tips that I used on my own site to make it work.
1. use vh/vw/vmin/vmax and/or percentages. the v* units are special units that correspond to either the height (vh), width (vw), the smaller of the two (vmin), or the bigger of the two (vmax). 1 vw corresponds to 1% of the window size, for example. Percentage width/heights are also useful, obviously.
2. You can define special rules to be used when the screen width is below a certain size using @media (max-width: 2px). The syntax is a bit weird, though, since you have to put all the rules inside of the brackets like so:
.main { width: 100%; }
@media (max-width: 720px)
{
.main { width: 80%; }
}
This strategy is also useful for
2.5: seperate grid template area rule for smaller screen size! This works best if you use grid as the main organizer for your site, but you can always define new grid template rules to fit a smaller screen size.