.cam-container {
    height: 100%;
    width: 100%;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.contain {
    width: 100%;
    height: 100%;
    vertical-align: center;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.contain-sm {
    height: calc(100% - 300px) !important;
    width: 80%;
    margin-left: 10%;
    position: relative;
}

.front {
    z-index: 10000;
    margin: auto;
    border-radius: 8px;
    box-shadow: 0 19px 51px 0 rgba(0, 0, 0, 0.16),
        0 14px 19px 0 rgba(0, 0, 0, 0.07);
    visibility: hidden;
    display: none;
}

.response-canvas {
    z-index: 10000;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 19px 51px 0 rgba(0, 0, 0, 0.16),
        0 14px 19px 0 rgba(0, 0, 0, 0.07);
    order: 2;
    display: block;
    width: 80%;
}

.cam-container video {
    z-index: 0;
    right: 0;
    border-radius: 8px;
    overflow: hidden;
    -webkit-box-shadow: 0 19px 51px 0 rgba(0, 0, 0, 0.16),
        0 14px 19px 0 rgba(0, 0, 0, 0.07);
    box-shadow: 0 19px 51px 0 rgba(0, 0, 0, 0.16),
        0 14px 19px 0 rgba(0, 0, 0, 0.07);
    -o-object-fit: fill;
    object-fit: fill;
    order: 1;
}
