@font-face {
	font-family: "ABC Diatype";
	src: url("../fonts/diatype/ABCDiatype-Regular.woff2") format("woff2"), url("../fonts/diatype/ABCDiatype-Regular.woff") format("woff");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Fira Sans';
	src: url('../fonts/fira/firasans-regular-webfont.woff2') format('woff2'), url('../fonts/fira/firasans-regular-webfont.woff') format('woff');
	font-style: normal;
	font-weight: 400;
}

@font-face {
	font-family: "bootstrap-icons";
	src: url('../fonts/bootstrap/bootstrap-icons.woff2') format('woff2'), url('../fonts/bootstrap/bootstrap-icons.woff') format('woff');
	font-display: block;
	font-weight: normal;
	font-style: normal;
}

body {
	font-family: "ABC Diatype", sans-serif;
	font-size: 18px;
	color: #333;
	margin: 0;
	padding: 0;
	background: url(../img/tiles.svg) bottom center no-repeat fixed #f7f6f4;
}

a {
	color: #333;
	text-decoration: underline;
	text-decoration-color: #444;
	text-decoration-style: solid;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
	text-decoration-skip-ink: none;
}

h1, h2, h3 {
	font-family: "Fira Sans", sans-serif;
}

.container {
	background-color: #fff;
	border-radius: 1rem;
	border: 1px solid #333;
	padding: 2rem;
	text-align: center;
	margin: 3rem auto 1rem;
	width: 500px;
}

.container h1 {
	font-size: 1.8rem;
	font-weight: normal;
	line-height: 2.5rem;
	margin: 0 0 1rem;
}

.container h2 {
	color: #444;
	font-size: 1.4rem;
	font-weight: normal;
}

.container p {
	line-height: 1.5em;
	margin: 1rem 0 2rem 0;
}

.container img {
	border: 0;
	height: auto;
	margin: 1rem 0;
	width: 100%;
}

.container .email {
	color: #e8412a;
	font-weight: bold;
}

.container .msg {
	display: inline-block;
	margin: 1rem 0;
	background-color: #ffff99;
	font-weight: bold;
	padding: .4rem .6rem;
}

.container i {
	margin-right: .3em;
}

.container i.error {
	color: #e42219;
}

.container i.positive {
	color: #158800;
}

.container form input[type="submit"] {
	display: inline-block;
	border-radius: 4px;
	padding: 0.6em .8em;
	color: #333;
	font-weight: bold;
	background-color: #f7f6f4;
	border: 1px solid #555;
	display: inline-block;
	text-decoration: none;
	font-size: 1em;
	font-weight: normal;
	line-height: 1em;
	transition: all 0.1s ease-in-out;
	white-space: nowrap;
	cursor: pointer;
}

.logo {
	text-align: center;
	padding: 3rem 0 0 0;
}

@media only screen and (max-width: 600px) {
	.container {
		margin: 2rem;
		min-width: calc(320px - 6rem); /* 1rem margin and 2rem padding */
		width: auto;
	}
	.container h1 {
		font-size: 2.4rem;
		line-height: 3rem;
	}
	.container p {
		font-size: 1.4rem;
	}
	.container form input[type="submit"] {
		font-size: 1.4rem !important;
	}
}
