html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: Roboto;
}


/* Light mode */

@media (prefers-color-scheme: light) {
    body {
        /* background-color: white;
        color: black; */
        background-color: #111111;
        color: white;
    }
}


/* Dark mode */

@media (prefers-color-scheme: dark) {
    body {
        background-color: #111111;
        color: white;
    }
}

#loadingMessage {
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: #ccc;
    top: 0px;
    left: 0px;
    position: absolute;
}

#debug_string {
    z-index: 3;
    height: 100px;
    position: relative;
    top: 30px;
    border: 1px dashed #696;
    background-color: #cfc;
    margin: 0px 50px 0px 50px;
}

#camera,
#camera--view,
#camera--sensor,
#camera--output {
    position: fixed;
    /* height: 100%; */
    width: 90%;
    object-fit: cover;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border-radius: 20px;
}

#camera--view,
#camera--sensor,
#camera--output {
    transform: scaleX(-1);
    filter: FlipH;
}

.iframe-style {
    position: fixed;
    height: 100%;
    width: 100%;
    right: 0;
    z-index: 2 !important;
}

#body_assistance_ui {
    position: fixed;
    height: 100%;
    width: 100%;
    right: 0;
}

#head_tutorial {
    position: fixed;
    height: 100%;
    width: 100%;
    right: 0;
    z-index: 2 !important;
}

#head_review {
    position: fixed;
    height: 100%;
    width: 100%;
    right: 0;
    z-index: 2 !important;
}

#body_tutorial {
    position: fixed;
    height: 100%;
    width: 100%;
    right: 0;
    z-index: 2 !important;
}

#body_review {
    position: fixed;
    height: 100%;
    width: 100%;
    right: 0;
    z-index: 2 !important;
}

#upload_state_text {
    position: fixed;
    height: 100%;
    width: 100%;
    right: 0;
    z-index: 2 !important;
}

.camera--trigger {
    width: 100px;
    height: 100px;
    position: fixed;
    bottom: 30px;
    left: calc(50% - 50px);
    z-index: 999;
}

.flip--camera--trigger {
    width: 40px;
    height: 40px;
    position: fixed;
    bottom: 50px;
    left: calc(20% - 50px);
    z-index: 999;
}

#ref-photo {
    width: 30vw;
    border: none;
    text-align: center;
    position: fixed;
    height: 133px !important;
    width: 100px !important;
    top: 20px;
    right: 20px;
    z-index: 2;
    border: solid 3px white;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.taken {
    transition: all 0.5s ease-in;
    border: solid 3px white;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2) !important;
    z-index: 2 !important;
    width: 100px !important;
    bottom: auto !important;
    top: 20px !important;
    right: 20px !important;
    left: auto !important;
    margin: inherit;
}




/* .overlay-contour {
    height: 80vh;
    position: fixed;
    opacity: 0.5;
    z-index: 2;
    visibility: hidden;
} */

.overlay-contour {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    height: 90%;
}

.traffic-light {
    position: absolute;
    top: 0;
    /* left: 0; */
    right: 0;
    /* bottom: 0; */
    margin: auto;
    height: 40%;
    z-index: 2;
}

.qr_parent {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.qr_text {
    align-self: center;
    margin-bottom: 30px;
    font-weight: 900;
    font-size: 27px;
}

#qrcode {
    align-self: center;
}

/* .in3d-centered {
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: fixed;
} */

.camera-permission-main {
    background-color: #111111;
    max-width: 1024px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.camera-permission-permission-request {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.9);
    font-family: sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.camera-permission-inner {
    max-width: 400px;
    text-align: center;
}

.camera-permission-title {
    font-size: 20px;
}

.camera-permission-text {
    font-size: 14px;
    padding: 15px;
}

.camera-permission-inner>button {
    background: none;
    outline: none;
    border: 2px solid white;
    border-radius: 10px;
    color: white;
    padding: 10px 40px;
    text-transform: uppercase;
}

.rotation-sign {
    margin: auto;
    left: 0px;
    right: 0px;
    bottom: 0px;
    animation: fadeinphoto 1s 1s 1;
    animation-iteration-count: infinite;
    position: fixed;
    z-index: 99;
}

/* Animation Keyframes*/
@keyframes fadeinphoto {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.timer-body {
    position: absolute;
    text-align: center;
    right: 0;
    left: 0px;
    top: 0;
    /* display: none; */
    font-size: 200px;
    color: purple;
    z-index: 99;
    width: 100%;
    height: 10vh;
    text-align: center;
    bottom: 10%;
    margin: auto;
}

.button-skip {
    display: flex;
    justify-content: flex-end;
}

.button-skip button {
    width: 67px;
    height: 44px;
    color: #fff;
    margin-top: 16px;
    margin-right: 16px;
    background-color: #333333;
    border-radius: 8px;
    border-color: transparent;
    font-family: 'Source Sans Pro';
    z-index: 99;
    /* border-color: #F5F5F5; */

}


.video_body_tutorial {
    height: 100%;
    width: 100%;
    position: fixed;
    margin: auto;
    left: 0px;
    right: 0px;
    bottom: 0px;
    top: 0px;
    /* border-radius: 40px; */
}