@font-face {
    font-family: 'Andada';
    src: url('../../type/andada-regular-webfont.woff2') format('woff2'),
         url('../../type/andada-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
}

@font-face {
    font-family: 'Andada';
    src: url('../../type/andada-bold-webfont.woff2') format('woff2'),
         url('../../type/andada-bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-variant: normal;
}

@font-face {
    font-family: 'Antonio';
    src: url('../../type/antonio-bold.woff2') format('woff2'),
         url('../../type/antonio-bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
}

@font-face {
    font-family: 'Brandon Text';
    src: url('../../type/brandontext-regular-webfont.woff2') format('woff2'),
         url('../../type/brandontext-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
}

@font-face {
    font-family: 'Brandon Text';
    src: url('../../type/brandontext-medium-webfont.woff2') format('woff2'),
         url('../../type/brandontext-medium-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

html,
body {
	height: 100%;
}

body > header {
    background: #7abe4c;
    padding: 10px;
}

body > footer {
    padding-bottom: 20px;
    text-align: center;
}

body > header img {
	width: 100px;
}

body {
	font: 1em/1.4em "Brandon Text", "Helvetica Neau", Helvetica, Roboto, san-serif;
}

body * {
	box-sizing: border-box;
}

figure {
	margin: 0;
}

img {
	max-width: 100%;
    vertical-align: middle;
}

h1 {
	font: normal 1em/1 "Antonio";
    margin: 0;
    text-align: center;
    text-transform: uppercase;
}

h2,
h3 {
	font-size: 1em;
}

a {
	color: #000;
}

body > footer p {
    margin: 0;
}

.grid {
	list-style: none;
	margin: 0;
	padding: 0;
}

.main > * {
	margin: auto;
	max-width: 960px;
	padding: 20px;
}

.grid > * {
	background: rgba(255,255,255,0.75);
	border: 1px solid #ccc;
	border-width: 0 0 1px 1px;
	padding: 20px;
	text-align: center;
}

.grid > *:hover {
	background: #fff;
	border-color: #222;
	box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.grid > li + li {
    margin-top: 1em;
}

.grid > * a {
	display: block;
	text-decoration: none;
}


.grid h2,
.grid p {
	margin: 0.5em 0;
}

.meal figure {
	margin-bottom: 60px;
    position: relative;
}

.meal picture img {
	max-width: inherit;
	width: 100%;
}

figure picture img {
    vertical-align: middle;
}

.meal {
    font-size: 125%;
    line-height: 150%;
    max-width: inherit;
    padding: 0;
    position: relative;
}

.meal .holiday-menu {
	display: block;
	left: 0;
	right: 0;
	margin: auto;
	position: absolute;
    top: 20px;
	width: 60%;
}

.meal h2 {
	font: normal 2em/1.15 "Antonio";
	position: relative;
	text-transform: uppercase;
}

.meal article {
	margin: auto;
	max-width: 960px;
	padding: 20px;
}

.order-now,
.ordering-closed,
.last-minute {
	background: #58adbe;
    color: #fff;
    display: block;
    padding: 0.75em;
}

.order-now,
.ordering-closed {
    font: bold 1.5em/1 "Brandon Text", "Helvetica Neue", Helvetica, Roboto, san-serif;
    left: 0;
    margin-top: -80px;
    position: absolute;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
}

.last-minute {
	margin-top: -130px;
	padding: 0.1em 0.75em 0.75em;
	position: relative;
	z-index: 1;
}

.order-now span,
.ordering-closed span,
.last-minute a {
	border: 3px solid #fff;
	border-radius: 5px;
	padding: 0 0.5em;
}

.ordering-closed {
    color: rgba(255,255,255,0.5);
    cursor: not-allowed;
}

.ordering-closed span {
    border-color: rgba(255,255,255,0.5);
}

.last-minute .links {
	display: flex;
	justify-content: space-between;
}

.last-minute a {
	color: #fff;
	flex: 1 1 33%;
	font: bold 1em/1 "Brandon Text", "Helvetica Neue", Helvetica, Roboto, san-serif;
	padding: 0.5em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

.last-minute a + a {
	margin-left: 0.5em;
}

section header {
	margin-bottom: 1em;
}

.articles header {
	margin-bottom: 2em;
}

.instructions h2 {
    font-size: 2em;
    margin: 0;
}

.recipes h2,
.articles h2 {
	font: normal 2em/1 Antonio;
	position: relative;
	text-transform: uppercase;
}

.articles h2:after {
	left: 5.5em;
}

.listing {
    list-style: none;
    margin: 0;
    padding: 0;
}

.listing li + li {
    margin-top: 1em;
}

.listing figure {
	margin-bottom: 1em;
}

.listing h3 {
    font-size: 1.75em;
    margin: 0;
}

.articles .listing li {
	margin-bottom: 2em;
}

.recipes .listing li {
	background: #fff;
	border: 1px solid #eee;
	box-shadow: 0 0 10px rgba(0,0,0,0.08);
	display: inherit;
	flex: 0 0 48%;
	margin: 20px 0;
	padding: 20px;
	position: relative;
}

.recipes figure {
	margin: 0;
	max-width: inherit;
	min-width: inherit;
	position: relative;
}

.recipes img.icon {
	position: absolute;
	width: 80px;
	bottom: 0;
	right: 0;
}

.recipes h3,
.recipes h1 {
	font-weight: bold;
	padding-right: 50px;
}

.recipes article,
.recipes article h3,
.articles article h3,
.recipes .panel {
	font-family: "Brandon Text", "Helvetica Neue", "Helvetica", "Roboto", "Arial";
}

.recipes article h3 a {
	font-size: 0.8em;
	text-decoration: none;
}

.recipes article h3 a:hover {
	background: rgba(0,0,0,0.05);
	border-radius: 2px;
	color: #000;
}

.recipes .panel dl {
	flex: 1 1 25%;
	margin: 0;
	padding: 0.25em 0.5em;
}

.recipes .panel dl + dl {
	border-left: 1px solid #999;
}

.recipes .panel dt,
.recipes .panel dd {
	display: block;
	margin: 0;
}

.recipes .panel dt {
	color: #999;
	font-size: smaller;
	font-style: normal;
}

.recipes .panel dd img {
	max-width: 80%;
	vertical-align: middle;
}

.recipes .meta {
	border: 1px solid #999;
	border-width: 1px 0;
	color: #999;
	font-size: small;
	font-style: normal;
	font-weight: bold;
	letter-spacing: 2px;
	margin-top: 1em;
	padding: 0.25em;
	text-transform: uppercase;
}

.articles {
	background: #58adbe;
	border: 9px double #fff;
	border-width: 12px 0;
	color: #fff;
	margin-bottom: 2em;
	max-width: inherit;
}

.articles h2:after {
	content: url('../img/blast-right-white.svg');
	color: #fff;
}

.articles a {
	color: #fff;
}

.articles header,
.articles .listing {
	margin: auto;
	max-width: 960px;
}

.articles .listing h3 {
	font-size: 1.5em;
}

@media only screen and (min-width: 39em) {

	body {
		font-size: 1.2em;
	}

	body > header img {
		width: 200px;
	}

	.recipes .listing {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.articles .listing li {
		display: flex;
		margin-bottom: 2em;
	}

	.articles .listing figure {
	    margin-right: 20px;
	    max-width: 270px;
	    min-width: 270px;
	}

}

@media only print {

	body {
		font-size: 80%;
	}

	body > header {
		background: #fff;
	}

	body > header nav,
	body > footer {
		display: none;
	}

	.logo {
		width: 150px;
	}

}
