/* heebo-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Heebo';
    font-style: normal;
    font-weight: 400;
    src: url('../webfonts/heebo-v21-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* heebo-200 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Heebo';
    font-style: normal;
    font-weight: 200;
    src: url('../webfonts/heebo-v21-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* cormorant-garamond-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400;
    src: url('../webfonts/cormorant-garamond-v16-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* cormorant-garamond-italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 400;
    src: url('../webfonts/cormorant-garamond-v16-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* cormorant-garamond-600 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 600;
    src: url('../webfonts/cormorant-garamond-v16-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* cormorant-garamond-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 700;
    src: url('../webfonts/cormorant-garamond-v16-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

* {
    margin: 0;
    padding: 0;
}

html, body {
    background: #fff;
    font-family: 'Heebo', sans-serif;
    font-weight: 200;
}

header {
    background: #78536E;
    color: #fff;
    position: fixed;
    width: 100%;
    padding: 1em 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 99;
}

body > main {
    padding-top: 80px;
    min-height: calc(100vh - 360px);
}
body > main p {
    margin-bottom: 1em;
}

.page-container {
    width: 80%;
    min-width: 800px;
    max-width: 1400px;
    margin: 0 auto;
}

header .page-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

footer .page-container .page-title,
header .page-container .page-title {
    display: flex;
    flex-direction: column;
    font-family: 'Cormorant Garamond', Times, serif;
    font-weight: 400;
    font-size: 2.5em;
    line-height: 100%;
    color: #fff;
    text-decoration: none;
}

footer .page-container .page-title small,
header .page-container .page-title small {
    font-family: 'Heebo', sans-serif;
    font-weight: 200;
    font-size: 0.40em;
    line-height: 1.1em;
}

footer .page-container .page-title span {
    font-family: 'Heebo', sans-serif;
    font-weight: 200;
    font-size: 0.45em;
    line-height: 0.45em;
}

header .page-container nav ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 40px;
}
header .page-container nav ul li {
    text-transform: uppercase;
}
header .page-container nav ul li a {
    text-decoration: none;
    color: #fff;
}
header .page-container nav ul li a:hover,
header .page-container nav ul li.current a {
    color: #ccc;
}

.no-header-image {
    margin-bottom: 2em;
}

.header-image {
    height: 60vh;
    background-size: cover;
    margin-bottom: 2em;
    color: #fff;
}
.HomePage .header-image {
    height: calc(100vh - 80px);
}

.header-image .page-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    height: 100%;
}

.header-image .header-text {
    max-width: 360px;
    margin-top: 4%;
}

.header-image .header-text h1 {
    font-size: 4.5em;
    line-height: 105%;
    margin-bottom: 0.5em;
}

a.button {
    background: #78536E;
    color: #fff;
    padding: 0.5em 2em;
    text-decoration: none;

    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}
a.button:hover {
    background: #fff;
    outline: 1px solid #78536E;
    color: #78536E;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
}

main h1 {
    font-size: 2.8em;
    line-height: 1.05em;
    margin-bottom: 0.5em;
}
main h1 small {
    display: block;
    color: #78536E;
    text-transform: uppercase;
    font-size: 0.4em;
    font-family: 'Heebo', sans-serif;
    font-weight: 200;
    margin: -0.1em 0 0.5em 0;
    line-height: 100%;
}

.two-col {
    display: flex;
    gap: 40px;
    align-items: center;
}

.content-image img {
    width: 75%;
    height: auto;
    display: block;
    box-shadow: -70px 70px #78536E;
    margin-left: 70px;
    margin-bottom: 70px;
 }

.HomePage .two-col {
    margin-top: 8em;
}

.two-col .col {
    flex: 0 0 50%;
}

article.focus {
    margin-top: 6em;
    background: #f3f3f3;
    padding: 2em 0;
    text-align: center;
}

article.focus .focus-list {
    display: flex;
    flex-direction: row;
    gap: 40px;
    justify-content: center;
}

article.focus .focus-list .focus {
    flex: 0 1 20%;
    border: 1px solid #e6e6e6;
    padding: 2em;
}

article.focus .focus-list .focus .icon {
    width: 60px;
    height: 60px;
    color: #fff;
    background: #78536E;
    padding: 20px;
    border-radius: 100%;
    margin: 0 auto;
    font-size: 40px;
    line-height: 64px;
    text-align: center;
}
article.focus .focus-list .focus h2 {
    text-transform: uppercase;
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 1.25em;
    margin: 1em auto 1em;
}
article.focus .page-container > p {
    padding: 3em;
}

.parallax-scroll {
    background-size: cover;
    height: 60vh;
    background-attachment: fixed;
}

.content-2 {
    position: relative;
    padding: 9em 0;
}
.content-2 .bg {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 6em;
    right: 0;
    bottom: 6em;
    background-position: center right;
    background-size: cover;
}

.content-2 .col-left {
    width: 40%;
}

.content-2 ul {
    margin: 2em 1.5em 3em;
    list-style: square;
}
.content-2 ul li {
    margin: 0.5em 0;
}

.contact-form {
    padding: 5em 0;
    height: auto;
}
.contact-form .page-container {
    background: #fff;
    padding: 4em;
    text-align: center;
    width: 70%;
    min-width: 800px;
    max-width: 1000px;
}

.ContactPage form,
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 2em 0 0;
    text-align: left;
}
.ContactPage form > div,
.contact-form form > div {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: stretch;
}
.ContactPage form > div input,
.ContactPage form > div textarea,
.contact-form form > div input,
.contact-form form > div textarea {
    background: #f3f3f3;
    padding: 10px;
    display: block;
    flex: 1;
    border: 0 none;
    font-size: 16px;
}
.ContactPage form > div textarea,
.contact-form form > div textarea {
    height: 90px;
}

.ContactPage form > div input[type=submit],
.contact-form form > div input[type=submit] {
    background: #78536E;
    color: #fff;
    padding: 24px;
}
.ContactPage form > div input[type=submit]:hover,
.contact-form form > div input[type=submit]:hover {
    background: #fff;
    outline: 1px solid #78536E;
    color: #78536E;
}

footer {
    background: #2B2028;
    padding: 4em 0 2em;
    color: #fff;
}
footer .page-container {
    display: flex;
    flex-direction: row;
    justify-content: stretch;
}
footer .page-container div {
    flex: 1 0 auto;
}
footer .page-container div h4 {
    font-weight: 400;
    margin: 0 0 0.5em 0;
    font-size: 1.2em;
    text-transform: uppercase;
}
footer .page-container div ul {
    margin: 0 0 0 1.0em;
    padding: 0;
    list-style: none;
}
footer .page-container div ul li::before {
    content: "";
    border-color: transparent #fff;
    border-style: solid;
    border-width: 0.35em 0 0.35em 0.45em;
    display: block;
    height: 0;
    width: 0;
    left: -1em;
    top: 1.05em;
    position: relative;
}
footer .page-container div ul.no-list {
    margin: 0;
}

footer .page-container div ul.no-list li::before {
    opacity: 0;
}
footer .page-container div ul.no-list li i {
    margin-right: 0.5em;
}

footer .page-container div a {
    color: #fff;
    text-decoration: none;
}

article.focus-page {
    padding: 4em 0;
}
article.focus-page .focus-list {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-gap: 24px;
}
article.focus-page .focus-list .focus {
    display: flex;
    flex-direction: column;
    margin-bottom: 2em;
}
article.focus-page .focus-list .focus img {
    width: 100%;
    height: auto;
    display: block;
}
article.focus-page .focus-list .focus h2 {
    font-size: 1.8em;
    margin: 0.25em 0 0.5em;
}
article.focus-page .focus-list .focus p {
    margin: 0 0 2em 0;
}

.read-more > a.button:before {
    content:"\f067";
    font-family:"Font Awesome 5 Pro";
    margin-left: -15px;
    margin-right: 15px;
}
.read-more > a.button.close:before {
    content:"\f068";
}

.read-more > div.more {
    display: none;
    padding: 2em 1em;
}

.FocusPage .page-content {
    background: #fbfbfb;
    padding: 6em 0;
    position: relative;
}
.FocusPage .page-content .bg {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    left: 65%;
    background-position: center center;
    background-size: cover;
}
.FocusPage .page-content .page-container .inner {
    width: 60%;
}

article.contact-me {
    background: #78536E;;
    color: #fff;
    font-size: 1.2em;
    padding: 2em 0;
}
article.contact-me a.button {
    float: right;
    background: #fff;
    color: #78536E;
}
article.contact-me a.button:hover {
    background: #78536E;
    color: #fff;
    outline: 1px solid #fff;
}

.qualifications {
    padding: 4em 0;
    display: flex;
    flex-direction: row;
    gap: 40px;
}
.qualifications .img {
    flex: 1 0 40%;
    background-position: center center;
    background-size: cover;
}

.timeline {
    margin-top: 4em;
}
.timeline > div {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    grid-template-areas: "left middle right";
}

.timeline > div > div {
    display: flex;
    align-items: flex-start;
}

.timeline > div .text {
    grid-area: left;
}
.timeline > div.even .text {
    grid-area: right;
}
.timeline > div .text span {
    background: #f2f2f2;
    padding: 1em 1em 2em;
    border-radius: 6px;
    font-size: 0.9em;
    margin-bottom: 2em;
    position: relative;
}

.timeline > div .text span:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-width: 10px 0 10px 15px;
    border-color: transparent #f2f2f2;
    position: absolute;
    border-style: solid;
    top: 20px;
    right: -15px;
}
.timeline > div.even .text span:before {
    border-width: 10px 15px 10px 0;
    right: unset;
    left: -15px;
}
.timeline .icon {
    grid-area: middle;
    text-align: center;
    position: relative;
}
.timeline .icon span {
    width: 20px;
    height: 20px;
    color: #fff;
    background: #78536E;
    padding: 10px;
    border-radius: 100%;
    margin: 10px auto 0;
    font-size: 17px;
    line-height: 21px;
    text-align: center;
    display: block;
    position: relative;
    z-index: 2;
}

.timeline .icon:before {
    content: "";
    display: block;
    position: absolute;
    left: calc(50% - 1px);
    top: 0;
    bottom: 0;
    width: 2px;
    background: #c3c3c3;
    z-index: 1;
}

.timeline > div:first-child .icon:before {
    top: 20px
}
.timeline > div:last-child .icon:before {
    bottom: unset;
    height: 40px;
}

.ContactPage main .page-container {
    padding: 4em 0 7em;
}
.ContactPage .two-col {
    align-items: start;
}

.ContactPage .maps {
    margin: 2.4em 0;
    display: block;
}
.ContactPage .maps img {
    width: 100%;
    max-width: 912px;
    height: auto;
}

.ContactPage i.fal {
    margin-right: 0.6em;
}

.form-error {
    font-size: 0.8em;
    margin-top: 4px;
    margin-bottom: -4px;
    color: red;
}

.form-error.good {
    color: darkgreen;
}

@media screen and (max-width: 980px){
    article.focus .focus-list {
        gap: 6px;
    }
}

@media screen and (max-width: 920px) {

    .two-col {
        gap: 10px;
    }

    article.focus .focus-list {
        gap: 6px;
        flex-wrap: wrap;
    }

    .content-2 .bg {
        left: 70%;
    }

    .content-2 .col-left {
        width: 70%;
    }

    .parallax-scroll {
        height: auto;
        min-height: 20vh;
    }

    .contact-form .page-container {
        width: auto;
        min-width: unset;
        max-width: unset;
    }

    .ContactPage .two-col {
        flex-direction: column;
    }
}

@media screen and (max-width: 840px) {

    .page-container {
        width: auto;
        min-width: unset;
        max-width: unset;
        margin: 0 1em;
    }
    main h1 {
        font-size: 2.2em;
    }
    .content-2 {
        padding: 4em 0;
    }
    .content-2 .bg {
        display: none;
    }
    .content-2 .col-left {
        width: auto;
        padding: 0 1em;
    }
    .two-col {
        gap: 20px;
    }
    .two-col .col {
        flex: 1 1 auto;
    }

    .HomePage .two-col {
        margin-top: 3em;
    }

    .HomePage .content-image img {
        width: 200px;
        box-shadow: -20px 20px #78536E;
    }

    footer .page-container {
        flex-wrap: wrap;
        gap: 20px;
    }

    footer .page-container > div:first-child {
        display: none;
    }

    .AboutMe .two-col .col:first-child {
        display: none;
    }

    article.focus-page .focus-list {
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 640px) {

    header .page-container nav ul {
        gap: 20px;
    }
    article.focus .focus-list .focus {
        flex: 1 1 50%;
    }

    .HomePage .content-image img {
        width: 120px;
        box-shadow: -15px 15px #78536E;
    }

    .contact-form .page-container {
        padding: 2em 1em;
    }

    .qualifications .img {
        display: none;
    }

    article.focus-page {
        padding-bottom: 0;
    }

    .FocusPage .page-content {
        padding: 2em 0;
    }
    .FocusPage .page-content .bg {
        display: none;
    }
    .FocusPage .page-content .page-container .inner {
        width: auto;
    }

    article.contact-me .page-container {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }
    article.contact-me .page-container a {
        margin-top: 0.5em;
        float: none;
    }

}

@media screen and (max-width: 580px) {
    footer .page-container .page-title, header .page-container .page-title {
        font-size: 1.4em;
    }
    body > main {
        padding-top: 60px;
    }
   .HomePage .header-image {
       height: calc(100vh - 60px);
   }
}
@media screen and (max-width: 520px) {

    header .page-container {
        flex-direction: column;
    }
    header nav {
        margin-top: 0.5em;
    }
    header {
        padding-bottom: 0.5em;
    }
    body > main {
        padding-top: 85px;
    }
    .HomePage .header-image {
        height: calc(100vh - 85px);
    }

    .header-image {
        height: 30vh;
    }

    .ContactPage form > div, .contact-form form > div {
        flex-direction: column;
    }

    .two-col {
        flex-direction: column;
    }

    .header-image .header-text h1 {
        font-size: 3.5em;
    }
}

@media screen and (max-width: 440px) {
    header nav {
        font-size: 0.90em;
    }
    header nav a {
        text-transform: none;
    }
    body > main {
        padding-top: 80px;
    }
    .HomePage .header-image {
        height: calc(100vh - 80px);
    }
    .header-image .header-text h1 {
        font-size: 3.2em;
    }
}
@media screen and (max-width: 400px) {
    header nav {
        font-size: 0.85em;
    }
    header nav a {
        text-transform: none;
    }
    .header-image .header-text h1 {
        font-size: 3.0em;
    }
}
@media screen and (max-width: 340px) {
    header .page-container nav ul {
        gap: 12px;
    }
}
@media screen and (max-width: 300px) {
    .header-image .header-text h1 {
        font-size: 2.6em;
    }
    header nav {
        font-size: 0.80em;
    }
    header .page-container nav ul {
        gap: 10px;
    }
}







