/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}
@charset "UTF-8";
html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

:root {
  --scarlet-700: #A9392F;
  --scarlet-300: #E5B0A7;
  --brown-700: #835530;
  --brown-300: #D6B7A2;
  --green-700: #57652B;
  --green-300: #B6C388;
  --mustard-700: #7B591F;
  --mustard-300: #F6B02C;
  --grey-700: #5F5F5F;
  --grey-300: #BDBDBD;
  --pumpkin-700: #954B22;
  --pumpkin-300: #FEA97C;
}

body {
  margin: 0;
  min-height: 100vh;
  font: 11pt Optima, Candara, "Noto Sans", source-sans-pro, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

h1::before,
h1::after {
  margin: 0 20px;
}

[recipe-cranberry-sauce] {
  background-color: var(--scarlet-700);
}
[recipe-cranberry-sauce] h1::before,
[recipe-cranberry-sauce] h1::after {
  content: "🥫";
}

[recipe-gravy] {
  background-color: var(--scarlet-300);
}
[recipe-gravy] h1::before,
[recipe-gravy] h1::after {
  content: "🧈";
}

[recipe-turkey] {
  background-color: var(--brown-700);
}
[recipe-turkey] h1::before,
[recipe-turkey] h1::after {
  content: "🦃";
}

[recipe-mashed-potatoes] {
  background-color: var(--brown-300);
}
[recipe-mashed-potatoes] h1::before,
[recipe-mashed-potatoes] h1::after {
  content: "🥔";
}

[recipe-green-bean-casserole] {
  background-color: var(--green-700);
}
[recipe-green-bean-casserole] h1::before,
[recipe-green-bean-casserole] h1::after {
  content: "🧅";
}

[recipe-salad] {
  background-color: var(--green-300);
}
[recipe-salad] h1::before,
[recipe-salad] h1::after {
  content: "🥗";
}

[recipe-stuffing] {
  background-color: var(--mustard-700);
}
[recipe-stuffing] h1::before,
[recipe-stuffing] h1::after {
  content: "🍞";
}

[recipe-quiche] {
  background-color: var(--mustard-300);
}
[recipe-quiche] h1::before,
[recipe-quiche] h1::after {
  content: "🥚";
}

header {
  background-image: url("/static/background.svg");
  border-bottom: 1px solid;
  font-size: 1rem;
}
header nav {
  margin: 5px auto;
  max-width: 1000px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px;
}
header nav > a {
  font-size: 1.25rem;
  padding: 5px 10px;
  border-radius: 5px;
  flex: 1 1 calc(25% - 10px);
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
  border: 1pt solid currentColor;
}

main {
  font-size: 1.125rem;
  background-color: rgba(255, 255, 255, 0.25);
  margin: 0 auto;
  padding: 1rem 2rem;
  width: 1000px;
  max-width: 1000px;
  flex: 1 0 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  align-content: flex-start;
  justify-content: center;
}
main h1 {
  font-size: 2rem;
  text-align: center;
  flex: 0 0 100%;
}
main h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
main h2:not(:first-child) {
  margin-top: 20px;
}
main input[type=checkbox] {
  position: relative;
  left: 0;
}
main label {
  margin-left: -1.4rem;
}
main label:has(input:checked) {
  text-decoration: line-through;
}
main li {
  margin-left: 1.4rem;
  margin-bottom: 5px;
}
main .ingredients {
  flex: 1 1 calc(33% - 20px);
  border-radius: 10px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.25);
}
main .recipe {
  flex: 1 1 calc(66% - 10px);
}