Macos SwiftUI App window size issue

Hi,

I am new to MacOS SwiftUI Development. I am creating Simple Login Screen with fixed width and height which it is showing differently in different screen resolutions.

Please suggest designing the screen suitable to any screen resolution.