How do I get my website to scale perfectly like this site?

You can archive this by using relative units.

So instead of pixels. you can use REM (this scales with your base font size) or VH/VW (this stands for viewport height and viewport width).

Here is a great article about that: