body, html {
    margin: 0;
    font-family: 'Open Sans', Helvetica, sans-serif;
    font-size: 10px;
}

body {
    background: url(img/IMG_5259.JPG),
        rgba(0,0,0,0.6);
    background-attachment: fixed;
    background-position: top;
    background-size: cover;
    text-align: center;
    color: #fff;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 3.5rem;
    height: 3.5rem;
    position: fixed;
    right: 20px;
    z-index: 999;
}

button.menu-toggle:focus {
    outline: none;
}

.ml, .tl, .bl {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    margin: 4px 0;
    transform-origin: center;
    transition: all 0.4s ease-in-out;
}

.active .ml, .active .tl, .active .bl {
    margin: -2px 0;
    background: #fff !important;
}

.active .ml {
    opacity: 0;
}

.active .tl {
    transform: rotate(135deg);
}

.active .bl {
    transform: rotate(45deg);
}

header nav {
    float: right;
    padding: 0 20px;
    background: none;
    border-radius: 0 0 0 7px;
    box-shadow: none;
    transition: all .4s ease;
}

header.shadow nav {
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
    background: rgba(0,0,0,0.4);
}

header nav ul {
    list-style: none;
    padding: 0;
}

header nav ul li {
    display: inline-block;
    margin: 0 2rem;
}

header a, header a:visited {
    color: #fefefe;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color .2s ease-in-out;
}

header a:hover {
    color: #009A31;
}

.main {
    background: linear-gradient(
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.6)
    );
    background-size: cover;
}

#home {
    height: 100%;
    height: 100vh;
}

#home .logo {
    height: 150px;
    width: auto;
    position: relative;
    top: 40vh;
    margin-top: -75px;
}

#home p {
    position: relative;
    top: 50vh;
    margin-top: -50px;
    font-size: 2rem;
    font-weight: 300;
    padding: 0 20px;
}

#services {
    padding: 25px 0 40px 0;
    height: auto;
    background: #fefefe;
    color: #777;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

#services h2 {
    font-size: 3.5rem;
    color: #009A31;
    margin-bottom: 12px;
    text-align: center;
}

#services > p {
    margin-bottom: 50px;
    font-size: 1.5rem;
}

#services ul {
    list-style: none;
    width: 100%;
    max-width: 1400px;
    margin: auto;
    padding: 0;
}

#services ul li {
    display: inline-block;
    width: 28%;
    margin: 0 auto;
}

#services ul li:first-of-type {
    float: left;
    margin-left: 30px;
}

#services ul li:last-of-type {
    float: right;
    margin-right: 30px;
}

#services ul li img {
    height: auto;
    max-height: 250px;
    width: auto;
}

#services ul li p {
    font-size: 1.6em;
}

#contact {
    height: auto;
    min-height: 100vh;
    
}

#contact:before {
    content: ' ';
    display: block;
    height: 20vh;    
}

#contact form {
    width: 50%;
    margin: auto;
    padding-bottom: 50px;
    background: rgba(0,0,0,.7);
    min-width: 350px;
}

#contact form > * {
    border-radius: 0;
    box-sizing: border-box;
    border: none;
    font-size: 2rem;
    padding: 10px 20px;
    font-family: 'Open Sans';
}

#contact h3 {
    font-size: 2.8rem;
    color: #009A31;
    padding-top: 50px;
    margin-top: 0;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

#contact input:focus, #contact textarea:focus {
    outline: none;
}

#contact input[type="text"] {
    width: 43%;
    display: inline-block;
    margin: 0 auto 20px auto;
}

#contact input[name="name"] {
    float: left;
    margin-left: 5%;
}

#contact input[name="email"] {
    float: right;
    margin-right: 5%;
}

#contact textarea {
    width: 90%;
    height: 200px;
    display: block;
    margin: auto;
    resize: none;
}

#contact input[type="submit"] {
    margin-top: 20px;
    background: #009A31;
    cursor: pointer;
    padding: 10px 30px;
}

footer {
    height: 70px;
    background: rgba(0,0,0,0.95);
    display: table;
    width: 100%;
    margin-top: -70px;
    position: relative;
}

footer p {
    font-size: 1rem;
    color: #fefefe;
}

footer p i {
    color: #009A31;
    margin-bottom: 0;
}

footer p:first-of-type {
    margin-top: 21px;
}

footer p:last-of-type {
    margin-top: 4px;
}

footer a, footer a:visited {
    text-decoration: none;
    color: #fefefe;
    transition: color .2s ease;
    font-size: 1rem;
    margin: 0;
}

footer a:hover {
    color: #aaa;
}

@media only screen and (max-height:820px) {
    #contact:before {
        height: 15vh;    
    }
    
    #contact form {
        margin-bottom: 85px;
    }
}

@media only screen and (max-height:700px) {
    #contact:before {
        height: 10vh;    
    }
}

@media only screen and (max-width:800px) {
    #contact input[type="text"] {
        display: block;
        width: 90%;
        margin: 0 auto 20px auto;
        float: none;
    }
}

@media only screen and (max-width:650px) {
    
    .menu-toggle {
        display: inline-block;
    }
    
    header nav {
        transform: translateY(-110%);
        width: 100%;
        padding: 0;
        box-shadow: 0 0 3px rgba(0,0,0,0.3);
        background: rgba(0,0,0,0.4);
        border-radius: 0;
        text-align: left;
    }
    
    header nav ul {
        display: inline-block;
    }
    
    .active nav {
        transform: translateY(0);
    }
    
    #home .logo {
        height: 100px;
    }
    
    #services ul li {
        width: 90%;
        float: none !important;
        margin: auto;
        display: flex;
        justify-content:center;
        align-items:center;
        flex-direction:row;
    }
    
    #services ul li:nth-of-type(2) {
        flex-direction:row-reverse;
    }
    
    #services ul li:after {
        content: " ";
        display: table;
        clear: both;
    }
    
    #services ul li img {
        width: 150px;
        height: 150px;
    }
    
    footer p {
        max-width: 150px;
        margin: auto;
        margin-top: 10px !important;
    }
    
}

@media only screen and (max-width:400px) {
    
    header nav ul li {
        margin: 0 1rem;
    }
    
    #contact form {
        width: 100%;
        min-width: 0;
    }
}