@import url(normalize.css);
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;500;700&display=swap');


@font-face{
    font-family: 'Quicksand', sans-serif;
    src: url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;500;700&display=swap');
}


*{
    margin: 0; 
    padding: 0;
/*(Margin(Borden(Padding(Content))))*/
  box-sizing: border-box;
/*La propiedad box-sizing puede ser usada para ajustar el siguiente comportamiento:
content-box es el comportamiento CSS por defecto para el tamaño de la caja (box-sizing). Si se define el ancho de un elemento en 100 pixeles, la caja del contenido del elemento tendrá 100 pixeles de ancho, y el ancho de cualquier borde o relleno ser añadirá al ancho final desplegado.
border-box le dice al navegador tomar en cuenta para cualquier valor que se especifique de borde o de relleno para el ancho o alto de un elemento. Es decir, si se define un elemento con un ancho de 100 pixeles. Esos 100 pixeles incluíran cualquier borde o relleno que se añadan, y la caja de contenido se encogerá para absorber ese ancho extra. Esto típicamente hace mucho más fácil dimensionar elementos.
*/
    --colorTextos: rgba(80,80,80,1);

/*Tipografia a utilizar en el documento*/
    font-family: 'Quicksand', sans-serif;
}

body{
    /*background-color: rgba(255,255,255,1);*/
    /*font-family: 'Roboto', sans-serif;*/
    margin: 0;

    width: 100%;
    height:800px;
    background: #3a6186;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to left, rgba(137, 37, 62, 0.5), rgba(58, 97, 134, 0.2)),url("../Login_Imagenes/Fondo/FondoCPC.jpg");  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, rgba(137, 37, 62, 0.5), rgba(58, 97, 134, 0.2)),url("../Login_Imagenes/Fondo/FondoCPC.jpg"); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    background-attachment: fixed; /* scroll: la imagen acompaña al elemento cuando este se desplaza - fixed: la imagen permanece fija*/
    position: relative;


}

  /*
  xxxxxxx-bottom: 0;
  xxxxxxx-left: 0;
  xxxxxxx-right: 0;
  xxxxxxx-top: 0;
  */

._contenedor {
  padding: 5rem 0 5rem 0;
  width: 80%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
}

._titulo{
  color: #1AB6C9;
  font-size: 50px;
  text-align: center;
  margin-bottom: 60px;
}

/*header*/

header{
width: 100%;
height: 100px;
}

header .header_texto{
  display: flex;
  height: 50%;
  width: 100%;
  padding-top: 100px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.header_texto h1{
    font-size: 50px;
    color:#333333ff;
}

.header_texto h2{
    font-size: 30px;
    font-weight: 300;
    color:#ffffffff;
}


/* main */

main{
    width: 100%;
    height:650px;
    display: flex;
    justify-content: center;
    align-items: center;
    display: block;
}

main h1{
    text-align: center;
    margin:10px 0;
    font-weight: 700;
    /*color: rgba(153, 0, 0, 1);*/
    color: rgba(127, 28, 30, 1);
}

main h2{
    text-align: center;
    margin:10px 0;
    font-weight: 700;
    /*color: rgba(153, 0, 0, 1);*/
    color: rgba(127, 28, 30, 1);
}


main form{
background: rgba(255, 255, 255, 0.5);
width: 50%;
padding:10px;
border-radius: 5px;
box-shadow: 0 0 3px 0 rgba(255,255,255,0.8);
margin: auto;
}


form ._input_grupo{
    position: relative;
    margin: 50px 20px;
}

main ._main_texto{
    position: relative;
    margin: 50px;
    font-size: 14px;
    font-weight: 300;
    color:rgba(80, 80, 80, 1);
    text-align: center;
}

input{
    background: none;
    color: rgba(69, 69, 69, 1);
    font-size: 18px;
    padding: 20px;
    display: block;
    width: 100%;
    border:none;
    border-bottom: 1px solid var(--colorTextos);
    resize: none;
}

input:focus{
    outline:none;
    color: rgba(94,94,94,0.8);
}

input:focus~label, input:valid~label{
    position: absolute;
    top: -14px;
    font-size: 16px;
    color: rgba(153, 0, 0, 1);
}

label{
    color: var(--colorTextos);
    font-size: 16px;
    position: absolute;
    left:5px;
    top:10px;
    transition: 0.9s ease all;
    pointer-events: none;
}

.input_Barra{
    position:relative;
    display: block;
    width: 100%;
}

input:focus~.input_Barra::before, input:valid~.input_Barra::before{
    width: 100%;

}

.input_Barra::before{
    content: "";
    height: 2px;
    width:0;
    bottom:0;
    position: absolute;
    background: #3a6186;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to left, rgba(137, 37, 62, 0.5), rgba(58, 97, 134, 0.2)),url("../Login_Imagenes/Fondo/FondoCPC.jpg");  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, rgba(137, 37, 62, 0.5), rgba(58, 97, 134, 0.2)),url("../Login_Imagenes/Fondo/FondoCPC.jpg"); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    transition: 0.9s ease all;
    left:0%;
}

button{
    background: rgba(153, 0, 0, 0.8);
    background: -webkit-linear-gradient(to left, rgba(137, 37, 62, 0.5), rgba(58, 97, 134, 0.2)),url("../Login_Imagenes/Fondo/FondoCPC.jpg");  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, rgba(137, 37, 62, 0.5), rgba(58, 97, 134, 0.2)),url("../Login_Imagenes/Fondo/FondoCPC.jpg"); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    display:block;
    width: 90%;
    height: 40px;
    border:none;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    margin: 10px auto;
}


/* footer */

footer{
    /*background: rgba(65, 65, 65, 1);*/
    padding: 60px 0 30px 0;
    margin: auto;
    overflow: hidden;
}

.contenedor-footer{
    display: flex;
    width: 90%;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(26, 182, 201, 0.7);
}

.content-foo{
    text-align: center;
}

.content-foo h4{
    color: #fff;
    border-bottom: 3px solid rgba(26, 182, 201, 0.7);
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.content-foo p{
    color: #ccc;
}

.titulo-final{
    text-align: center;
    font-size: 24px;
    margin: 20px 0 0 0;
    color: #9e9797;
}



@media screen and (max-width:900px){
    header{
        background-position: center;
    }

    form{
        width: 60%;

    }
}

@media screen and (max-width:500px){
    header{
        background-position: center;
    }

    form{
        width: 70%;

    }
}

@media screen and (max-width:450px){
    header{
        background-position: center;
    }

    form{
        width: 90%;

    }
}

@media screen and (max-width:300px){
    header{
        background-position: center;
    }

    form{
        width: 100%;

    }
}