body{
	margin: 0;
	padding: 0;
	font-family:Century Gothic, sans-serif;
	background:linear-gradient(50deg, rgb(255, 71, 71), gold);
	height: 100vh;
	overflow: hidden;
}

.center{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 400px;
	height: 350px;
	background: white;
	border-radius: 10px;
}

.center h1{
	text-align: center;
	padding: 0 0 20px 0;
	border-bottom: 1px solid silver;
}

.center form{
	padding: 0 40px;
	box-sizing: border-box;
}

form .txt_field{
	position: relative;
	border-bottom: 2px solid #adadad;
	margin: 30px 0;
}

.txt_field input{
	width: 100%;
	padding: 0 5px;
	height: 40px;
	font-size: 16px;
	border: none;
	background: none;
	outline: none;
}

.txt_field label{
	position: absolute;
	top: 50%;
	left: 5px;
	color:#adadad;
	transform: translateY(-50%);
	font-size: 16px;
	pointer-events: none;
	transition: .5s;
}

.txt_field span::before{
	content: '';
	position: absolute;
	top: 40px;
	left: 0;
	width: 100%;
	height: 2px;
	background: #ee7c12;
	transition: .5s;
}

.txt_field input:focus ~ label,
.txt_field input:valid ~ label{
	top: -5px;
	color: #ee7c12;
}

.txt_field input:focus ~ span::before,
.txt_field input:valid ~ span::before{
	width: 100%;
}

.pass{
	margin: -5px 0 20px 5px;
	color:#ee7c12;
    cursor: pointer;
}

.pass:hover{
	text-decoration: underline;
}

input[type="submit"]{
	width: 100%;
	height: 50px;
	border: 1px solid;
	background: #fc9f49;
	border-radius: 25px;
	font-size: 18px;
	color: white;
	font-weight: 700;
	cursor: pointer;
	outline: none;
	margin-top: 1rem;
}

input[type="submit"]:hover{
	border-color: #fc9f49;
	transition: .5s;
}

.signup_link{
	margin: 30px 0;
	text-align: center;
	font-size: 16px;
	color: 666666;
}

.signup_link a{
	color: #faa555;
	text-decoration: none;
}

.signup_link a:hover{
	text-decoration: underline;
}

.error{
	text-align: center;
	padding: 10 0 20px 0;
	border-bottom: 1px solid silver;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 300px;
	background: white;
	border-radius: 10px;
	font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
	font-size: larger;
}

input[type="button"]{
	width: 50%;
	height: 30px;
	border: 1px solid;
	background: #fc9f49;
	border-radius: 25px;
	font-size: 18px;
	color: white;
	font-weight: 700;
	cursor: pointer;
	outline: none;
}

input[type="button"]:hover{
	border-color: #fc9f49;
	transition: .5s;
}

/*RESPONSIVE*/

@media screen and (max-width: 1200px){

	.center{
		padding: 0 20px;
	}
}

