@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;600&display=swap');

h1, h2, h3, h4, h5 {
    margin: 0px;
    font-weight: 600;
}

p {
    margin: 0px;
    line-height: 1.5;
}

a {
    color: #13AF21;
}

body {
    margin: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Work Sans', sans-serif;
}

.curved-section {
    width: 100%;
    max-width: 1500px;
    overflow: hidden;
    margin-top: -50px;
}

.curved-section:first-of-type{
    margin-top: 0px;
}

.curved-section:last-of-type .curved-section{
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.curved-section-content {
    width: 120%;
    position: relative;
    left: -10%;
    display: flex;
    justify-content: center;
    background-position-x: center;
    padding: 120px 0px 80px 0px;
    border-bottom-left-radius: 100% 200px;
    border-bottom-right-radius: 100% 200px;
    background-color: #e7e7e7;
}

.straight-section {
    width: 100%;
    max-width: 1500px;
}

.straight-section-content {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 50px 0px 50px 0px;
}

.max-width {
    width: 80%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
}

.green {
    background: #13AF21;
}

.white {
    background: white;
}

.button {
    border-radius: 4px;
    text-decoration: none;
    padding: 10px;
    cursor: pointer;
    font-weight: 600;
    border: none;
}

.primary {
    color: white;
    background: #13AF21;
}

.secondary {
    color: white;
    background: black;
}


.full {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.half {
    width: 50%;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
}

.third {
    width: 33%;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
}

.two-thirds {
    width: 66%;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
}

.quarter {
    width: 25%;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
}

.full img,
.half img,
.third img,
.two-thirds img,
.quarter img{
    width: calc(100% - 10px);
}

.spacer {
    flex-grow: 1;
}

.left {
    padding-right: 10px;
}

.right {
    padding-left: 10px;
    align-items: flex-end;
}

.services-list ul {
    margin: 0px;
    padding-left: 17px;
}

.services-list li {
    color: #13AF21;
    font-weight: 600;
    line-height: 1.5;
    font-size: .9rem;
}

.services-list li span{
    position: relative;
    left: -5px;
}



@media only screen and (max-width: 750px) {
    .max-width {
        width: 75%;
        align-items: center;
        flex-direction: column;
    }

    .full,
    .half,
    .third,
    .two-thirds,
    .quarter {
        width: 100%;
    }

    .right,
    .left{
        padding: 0px;
        align-items: center;
    }

    .button {
        padding: 15px 20px;
    }
}




/* Header */

.menu-shroud {
    background-color: #00000000;
    transition: background-color 300ms linear;
}

header {
    width: 100%;
    min-height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 100;
    border-bottom: solid #f0f0f0 1px;
}

.header-spacer {
    height: 80px;
}

header .max-width{
    width: 90%;
    align-items: center;
}

header img {
    width: 50px;
}

header .mobile-menu img {
    width: 30px;
}

header img.close-menu{
    display: none;
}

header .mobile-menu {
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

header nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav {
    transition: max-height 300ms linear;
}

nav ul {
    margin: 0px;
    padding: 0px;
    display: flex;
}

nav li {
    list-style-type: none;
    margin-right: 20px;
    font-weight: 600;
    font-size: .8rem;
    line-height: 2;
}

nav li a {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* sub menu */

.sub-menu {
    max-height: 0px;
    overflow: hidden;
    position: absolute;
    transition: max-height 200ms linear;
}

nav ul li ul {
    flex-direction: column;
    min-width: 150px;
    padding: 10px;
    border-radius: 5px;
    background-color: #13AF21;
}

nav ul li ul li {
    padding-left: 10px;
}

nav ul li ul li a {
    color: white;
}

@media only screen and (min-width: 751px) {
    nav ul li:hover .sub-menu {
        max-height: 120px;
    }
}


@media only screen and (max-width: 750px) {
    header .img-and-mobile-menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 80px;
    }

    header .mobile-menu {
        display: flex;
    }

    header nav {
        max-height: 0px;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        overflow: hidden;
    }

    body.menu-open nav {
        max-height: 450px;
        display: flex;
        padding: 20px 0px;
    }

    body.menu-open .mobile-menu img.open-menu{
        display: none;
    }

    body.menu-open .mobile-menu img.close-menu{
        display: block;
    }

    body.menu-open .menu-shroud {
        position: fixed;
        top: 0;
        width: 100vw;
        height: 100vh;
        z-index: 99;
        background-color: #6161616b;
    }

    nav ul {
        display: block;
    }

    nav > ul {
        width: 100%;
    }

    nav li {
        margin: 0px;
        font-size: 1.2em;
        line-height: 50px;
        outline: none;
    }

    .sub-menu {
        position: relative;
    }

    body.sub-menu-open .sub-menu {
        max-height: 120px;
    }

    nav .button-holder {
        margin: 30px 0px;
    }
}





/* Footer */

footer {
    width: 100%;
    min-height: 100px;
    display: flex;
    justify-content: center;
    background: #13AF21;
    color: white;
}

footer .max-width {
    width: 90%;
    max-width: 900px;
}

footer .button-holder {
    display: flex;
    justify-content: flex-end;
}

footer .social-icons-container {
    display: flex;
}

footer img.social-icon {
    margin-right: 10px;
    width: 25px;
}

footer .phone-number {
    font-weight: 600;
    font-size: 1.3rem;
    color: white;
    text-decoration: none;
}

footer .phone-number:hover {
    text-decoration: underline;
}

footer .footer-text {
    text-align: center;
}

footer .footer-hr {
    display: none;
}

@media only screen and (max-width: 750px) {
    footer {
        padding: 40px 0px;
    }

    .social-and-phone-num {
        order: 2;
        margin-bottom: 10px;
    }

    footer .social-icons-container {
        justify-content: center;
    }

    footer .phone-number {
        text-align: center;
    }

    footer .footer-text {
        order: 2;
    }

    footer .footer-button {
        order: 1;
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    footer .footer-hr {
        width: 100%;
        display: block;
        margin: 40px 0px 30px 0px;
        border-bottom: solid white 2px;
    }
}
