body {
    height: 100%;
    width: 100%;
	overflow-y:hidden;
	margin:0px
}

#capture {
    top: 0px;
    position: relative;
    width: 640px;
    height:545px;
    right: 0px;
}

#blank {
    width: 100vw;
    height: 100vh;
}

#frame {
    width: 640px;
    height:545px;
    position: absolute;
    z-index: 500;
}

#photo {
    position: relative;
    top: 25px;
    margin: auto;
}

#video {
    position: absolute;
    z-index: -9;
    top:10px;
    left:15px;
    /* width:875px;
    height:510px; */
    
}

#canvas {
    position: absolute;
    z-index: -9;
    top:10px;
    left:15px;
    /* width:875px;
    height:510px; */
}

.foot {
    position: absolute;
    display: flex;
     top:590px;
    margin-bottom: 0px;
}

.foot {
    position: absolute;
    display: flex;
    top: 590px;
    margin-bottom: 40px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.cent {
    display: flex;
    justify-content: center;
}

#download {
    margin-left: 10px;
}

.recapture {
    margin-left: 10px;
}

.but {
    /* background-color: white;
  box-shadow: inset 2px 3px 5px rgba(0,0,0,0.4);
  border: 1px solid black;*/
    font-size: 20px;
    padding: 3px 15px;
    width: 150px;
    /* border-radius: 6px; */
    outline: none;
    margin: 0px 10px;
    border-radius: 8px;
    background-color: #ee3834;
    font-weight: bold;
    color: white;
}

.but1{
    font-size: 20px;
    padding: 0px 15px;
    width: 60px;
    /* border-radius: 6px; */
    outline: none;
}

.submit {
    margin-right: 10px;
}

.vl {
    border-left: 1px solid white;
}

#click {
    width: 640px;
    height:545px;
}
@media(max-width:1200px) and (max-height:500px) {
    #frame {
        width: 203.1px;
        height:173px;
    }
    #video {
        position: absolute;
        z-index: -9;
        top:5px;
        left:15px;
    }
    
    #canvas {
        position: absolute;
        z-index: -9;
        top:5px;
        left:15px;
      
    }
    #click {
        width: 203.1px;
        height:173px;
    }
    .but {
        /* background-color: white;
      box-shadow: inset 2px 3px 5px rgba(0,0,0,0.4);
      border: 1px solid black;*/
        font-size: 20px;
        padding: 1px 6px;
        width: 120px;
        /* border-radius: 6px; */
        outline: none;
        margin: 0px 10px;
        border-radius: 8px;
        background-color: #ee3834;
        font-weight: bold;
        color: white;
    }
    .but1{
        font-size: 20px;
        padding: 0px 15px;
        width: 35px;
        /* border-radius: 6px; */
        outline: none;
    }
    
    #photo {
        top: 0px;
    }
    #capture {
        top: 0px;
        width: 203.1px;
        height:173px;
        right: 0px;
    }
    .foot {
        position: absolute;
        display: flex;
        width: 100vw;
        top:190px;
        justify-content: center;
    }
   
}
@media(max-width:650px){
    #frame {
        width: 203px;
        height:173px;
        top:2px;
    }
    .but {
        /* background-color: white;
      box-shadow: inset 2px 3px 5px rgba(0,0,0,0.4);
      border: 1px solid black;*/
        font-size: 20px;
        padding: 1px 6px;
        width: 120px;
        /* border-radius: 6px; */
        outline: none;
        margin: 0px 10px;
        border-radius: 8px;
        background-color: #ee3834;
        font-weight: bold;
        color: white;
    }
    .but1{
        font-size: 20px;
        padding: 0px 15px;
        width: 35px;
        /* border-radius: 6px; */
        outline: none;
    }
    #click {
        width: 203px;
        height:173px;
        margin-top:2px;
    }
    #video{
        position: absolute;
        z-index: -9;
        top:5px;
        left:15px;
      
    }
    #canvas{
        position: absolute;
        z-index: -9;
        top:5px;
        left:15px;
      
    }
    
    #photo {
        top: 2px;
    }
    #capture {
        top: 0px;
        width: 203px;
        height:173px;
        right: 0px;
    }
    .foot {
        position: absolute;
        display: flex;
        width: 20vw;
        top: 190px;
        justify-content: center;
    }
}
#warning-message {
    display: none;
}

@media only screen and (orientation:portrait) {
    #wrapper {
        display: none;
    }
    #warning-message {
        display: block;
        position: relative;
        height: 73vh;
        top: 35vh;
        width: 55vw;
        display: block;
        margin: auto;
        font-weight: bold;
        font-size: larger;
        color: black;
    }
}

@media only screen and (orientation:landscape) {
    #warning-message {
        display: none;
    }
}