* { box-sizing: border-box;margin:0 }
body {
    margin: 0;
    background: url("../img/HnW-bkgnd_Env-P3UJWT5.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    font-family: 'Roboto', sans-serif;
    text-align:center;
}
.main {
   margin:0 auto;
    width: 450px;
    height:800px;

}
video::-webkit-media-controls {
    display:none !important;
}
*::-webkit-media-controls-start-playback-button {
    display: none!important;
    -webkit-appearance: none
}

#form{
    position:absolute;
    z-index:1;
    text-align:center;
  width: 450px;

   }
.ques{
display:none;
  }
#video{
    width: 450px;
    height:800px;
}
.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
}
.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    margin: 20px auto;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
    width: 40%;
    position: relative;
    transition: all 5s ease-in-out;
}
.popup1 {
    margin: 20px auto;
    padding: 10px 0;
}
.popup1 p{
    margin-top: 0;
    color: #333;
}
.popup1 .close {
    position: absolute;
    top: 0px;
    right: 10px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: red;
}
.popup1 .close:hover {
    color: #06D85F;
}
.popup .content {

    overflow: auto;
}
.content .button{
   background-color: green;
    -webkit-border-top-left-radius:5px;
    -moz-border-radius-topleft:5px;
    border-top-left-radius:5px;
    -webkit-border-top-right-radius:5px;
    -moz-border-radius-topright:5px;
    border-top-right-radius:5px;
    -webkit-border-bottom-right-radius:5px;
    -moz-border-radius-bottomright:5px;
    border-bottom-right-radius:5px;
    -webkit-border-bottom-left-radius:5px;
    -moz-border-radius-bottomleft:5px;
    border-bottom-left-radius:5px;
    text-indent:0px;
    border:1px solid green;
    display:inline-block;
    color:#ffffff;
    font-family:Arial;
    font-size:17px;
    font-weight:normal;
    font-style:normal;
    height:38px;
    line-height:38px;
    width:220px;
    text-decoration:none;
    text-align:center;
}
@media (max-width:760px) and (orientation : landscape){
    .main {display:none}
}
@media (max-width:650px) and (orientation : portrait){
    body {
        margin: 0;
       background-color: #000000;
        font-family: 'Roboto', sans-serif;
        text-align:center;
    }
    .popup{
        width: 90%;
    }
}
@media (max-width:450px) and (orientation : portrait){
    .main {
        display: block;
        margin:0 auto;
        width: 100%;
       height:auto;
    }
#form{
   width:100%;
   height:auto;
   }

       #video{
        width: 100%;
        height:auto;
    }
}
