@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;
}

.wrapper {
    display: -ms-grid;
    display: grid;
    grid-template-columns: 100vw;
    grid-template-areas: 
    "header"
    "hero"
    "us"
    "mission"
    "vision"
    "contact"
    "footer";
}

h2 {
    text-align: center;
}

/* 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;
}

/* Hero */

.hero {
    grid-area: hero;
    background-image: linear-gradient(rgba(0, 0, 0, 0.0),rgba(0, 0, 0, 0.3)),url(../assets/team.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    overflow: hidden;
    width: 100vw;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    text-align: center;

}


.hero > .hero-text > p {
    font-size: 1em;
    padding-bottom: 10px;
    background: #a96851;
    margin-bottom: 0;
    width: 100%;
}



.hero-text {
    color: #f2f1e7;
    display: flex;
    justify-content: center;

}


hr {
    margin-top: 3em;
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

 /* Us */

 .us, 
 .mission, 
 .vision {
    text-align: justify;
    padding-right: 1em;
    padding-left: 1em; 
 }
.us {
    grid-area: us;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

 /* Mission */

 .mission {
     grid-area: mission;
 }

/* Vision */

.vision {
    grid-area: vision;
}


/* Contact */

.contact {
    grid-area: contact;
    margin-bottom: 10px;
}

.btn {
    display: block;
    width: 50%;
    border: 2px solid black;
    border-radius: 30px;

    padding: .75rem;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;

    text-decoration: none;
    font-size: 1em;
    text-align: center;
}
.btn:hover {
    background-color: #a96851;
    color: #f2f1e7;
    cursor: pointer;
}

.shadow {
    box-shadow: 1px 3px grey;
}


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

.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;
}

@media only screen and (min-width: 380px) and (max-width: 768px)  {
    .hero > .hero-text > p {
        padding-bottom: 10px;
        margin-bottom: 0;
    }
}



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

    .wrapper {
        display: -ms-grid;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 
        "header header"
        "hero hero"
        "us us"
        "mission vision"
        "contact contact"
        "footer footer";
       
    }

    .hero {
        padding-top: 10px;
        background-size: contain;
        width: 760px;
        height: 600px;
        margin: 0 auto;
        border-radius: 2px;
    }

    .hero > .hero-text > p {
        font-size: 1.98em;
        padding-bottom: 10px;
        background: #a96851;
        margin-bottom: 0;
        width: 100%;
    }

    hr {
        display: none;
    }
    .flex-team {
        width: 60%;
    }

    .mission,
    .vision {
        padding: 2em;
    }

    .btn {
        width: 25%;
    }
}