@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Open Sans', sans-serif;
    color: #fff;
}

#VideoFondo{
    position: fixed;
    min-width: 100%;
    min-height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: -1;
}

section{
    
    position: relative;
    height: 100vh;
    width: 100%;
    background: url("../img/Fondo.jpg");
    background-size: cover;
    background-position: center center;
}

.form-container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: linear-gradient(rgba(0,0,0,0.3),rgbs(0,0,0,0.3));
    width: 25%;
    padding: 50px 30px;
    border-radius: 10px;
    box-shadow: 7px 7px 60px #000;
}

.form-container img{

        width: 100%;
        margin-bottom: 20px;
}

h1{
    text-transform: uppercase;
    font-size: 1.5em;
    text-align: center;
    margin-bottom: 1em;
    color: rgb(235, 97, 21)

}

.control input{
    width: 100%;
    display: block;
    padding: 10px;
    color: #222;
    border: none;
    outline: none;
    margin: 1em 0;
    border-radius: 5px;
}

.capaerrores{
    background: crimson;
    border-radius: 5px;
    padding: 5px;
    display: none;
}

.control-capcha input{
    width: 100%;
    display: inline-block;
    padding: 10px;
    color: #222;
    border: none;
    outline: none;
    margin: 0;
    border-radius: 5px;
}

#copia{
    width: 50%;
    margin-right: 10px;
}

#capcha{
    background-image: url("../img/captcha-bg.png");
    width: 45%;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
    font-size: 17px;
}

.RememberMe{
    font-size: 1em;
    color: rgb(235, 97, 21);
}

.control input[type="submit"]{
    background: #ed5014;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.2em;
    opacity: .7;
    transition: opacity .3s ease;
}

.control input[type="submit"]:hover{
    opacity: 1;  
    cursor: pointer;   
}

.link{
    text-align: center;
}

.link a{
    text-decoration: none;
    color: rgb(235, 97, 21);
    opacity: .6;
    transition: opacity .3s ease;

}

.link a:hover{
    opacity: 1;
}

@media screen and (max-width: 768px){
    
    .form-container{
        width: 40%;
    }

    h1{
        font-size: 1.2em;
    }

}

@media screen and (max-width: 556px){
    
    .form-container{
        width: 50%;
    }

    h1{
        font-size: 1.2em;
    }

}

@media screen and (max-width: 436px){
    
    .form-container{
        width: 65%;
    }

    h1{
        font-size: 1.2em;
    }

}

@media screen and (max-width: 406px){
    
    .form-container{
        width: 75%;
    }

    h1{
        font-size: 1.2em;
    }

    #copia{
        width: 50%;
        margin-right: 10px;
    }
    
    #capcha{
        width: 43%;
        margin-bottom: 15px;
       
    }

}

@media screen and (max-width: 356px){
    
    .form-container{
        width: 85%;
    }

    h1{
        font-size: 1.3em;
    }

}

@media screen and (max-width: 300px){
    
    .form-container{
        width: 95%;
    }

    h1{
        font-size: 1em;
    }

}