@font-face {
    font-family: Young Serif Regular ;
    src: url(assets/fonts/young-serif/YoungSerif-Regular.ttf);
    font-style: normal;
    font-weight: 400;
}
@font-face {
    font-family: Outfit;
    src: url(assets/fonts/outfit/static/Outfit-Regular.ttf);
    font-style: normal;
}

/* Colours */

:root {
    --white-color: hsl(0, 0%, 100%);
    --stone-100-color: hsl(30, 54%, 90%);
    --stone-150-color: hsl(30, 18%, 87%);
    --stone-600-color: hsl(30, 10%, 34%);
    --stone-900-color: hsl(24, 5%, 18%);
    --brown-800-color: hsl(14, 45%, 36%);
    --rose-50-color: hsl(330, 100%, 98%);
    --rose-800-color: hsl(332, 51%, 32%);
  }


*{
    margin: 0;
    box-sizing:border-box;
}

body{
    text-align: left;
    font-size: 0.875rem;
   
}



.container {
    margin: 0, auto;
    font-family:"Outfit" ;
    line-height: 140%;
    padding: 1.66rem;
}

/* Header */

img{
    width: 100%;
    max-width: 100%;
    height: auto;
}

h1{
    font-family: "Young Serif Regular";
    line-height: 110%;
    color: var(--stone-900-color);
    font-weight: 400;
}

header p{
    margin: 0.625rem auto;
    color: var(--stone-600-color);
    font-weight: 400;
    line-height: 150%;

}

/* Prep-time Section */

h3 {
    color: var(--rose-800-color);
    padding-bottom: 0.313rem;
}


.prep-time{
    background-color: var(--rose-50-color);
    padding: 1.875rem;
    border-radius: 0.625rem;
    color: var(--stone-600-color);
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 25rem;
    height: 100%;
    line-height: 150%;

}

section.prep-time span {
    font-weight:700 ;
}

.prep-time ul {
    list-style-position: outside;
    padding-left: 1.875rem;
}

.prep-time li {
    padding: 0.313rem;

}

.prep-time li::marker {
    color: var(--rose-800-color);
    font-size: 1rem;

}


h2{
    font-family: Young Serif Regular;
    color: var(--brown-800-color);
}


/*Ingredients*/

.Ingredients{
    color: var(--stone-600-color);
    line-height: 200%;

}

.Ingredients li::marker {
    color: var(--brown-800-color);
    font-size: 1rem;
}

.Ingredients li {
    padding-left: 1.125rem;
}

.Ingredients ul {
 margin-top: 1.25rem;   
 margin-bottom: 1.875rem;
}

/*Instructions*/

.Instructions h2{
    margin-top: 1.875rem;
    margin-bottom: 1.875rem;
}

.Instructions{
    color: var(--stone-600-color);
    margin-bottom: 1.875rem;
    line-height: 180%;
}

.Instructions span{
    font-weight: 700;
}

.Instructions li::marker{
    color: var(--brown-800-color);
    font-weight: bold;
}

.Instructions li {
    padding-left: 1.125rem;
    margin: 8px;
}


/* Nutrition */

.Nutrition h2{
margin-top: 1.875rem;
margin-bottom: 1.875rem;

}
.Nutrition{
    color: var(--stone-600-color);
}

table{
    margin-top: 1.875rem;
    margin-bottom: 1.875rem;
    width: 100%;
    color: var(--stone-600-color);
    border-collapse: collapse;
}

th, td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.Nutrition span {
    color: var(--brown-800-color);
    font-weight: 700;
}

hr{
border-top: #ddd;
}


@media screen and (min-width: 480px ) {

    

    img{
        border-radius: 0.625rem;
        
        max-width: 90%;
    }
    .container{
        padding: 1.875rem;
    }


    main{

        background-color: white;
        width: 100%;
        max-width:48%;
        border-radius: 1.25rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
        margin-bottom: 6.25rem;
        margin-top: 6.25rem;
        padding-top: 0.825rem;

    }


    body{

        background-color: var(--stone-100-color);
    }

    .prep-time{
        width: 100%;
        max-width: 36.25rem;
        height: 100%;
        max-height: 24.375rem;
    }



   
    
}


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