@import url('https://fonts.googleapis.com/css?family=Lato');

* {
    box-sizing: border-box;
}

body {
    background: #f2f1e7;
    margin: 0px;
    font-family: Lato, sans-serif;
    overflow-x: hidden;
}


/********* Mobile Layout  **********/

.wrapper {
    display: -ms-grid;
    display: grid;
    grid-template-columns: 100vw;
    grid-template-areas: 
    "header"
    "page_name"
    "kitchen"
    "closet"
    "doors"
    "stairs"
    "footer";
}

img {
    object-fit: contain;
    border-radius: 10px;
    height: auto;
    width: 92%;
    margin-bottom: 20px;
}

.flex-container {
    display: -webkit-flex;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-evenly;
    align-items: center;
}

.flex-container > img {
    border: 1px solid #a96851;
}

.section-links {
    display: -webkit-flex;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
}

a:hover {
    color: #5c4d4d;
}

h1 {
    font-size: 2em;
    margin-top: 10px;
    margin-bottom: 5px;
}
h2 {
    font-size: 1.5em;
}
h3 {
    font-size: 1.25em;
}

/* Header */
.header {
    background-color: #5c4d4d;
    grid-area: header;
    height: 70px;
    font-size: 1em;
    font-weight: 400;
    padding-right: 10px;
}

.logo {
    color: #f2f1e7;
    margin-right: auto;
    align-self: center;
}

.logo_img {
    height: 50px;
    width: 50px;
    margin-bottom: 0;
}

.main-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #f2f1e7;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: center;
}

.main-nav > li {
    color: #f2f1e7;
    padding: 10px;
}

.main-nav > li > a {
    color: #f2f1e7;
}

.main-nav > li > a:hover {
    color: #a96851;
}

/* Page name */
.page_name {
    grid-area: page_name;
    text-align: center;
}

/* Kitchen Section */

.kitchen {
    grid-area: kitchen;
    text-align: center;
    border-top: 2px solid #a96851;

    margin-bottom: 20px;

}

/* Closet Section */

.closet {
    grid-area: closet;
    text-align: center;
    border-top: 2px solid #a96851;
  
    margin-bottom: 20px;
}


/* Door Section */

.doors {
    grid-area: doors;
    text-align: center;
    border-top: 2px solid #a96851;
  
    margin-bottom: 20px;
}

/* Stairs Section */

.stairs {
    grid-area: stairs;
    text-align: center;
    border-top: 2px solid #a96851;

}


/* Footer CSS */
.footer {
    grid-area: footer;
    background-color: #5c4d4d;
    text-align: center;
}

.foot-nav {
    list-style-type: none;
}

.foot-nav > li > a {
    color: #f2f1e7;
}

.foot-nav > li > a:hover {
    color: #a96851;    
}

a {
    text-decoration: none;
    color: #a96851
}

.map {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;

}
.map > * {
    flex: 1 1 0;
}

.map1, .map2 {
    font-size: 1em;
}

.map1 {
    order: 1;
}

.footh{
    color: #f2f1e7;
}

.social-links {
    width: 50px;
    height: 50px;
}

/**********************************************************/
/* Tablet Layout */

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

    .flex-container {
        display: -webkit-flex;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-evenly;
        align-items: center;
    }

    img {
        width: 44%;

        margin-bottom: 15px;
    }

}

/* Desktop Layout */

@media only screen and (min-width: 768px) {
    .header {
        font-size: 1.5em;
    }
    img {
        width: 26%;
    }

}