@charset "utf-8";
/* CSS Document */
img, object, embed, video {
	max-width: 100%;
}
/* IE 6 no admite max-width (anchura máxima), por lo que usa de manera predeterminada una anchura del 100% */
.ie6 img {
	width:100%;
}
*{
	margin:0;
	padding:0;
	font-family:sans-serif;
	box-sizing:border-box;
	
	}
body{ 
	display:flex;
	min-height:100vh;
	
}
/* Diseño móvil: 480 px e inferior. */
form{
    margin:auto;
	width:90%;
	max-width:300px;
	background:#E6E6E6;
	padding:30px;
/* 	/border: 1px solid rgba(0,0,0,0.2);
	
	position: absolute;
    left : 560px;
    top  : 100px;
	width:30%;
	*/
	}
h2{
	text-align:center;
	margin-bottom:20px;
	color:rgba(0,0,0,0.5);
   }
   input{
	   display:block;
	   padding:10px;
	   width:100%;
	   margin:10px 0;
	   font-size:20px;
	   }
input[type="submit"]{
	background:#52BE0B;
	border:0;
	color:#FFF;
	opacity:0.9;
	cursor:pointer;
	border-radius:5px;
	margin-bottom:0;
	}
input[type="submit"]:hover{
	opacity:1;
	}
input[type="submit"]:active{
	transform:scale(0.95);
	
	}
/* Diseño tableta: de 481 px a 768 px. Hereda estilos de: Diseño móvil. */

@media only screen and (min-width: 481px) {
	form{
    margin:auto;
	width:60%;
	max-width:500px;
	background:#E6E6E6;
	padding:30px;
	
	}

}

/* Diseño escritorio: de 769 px hasta un máximo de 1232 px.  Hereda estilos de: Diseño móvil y Diseño tableta. */

@media only screen and (min-width: 769px) {
	form{
    margin:auto;
	width:70%;
	max-width:500px;
	background:#E6E6E6;
	padding:30px;
	
	}
}