/* Percy's - static landing page. Rules lifted from the original MODX template (all.css). */

@font-face {
	font-family: 'Quattrocento Sans';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/quattrocento-sans-latin-400-normal.woff2) format('woff2');
}
@font-face {
	font-family: 'Quattrocento Sans';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(../fonts/quattrocento-sans-latin-700-normal.woff2) format('woff2');
}
@font-face {
	font-family: 'Source Sans Pro';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/source-sans-pro-latin-400-normal.woff2) format('woff2');
}
@font-face {
	font-family: 'Source Sans Pro';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(../fonts/source-sans-pro-latin-700-normal.woff2) format('woff2');
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

body {
	min-width: 320px;
	font: 14px/20px 'Quattrocento Sans', Arial, Helvetica, sans-serif;
	color: #425b5d;
	background: #f8f8f8;
	-webkit-text-size-adjust: 100%;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
.site-footer { flex-grow: 1; }

img { max-width: 100%; height: auto; border: 0; display: block; }

a { color: #425b5d; text-decoration: underline; }
a:hover { text-decoration: none; }

.container { max-width: 994px; margin: 0 auto; }

/* Header */
.top-panel {
	height: 38px;
	margin: 0 0 12px;
	background: #4a807f;
	box-shadow: 0 0 16px rgba(118, 130, 134, .6);
}
.logo { display: block; width: 229px; margin: 0 auto 26px; }

/* Content */
main { padding: 0 0 20px; }
.hero-article { margin: 0 0 40px; }
.hero-article h1 {
	margin: 0 0 13px;
	padding: 0 0 13px;
	border-bottom: 1px solid #a19ed3;
	font: 700 18px/24px 'Source Sans Pro', Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	color: #4a807f;
}
.hero-article p { margin: 0 0 28px; }
.hero-article .photo { margin: 37px 0 42px; }

/* Footer */
.site-footer { background: #749ea4; }
.footer-top {
	padding: 16px 0 6px;
	min-height: 41px;
	background: #dfe5e5;
	box-shadow: 0 0 20px rgba(116, 158, 164, .85);
}
.footer-area {
	min-height: 120px;
	box-shadow: 0 0 5px rgba(0, 0, 0, .3);
}

@media (max-width: 1015px) {
	.container { padding: 0 10px; }
}

@media (max-width: 767px) {
	body { font-size: 13px; line-height: 18px; }
	.hero-article { margin: 0 0 15px; }
	.hero-article h1 { margin: 0 0 10px; padding: 0 0 5px; font-size: 14px; line-height: 18px; }
	.hero-article p { margin-bottom: 20px; }
	.hero-article .photo { margin: 25px 0 30px; }
	.footer-area { min-height: 40px; }
}
