@font-face {
    font-family:'Outfit' ;
    src: url(/assets/fonts/outfit/Outfit-VariableFont_wght.ttf);
    font-weight: 400, 600, 700;
    font-display: swap;

}
@font-face {
    font-family: 'Young Serif';
    src: url(/assets/fonts/young-serif/YoungSerif-Regular.ttf);
    font-weight: 400;
    font-display: swap;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;

}
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Outfit';
    font-size: 16px;
    font-weight: 400;
    background-color:hsl(30, 54%, 90%);
    overflow-y: scroll;
    -webkit-margin-collapse: collapse;
    width: 100%;
    height: auto;

}

.recipe {
    display: flex;
    flex-direction: column;
    margin: 5rem auto;
    padding: 1.5rem;
    width: 700px;
    background-color:  hsl(0, 0%, 100%);
    border-radius: 1rem;
}
.card-image {
    margin-top: 0;
}
img {
    width: 100%;
    height: 100%;
    border-radius: 0.7rem;
}
h2 {
    font-family: 'Young Serif';
    font-weight: 700;
}
h3 {
    font-family: 'Young Serif';
    font-weight: 600;
    color: hsl(14, 45%, 36%);

}
div {
    margin-top: 20px;
    margin-bottom: 20px;
}
.preparation-time h3{
    font-family: 'Outfit';
    font-weight: 400;
    color: hsl(332, 51%, 32%);

}
.preparation-time {
    background-color: hsl(330, 100%, 98%);
    padding-left: 20px;
    width: 100%;

}
.preparation-time span{
    font-weight: bold;
}
 li {
    list-style-position: outside;
 }
 ol span{
    font-weight: 700;

 }
 .ingredients, .instructions {
    padding-bottom: 20px;
    border-bottom: 1px solid hsla(0, 4%, 5%, 0.2);
 }
table {
border-collapse: collapse;
width: 100%;
}
table, tr, td, th{
    border-top: 0;
    border-left: 0;
    border-right: 0;
}
td {
    border-bottom: 1px solid hsla(0, 2%, 27%, 0.2);
    padding-left: 30px;
    padding: 1rem;
}
td:nth-child(2) {
    color: hsl(14, 45%, 36%);
    font-family: 'Outfit';
    font-weight: 700;
}
ol, ul {
    padding-left: 1rem;
    margin-left: 0;
}li::marker {
    color: hsl(14, 45%, 36%);
    font-weight: 700;
}
 @media (max-width: 600px), (max-width:900px) {

    .recipe {
        width: 100vw;
        height: auto;
        margin-top: 0;
    }
    img {
        border-radius: 0;
        padding: 0;
        margin: 0;
    }
    body, main {
        background: none;
        font-size: large;
    }
    .recipe{
        padding: 0;
        margin: 0;
    }
    div:not(.recipe, .card-image){
        margin: 2rem 3rem;
        padding-bottom: 2rem;
        padding-top: 0;
        margin-top: 0;
        width: auto;

    }
}