body {
    font-size: 0;
    overflow-x: hidden;
}

body div#content-overlay {
    background: rgba(0, 0, 0, 0.5);
    display: block;
    opacity: 0;
    position: fixed;
    height: 0;
    width: 100%;
    z-index: 1;
}

#navigation-menu {
    display: flex !important;
}

#navigation-logo img {
    box-sizing: border-box;
    height: 4rem;
    margin: 0 0 0 1rem !important;
    padding: 1.25rem;
}

span#header-menu-btn {
    align-items: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: none;
    padding: 1rem;
    margin-left: 20px;
    justify-content: center;
    vertical-align: top;
}

span#header-menu-btn svg {
    fill: #FFF;
    width: 25px;
}

#nav-container {
    display: inline-flex;
    align-items: center;
    justify-content: space-between; /* pushes nav to right if needed */
}

/* Logo - keeps it fixed on the left */
#navigation-logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

/* Nav holds links + buttons in a row */
#header-nav {
    display: inline-flex;
    align-items: center;
    flex: 1; /* Take remaining space after logo */
    justify-content: space-between;
}

/* About + Pricing inline right after logo */
#header-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

#header-nav ul li a {
    color: #FFF;
    font-size: 1rem;
}

#header-nav ul li.active a {
    font-weight: bold;
}

/* Push buttons to far right */
#navigation-menu-buttons {
    display: flex;
    align-items: center;
    margin-left: auto; /* pushes the buttons all the way right */
}

.navigation-primary-cta, .navigation-secondary-cta {
    margin: 0 0.75rem 0 0 !important;
}

.no-margin {
    margin: 0 !important;
}

.homepage-full-width-container {
    display: flex;
    position: relative;
    vertical-align: top;
    width: 100%;
}

.homepage-main-container {
    display: flex;
    margin: 2rem auto;
    padding: 1rem;
    width: 80rem;
}

