.contenedor{
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: start;     
}

.app-title h1{
    font-size: 40px;
    font-weight: bold;
    color: #fff;
}

.sesion{
    position: absolute;
    z-index: 10;
}

.sesion button{
    margin-left: 10px;
    cursor: pointer;
    border: 1px solid #2ecc71;
    background-color: rgba(46, 204, 113, 0.5);
    height: 20px;
    width: 100px;
    color: #f5f5f5;
    font-size: 14px;
}

.mensajes{
    position: absolute;
    z-index: 11;
    width: 100%;
    background-color: #77BFEA;
    padding-left: 10px;
    color: #fbfbfc;
    animation: sacar 2s 5s forwards;
}

@keyframes sacar {
    to{
        display: none;
        opacity: 0;
    }
}
/*
.mensajes{
    position: absolute;
    z-index: 11;
    animation: slideup 2s forwards;
    -moz-animation: slideup 2s forwards;
    -webkit-animation: slideup 2s forwards;
    -o-animation: slideup 2s forwards;
    color:white; 
}

@keyframes slideup {
    0% {top: 0px;}
    75% {top: 0px;}
    100% {top: -25px;}
}
*/

.boton{
    background:#2ecc71;
    border:0;
    color:#fff;
    padding:10px;
    font-size:20px;
    width: calc(100% - 20px);
    margin:5px;
    display:block;
    cursor:pointer;
}

.boton:active{
    background:#27ae60;
}

#my_camera{
    order: 1;
}

#results{
    order: 2;
}

#image{
    order: 3;
}

#TomarFoto{
    order: 4;
}

.formCarga {
    min-width: 400px;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    margin-top: 90px;
    border-radius: 10px;
    padding-bottom: 10px;
}

.imagenes{
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-flow: row wrap;
}

#my_camera{
    margin: 0px;
    padding: 0px;
    width: 350px;
    height: 492px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 0 10px 5px white;

}

#video, canvas{
    position: relative;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

#results{
    margin: 0px;
    padding: 0px;
    width: 350px;
    height: 492px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 0 10px 5px white;
}

.inputCarga{
    width:300px;
    margin:0px auto;
    padding:15px;
    background:rgba(0,0,0,0.2) !important;
    color:#fff !important;
    border:0;
    margin: 5px auto;
}

.inputTomarFoto{
    text-align: center;
    width:300px;
    margin: 20px auto;
    padding:15px;
    background:#2ecc71 !important;
    color:#fff !important;
    border:0;
    cursor:pointer;
}

.rotarImagen{
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}