@font-face
{
    font-family: Outfit;
    font-style: normal;
    src:url("assets//fonts//outfit//Outfit-VariableFont_wght.ttf") format('truetype')
}
@font-face
{
    font-family: Young-serif;
    font-style: normal;
    font-weight: 700;
    src:url("assets//fonts//young-serif//YoungSerif-Regular.ttf") format('truetype')
}
*
{
    box-sizing: border-box;
    scroll-behavior: smooth;
    margin: 0px;
    
}

body
{
    min-height: 100vh;
    max-width: 100vw;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: hsl(30, 54%, 90%);
}

main
{
    width: 45%;
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 4rem 0rem;
}

.Preparation
{
    background-color: hsl(330, 100%, 98%);
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0rem;
}

.Ingredient
{
    margin-bottom: 1rem;
    box-shadow: 0px 0.1px 0px;
    padding-bottom: 1rem;
}

.Instruction
{
    margin-bottom: 1rem;
    box-shadow: 0px 0.1px 0px;
    padding-bottom: 1rem;
}


img
{
    width: 100%;
    border-radius: 10px;
}
h1
{
    font-family: Young-serif;
    font-size: 25px; 
    margin: 2rem 0rem 0.5rem;
}
h2
{
    font-family: Young-serif;
    font-size: 20px; 
    color: hsl(14, 45%, 36%);
    margin-bottom: 0.5rem;
}
.p_time
{
    font-family: Outfit;
    font-size: 20px; 
    font-weight: 600;
    color: hsl(332, 51%, 32%);
    margin-bottom: 0.5rem;
}
p,.nutrient
{
    font-size: 16px;
    font-family: Outfit;
    color: hsl(30, 10%, 34%);
}
ul,ol
{
    font-size: 16px;
    font-family: Outfit;
    color: hsl(30, 10%, 34%);
    padding-left: 20px;   
}
ul li, ol li
{
    padding: 0.2rem;
}
table
{
    width: 100%;
    border-collapse: collapse;
}
.weight
{
    color: hsl(14, 45%, 36%);
    font-family: Outfit;
    font-weight: 600;
}

td
{
    padding: 0.5rem;
}
.trnon
{
    border-bottom: 1px solid hsl(30, 10%, 90%);
}

footer
{
    position: absolute;
    bottom: 0;
}

@media screen and (max-width:440px)
{
    main
    {
        padding: 0;
        border-radius: 0px;
        width: 100%; 
        margin: 0px;   
    }

    img
    {
        width: 100%;
        border-radius: 0px;
    }

    .Ingredient,.Instruction,.Preparation,.Nutrition,.Introduction
    {
        margin:1rem 1.3rem;
    }

    .Instruction
    {
        box-shadow: 0px 0.5px 0px;
    }
    .Ingredient
    {
        box-shadow: 0px 0.1px 0px;
    }
}
