@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"
    "work"
    "services"
    "values"
    "contact"
    "footer";
}

.header {
    background-color: #5c4d4d;
    grid-area: header;
    height: 70px;
    font-size: 1em;
    font-weight: 400;
}

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

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

.logo_img {
    height: 50px;
    width: 50px;
}

.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 {
    grid-area: hero;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3),rgba(0, 0, 0, 0.3)),url(../assets/banner/0.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero > .hero-text > h1 {
    font-size: 2em;
    margin-top: 0;
    margin-bottom: 0.5em;
}
.hero > .hero-text > p {
    font-size: 1em;
}
.hero > .hero-text > .btn {
    display: block;
    width: 50%;
    border: 2px solid #f2f1e7;
    border-radius: 30px;
    color: #f2f1e7;

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

    text-decoration: none;
    font-size: 1em;
}

.hero > .hero-text > .btn:hover {
    background-color: #915b4a;
    opacity: .7;
}

.hero-text {
    color: #f2f1e7;
    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;
}


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

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));
}
h2 {
    text-align: center;
    font-size: 1.5em;
}

.imgtext {
    display: flex;
    flex-direction: row;
}
.imgtext > * {
    flex: 1 1 0;
}

.flexp { 
    font-size: 1em;
}

.us {
    grid-area: us;
}

.work {
    grid-area: work;   
}

.work_team {
    display: none;    
}

.us, .work {   
    padding: 10px 20px;
    text-align: justify;
}

.services {
    grid-area: services;
}
.services > ul {
    font-size: 1em;
    margin-left: 50px;
    list-style-type: circle;
}

.values {
    grid-area: values;
}

.values > ul {
    font-size: 1em;
    margin-left: 50px;
    list-style-type: circle;
}
.values_list {
    list-style: none;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: flex-start;
    font-size: 1em;
    padding: 0;
}

.contact {
    grid-area: contact;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    padding-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: justify;
    font-size: 1em;
}

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

.location {
    width: auto;
    height: 450px;
}
.address {
    text-align: center;
}

.image_plus {
    display: none;
}

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

    .wrapper {
        display: -ms-grid;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 70px 1fr repeat(4, auto);
        grid-template-areas:
        "header header"
        "hero hero"
        "us work"
        "services values"
        "contact contact"
        "footer footer";
    }
    .hero > .hero-text > h1 {
        font-size: 3em;
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
    .hero > .hero-text > p {
        font-size: 1em;
    }

    .us, .work {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    hr {
        display: none;
    }

    .location {
        width: 90vw;
    }
}
@media only screen and (min-width: 480px) and (max-width: 667px)  {
    .btn {
        width: 75%;
    }
    .btn-contact {
        width: 40%;
    }
}

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

    .wrapper {
        display: -ms-grid;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 70px 1fr repeat(5, auto);
        grid-template-areas:
        "header header"
        "hero hero"
        "us us"
        "work work"
        "services values"
        "contact contact"
        "footer footer";
    }

    .header {
        font-size: 1.5em;
    }

    .hero > .hero-text > h1 {
        font-size: 4em;
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
    .hero > .hero-text > p {
        font-size: 1.5rem;
    }
    .hero > .hero-text > .btn {
        display: block;
        width: 250px;
        border: 2px solid #f2f1e7;
        border-radius: 30px;

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

        text-decoration: none;
        font-size: 1.5rem;
    }

    .address {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        width: 100vw;
    }

    .btn {
        margin-top: 15px;
        width: 25%;
    }
    .location {
        width: 45vw;
    }
    .btn-contact {
        margin-top: 30px;
        width: 25%;
    }

    .us,
    .work,
    .services,
    .values {
        margin-bottom: 20px;
    }
    .team {
        display: flex;
        flex-flow: column nowrap;
        justify-content: space-evenly;
        align-items: center;

    }
    .work_team {
        display: -webkit-flex;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-evenly;
    }

    .work_img {
        object-fit: contain;
        border-radius: 10px;
        height: 100%;
        width: 33%;
    }
    .flex_team {
        width: 60%;
        
    }
    .image_plus {
        display: block;
        object-fit: contain;
        border-radius: 10px;
        height: auto;
        width: 60%;
    }

    section {
        padding-bottom: 10px;
    }
}