In the following code snippet, there is a parent div with the class "cont" which contains three child elements: 1. The first child is a video with the class "vid". 2. The second child is a mask with the class "maskHeaderajans". This acts as a layer mask or filter on the video and should overlay the entire video. 3. The third child is a section named "main-caption" which includes a logo and some text. It should stick to the second child (the mask that overlays the video).
<div id="cont" style="max-height:760px;">
<div class='vid header'>
<video autoplay muted loop id="myVideo">
<source src="img/atur.shiraz-20181117-0001.mp4" type="video/mp4">
</video>
</div>
<!--<div class="maskHeader" style="background: url(img/3px-tile.png);"></div>-->
<div class="maskHeaderajans"></div>
<div class="main-caption">
<div class="logo">
<!--<img src="img/jk.png" alt="logo" />-->
</div>
<div>
<ul class="slides" style="margin-top: 50px;">
<li>
<h1 class="white" id="ajansname">AJANS ORDI</h1>
<h2 class="white">PER SAFAR, PER TAJROBE</h2>
</li>
</ul>
</div>
<!-- end slider -->
</div><!-- end main caption -->
</div>