/* Estilos de la pagina de login/registro (index.html).
   Usa el truco del checkbox oculto (#chk) para animar el cambio
   entre el formulario de login y el de registro. */
body{
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	font-family: "Segoe UI", Arial, sans-serif;
	background: #f0f4f8;
}

.main{
	width: 350px;
	height: 500px;
	overflow: hidden;
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 5px 20px 50px rgba(0,0,0,0.15);
}

#chk{
	display: none;
}

.signup{
	position: relative;
	width: 100%;
	height: 100%;
}

label{
	color: #333;
	font-size: 2.3em;
	justify-content: center;
	display: flex;
	margin: 60px;
	font-weight: bold;
	cursor: pointer;
	transition: .5s ease-in-out;
}

input{
	width: 60%;
	height: 20px;
	background: #f0f4f8;
	justify-content: center;
	display: flex;
	margin: 20px auto;
	padding: 10px;
	border: 2px solid #c9d6e3;
	outline: none;
	border-radius: 5px;
	font-family: "Segoe UI", Arial, sans-serif;
}

input:focus {
	border-color: #2c5aa0;
}

/* Solo los botones dentro del formulario del login */
.main button {
	width: 60%;
	height: 40px;
	margin: 10px auto;
	justify-content: center;
	display: block;
	color: #fff;
	background: #2c5aa0;
	font-size: 1em;
	font-weight: bold;
	margin-top: 20px;
	outline: none;
	border: none;
	border-radius: 5px;
	transition: .2s ease-in;
	cursor: pointer;
	font-family: "Segoe UI", Arial, sans-serif;
}

.main button:hover{
	background: #1f3f66;
}

.login{
	height: 460px;
	background: #ffffff;
	border-radius: 0;
	transform: translateY(-180px);
	transition: .8s ease-in-out;
}

.login label{
	color: #2c5aa0;
	transform: scale(.6);
}

#chk:checked ~ .login{
	transform: translateY(-500px);
}

#chk:checked ~ .login label{
	transform: scale(1);	
}

#chk:checked ~ .signup label{
	transform: scale(.6);
}
