Viewport size difference with monitor display

Hello, I just have a general question. Im working on a monitor connected to my macbook. Is what I design and see on my monitor relative to my monitor screen size or macbook screen size?

I have been designing with my monitor and recently saw my website on just my laptop and the layout is different.


Here is my site Read-Only: LINK
(how to share your site Read-Only link)