body, body * {
    /*touch-action: manipulation;*/
}

body {
    background-color: #252525;
    min-height: 100vh;
}

body.photo-finder,
body.photo-finder .site-wrapper {
    background-color: rgb(207, 16, 45);
}

.site-wrapper {
    padding-top: 0px;
    padding-bottom: 0px;
    touch-action: manipulation;
}

#selfie-video-wrapper {
    height: 100vh;
    width: 100vw;
    touch-action: manipulation;
}

.camera-controls {
    position: fixed;
    width: 100vw;
    bottom: 100px;
    touch-action: manipulation;
    z-index: 999999999;
}

#selfie-video {
    height: 100vh;
    width: 100vw;
    object-fit: cover;
    touch-action: manipulation;

    transform: rotateY(180deg);
    -webkit-transform:rotateY(180deg);
    -moz-transform:rotateY(180deg);
}

#selfie-video.rotate90 {
    -webkit-transform: rotate(90deg) matrix(-1, 0, 0, 1, 0, 0);
    height: 1080px;
    width: 1920px;
    object-fit: contain;
    margin-top: 420px;
    margin-left: -420px;
}

.normal-camera-button {
    height: 64px;
    width: 64px;
    border-radius: 50%;
    border: 4px solid white;
    margin: 0 auto;
    position: relative;
    touch-action: manipulation;
    margin-top: 20px;
    z-index: 999999999;
}

.normal-camera-button > div i {
    font-size: 28px;
    color: white;
    margin-top: 11px;
}

.normal-camera-button > div {
    background-color: rgb(0, 100, 255);
    height: 50px;
    width: 50px;
    left: 3px;
    position: absolute;
    top: 3px;
    border-radius: 50%;
    touch-action: manipulation;
}

.normal-camera-button > div > div {
    border-radius: 50%;
    height: 50px;
    width: 50px;
    touch-action: manipulation;
}

.button-take-photo {
    height: 176px;
    width: 176px;
    border-radius: 50%;
    border: 5px solid white;
    margin: 0 auto;
    position: relative;
    touch-action: manipulation;
    z-index: 999999999;
}

.button-take-photo div {
    background-color: white;
    height: 160px;
    width: 160px;
    left: 3px;
    position: absolute;
    top: 3px;
    border-radius: 50%;
    touch-action: manipulation;
    z-index: 999999999;
}

.checking-cameras-info {
    z-index: 9999999999;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-color: #444444;
    color: white;
    text-align: center;
    padding-top: 200px;
    font-size: 30px;
}

.checking-cameras-info > div {
    margin-top: 50px;
}

#photoCanvas,
#screenshotCanvas {
    display: none;
}

.camera-flash {
    height: 100%;
    width: 100%;
    background-color: white;
    z-index: 999999999;
    position: absolute;
    display: none;
}

.avatar-generic-dialog {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
    font-size: 30px;
    line-height: 150%;
    width: 80%;
    border-radius: 5px;
}

.progress-wrapper {
    margin-top: 30px;
    display: none;
}

.progress-wrapper .progress {
    margin-left: 30px;
    margin-right: 30px;
    border-radius: 3px;
    overflow: hidden;
}

.progress-wrapper .progress,
.progress-wrapper .progress-bar {
    height: 15px;
}

.selfie-popup {
    display: none;
    height: 100%;
    width: 100vw;
    z-index: 9999999999;
    position: absolute;
    background-color: rgb(207, 16, 45);
    text-align: center;
    background-size: cover;
}

.selfie-popup .preview {
    object-fit: contain;
    width: 80%;
    margin: 0 auto;
    max-height: 250px;
}

.countdown-numbers {
    display: none;
    position: absolute;
    z-index: 9999999999;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.22);
}

.countdown-numbers.blank {
    background-color: rgba(0, 0, 0, 1);
}

.countdown-numbers .number {
    position: absolute;
    font-size: 1050px;
    z-index: 999999;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
}

.countdown-numbers .get-in-position {
    display: none;
    position: absolute;
    font-size: 110px;
    z-index: 999999;
    text-align: center;
    top: 220px;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    width: 100%;
}

.countdown-numbers .look-camera {
    display: none;
    position: absolute;
    font-size: 110px;
    z-index: 999999;
    text-align: center;
    top: 220px;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    width: 100%;
}

.countdown-numbers .number span {
    display: none;
}

.dots {
    display: inline-block;
}

.dot-typing {
    position: relative;
    left: -9999px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #fa9039;
    color: #fa9039;
    box-shadow: 9984px 0 0 0 #fa9039, 9999px 0 0 0 #fa9039, 10014px 0 0 0 #fa9039;
    animation: dotTyping 1.1s infinite linear;
}

@keyframes dotTyping {
    0% {
        box-shadow: 9984px 0 0 0 #fa9039, 9999px 0 0 0 #fa9039, 10014px 0 0 0 #fa9039;
    }
    16.667% {
        box-shadow: 9984px -10px 0 0 #fa9039, 9999px 0 0 0 #fa9039, 10014px 0 0 0 #fa9039;
    }
    33.333% {
        box-shadow: 9984px 0 0 0 #fa9039, 9999px 0 0 0 #fa9039, 10014px 0 0 0 #fa9039;
    }
    50% {
        box-shadow: 9984px 0 0 0 #fa9039, 9999px -10px 0 0 #fa9039, 10014px 0 0 0 #fa9039;
    }
    66.667% {
        box-shadow: 9984px 0 0 0 #fa9039, 9999px 0 0 0 #fa9039, 10014px 0 0 0 #fa9039;
    }
    83.333% {
        box-shadow: 9984px 0 0 0 #fa9039, 9999px 0 0 0 #fa9039, 10014px -10px 0 0 #fa9039;
    }
    100% {
        box-shadow: 9984px 0 0 0 #fa9039, 9999px 0 0 0 #fa9039, 10014px 0 0 0 #fa9039;
    }
}

.pf-title {
    color: white;
    font-size: 70px;
    padding: 110px 0px;
    text-align: center;
    font-weight: bold;
}

.pf-second-title {
    color: white;
    font-size: 40px;
    padding: 40px 80px;
    text-align: center;
    font-weight: bold;
    line-height: 180%;
}

.pf-scanning-text {
    color: white;
    font-size: 40px;
    padding: 40px 80px;
    text-align: center;
    font-weight: bold;
    line-height: 180%;
}

.pf-face-scan-button-wrapper{
    text-align: center;
    margin-top: 100px;
}

.scan-face-button {
    background-color: white;
    color: #444444;
    padding: 30px 40px;
    font-size: 40px;
    font-weight: bold;
}

.pf-camera-box {
    display: none;
    background-color: white;
    height: 800px;
    width: 600px;
    margin: 0 auto;
    object-fit: contain;
    margin-top: 50px;
}

.pf-camera-box #selfie-video {
    height: 800px;
    width: 600px;
    object-fit: cover;
}
