*{
    margin: 0;
    padding: 0;
}
body{
    background-color: black;
}

.contenedor{
    margin: auto auto;
    min-width: 99.9vw;
    min-height: 99.9vh;
    
    display: flex;
    flex-direction: column;
}

.contenido{
        height: 80%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

.controles{
    height: 20%;
    margin-top: -60px;
    position: relative;
    z-index: 90;
}

#contenedor-video{
    height: fit-content;
    cursor: none;
}

video{
    width: 100%;
    max-height: 100%;
}

img{
    width: 100%;
    max-height: 100%;
    display: none;
    box-sizing: border-box;
    border: 1px solid blue;
}

#contador{
    z-index: 99;
    color: white;
    position: relative;
    margin-top: -140px;
    margin-left: 40px;
    font-size: 70px;
    float: left;
}

.icon{
    background-size: 30px;
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: center;
    width: 50px;
    height: 50px;
    background-color: #212121;
}

.icon:hover{
    background-color: #2c2c2c;
}

.icon-full{
    background-image: url('iconos/fullscreen.png');
}

.icon-camara{
    background-image: url('iconos/camara.png');
    width: 100px;
}
.icon-basurero{
    background-image: url('iconos/basurero.png');
}
.icon-rotar{
    background-image: url('iconos/rotar.png');
}
.icon-tiempo{
    background-image: url('iconos/tiempo.png');
}
.icon-guardar{
    background-image: url('iconos/guardar.png');
    background-color: #1976d2;
}
.icon-guardar:hover{
    background-color: #206ebb;
}

.controles button{
    padding: 12px;
    margin: 2px;
    
    border-radius: 5px;
    border: none;
    color: transparent;
    font-size: 0;
}

select{
    position: relative;
    
    background-color: #212121;
    color: white;
    padding: 15px;
    margin: 5px;
    font-weight: bold;
    top: 4px;
}

select:hover, select:focus{
    border: 1px solid white;
}

option{
    font-weight: bold;
}


/*Pantalla girada o computadora  */
@media (min-width: 500px)
{
    .contenedor{
        flex-direction: row;
    }

    .contenido{
        height: auto;
        width: 80%;
    }

    #contador{
        font-size: 120px;
    }

    .controles{
        background-color: black;
        height: auto;
        width: 20%;
        margin-top: 0px;
        display: flex;
        flex-direction: column;
    }

    .controles button{
        font-size: 14px;
        color: white;
        background-image: none;
        width: auto;
        height: auto;
        padding: 16px;
        margin: 2px;
    }

    select{
        margin-top: 2px;
        margin-bottom: 5px;
    }
}

@media (min-width: 800px)
{
    .controles button{
        margin: 10px;
    }

    select{
        margin: 10px;
        margin-bottom: 15px;
    }
}