* {
	box-sizing: border-box;
}

::-webkit-scrollbar {
	display: none;
}

body {
	display: flex;
	min-height: 100%;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	margin: 0 auto;
	padding: 20px;

	background-color: #555;
	color: #eee;
	line-height: 1.6;
	font-family: sans-serif;
	text-align: center;
}

header,
footer {
	padding: 20px;
}

.container {
	position: relative;

	width: 100%;
	max-width: 600px;
	margin: 10px;
	padding: 0px 40px 54px 40px;

	background-color: #fff;
	border-radius: 2px;
	color: #333;
}

h1,
.form-title {
	margin-top: 0;

	font-size: 48px;
	font-weight: normal;
	line-height: 1;
}

.form-title {
	font-size: 42px;
}

p {
	max-width: 520px;

	font-size: 18px;
	line-height: 1.5;
}

form {
	width: 100%;
	max-width: 550px;
	margin: 40px auto 0;
}

.form-group {
	width: 100%;
	text-align: left;
}

input,
a {
	display: block;
	width: 100%;
	margin-bottom: 10px;
	padding: 10px 20px;

	font-size: 18px;
}

button[type='submit'] {
	display: inline-block;
	width: 100%;
	margin-top: 20px;
	padding: 12px 20px;

	background-color: #222;
	border-radius: 2px;
	border: none;
	color: #fff;
	cursor: pointer;
	font-size: 18px;

	transition: 100ms;
}

button[type='submit']:hover {
	background-color: #333;
}

.link-btn {
	display: inline-block;
	width: 100%;
	max-width: 150px;
	margin-top: 20px;

	background-color: #eee;
	color: #333;
	text-align: center;
	text-decoration: none;
}

button[type='submit']:active {
	transform: scale(0.98);
}

.msg {
	width: 100%;
	position: absolute;
	bottom: 14px;
	left: 50%;

	color: #dc143c;
	font-size: 14px;
	transform: translate(-50%);
}

.copyright {
	font-size: 14px;
	justify-self: flex-end;
}

@media (max-width: 768px) {
	body {
		justify-content: center;
	}

	.form-title {
		font-size: 26px;
	}

	.copyright {
		font-size: 12px;
	}

	.container {
		padding: 0px 20px 54px 20px;
	}

	button[type='submit'] {
		font-size: 16px;
	}
}

@media (max-width: 550px) {
	body {
		padding: 10px;
	}

	h1 {
		font-size: 26px;
	}

	p,
	label,
	input {
		font-size: 14px;
	}
}
