*{
	margin:0;
	padding: 0;
	box-sizing: border-box;
	text-decoration: none;
	font-family: sans-serif;
}
body{
	background-image: url(fondo.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-attachment: fixed;
}

main{
	width: 100%;
	padding: 20px;
	margin: auto;
	margin-top: 100px;
}

.contenedor__todo{
	width: 100%;
	max-width: 800px;
	margin: auto;
	position:relative;
}

.caja__trasera{
	width: 100%;
	padding: 10px 20px;
	display: flex;
	justify-content: center;
	backdrop-filter:blur(10px);
	background-color: rgba(0, 128, 255, 0.5);
}

.caja__trasera div{
	margin: 100px 40px;
	color: white;
	transition: all 500ms;

}

.caja__trasera div p{
	margin-top:30px;
}
.caja__trasera div button{
	margin-top:30px;
}

.caja__trasera div h3{
	font-weight: 400;
	font-size: 24px;
}
.caja__trasera button{
	padding: 10px 40px;
	border:2px solid #fff;
	background: transparent;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	color: white;
	outline:none;
	transition: all 300ms;
}


.caja__trasera button:hover{
	background: #2E64FE;
	color:#46A2FD;

}

/*formularuios*/
.contenedor__login-register{
	display: flex;
	align-items: center;
	width: 100%;
	max-width:380px;
	position: relative;
	top:-185px;
	left: 10px;

	transform: left 500ms cubic-bezier(0.175,0.88, 0.320, 1.275);
}

.contenedor__login-register form{
	width: 100%;
	padding:80px 20px;
	background: #fff;
	position: absolute;
	border-radius: 20px;
}

.contenedor__login-register form h2{
	font-size: 30px;
	text-align: center;
	margin-bottom: 20px;
	color:#43A2FD;
}
.contenedor__login-register form input{
	width: 100%;
	margin-top: 20px;
	padding: 10px;
	border:none;
	background: #F2F2F2;
	font-size: 16px;
	outline: none;
}
.contenedor__login-register form button{
	padding: 10px 40px;
	margin-top: 40px;
	border:none;
	font-size: 14px;
	background: #46A2FD;
	color:white;
	cursor:pointer;
	outline: none;
}
.formulario__login{
	opacity: 1;
	display: block;
}

.formulario__register{
	display: none;
}
/*responsive*/

@media screen and (max-width: 850px){
	main{
		margin-top: 50px;
	}

	.caja__trasera{
		max-width: 350xp;
		height: 300px;
		flex-direction: column;
		margin: auto;
	}

	.caja__trasera div{
		margin: 0px;
		position: absolute;
	}

	.contenedor__login-register{
		top:-10px;
		left: -5px;
		margin:auto; 
	}

	.contenedor__login-register form{
		position: relative;

	}
	
}
