.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }

@font-face {
    font-family: 'Outfit';
    src: url(/recipe-page-main/assets/fonts/outfit/Outfit-VariableFont_wght.ttf) format('truetype');
}

@font-face {
    font-family: 'young-serif';
    src: url(/recipe-page-main/assets/fonts/young-serif/YoungSerif-Regular.ttf) format('truetype');
}

body {
background-color: pink;
color: hsl(229, 31%, 21%);
font-family: 'Outfit', sans-serif;
}

h1, h2 {
font-family: 'young-serif', sans-serif;
}

.recipeCard {
width: 50%;
margin: 3em auto;
padding: 2em;
border-radius: 10px;
background-color: white;
color: hsl(229, 31%, 21%);
}

.recipeCard img {
width: 95%;
margin: 1em;
border-radius: 10px;
}

.recipeCard .image {
text-align: center;
}

.infoCard {
background-color: plum;
padding: 1.2em;
margin: 0 1em;
border-radius: 10px;
line-height: 1.8em;
}

.infoCard h3 {
color: brown;
}

h2 {
color: brown;
}

.recipeCard ul, ol {
padding: 0 1em;
line-height: 2em;
text-indent: .8em;
}

ol > li::marker {
font-weight: bold;
}

p {
padding-bottom: 2em;
}

h2 {
border-top: 1px solid hsl(229, 31%, 21%);
padding-top: 1.5em;
padding-bottom: .5em;
}

h2:first-of-type {
border-top: none;
}

table {
width: 100%;
text-align: left;
border-spacing: 10px;
border-collapse: collapse;
}

th, td {
    padding: 1em;
    margin: .2em;
    border-bottom: .1em solid hsl(229, 31%, 21%);
}

tr:last-child > th, tr:last-child > td{
    border-bottom: none;
}

th {
    font-weight: normal;
}

td {
    font-weight: bold; 
    color: brown;
}

@media screen and (max-width: 600px){
    body {
        background-color: white;
        font-family: 'Outfit', sans-serif;
    }
    .recipeCard {
        width: 95%;
        margin: 0;
        padding: .5em;
        background-color: white;
        color: hsl(229, 31%, 21%);
    }

    .recipeCard img {
        width: 100%;
    }

    
    th, td {
        border-bottom: .1em solid hsl(229, 31%, 21%);
    }
}