﻿
#webcam {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#log {
    color: #D3277C;
    font-size: 24px;
    font-weight: 400;
}
.progress-btn {
    position: relative;
    color: #fff;
    width: 200px;
    height: 50px;
    background: #ad9d27;
    margin: 0 auto;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    transition: color .3s;
    text-align: center;
    border: 0;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -moz-border-radius: 5px;
}


.progress-btn > .btnProgress {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    line-height: 50px;
    text-align: center;
    z-index: 10;
    opacity: 1;
}

.progress-btn > .progress {
    width: 0%;
    z-index: 5;
    background: #d32525;
    border-color: #d32525;
    opacity: 0;
    transition: all 0.3s ease;
    height: 100%;
}

.progress-btn.active > .progress {
    opacity: 1;
    animation: progress-anim 4.8s ease 1s;
}

.progress-btn[data-progress-style='fill-back'] > .progress {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

button.RepetirFoto-btns {
    position: relative;
    width: 280px;
    height: 50px;
    background: #857c35;
    margin: 0 auto;
    margin-top: 10px;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    transition: color .3s;
    text-align: center;
    color: #fff;
    border: 0;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -moz-border-radius: 5px;
}

button.ConfirmarFoto-btns {
    position: relative;
    width: 280px;
    height: 50px;
    background: #ad9d27;
    margin: 0 auto;
    margin-top: 10px;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    transition: color .3s;
    text-align: center;
    color: #fff;
    border: 0;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -moz-border-radius: 5px;
}
button.style-btns {
    position: relative;
    width: 100%;
    height: 50px;
    background: #ad9d27;
    margin: 0 auto;
    margin-top: 10px;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    transition: color .3s;
    text-align: center;
    color: #fff;
    border: 0;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -moz-border-radius: 5px;
}

@keyframes progress-anim {
    100% {
        width: 100%;
    }
}

@keyframes progress-indefinite-anim {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 0%;
    }
}

/********* GRID PROCESS  ********/
.PPP-grid {
    text-align:center;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto;
    gap: 10px;
}

.PPP-grid-item {
    display: inline-block;
}

.PPP-grid-item .btns {
    row-gap: 20px;
    column-gap: 80px;
}

/***** LOADING *******/
.PPP-Loading {
    position: absolute;
    -webkit-animation: spin 1s infinite cubic-bezier(0.7, 0.4, 0.5, 0.7);
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: translateZ(0) rotate(360deg);
    }
}
@media only screen and (max-width: 600px) {
    #mycanvas {
        width: 100%;
        max-width: 350px;
    }
}