/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
    background:linear-gradient(to right,#ecf0ff,#d8e2f7,#fff,#d8e2f7);
    background-size: 100%;
    background-repeat: no-repeat;
	line-height: 1;
    font-family: 'DM Sans', sans-serif;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
.contenedor {
    height: 100vh;
    background: url(../assets/fondoLogin.png);
    background-size: 50%;
    background-attachment:fixed;    
    background-repeat: no-repeat;
    background-position-x:left;
    background-position-y:top;
    max-width: 2000px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contenedor-animation {
    animation-name: animationLogin;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    position: fixed;
    width: 100%;
    height: 100vh;
}
@keyframes animationLogin {
    from {
        background: none;
    }
    to {
        background: #000;
    }
}
form {
    background:linear-gradient(to right,#101343,#4e5076,#101343);
    box-shadow: 2px 2px 10px #000;
    margin: auto;
    padding: 50px 20px;
    width: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
form h1 {
    color: #fff;
    font-size: 50px;
    font-weight: bold;
}
form .div1 {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
form span {
    margin-top: 5px;
    width: 75%;
    height: 6px;
    background: #fff;
    animation-name:moveright;
    animation-duration: 2s;
    animation-iteration-count: 1;
    position: relative;
}
@keyframes moveright {
    from {
        right: 500px;
    }
    to {
        right: 0px;
    }
}
form img {
    width: 300px;
}
form input{
    background: none;
    color: #fff;
    width: 500px;
    margin: 30px 20px;
    padding: 10px 20px;
}
form .input_text{
    color: #fff;
    border: none;
    border-bottom: 1px #fff solid ;
}
form .input_text:hover{
    background: #000;
}
form .div2 {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}
form .input_text::placeholder {
    color: #fff;
}
/*form .input_text:hover, form .input_rol:hover {
    padding: 5px 20px 9px 20px;
    transition: 0.5s;
    font-size: 20px;
    font-weight: bold;
}*/
form .iniciar {
    width: 500px;
    padding: 10px 20px;
    background: #fff;
    color: #000;
    font-weight: bold;
    border: none;
}
form .iniciar:hover {
    background: #000;
    color: #fff;
}
footer {
    padding:30px;
}
footer i {
    margin:0 5px;
}
footer p {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000;
    text-align: center;
}
footer p img {
    margin: 0 20px;
    width: 50px;
}
@media (max-width: 1400px) {
    form {
        padding: 20px 10px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    form h1 {
        font-size: 25px;
    }
    form img {
        width: 150px;
    }
    form .div2 {
        font-size: 13px;
    }
    form input{
        background: none;
        color: #fff;
        width: 100%;
        margin: 15px 10px;
        padding: 5px 10px;
    }
    form .iniciar {
        width: 100%;
    }
    footer {
        font-size: 13px;
    }
}
@media (max-width: 872px) {
    .contenedor {
        background: none;
    }
}