Question: what is the difference between pixel size and viewport?
Answer: If you resize your browser to the smallest size that mimic basically what you would see on your mobile device. The window is just your browser view and is not related to other devices. A viewport is the area that is visible to you on your device.