#login,
#register {
	padding: 1em;
}

#login>h1,
#register>h1 {
	text-align: center;
	margin: 1em 0;
}

form {
	display: flex;
	flex-direction: column;
	align-items: center;

	width: 60%;
	margin: auto;
	padding: 1em 2em;

	background: #fff;

	font-family: 'Varela', sans-serif;
}

form label {
	display: flex;
	flex-direction: column;

	width: 100%;
	margin: 1em 0;

	font-weight: bold;
	position: relative;
}

form label::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	background: var(--primary-background);
	opacity: .4;

	transition: all .2s ease-in-out;
}

form label:has(>input:focus)::after {
	right: 0;
	top: 24px;
}

form input {
	border: none;
	border-bottom: 1px solid #000;
	padding: 1em;

	margin-top: .5em;
	cursor: pointer;
}

form input:focus {
	outline: none;
}

form input[type="submit"] {
	background: var(--primary-gray);
	color: #fff;
	align-self: flex-end;
}

form input[type="submit"]:hover{
	color:#000;
	background-color:rgb(102, 97, 97);
	}