form {
	display: grid;
	flex-direction: column;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
	max-width: 600px;
	grid-template-columns: auto auto auto auto auto auto auto auto auto auto auto auto;
	font-size: 1.2em;
	background-color: #eee;
	row-gap: 1.5em;
	column-gap: 0.5em;
	padding: 2em;
	border-radius: 0.3em;
}
form .error-container {
	grid-column: 1/12;
	color: red;
	text-align:center;
}
form label {
	padding: 0.4em;
	color: black;
	text-align: right;
	grid-column: 1/3;
}
form input {
	padding: 0.4em;
	font-size: 1.2em;
	grid-column: 3/12;
}
form div.submit {
	grid-column: 1 / span 12;
	text-align: center;
}
form #submit-button {
	background-color: #222299;
	color: #fff;
	border: 0px;
	padding: 0.6em;
	border-radius: 0.2em;
	cursor: pointer;
	width: 50%;
	font-size: 1.1em;
}
form #submit-button:hover {
	opacity: 0.9;
}
form .form-row {
	grid-column: 1 / span 12;
	text-align: center;
}
form a[href]:hover {
	text-decoration: underline;
	cursor: pointer;
}

.form-title {
	color: white;
	font-weight: bold;
	margin-bottom: 1em;
	font-size: 1.8em;
}

@media only screen and (max-width: 762px) {
	form {
		width: 90%;
		column-gap: 0px;
		row-gap: 20px;
		padding: 5%;
		margin-bottom: 2em;
	}
	form label {
		text-align: left;
		grid-column: 1 / span 11;
		padding: 0px 0px 0px 0.1em;
		margin-bottom: -6px;
	}
	form input {
		grid-column: 1 / span 11;
	}
	form #submit-button {
		width: 100%;
		font-size: 1.2em;
	}
}
