* {
	margin: 0;
    padding: 0;
    font-family: 'Averia Serif Libre', cursive;
    box-sizing: border-box;
}
html {
	height: 100%;
}
body {
	background: #f0f2f5;
	min-height: 100%;
		display: flex;
    align-items: center;
}
#container {
	width: 92%;
	max-width: 500px;
	margin: 0 auto;
}
#hijo-1, #hijo-2 {
	/*border: 1px solid darkred;*/
    background: #fff;
    width: 100%;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 10px -5px grey;
}
#hijo-1 {
    height: 40px;
    margin-bottom: 7px;
    display: flex;
    justify-content: center;
    align-items: center; 
}
#hijo-2 {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
img {
	width: 215px;
}
input:not(input[type="submit"]){
	border-radius: 12px;
	height: 35px;
	width: 195px;
	background: #D9D9D9;
	border: 0.1px solid #D9D9D9;
	text-indent: 4px;
	padding-left: 30px;
	transition: box-shadow .2s linear;
}
#hijo-2 > div > input[type="submit"] {
	border-radius: 10px;
	height: 35px;
	width: 120px;
	margin-top: 5px;
	margin-bottom: 20px;
	border: 0.1px solid #AA182E;
	background: #AA182E;
	color: white;
	box-shadow: 0px 2px 4px 1px grey;
	transition: box-shadow .2s linear;
}
#hijo-2 > .form-input {				
	position: relative;
	/*width: max-content;*/
	/*margin: 0 auto;*/
}
#hijo-2 > .form-input > i {
	position: absolute;
	top: 50%; 
	transform: translateY(-50%); 
	left: 10px;
}

#hijo-2 > .form-input input[name="dni"]{				
	font-size: 15px;
}

input:not(input[type="submit"]):focus {
	outline: none;
	box-shadow: 0px 1px 4px 0.4px grey;			
}
#hijo-2 > div > input[type="submit"]:hover {
	cursor: pointer;
	background: #861324;
	border: 0.1px solid #861324;
	box-shadow: 0px 3px 5px 2px grey;
}

#error_login {
	display: flex;
	justify-content: center;			
	margin-top: 8px;			
}

.error_login{
	border: 1px solid darkred;
	padding: 5px 0;			
	background: pink;
	color: darkred;
	text-align: center;
	border-radius: 10px;
	width: 60%;			
}

@media (max-width: 338px) {
	#hijo-1 {				
	    height: 55px;
	}			
}
@media (max-width: 230px) {
	img {
		width: 85%;
	}
	#hijo-2 > .form-input {
		width: 85%;
	}
	input:not(input[type="submit"]){
		height: 38px;
		width: 100%;
	}
	#hijo-2 > div:last-child {
		width: 55%;
	}
	#hijo-2 > div > input[type="submit"] {
		width: 100%;
	}
}