/*CSS DOCUMENT*/

html, body, div, 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;} /*My edited version of the Eric Meyer’s reset tool. You may want to include this in all of your future CSS files. */

img {
    width: 100%; /*Please leave this line.*/
    display: block;
    grid-column: 1/2;
}

body{
    background-color: #dddddd;
}

header{
    grid-column: 1/3;
    grid-row: 1/2;
    background: rgb(255,136,0);
    padding: 1.5rem 1rem 1rem;
}

h1{
    font-family: "sutro", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2rem;
    color: rgb(250,250,250);
    line-height: 2.5rem;

}

h2{
    font-family: sutro, serif;
    font-weight: 500;
    font-style: normal;    
    font-size: 1.5rem;
    color: rgb(255,221,187);
}

div.container{
    /*style content for the whole page*/
    background: rgb(255, 255, 255);
    max-width: 80%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
}

figure{
    /*style the image to the right of the figcaption*/
    grid-column: 1/3;
    display: grid;
    grid-template-columns: 80% 20%;
}

figcaption{
    grid-column: 2/3;
    font-family: poppins, sans-serif;  
    font-weight: 400;  
    font-style: italic;    
    font-size: 1rem;
    line-height: 1.5rem;
    padding: 1rem 1.5rem 1rem;
}

main{
    /*stle the ingredients and the directions next to each other*/
    grid-column: 1/3;
    display: grid;
    grid-template-columns: 45% auto 45%;  
    color: rgb(20, 20, 20);
    padding: 1rem 1.5rem 2rem;
    margin: 2rem;
}


h3{
    font-family: Sutro, serif;  
    font-weight: 300;  
    font-style: normal;
    font-size: 1.25rem;
    letter-spacing: 0.115em;
    color: rgb(255,136,0);
    text-transform: uppercase;
    padding: 1.5rem 0rem 1rem;
}

li{
    font-family: poppins, sans-serif;  
    font-weight: 400;  
    font-style: normal;
    font-size: 1rem;
    padding: 0rem 0rem 1rem;
}

.ingredients{
    border-top: solid;
    border-width: 0.15rem;
    border-color: rgb(255,136,0);
    grid-column: 1/2;
}

.directions{
        border-top: solid;
    border-width: 0.15rem;
    border-color: rgb(255,136,0);
    grid-column: 3/4;
}

footer{
    display: grid;
    grid-column: 1/3;
    font-family: poppins, sans-serif;  
    font-weight: 400;  
    font-style: normal;
    background: rgb(255,136,0);
    padding: 1rem;
    color: rgb(255,221,187);
}
