Everything is responsive except video using the following code except video why?

I make everything responsive by using this code. Except for video.
why The video is not Responsive like other content.

   @media (max-width: 1050px)
       {
           #form
         {
             margin-top:110px;
                  margin-left:50%;
         }
         #nav-bar
       {
           margin-left:35%;
         }   
         #video{
           margin-left:40%;
                   }
    
         #header-img
                {
           margin-left:0%;
             }
            }

here is my project code? https://codepen.io/solomon123fgt/pen/VwLWGYO?editors=1100

3 posts were merged into an existing topic: I Pass all the test in project 3 but it is not Responsive?