
:root {
	--aas-light-blue: #007CC3;
	--aas-dark-blue: #011E30;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background-color: var(--aas-light-blue);
	font-family: Calibri;
}

.main-container {
	position: absolute;
	left: 50%;
	top: 40%;
	transform: translate(-50%, -50%);
	background: white;
}

.container {
	width: 400px;
	height: 400px;
	z-index: 1;
	overflow: hidden;
}

form {
	width: 100%;
	height: 100%;
	display: flex;
	padding: 0px !important;
	flex-direction: column;
	align-items: center;
	background-color: white;
	justify-content: space-evenly;
}

a {
	text-decoration: none;
	cursor: pointer;
	color: var(--aas-light-blue);
}

a:focus, 
a:hover {
	font-weight: bold;
}

.input {
	position: relative;
}

.input input, 
.login-btn {
	width: 260px;
	height: 45px;
	outline: none;
	padding: 0 0.7rem;
	border-radius: 3px;
	transition: 0.2s;
	font-weight: normal;
	z-index: 1;
	border: none;
	border-bottom: 1px solid #8c8c8c;
}

.login-btn {
	background: var(--aas-dark-blue);
	cursor: pointer;
	font-size: 20px;
	color: #fff;
}

.login-btn hover {
	font-weight: bold;
}

.input label {
	position: absolute;
	top: 28%;
	left: 10px;
	font-size: 0.9rem;
	transition: 0.2s;
	font-weight: normal;
	padding: 0 0.1rem;
}

.input input:focus {
	background-color: white;
	border-bottom: 1px solid var(--aas-light-blue);
}

input[type="text"] {
  background-color: white
}

input[type="text"]:focus {
  background-color: white;
}

.input input:focus ~ label,
.input input:valid ~ label {
	transform: translateY(-25px);
	font-size: 15px;
	color: var(--aas-light-blue);
	background: #fff;
}

.error {
	font-size: 15px;
	color: red;
}

/* Firefox ******************************************************* */

@-moz-document url-prefix() {
		
	form {
		width: 100%;
		height: 100%;
		display: flex;
		padding: 20px !important; /* difference */
		flex-direction: column;
		align-items: center;
		background-color: white;
		justify-content: space-evenly;
	}
	
	a {
		margin-top: 20px;
		text-decoration: none;
		cursor: pointer;
		color: var(--aas-light-blue);
	}
		
	.input {
		margin-top: 30px;
		position: relative;
	}
		
	.login-btn {
		margin-top: 20px;
		background: var(--aas-dark-blue);
		cursor: pointer;
		font-size: 20px;
		color: #fff;
	}
		
	.error {
		margin-top: 20px;
		font-size: 15px;
		color: red;
	}
							
}
