﻿:root {
    --lightGreen: #68cd00;
    --darkGreen: #027f00;
    --lightGray: #f4f4f8;
    --white: #fff;
    --black: #000;
    --yellow: #f8d808fa;
    --fontHeadline: Roboto;
    --fontContent: PT Sans;
    --bs-border-radius: 5px;
    --bs-nav-link-font-size: 1.1rem;
}

body {
    font-family: var(--fontContent);
}

a.nav-link, a.nav-link:hover {
    color: var(--black);
}

a, a:hover {
    color: var(--darkGreen);
}

h1, h2 {
    font-family: var(--fontHeadline);
}

    h2.large {
        font-size: 1.8rem;
    }

.emphasis h1 {
    font-size: 2rem;
    font-weight: 700;
}

.fg_color1 {
    color: var(--white);
}

.fg_color2 {
    color: var(--lightGreen);
}

.fg_color3 {
    color: var(--darkGreen);
}

.bg_color1 {
    background: var(--lightGray);
}

.bg_color2 {
    background: var(--lightGreen);
}

.bg_color3 {
    background: var(--darkGreen);
}

.underline {
    text-decoration: underline;
}

.section {
    position: relative;
}

    .section:not(#splash) {
        padding-top: 3%;
        padding-bottom: 3%;
    }

#splash {
    background: var(--black);
}

#splashPic {
    background: url('/images/landing/welcomehome_mobile.webp');
    position: absolute;
    opacity: .6;
    height: 100%;
    width: 100%;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.tagline {
    font-weight: 700;
    font-size: 1.4rem;
}

.tagline2 {
    font-size: 1.0rem;
    margin-bottom: 5%;
}

.callNow,
.callNow a {
    background: var(--lightGreen);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--bs-border-radius);
    text-align: center;
    line-height: 1.3;
    padding: 10px 0;
    margin: 2% auto;
}

    .callNow div:nth-child(1) {
        font-size: 1.2rem;
        font-weight: 700;
    }

    .callNow div:nth-child(3) {
        font-size: .7rem;
    }

.caps {
    text-transform: uppercase;
}


.allCenter img {
    display: none;
}

#atop {
    padding: 7% 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

    #atop .inner {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

.callNow .phone {
    display: none;
}

#testimonialWrapper, #reasonWrapper, #contactUsReasonWrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

    .testimonial,
    #contactUsReasonWrapper .reason {
        background: var(--white);
        box-shadow: 0 1px 5px #0003;
        padding: 4%;
        margin: 10px;
    }

        .testimonial h2 {
            font-size: 1.1rem;
            font-weight: 700;
        }

.testimonial_from span:nth-child(1) {
    font-weight: 700;
}

.testimonial .stars {
    color: var(--yellow);
    margin: 5px 0;
    display: flex;
    justify-content: center;
}

#reasonWrapper .reason {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
}

    #reasonWrapper .reason > div:nth-child(2) > div:nth-child(1) {
        font-size: 1.5rem;
    }


    #reasonWrapper .reason > div:nth-child(2) {
        text-align: center;
    }

#contactUsReasonWrapper .reason {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.accordion-button:not(.collapsed) {
    background: var(--white);
    color: var(--lightGreen);
}

.accordion-button:focus {
    box-shadow: none;
}

@media (min-width: 768px) {
    #splashPic {
        background: url('/images/landing/welcomehome.webp');
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .allCenter {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .testimonial,
    #contactUsReasonWrapper .reason {
        padding: 2%;
    }

    .allCenter img {
        width: 90%;
    }

    .callNow div:nth-child(1) {
        font-size: 2rem;
    }

    .callNow div:nth-child(3) {
        font-size: .8rem;
    }

    .callNow {
        width: 500px;
    }

        .callNow .phone {
            display: block;
            margin: 5px 0;
            font-size: 1.1rem;
        }

    .testimonial {
        width: calc( (100% / 3) - 30px );
    }

        .testimonial h2 {
            font-size: 1.5rem;
        }

    .emphasis h1 {
        font-size: 6rem;
    }

    .tagline {
        font-size: 2.7rem;
    }

    .tagline2 {
        font-size: 1.5rem;
    }

    h2.large {
        font-size: 3.5rem;
    }

    .testimonial .stars {
        color: var(--yellow);
        margin: 5px 0;
        display: block;
    }

    #reasonWrapper .reason {
        width: calc( (100% / 2) - 30px );
        display: flex;
        flex-direction: row;
    }

        #reasonWrapper .reason > div:nth-child(1) {
            width: 20%;
        }


    #contactUsReasonWrapper .reason {
        width: calc( (100% / 2) - 30px );
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        justify-content: flex-end;
    }
}
