The first screen should be 100vh (it has a cap + menu + first section)
How to make the block (first-screen) occupy the remaining height, if the height of the header and the menu is unknown ???
It is necessary to use flex-box. And that which should take the remaining space flex-grow: 10 [for example].
.parent { height: 100vh; } <div class="parent"> <div class="top-line"></div> <div class="menu"></div> <div class="first-screen"></div> </div> It is necessary to use flex-box. And that which should take the remaining space flex-grow: 10 [for example].