I want to create an element containing a video that responsively changes its height and width based on the current height and width of the monitor it is displayed on. This should be equal to like 100vh (both width and height). The problem is that this said element lies UNDER a navigation bar with position: relative set. So the script I'm already looking for a good week should change the width and height of this element AND video to fit in 100vh and width from under the navbar to the end of viewed screen. When scrolling down this element (or better said section) should behave just as every other, normal section: It is supposed to scroll up and giving the next section the opportunity to catch daylight.
I really appreciate concepts of realizing this in JavaScript, jQuery or any other script based language you feel familiar with. Thank you in Advance!