div {
    height: auto;
    position: relative;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-image: url('../images/background.jpg');
    color: #231f20;
    font-weight: bold;
    margin:0; 
    padding:0;
    overflow-x:hidden;
}

span a {
    text-decoration: none;
    color:#206b39;
}

.navbar a {
    text-decoration: none;
    color: #231f20;
    font-size: 1.3em;
}

.blacklogo {
    margin: 0em;
    max-height: 80px;
}

ul {
    text-decoration: none;
    position: absolute;
    right: 0px;
    top: 10px;
}

li {
    display: inline;
    margin-left: 3em;
}


li a:hover {
    border-bottom: 7px solid #206b39;
}

.main {
    width: 1060px;
    margin-left: auto;
    margin-right: auto;
}

.navbar {
    position: fixed;
    top: 5px;
    width: 1060px;
    margin-left: auto;
    margin-right: auto;
    z-index: 999;
}

.whitenav {
    background-color: rgba(255,255,255, 1);
    position: fixed;
    top: 0px;
    width: 100%;
    height: 100px;
    z-index: 3;
}

.whitenav2 {
    background-color: rgba(255,255,255, 0.8);
    position: fixed;
    top: 0px;
    width: 100%;
    height: 100px;
    z-index: 3;
}

.homeparagraph {
    font-size: 3em;
    width: 1060px;
    margin-top: 5em;
}

.green {
    color: #206b39;
}

h3 {
    padding: 0;
    margin: 0;
}

h1 {
    color: #206b39;
    visibility: hidden;
}

.abouth1 {
    visibility: hidden;
}

.name {
    font-weight: bold;
    position: relative;
    top: -1em;
}

.footer {
    left: 0;
    bottom: 0;
    height: auto;
    width: 100%;
    background-color: lightgray;
    color: #fff;
    font-size: 0.6em;
    margin: 0;
    display:block;
}

.footerdiv {
    width: 1060px;
    margin: auto;
    padding: 10px;
}

.floatrightfooter {
    float: right;
}

.floatrightfooter a {
    color: white;
}

.floatrightfooter a:hover {
    color: #206b39;
}

.workimg1 {
    display: block;
    float: right;
    width: 60%;
}

.Pics {
    direction: rtl;
}

.workimg2 {
    display: block;
    position: relative;
    text-align: right;
    max-width: 70%;
    max-height: 950px;
    margin-left: 30%;
}

video {
    display: block;
    width: 70%;
    margin-left: 30%;
    height: auto;
}

.workpara1 {
    display: block;
    width: 27%;    
    font-family: 'open sans', sans-serif;
    font-size: 0.8em;
    font-weight: normal;
    float: left;
    position: relative;
    top: 1em;
    z-index: 6;
}

.button {
    transform:scale(0,0);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0%;
    top: 0%;
    font-size: 0.7em;
    padding: 0;
    transition: all 0.5s ease;
    color: #fff;
    background-color: rgba(32,107,57, 0.5);
}

.buttontext {
    padding: 5em;
    font-weight: bold;
    font-size: 2em;
    text-align: center;
}

div:hover > .button {
    transform:scale(1,1);
}

div:active > .button {
    transition: all 0.1s ease;
    transform:scale(0.9,0.9);
}
    
.notbold {
    font-weight: normal;
    font-size: 0.6em;
}

.workblock {
    width: 529px;
    height: 400px;
    background-color: none;
    overflow: hidden;
    float: left;
}

.workblock img { 
    display:block;
    width: 529px;
    height: 400px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}

.workexpand {
    width: 90%;
    height: auto;
    background-color: none;
    margin-top: 15em;
    width: 1060px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 1em;
}

#contact {
    clear: both;
    width: 82%;
    padding-top: 3em;
    padding-bottom: 2em;
    margin: auto;
    margin-bottom: 2em;
    height: 520px;
    overflow: hidden;
    font-size: 1em;
    font-family: 'open sans', sans-serif;
}

.contactgray {
    background-color: #eaeaea;
    width: 100%;
    z-index: -2;
}

@media (max-width: 940px) {
    #contact {
        height: 470px;
    }
}

@media (max-width: 602px) {
    #contact {
        height: 400px;
    }
}

@media (max-width: 1060px) {
    .main {
        width: 100%;
    }
    
    html {
        overflow-x:hidden;
    }

    .back {
        width: 100%;
    }
    
    .workblock img {
    }

    .navbar {
        width: 100%
    }
    

    .homeparagraph {
        width: 100%
    }

    .footerdiv {
        width: 100%
    }
    
    .workexpand {
        width: 100%;
    }

    .workblock {
        width: 100%;
        height: auto;
    }

    .workblock img {
        width: 100%;
        height: 100%;
    }
    

    .workblock img:hover {
        width: 100%;
        height: 100%;
    }
    
    #work img {
        width: 100%;
    }
    
    .workpara1 { 
        padding-left: 1%;
    }
}

@media (max-width: 500px) {
    .nav {
        display: none;
    }
    
    .copyright {
        display: none;
    }
    
    .footerdiv {
        display: block;
        margin: 0 auto;
        text-align: center;
        padding-left: 0;
    }
    
    .floatrightfooter {
        float: none;
        display: inline-block;
        font-size: 2em;
    }
    
    .homeparagraph {
        font-size: 1.2em;
        margin-top: -1.5em;
        width: 94%;
        padding-left: 3%;
    }
    
    .navbar {
        position: static;
    }
    
    .whitenav {
        display: none !important;
    }
    
    .whitenav2 {
        display: none !important;
    }
    
    .button {
        transform:scale(1,1);
        width: 100%;
        height: 20%;
        position: absolute;
        left: 0%;
        top: 0%;
        font-size: 0.7em;
        padding: 0;
        color: #fff;
        background-color: rgba(0,0,0, 0.3);
    }    

    div:active > .button {
        transition: all 0.1s ease;
        transform: scale(1,1);
    }

    .buttontext {
        padding: 3%;
        font-weight: normal;
        font-family: "open sans", sans-serif;
        font-size: 2em;
        text-align: center;
    }
    
    .notbold {
        display: none;
    }
    
    .workexpand {
        width: 100%;
        height: auto;
        background-color: none;
        margin-top: 0em;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
        clear: both;
    }
    
    .workpara1 {
        display: block; 
        width: 100%;
        float: none;
        top: 1em;
    }
    
    .Pics {
        clear: both;
        overflow: hidden;
        padding-top: 10px;
        width: 100%;
    }

    .workimg2 {
        max-width: 100%;
    }    

    video {
        width: 100%;
    }
}