body {
    font-size: 19px;
    font-family: 'Alegreya', calibri, candara, "segoe UI", optima, arial, sans-serif;
    color: rgb(226, 226, 226);
    background-image: url(../images/dinner.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

#wrapper {
    background-color: rgb(239, 228, 210);
}

#content {
    margin: 0 auto;
}

#content img {
    width: 100px;
}


.logo {
    margin: 0 auto;
}

header {
    text-align: center;
    display: block;
    margin: 0 auto;
}

.main-navigation {
    min-height: 100px;
    border-top: 1px solid rgb(56, 87, 167);
}

.main-navigation ul {
    display: flex;
    max-width: 950px;
    margin: 0 auto;
    list-style-type: none;

}

.main-navigation li {
    margin-left: 20px;
    width: 28%;
    font-size: 25px
}

.main-navigation a {
    background-color: none;
}

.main-navigation a:hover {
    background-color: none;
}

.link-box {
    width: 460;
    display: inline-block;

}

a:link {
    color: rgb(56, 87, 167);
    text-decoration: none;
}

a:visited {
    color: rgba(116, 141, 174, .75);
    text-decoration: none;
}

a:hover {
    color: rgba(116, 141, 174, .75);
    text-decoration: underline;
}

a:active {
    color: rgba(116, 141, 174, .75);
    text-decoration: underline;
}

/* Media Query 600px */

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

    body {
        font-size: 1.4em;
    }

    .landing {
        text-align: center;
    }

    h1 {
        font-size: 2em;
    }

    p {
        font-weight: 100;
        max-width: 700px;
        margin: 0 auto;
    }

    li {
        font-weight: 100;
    }


    .main-navigation {
        min-height: 100px;
        border-top: 1px solid rgb(36, 36, 36);
        border-bottom: 1px solid rgb(36, 36, 36);
    }

    .main-navigation ul {
        display: flex;
        max-width: 950px;
        margin: 0 auto;
    }

    .main-navigation li {
        margin-left: 20px;
        width: 28%;
    }

    .main-navigation a {
        background-color: none;
    }

    .main-navigation a:hover {
        background-color: none;
    }

}

/* Home Page */

.home-pic {
    display: flex;

    justify-content: center;
    height: 1000px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.75);

}

.home-menu {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.75);
    padding-top: 5px;
    color: rgb(56, 87, 167);
    font-size: 150%;
    padding-bottom: 10px;
}

.popular-images {
    height: 600px;
    display: flex;
    padding-top: 12px;
    margin: 0 auto;
    justify-content: center;
}

/* Media Query 600px */

@media screen and (min-width: 600px) {
    
    #content .main-navigation {
        padding-right: 50px;
        margin: 0 auto;
        
    }
    
    #content .main-navigation li {
        font-size: 90%;
        
    }
    
     .home-pic  img {
        max-width: 100%;
        max-height: 100%;
    }
    
    .home-menu img{
        width: 80%;
        height: 80%;
    }
}
    
    /* Media Query 750px */

@media screen and (min-width: 750px){
    #content .main-navigation li {
        font-size: 120%;
        
    }
}
    
/* Media Query 1050px */

@media screen and (min-width: 1050px){
    #content .main-navigation li {
        font-size: 140%;
        
    }
    
    .home-menu img{
        width: 600px;
        height: 600px;
    }
}

/* Menu Pages */


#menu-recipes {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.75);
    padding-top: 5px;
    color: rgb(56, 87, 167);
    font-size: 150%;
    padding-bottom: 10px;
    margin: 0 auto;
}

#menu-recipes img {
    width: 250px;
    height: 250px;
}

.class-recipes {
    width: 2500px;
    display: flex;
    justify-content: space-around;
    margin: 0 auto;
}

.menu-images {
    width: 500px;
    height: 500px;
    margin: 0 auto;
    text-align: center;
    font-size: 60%;
}

/* Media Query 600px */

@media screen and (min-width: 600px) {
    #menu-recipes .class-recipes  {
        max-height: 100%;
        max-width: 90%;
        font-size: 40%;
        
    }
    
    #menu-recipes h2   {
        font-size: 80%
    }
    
    #menu-recipes .class-recipes img {
        max-height: 70%;
        max-width: 70%;
    }
}

/* Media Query 750px */

@media screen and (min-width: 750px) {
    #menu-recipes .class-recipes  {
        max-height: 100%;
        max-width: 100%;
        font-size: 50%;
        
    }
    
    #menu-recipes h2   {
        font-size: 90%
    }
    
    #menu-recipes .class-recipes img {
        max-height: 70%;
        max-width: 70%;
    }
}

/* Media Query 1050px */

@media screen and (min-width: 1050px) {
    #menu-recipes .class-recipes  {
        max-height: 100%;
        max-width: 100%;
        font-size: 60%;
        
    }
    
    #menu-recipes h2   {
        font-size: 90%
    }
    
    #menu-recipes .class-recipes img {
        max-height: 90%;
        max-width: 90%;
    }
}


/* Food Pages */

.food-ingredients {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.75);
    padding-top: 5px;
    color: rgb(56, 87, 167);
    font-size: 150%;
    padding-bottom: 10px;
}

.food-text {
    width: 1050px;
    margin: 0 auto;
    text-align: left;
}

.food-images {
    width: 500px;
    height: 500px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.food-recipes {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.75);
    padding-top: 5px;
    color: rgb(56, 87, 167);
    font-size: 150%;
    padding-bottom: 10px;
    margin: 0 auto;
}

.food-recipes img {
    width: 500px;
    height: 500px;
}

.class-food {
    width: 2500px;
    display: flex;
    justify-content: space-around;
    margin: 0 auto;
    margin-bottom: 90px
}

/* Media Query 600px */

@media screen and (min-width: 600px) {
    .food-ingredients img {
        max-height: 90%;
    }
    
    .food-ingredients .food-text {
        max-height: 100;
        max-width: 100%;
        font-size: 70%;
    }
}

/* Media Query 750px */

@media screen and (min-width: 750px) {
    .food-ingredients img {
        max-height: 100%;
        max-width: 100%
    }
    
    .food-ingredients .food-text {
        max-height: 100;
        max-width: 100%;
        font-size: 90%;
    }
}

/* Category Media Query */

/* Media Query 600px */

@media screen and (min-width: 600px){
    .food-recipes h2 {
        font-size: 120%;
    }
    
    .class-food  {
        max-width: 100%;
        max-height: 100%;
        font-size: 40%;
    
    }
    
    .class-food .menu-images img{
        max-width: 70%;
        max-height: 70%;
    }
}

/* Media Query 750px */

@media screen and (min-width: 750px){
    .food-recipes h2 {
        font-size: 140%;
    }
    
    .class-food  {
        max-width: 100%;
        max-height: 100%;
        font-size: 50%;
    
    }
    
    .class-food .menu-images img{
        max-width: 90%;
        max-height: 90%;
    }
}

/* Media Query 1050px */

@media screen and (min-width: 1050px){
    .food-recipes h2 {
        font-size: 140%;
    }
    
    .class-food  {
        max-width: 100%;
        max-height: 100%;
        font-size: 70%;
    
    }
    
    .class-food .menu-images img{
        max-width: 90%;
        max-height: 90%;
    }
}