body {
    background-color: black;
}

h1 {
    color: wheat;
}

.scanflow_parent {
    text-align: center;
    margin: 0;
    padding: 0;
}

.scanflow_camera {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    background-color: black;
}

.scanflow_capture {
    position: absolute;
    top: 50%;
    left: 50%;
    right: 50%;
    transform: translate(-50%, -50%);
    /* aspect-ratio: auto; */
    /* border: 2px solid white; */
    box-sizing: border-box;
    border-radius: 25px;
    text-align: center;
    height: 75%;
    width: 65%;
}

.capture_btn {
    position: absolute;
    top: 102%;
    left: 40%;
    aspect-ratio: auto;
    text-align: center;
    border-radius: 10px;
    background-color: #1976d2;
    border: 1px solid #1976d2;
    color: white;
    width: 20%;
    height: 9%;
}


.overlay_heading {
    position: relative;
    color: white;
    font-weight: bolder;
    text-align: center;
    top: 90%;
    font-size: 20px;
    background-color: #1976d2;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.parent_div {
    top: 10%;
}

@keyframes blinker {
    50% {
        opacity: 0;
        color: white;
    }
}

.scanflow_loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #1976d2;
    width: 200px;
    height: 200px;
    -webkit-animation: spin 2s linear infinite;
    /* Safari */
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 40%;
    right: 50%;
    transform: translate(-50%, -50%);
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.scanflow_heading {
    position: absolute;
    font-weight: bolder;
    text-align: center;
    top: 50%;
    left: 50%;
    right: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    width: -moz-fit-content;
    width: 50%;
    height: 15%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #1976d2;
    color: #1976d2;
}

.error_heading {
    color: #ff0000;
    text-align: center;
    margin: 5% auto;
}

.loading {
    position: relative;
    color: white;
    font-weight: bolder;
    text-align: center;
    top: 90%;
    font-size: 20px;
    background-color: #1976d2;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    animation: load 1s both 3 cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Safari */
@-webkit-keyframes load {

    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-30px);
    }

    60% {
        -webkit-transform: translateY(-15px);
    }

}

@keyframes load {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-15px);
    }
}