#main-layout {
	display: flex;
	align-items: center;
	flex-direction: column;
	height: 100%;
}

#box {
	flex: 10;
	box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.2);
	width: 400px;
	max-height: 500px;
	background-color: #ffffff;
}

.layout-item {
	flex: 1;
}

form {
	width: 270px;
	margin: 0 auto;
	padding-bottom: 90px 0;
}

button, input {
	border-radius: 1px;
}

button {
	background-color: #232323;
	color: #ffffff;
	border: 0;
	cursor: pointer;
	margin-bottom: 45px;
}

input {
	background-color: #f5f5f5;
	text-indent: 40px;
	margin-bottom: 15px;
	border: 1px solid transparent;
	transition: box-shadow 180ms, border 180ms;
}

input:focus, button:focus {
	outline: none;
}

input:focus {
	transition: background-color 180ms ease-in-out 0s;
	background-color: #ffffff;
	border-color: #232323;
}

input.error {
	border-color: #f54200;
}

button, input, #validation-bubble {
	height: 45px;
	width: 100%;
}

button {
	width: 35%;
	margin-top: 20px;
}

button:hover {
	opacity: 0.7;
}

#validation-bubble {
	line-height: 45px;
	color: #ffffff;
	border-radius: 30px;
	background-color: #fc4400;
}

#username, #password {
	background-repeat: no-repeat;
	background-position: 15px;
	background-size: 17px;
}

#username {
	background-image: url(img/user-public.svg);
}

#password {
	background-image: url(img/lock.svg);
}

html {
	height: 100%;
}

body {
	height: 100%;
	font-family: Roboto, sans-serif;
	font-size: 15px;
	background-image: linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)), url(img/background.png);
	background-position: center;
	background-size: cover;
}

#logo {
	width: 75%;
	margin: 45px 0 15px 0;
}

#copyright {
	font-size: 12px;
	flex: 0;
	margin: 3em 0;
}

a {
	color: #599900;
}

#copyright, form, #box {
	text-align: center;
}

::placeholder, #copyright, #validation-bubble {
	font-weight: 300;
}

@font-face {
	font-family: "Roboto";
	src: url('fonts/Roboto-Light.woff2') format("woff2"), url('fonts/Roboto-Light.woff') format("woff");
	font-weight: 300;
}

@font-face {
	font-family: "Roboto";
	src: url('fonts/Roboto-Regular.woff2') format("woff2"), url('fonts/Roboto-Regular.woff') format("woff");
	font-weight: 400;
}