/* Reset */

/* 
font-family: 'Libre Baskerville', serif;
font-family: 'Mulish', sans-serif; 
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-family: 'Mulish', sans-serif;
    letter-spacing: 0.1em
}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Moxie */

:root {
    --main-purple: #45337a;
    --light-purple: #cec8d4;
    --gold: #7f702c;
    --text-primary: #383839;
    --text-light: #414042;
    --font-size-large: 38pt;
}

header, main {
    max-width: 1200px;
    margin: auto;
    padding: 1rem 3rem;
    margin: 0 auto;
}

header {
    height: 250px;
    display: flex;
}

header>div {
    flex: 1;
    align-self: center;
}

#logo {
    display: flex;
    justify-content: center;
}

#logo img {
    height: 300px;
}

#billpay {
    justify-content: flex-end;
    text-align: right;
}

#billpay a, #billpay a:visited {
    display: inline-block;
    padding: 0.6em 2em;
    font-size: 16pt;
    border: 1px solid green;
    background-color: var(--main-purple);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
}

#hero {
    position: relative;
    min-width: 600px;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}


.onlymobile {
    display: none;
}

#hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 600px;
    width: 100%;
    background-image: url("../images/desk-and-chair.png");
    background-size: cover;
    background-position: center center;
    opacity: 0.85;
    z-index: -1;
}

#callout-wrapper {
    padding: 0 4em;
    display: flex;
    flex-direction: column;
}

#callout {
    width: 50%;
    background-color: rgb(69, 51, 122, 0.7);
    border: 2px solid white;
    padding: 2.5em;
    color: white;
    opacity: 1;
}

#callout i {
    font-family: 'Libre Baskerville', serif;
    letter-spacing: 0;
}

#callout h1 {
    text-align: left;
    color: white;
    font-size: var(--font-size-large);
    line-height: 1.2em;
}

i {
    font-style: italic;
}

div#call-now {
    margin: 2em 0em;
}

div#call-now a {
    border: 2px solid white;
    font-weight: bold;
    padding: 0.8em 1.5em;
    font-size: 18pt;
    text-transform: uppercase;
}

div #call-now a, div #call-now a:visited {
    text-decoration: none;
    color: white;
    display: inline-block;
}

h1 {
    font-size: 32pt;
    text-align: center;
    color: var(--main-purple);
    font-family: 'Libre Baskerville', serif;
    letter-spacing: 0;
}

#area-callouts {
    display: flex;
}

.area-callout {
    flex: 1;
    background-color: var(--light-purple);
    padding: 3rem 2rem 4rem 2rem;
    margin-right: 20px;
    margin-top: 4rem;
    text-align: center;
}

.area-callout:last-child {
    margin-right: 0px;
}

.area-callout h2 {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: var(--font-size-large);
    color: var(--main-purple);
    margin-bottom: 3rem;
}

.area-callout h3 {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 16pt;
    margin-bottom: 2em;
    line-height: 1.2em;
}

.area-callout ul li {
    margin-bottom: 0.8em;
    font-size: 14pt;
    line-height: 1.5em;
    letter-spacing: 0;
}

#appointment-only {
    font-size: 16pt;
}

main>div>h1 {
    margin-top: 2em;
    font-size: var(--font-size-large);
    font-style: italic;
}

#team .team-member {
    border: 1px solid var(--gold);
    padding: 3em;
    margin-right: 4em;
    text-align: center;
    flex-basis: 30%;
}

#team .row .team-member:last-child {
    margin-right: 0px;
}

#team .row {
    display: flex;
    justify-content: center;
    margin-top: 4em;
}

.team-member .name {
    font-family: 'Mulish', sans-serif;
    font-size: 32pt;
    margin-bottom: 0.3em;
    letter-spacing: 0;
}

.team-member .title {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 24pt;
    letter-spacing: 0;
}

.team-member .description {
    text-transform: uppercase;
    font-size: 18pt;
    line-height: 1.3em;
    margin-top: 0.6em;
}

#disclaimer {
    text-align: center;
    font-size: 22pt;
    line-height: 1.5em;
    letter-spacing: 0;
    margin-top: 2em;
    padding: 0 5em;
}

#footnote {
    margin-top: 3rem;
    text-align: center;
    font-size: 9pt;
}

footer {
    background-color: var(--main-purple);
    width: 100%;
    padding-top: 2em;
    font-size: 26pt;
    padding-bottom: 1em;
}

#footer-content {
    max-width: 1000px;
    margin: auto;
    color: white;
    display: flex;
    justify-content: space-around;
}

#footer-content .col {
    margin-right: 0.5em;
    margin-left: 0.5em;
}

#footer-content .col-1 {
    flex: 5;
    flex-shrink: 1;
}

#footer-content .col-2 {
    flex: 5;
}

#footer-content .col-3 {
    flex: 4;
}

footer h1 {
    font-size: 18pt;
    font-weight: bold;
    margin-bottom: 1em;
    color: white;
    text-transform: uppercase;
    font-family: 'Mulish', sans-serif;
    text-align: left;
}

#footer-content a, #footer-content a:visited {
    text-decoration: none;
    color: white;
}

#footer-content li, 
#footer-content li a {
    color: white;
    font-family: 'Mulish', sans-serif;
    font-size: 15pt;
    letter-spacing: 0;
    line-height: 1.3em;
}

#footer-content ul {
    margin-bottom: 0.5em;
}

@media only screen and (max-width: 800px) {
    .nomobile {
        display: none;
    }
    .onlymobile {
        display: block;
    }
    header, main {
        padding: 1rem 0;
    }
    header {
        flex-direction: column;
        height: auto;
    }
    #callout {
        width: auto;
        padding: 2rem 1rem;
    }
    #callout-wrapper {
        padding: 0;
    }
    #hero {
        height: 600px;
        min-width: 300px;
    }

    #call-now,
    #appointment-only {
        text-align: center;
    }

    #callout h1 {
        font-size: calc(var(--font-size-large) * 0.75);
        text-align: center;
    }
    #team .row {
        flex-direction: column;
        margin-top: 0;
    }
    #team .team-member, #team .row .team-member:last-child {
        padding: 3em;
        flex-basis: 90%;
        margin-left: 1rem;
        margin-right: 1rem;
        margin-bottom: 1rem;
    }
    #team h1 {
        margin-bottom: 4rem;
    }
    #area-callouts {
        flex-direction: column;
    }
    .area-callout, .area-callout:last-child {
        margin-left: 1rem;
        margin-right: 1rem;
        margin-top: 2rem;
        padding: 2rem 1rem 3rem 1rem;
    }

    #disclaimer {
        padding: 0 1rem;
    }

    #footer-content {
        flex-direction: column;
        text-align: center;
    }
    #footer-content h1 {
        text-align: center;
    }
    #footer-content .col {
        margin-bottom: 3rem;
    }
}

