html {
    font-family: 'Work Sans', 'Helvetica Neue', 'Helvetica', sans-serif;
    font-weight: 300;
    font-size: 1.3em;
    max-width: 40rem;
    padding: 2rem;
    margin: auto;
    line-height: 1.5rem;
}
body {
    margin: 0;
    background-color: #f5f5f5;
}

/** Layout **/
main {
    display: grid;
    grid-template-areas:
        'aside figure'
        'section section';
    justify-items: center;
    align-items: center;
}
aside { grid-area: aside; }
figure { grid-area: figure; }
section { grid-area: section; }

/** Page Styles **/
a, a:visited {
    color: #006be6;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
header > h1 {
    font-weight: 300;
}
header > h2,
section > h2 {
    font-weight: 300;
}
aside {
    padding: 1rem 1rem 1rem 0;
}
footer {
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 5;
    width: 100%;
    background: #4d4d4d;
    color: #eee;
    border-top: 1px solid #767676;
    padding: 1.2rem 0;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 20px;
  }
  footer > a > img {
    width: 36px;
    height: 36px;
    margin: 0px 20px;
  }

  /** Re-usable Assets **/
.shadow {
    box-shadow: 0 0 15px 1px rgb(28, 54, 79, 0.4);
}
.headshot {
    width: 300px;
    height: 300px;
    border: 1px solid #4d4d4d;
    border-radius: 50%;
    overflow: hidden;
}
.headshot > img {
    width: 100%;
}
.fieldInput input,
.fieldInput textarea {
    font-family: 'Work Sans', 'Helvetica Neue', 'Helvetica', sans-serif;
    font-size: 1rem;
    outline: 0;
    background-color: #F4F4F4;
    width: 100%;
    border: 1px solid #F4F4F4;
    border-radius: 3px;
    margin: 0 0 15px;
    padding: 15px;
    box-sizing: border-box;
}
.fieldInput input:focus,
.fieldInput textarea:focus {
    border: 1px solid #1586c7;
}
.fieldInput textarea {
    resize: none;
}
.fieldInput .errorContainer {
    padding: 10px 10px 0px 10px;
    color: #CC0000;
    font-size: 1.15rem;
}
.fieldInput .send {
    background-color: #1586c7;
    color: #FFFFFF;
    width: 40%;
    margin: 0 auto 15px;
}
.fieldInput .send:hover {
    background-color: #1586c7cf;
    cursor: pointer;
}

@media screen and (max-width: 910px) {
    header {
        margin-bottom: 3rem;
        text-align: center;
    }
    main {
        grid-template-areas:
            'figure'
            'aside'
            'section';
    }
    figure {
        margin: 0;
    }
    .headshot {
        width: 270px;
        height: 270px;
    }
    aside {
        margin-bottom: 50px;
        padding: 1em 0 0;
    }
}