@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');
*
{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Righteous", sans-serif;
	text-shadow: none;
}

section {
	position: relative;
	width: 100%;
	height: 100vh;
	background: #2A3285;
}

body {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	background: #2A3285;
}

.centro {
	position: absolute;
	top: 300px;
	bottom: 400px;
	left: 0;
	right: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.box {
	position: absolute;
	width: 380px;
	height: 500px;
	background: #1C1C1C;
	border-radius: 8px;
	overflow: hidden;
}

.box::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 380px;
	height: 420px;
	background: linear-gradient(0deg, transparent, #FFFFFF, #FFFFFF);
	transform-origin: bottom right;
	animation: animate 6s linear infinite;
}

.box::after {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 380px;
	height: 420px;
	background: linear-gradient(0deg, transparent, #FFFFFF, #FFFFFF);
	transform-origin: bottom right;
	animation: animate 6s linear infinite;
	animation-delay: -3s;
}

@keyframes animate {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.form {
	position: absolute;
	inset: 2px;
	border-radius: 8px;
	background: #FFFFFF;
	z-index: 10;
	padding: 30px 40px;
	display: flex;
	flex-direction: column;
}

.form h2 {
	color: #000000;
	font-weight: 500;
	letter-spacing: 0.1em;
}

.inputbox {
	position: relative;
	width: 300px;
	margin-top: 35px;
}

.inputbox input {
	position: relative;
	width: 100%;
	padding: 10px 10px 10px;
	background: transparent;
	border: none;
	outline: none;
	color: #000000;
	font-size: 1em;
	letter-spacing: 0.05em;
	z-index: 10;
	border-radius: 4px;
}

.inputbox span {
	position: absolute;
	left: 0;
	padding: 20px 0px 10px;
	font-size: 1em;
	color: #8F8F8F;
	pointer-events: none;
	letter-spacing: 0.05em;
	transition: 0.5s;
}

.inputbox input:valid ~ span,
.inputbox input:focus ~ span {
	color: #000000;
	transform: translateX(0px) translateY(-34px);
	font-size: 0.75em;
}

.inputbox i {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background: #EAEBFB;
	border-radius: 4px;
	transition: 0.5s;
	pointer-events: none;
	z-index: 9;
}

.inputbox input:valid ~ i,
.inputbox input:focus ~ i {
	height: 40px;
}

.links {
	display: flex;
	justify-content: space-between;
}

.links a {
	margin: 10px 0;
	font-size: 0.75em;
	color: #2A3285;
	text-decoration: none;
}

.links a:hover,
.links a:nth-child(2) {
	color: #2A3285;
}

input[type="submit"] {
	border: none;
	outline: none;
	background: #2A3285;
	padding: 11px 25px;
	width: 100%;
	margin-top: 10px;
	border-radius: 4px;
	/*font-weight: 600;*/
	cursor: pointer;
	color: #FFFFFF;
}

input[type="submit"]:active {
	opacity: 0.8;
}