This reduces the logo size, however, it doesn't do it dynamically. When the window size decreases to a specific extent it reduces the size of the logo. I think it can be handled by a few lines of code to handle different sizes.
But which parameter represents the length and width of the window and which parameter represents the size of the logo?
Thanks again!