/*
Coder:
Date:
Site:
File:
Comments:

*/

html{
    background-color: #ccc;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

body{
    max-width: 800px;
    margin:auto;
    background-color: #E7C39C;
    padding: 30px;
    padding-bottom: 0px;
    box-shadow: 0px 0px 20px black;
}

/*----- header -----*/
header{
    padding-bottom: 20px;
    /* border-bottom: 1px solid #C54B33; */
    margin-left: -30px;
    margin-right: -30px;
    background-color: #EAE6DA;
    margin-top: -30px;
    padding-top: 20px;

}

header div#headerText{
    text-align: center;
}

/* https://stackoverflow.com/questions/4910077/select-all-child-elements-recursively-in-css*/
div#headerText *{
    margin: 0px;
}

div#headerText h1{
    margin-bottom: 7px;
    text-shadow: 1px 1px 0px black;
}

/*----- hero -----*/
div#hero{
    background-color: rgb(241, 241, 238); 
    margin-left: -30px;
    margin-right: -30px; 
    padding: 30px 20px;
    padding-bottom: 50px;
    text-align: center;
}

div#hero p{
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

img#originalRecipeImg{
    width: 600px;
    height: auto;
    border: 10px double #C64C32;
}

div#iconsDiv{
    cursor: pointer;
}

 /*----- main -----*/
main{
    background-color: #EAE6DA;
    margin-left: -30px;
    margin-right: -30px;
    padding: 20px;
    padding-bottom: 40px;
    text-align: center;
}

main div#mainTxtDiv h2{
    margin-bottom: 3px;
    /* background-color: pink; */
}

main div#mainTxtDiv p{
    margin-top: 0px;
    margin-bottom: 20px;
    /* background-color: yellow; */
}

/*----- recipeDiv -----*/
div#recipeDiv{
    width: 700px;
    margin-left: auto;
    margin-right: auto;
    background-color: #E6D0B9;
    height: 520px;
    padding-top: 40px;
    border: 20px solid white;
}

div#recipeDiv{
    margin-bottom: 20px;
}

div#banner{
    width: 90%;
    margin: auto;
    background-color: #C64C32;
    height: 100px;
    font-family: Arial, Helvetica, sans-serif;
}

img#biscuits{
    width: 30%;
    height: auto;
    border: 2px white solid;
    margin-top: -14px;
    float: left;
    margin-right: 20px;
}

div#bannerTxt{
    /* background-color: pink; */
    font-size: .65em;
    float: left;
    text-transform: uppercase;
    font-family: 'Inconsolata', monospace;
    color: #EAE6DB;
    margin-top: 20px;
    text-align: left;
}

div#bannerTxt h1, div#bannerTxt h2{
    margin-bottom: 0px;
    margin-top: 0px;
}

div#bannerTxt h1{
    font-style: italic;
    margin-bottom: 7px;
}

 /*----- recipeContent -----*/
div#recipeContent{
    width: 90%;
    margin: auto;
    font-family: 'Dosis', sans-serif;
}

p#intro{
    clear: both;
    text-align: center;
    font-size: 1em;
    color: #963c28;
    font-family: 'Dosis', sans-serif;
    margin-top: 40px;
}

div#ingredients{
    width: 30%;
    float: left;
    padding-right: 20px;
    /* background-color: green; */
}

div#ingredients ul{
    font-style: italic;
}

div#instructions{
    color: #963c28;
    height: 100px;
    text-align: left;
}

div#ingredients ul, div#steps ol{
    margin-top: 3px;
    font-size: .8em;
}

div#steps{
    width: 60%;
    float: left;
    border-left: 1px #963c28 solid;
}

div#steps p{
    margin-left: 20px;
}

div#steps ol{
    padding-left: 30px;
}

div#steps ol li{
    padding-left: 10px;
    margin-bottom: 5px;
   
}

.label{
    margin-top: 0px;
    margin-bottom: 0px;
    text-transform: uppercase;
    font-size: 1.2em;
    margin-left: 20px;
}

h2, h4{
    margin: 0px;
}

div#cutHereDiv{
    /* background-color: aqua; */
    max-width: 200px;
    position: relative;
    float: right;
    margin-top: 5px;
}

div#cutHereDiv p{
    display:inline;
    text-transform: uppercase;
    margin: 0px;
    /* margin-right: 20px; */
    vertical-align: top;
    float: left;
    margin-right: 120px;
    font-style: italic;
}

div#cutHereDiv img{
    width: 50px;
    height: auto;
    position: absolute;
    top: -20px;
    left: 90px;
}

/*----- footer -----*/
footer{
    text-align: center;
    background-color: lightgray;
    color: rgb(139, 139, 139);
    margin-left: -30px;
    margin-right: -30px;
    padding-top: 20px;  
    padding-bottom: 30px;
}

footer p{
    margin: 0px;

}

footer div{
    margin-top: 10px;
}

footer div a{
    margin-right: 20px;
}

/*----- general styles --- */
a{
    text-decoration: none;
    color: #C64C32
}

/*----- special classes -----*/
.specialtyFont1{
    font-family: 'Fjalla One', sans-serif;
}

.icon{
    width: 50px;
    height: auto;
    margin-top: 10px;

}

/*the original from the site*/
.bgPattern{
    background-color: #e5e5f7;
    opacity: 0.9;
    background-image:  linear-gradient(135deg, #444cf7 25%, transparent 25%), linear-gradient(225deg, #444cf7 25%, transparent 25%), linear-gradient(45deg, #444cf7 25%, transparent 25%), linear-gradient(315deg, #444cf7 25%, #e5e5f7 25%);
    background-position:  5px 0, 5px 0, 0 0, 0 0;
    background-size: 5px 5px;
    background-repeat: repeat;
}

/*https://www.magicpattern.design/tools/css-backgrounds*/
.bgPattern2{
    background-color: #F1F1EE;
    opacity: 0.9;
    background-image:  linear-gradient(135deg, #FE8F5C 25%, transparent 15%), linear-gradient(225deg, #FE8F5C 25%, transparent 15%), linear-gradient(45deg, #FE8F5C 25%, transparent 15%), linear-gradient(315deg, #FE8F5C 25%, #F1F1EE 25%);
    background-position:  5px 0, 5px 0, 0 0, 0 0;
    background-size: 3px 3px;
    background-repeat: repeat;
}

.hide{
    display: none;
}