.homepage-main-container.centre-align {
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.homepage-main-container.right-align {
    justify-content: right;
}

.homepage-title {
    font-family: "DM Serif Text", serif;
    font-size: 2.5rem;
    font-weight: 400;
}

h2 {
    font-family: "DM Serif Text", serif;
    font-size: 1.5rem;
    font-weight: 400;
}

h3 {
    font-family: "DM Serif Text", serif;
    font-size: 1.15rem;
    font-weight: 400;
}

.homepage-paragraph {
    font-size: 1.25rem;
}

.homepage-left-align-text {
    text-align: left;
    margin-top: 3rem; 
    margin-left: 7rem;
    position: relative;
    width: 35rem;
} 

.homepage-right-align-text {
    float: right;
    text-align: right;
    margin-top: 3rem; 
    margin-right: 7rem;
    position: relative;
    width: 35rem;
} 

.homepage-centre-align-text {
    text-align: center;
    margin-top: 3rem; 
    position: relative;
} 

.homepage-section-grey {
    background-color: #F2F2F2;
}

.homepage-section-green {
    background-color: #B1C9B4;
}

.homepage-section-white {
    background-color: #FFF;
}

.homepage-section-black {
    background-color: #2A3D2C;
}

.homepage-email-input {
    border-radius: 0.5rem;
    font-size: 1rem !important;
    height: 1.5rem !important;
    padding: 1rem;
    width: 20rem !important; 
}

.homepage-primary-action-btn {
    background-color: #3b8956;
    border: none;
    border-radius: 0.5rem;
    color: #FFF;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    font-size: 0.9rem;
    margin: 0 0 0 1rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.homepage-primary-action-btn:hover {
    opacity: 0.8;
}

.homepage-options {
    font-size: 0;
}

.homepage-options .homepage-option {
    align-items: center;
    background-color: #F2F2F2;
    display: inline-flex;
    flex-direction: column;
    font-size: 1rem;
    margin: 0.5rem 0.5rem;
    padding: 0.75rem 1.25rem;
    vertical-align: top;
}

.homepage-options .homepage-option.black {
    background-color: #2A3D2C;
    color: #FFF; 
}

.homepage-list {
    list-style-type: none;
    padding: 0;
}

.homepage-list li {
    border: 1px solid #AAA;
    border-radius: 0.5rem;
    color: #000;
    font-size: 1rem;
    margin: 1rem;
    padding: 0.5rem;
}


.homepage-list.green li {
    background-color: #B1C9B4;
    border: 1px solid #AAA;
    border-radius: 0.5rem;
    color: #000;
    font-size: 1rem;
    margin: 1rem;
    padding: 0.5rem;
}

.homepage-centre-image {
    width: 45rem;
}

.homepage-inline-container {
    font-size: 0;
}

.homepage-inline-container .homepage-inline-box {
    background-color: #F2F2F2;
    display: inline-block;
    font-size: initial;
    height: 22rem;
    margin: 1rem;
    padding: 1rem;
    vertical-align: top;
    width: 15rem;
}

.homepage-inline-container .homepage-inline-box img {
    object-fit: cover;
    height: 10rem;
    width: 15rem;
}

.homepage-box {
    display: inline-block;
    margin: 1rem 0;
    width: 50rem;
}

.homepage-box h2 {
    background-color: #B1C9B4;
    margin: 0;
    padding: 1rem;
}

.homepage-box p {
    background-color: #FFF;
    font-size: 1.15rem;
    margin: 0;
    padding: 1rem;
}

#homepage-footer-logo {
    height: 1.5rem;
}

.homepage-faq-container p {
    font-size: 1.15rem;
}

@media only screen and (max-width: 1100px) {
    body.nav-visible div#content-overlay {
        height: 100%;
        opacity: 1;
    }

    #navigation-logo img {
        margin: 0 !important;
    }

    .navigation-primary-cta {
        background-color: #000;
        color: #FFF;
    }

    .navigation-primary-cta:hover {
        background-color: #444 !important;
    }

    .navigation-secondary-cta {
        border: 1px solid #000;
        color: #000;
    }

    .navigation-secondary-cta:hover {
        background-color: #EEE !important;
        color: #000 !important;
    }
    
    span#header-menu-btn {
        display: inline-block !important;
    }

    #navigation-logo {
        display: inline-block !important;
    }

    #navigation-menu {
        display: block !important;
    }

    nav#header-nav {
        background: #E7E7E7 !important;
        display: none !important;
        overflow: hidden !important;
        padding: 20px 0 0 0 !important;
        width: 100% !important;
    }

    body.nav-visible nav#header-nav {
        display: block !important;
        height: auto !important;
    }

    nav#header-nav ul {
        box-sizing: border-box;
        flex-direction: column;
        gap: 0 !important;
        padding: 0 60px !important;
        width: 100% !important;
    }

    nav#header-nav ul li {
        display: block !important;
        padding: 1rem !important;
    }

    nav#header-nav ul li a {
        display: block;
        width: 100% !important;
    }

    nav#header-nav ul li a span {
        color: #000 !important;
        font-size: 20px !important;
        padding: 0 0 8px 0 !important;
    }

    nav#header-nav ul li:hover a span {
        border-bottom: 4px solid #000 !important;
    }
    
    nav#header-nav ul li.active a span {
        border-bottom: 4px solid #000 !important;
        cursor: default;
    }

    #navigation-menu-buttons {
        display: block;
        float: none;
        text-align: center;
        margin: 1rem 0 !important;
    }    
}

@media only screen and (max-width: 900px) { 
    
    .homepage-left-align-text {
        margin-left: 2rem;
    }

    .homepage-right-align-text {
        margin-right: 2rem;
    }

    .homepage-centre-image {
        width: calc(100% - 2rem);
    }

    .homepage-title {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1rem;
    }

    .homepage-paragraph {
        font-size: 1rem;
    }

    .homepage-options .homepage-option {
        font-size: 0.9rem;
        margin: 0.25rem 0.25rem;
        padding: 0.5rem 1rem;
    }

    .homepage-right-align-text {
        width: 75%;
    }

    .homepage-box {
        width: calc(100% - 10rem);
    }

    .homepage-box p {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 600px) { 
    #navigation-logo img {
        height: 4rem !important;
        padding: 1.45rem !important;
    }
    
    .homepage-box {
        width: 100%;
    }

    .homepage-left-align-text {
        margin-top: 0rem;
        width: 100%;
    }

    .homepage-right-align-text {
        margin-top: 0rem;
        width: 100%;
    }

    .homepage-centre-align-text {
        margin-top: 0rem;
    }

    .homepage-primary-action-btn {
        display: block;
        margin: 1rem 0;
    }

    #navigation-menu-buttons {
        margin: 0;
    }

    .homepage-email-input {
        width: calc(100% - 4rem) !important;
    }

    nav#header-nav ul li a span {
        font-size: 1.15rem !important;
    }
}