.open-sans-stemless {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.titles {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
}


body {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    margin: 0;
    padding: 0; /* added top padding to offset fixed nav */
    line-height: 1.6;
    background-color: #ffffff78;
    color: #4F4DCB;
}

img {
    /* max-width: 400px; */
    width: 124%;
    margin-top: 1em;
    margin-left: -2em;
    border-bottom: 20px solid white;
}

header {
    background-color: white;
    padding: 2em 2em 0em;
    box-shadow: 0 2px 85px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
}

.header h1 {
    margin: 0 0.5em 0 0;
    font-size: 2.6em;
    font-weight: 300;
    line-height: 1.3em;
    text-align: center;
}

.header p {
    float: left;
}

a {
    color: #4f4dae;
    border-bottom: 1px solid;
    text-decoration: none;
}

a:hover {
    border-bottom: none;
}

nav {
    background-color: #f9f9f9;
    padding: 0em 0em;
    position: fixed;
    top: 5em;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 85px rgba(0,0,0,0.1);
}

nav ul {
    list-style-type: none;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

nav ul li {
    float: left;
    padding: 0.5em;
}

nav ul li a {
    color: #4f4dae;
    font-weight: 400;
    border-bottom: none;
}

nav ul li a:hover {
    border-bottom: 1px solid #c14420;
}

section {
    float: left;
    padding: 5em 0;
    width: 80%;
    border-bottom: 1px solid #4f4dae2e;
}

.nav-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5em;
    color: #C1443E;
}

.container {
    width: 65%;
    line-height: 1.6em;
    margin: 0 0 0 23%;
    padding-top: 8em;
}

.container h2.titles {
    font-size: 1.9em;
    color: #4f4dae;
    font-weight: 100;
    letter-spacing: 0.05em;
    line-height: 1.2em;
}

.container h3.titles {
    font-size: 1.3em;
    color: #4f4dae;
    font-weight: 100;
    letter-spacing: 0.05em;
    line-height: 1.2em;
}

.container h4.titles {
}

.container p {
    margin-bottom: 1em;
    width: 100%;
}

.container ul {
    padding-left: 1.5em;
}

.photo {
    width: 30% !important;
    margin-right: 3%;
    min-width: 192px;
}

.photo img {
    border-bottom: 3px;
}

em {
    font-weight: 400;
}

.testimonialNames {
    margin: -0.5em 0em 1em 1em;
    padding-bottom: 2em;
}

footer {
    text-align: center;
    padding: 1em;
    width: 100%;
    float: left;
}

.wonder {
    width: 350px;
    margin: -2em -1em 0 -2em;
}

@media (max-width: 768px) {
    img {
        max-width: 130%;
    }

    header {
        padding: 15% 15% 10% 8%;
        line-height: 3em;
        width: 82%;
    }

    nav {
        padding: 0;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #f9f9f9;
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    }

    nav ul.active {
        display: flex;
        padding: 2em 0em 1em;
    }

    nav ul li {
        margin: 0.5em 0;
        text-align: center;
    }

    .nav-toggle {
        display: block;
        position: fixed;
        right: 1em;
        top: 0.5em;
        z-index: 1000;
        background-color: #f9f9f9;
        padding: 3px 15px 8px;
        border-radius: 34px;
        border: 1px solid #c14420;
    }

    .container {
        margin-left: 2%;
        width: 88%;
        margin-top: 1em;
    }

    .container h2 {
        font-size: 2.6em;
        margin-top: 0.3em;
        line-height: 1.2em;
        margin-left: -1em;
    }
}
