@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"
    "main-content"
    "footer";
}

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



/* Main Content */

.main-content {
    grid-area: main-content;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    height: 80vh;
}

.contact-form {
    display: -webkit-flex;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: flex-start;
    width: 300px;
}

.greeting {
    text-align: center;
}
h1 {
    font-size: 2em;
}
p {
    font-size: 1.5em;
}

.center-message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

form {
    margin-top: 20px;
    transition: all 4s ease-in-out;
}
.form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid #a96851;
    font-size: 1em;
    width: 100%; 
    margin-bottom: 18px;
}

.texta {
    resize: none;
}

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

    padding: .75rem;
    margin-left: auto;
    margin-right: auto;
    text-transform: uppercase;
    letter-spacing: 1px;
    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: 768px) {
    .header {
        font-size: 1.5em;
    }
}