﻿.camera-app-modal {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
    overflow-x: hidden;
    background-color: rgb(255, 255, 255); /* Black fallback color */
/*    transition: 0.3s;*/
    justify-content: center;
    align-items: center;
    overflow-y:hidden;
}

@media (pointer:none), (pointer:coarse) {
    .camera-app-modal {
/*        position: fixed !important*/
    }
    .task-todo{
        margin-top: -100px!important;
    }
} 

.camera-view {
    transform: scaleX(-1);
}

canvas {
    position: absolute;
    transform: scaleX(-1);
}

video {
    object-fit: fill;
}

.overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
    box-shadow: 0px 0px 20px 60px rgba(0, 0, 0, 0.6);
    border: 2px solid #FFC107;
    border-radius: 10px;
}

.face-overlay {
    position: absolute;
    top: 10px;
    right: 50px;
    bottom: 10px;
    left: 50px;
    box-shadow: 0px 0px 0px 200px rgb(255 255 255);
    border: 3px solid #FFC107;
    border-radius: 50px;
    transition: border-color 1s ease-out;
}

.face-oval-overlay {
    position: absolute;
    left: 22%;
    right: 20%;
    top: 5%;
    width: 300px;
    height: 300px;
    box-shadow: 0 0 0 99999px rgba(256, 256, 256, 1);
    border-radius: 50%;
    border: 3px solid #FFC107;
    z-index: 1000;
}

.camera-app-wrapper {
    display: flex;
    flex-flow: column;
    align-items: center;
    width: 100%;
}

.camera-app-container {
    position: relative;
    width: 100%;
    max-width: 548px;
    max-height: 380px;
    overflow: hidden;
}

.snapshot {
    transform: scaleX(-1);
}


@keyframes flashAnimation {
    from {
        opacity: 0.75;
    }

    to {
        opacity: 0;
    }
}

.flash {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    opacity: 0;
    animation: flashAnimation 750ms ease-out;
}


.task-todo {
    margin-top: -40px !important;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.task-todo-progress {
    height: 12px;
}

.task-todo-instruction {
    margin: 5px 0px 5px 0px;
    text-align: center !important;
    color: #153B4B !important;
    font-weight: 600;
    font-size: 18px;
}

.task-todo-progress-bar {
    transition: 2s width !important;
}

.task-todo-box {
    background-color: rgba(209, 231, 221,0.2);
    border: 2px solid #badbcc;
    margin: 0 30px;
    border-radius: 5px;
    /*    box-shadow: 0 1px 5px 0 rgb(0 0 0 / 20%), 0 0px 0px 0 rgb(0 0 0 / 19%);*/
    text-align: center;
    padding: 5px;
}

.round-img {
    height: 250px;
    border-radius: 50% !important;
    vertical-align: middle;
    background-color: rgba(102, 97, 91, 0.5) !important;
    padding: 3px;
}
