html {
    height: 100%;
}

body {
    font-family: sans-serif;
    
    margin: 0;
    padding: 0;
    
    height: 100%;
}
.body-home{
    background-image: url(images/background.jpg);
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

.body-meals{
    background-image: url(images/background2.jpg);
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

/*======== Header ========*/

.header{ 
    background-color: cornsilk;
    
    width: 100%;
    height: 50px;
    top: 0;
    
    position: fixed;
    overflow: hidden;
    
    text-align: center;
}

.header i{
    float: left;
    padding: 17px 0px 0px 17px;
    color: white;
}

.header img{
    width: 60px;
    padding-top: 9px;
    padding-left: 20px;
    padding-bottom: 9px;
}

/*========HOME PAGE ========*/

#home-logo-text {
    width: 350px;
    display: block;
    margin: auto;
    padding: 25px 10px 10px 10px;
}


/*========HOME-PAGE-MENU ========*/

.home-menu-item {
    text-decoration: none;
    text-transform: uppercase;
    
    color: black;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    border: 5px solid black;
    
    display: block;
    margin: auto;
    margin-bottom: 10px;
    width: 80%;
}

/*========MEALS PAGE ========*/

#meals{
    padding-top: 50px;
}

/*========MEALS-PAGE-MENU ========*/

.meals-list a{
    text-decoration: none;
}

.meals-list-item{
    border: 5px solid #1a1a1a;
    margin: 10px;
}

.meals-list-item h1{
    font-weight: bold;
    font-size: 20px;
    color: #1a1a1a;
    padding-left: 10px;
}

.meals-list-item i{
    float: right;
    color: #1a1a1a;
    padding-right: 10px;
}

.meals-list-item p{
    font-size: 15px;
    font-style: italic;
    color: #4d4d4d;
    margin-top: -7px;
    padding-left: 10px;
}

/*========RECIPE PAGE ========*/

#recipe{
    padding-top: 50px;
}

/*========RECIPE DETAILS ========*/

.recipe-details img{
    width: 100%;
}

.recipe-details h1{
    font-size: 25px;
    text-align: center;
    border: 2px solid #1a1a1a;
    margin: 10px;
    padding: 5px;
}

.recipe-details-info{
    margin-left: 25px;
    margin-right: 25px;
}

.recipe-details-info p{
    font-size: 13px;
    display: inline-block;
}

.recipe-details-ingredients label{
    line-height: 25px;
    margin-left: 10px;
}

.recipe-details-steps{
    padding-top: 20px;
}
.recipe-details-steps ol{
    padding-left: 28px;
}


/*========RESPONSIVE LAYOUT ========*/

@media only screen and (min-width: 600px) {
    #meals{
        width: 80%;
        margin: auto;
    }
    
    #recipe {
        width: 80%;
        margin: auto;
    }
}

@media only screen and (min-width: 1000px){
        #meals{
        width: 60%;
        margin: auto;
    }
    
    #recipe {
        width: 60%;
        margin: auto;
    }

}

@media only screen and (min-width: 1500px){
        #meals{
        width: 40%;
        margin: auto;
    }
    
    #recipe {
        width: 40%;
        margin: auto;
    }

}

@media only screen and (min-width: 720px) {
    .body-home {
        background-image: url(images/background.jpg)
    }
    
    .body-meals {
        background-image: url(images/background2.jpg)
    }
}
