/* Header */
.static-app .site-header {
    z-index: 1;
    width: 100%;
    -moz-transition: z-index 1s;
    -o-transition: z-index 1s;
    -webkit-transition: z-index 1s;
    transition: z-index 1s;
}

    .static-app .site-header div.flex {
        align-items: center;
        padding: 0.85rem 1.5rem 0.85rem 1.5rem;
        position: relative;
        z-index: 3;
        max-width: 100%;
    }

body.menu-open .static-app .site-header {
    z-index: 3;
    -moz-transition: none;
    -o-transition: none;
    -webkit-transition: none;
    transition: none;
}

@media screen and (min-width: 800px) {
    .static-app .site-header div.flex {
        border-bottom: solid 1px var(--black2);
    }
}

/* Logo */
.static-app a.logo-button {
    position: relative;
    text-decoration: none;
    -ms-flex: 0 0 5em;
    -webkit-flex: 0 0 5em;
    flex: 0 0 5em;
    width: 5em;
    height: 5em;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
}

    .static-app a.logo-button picture.logo-image {
        flex-basis: 120%;
    }

        .static-app a.logo-button picture.logo-image img {
            display: block;
            margin-left: -7%;
            margin-top: -23%;
        }

    .static-app a.logo-button div.logo-text {
        flex-basis: auto;
        position: absolute;
        left: 10%;
        top: 35%;
    }

        .static-app a.logo-button div.logo-text h1 {
            font-size: var(--font-size-0);
            font-weight: 400;
            line-height: 1em;
            margin: 0;
            color: var(--white1);
            text-align: left;
        }

            .static-app a.logo-button div.logo-text h1 span {
                text-transform: uppercase;
            }

header .static-app a.logo-button {
    background-color: var(--green1);
}


/* Page Banner */
.static-app picture.page-banner {
    padding: 0;
    margin: 0;
    position: relative;
    display: block;
    max-height: 60vh;
    overflow: hidden;
    -moz-transition: height 0.5s ease;
    -o-transition: height 0.5s ease;
    -webkit-transition: height 0.5s ease;
    transition: height 0.5s ease;
}

    .static-app picture.page-banner:after {
        display: block;
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background-color: rgba(112,122,98,0.3);
    }

    .static-app picture.page-banner img {
        display: block;
        width: 100%;
    }

        .static-app picture.page-banner img:not(:first-child) {
            position: absolute;
            top: 0;
            left: 0;
        }


.static-app .home-banner-fade-enter-active,
.static-app .home-banner-fade-leave-active {
    -moz-transition: opacity 3s ease;
    -o-transition: opacity 3s ease;
    -webkit-transition: opacity 3s ease;
    transition: opacity 3s ease;
}

.static-app .home-banner-fade-enter-from,
.static-app .home-banner-fade-leave-to {
    opacity: 0;
}


/*#region  Homepage links
-------------------------------------  */

.static-app main .content-caddy.homepage .content-caddy.links.flex {
    justify-content: center;
}

    .static-app main .content-caddy.homepage .content-caddy.links.flex > * {
        flex-basis: auto;
        max-width: 100%;
    }

@media screen and (min-width: 800px) {
    .static-app main .content-caddy.homepage .content-caddy.links.flex {
        justify-content: space-around;
    }

        .static-app main .content-caddy.homepage .content-caddy.links.flex > * {
            flex-basis: 32%;
        }
}

/*#endregion */


/*#region  Homepage text
-------------------------------------  */
.static-app main.home {
    padding-top: 0;
}

    .static-app main.home .container {
        max-width: 100%;
    }

.static-app main .content-caddy.homepage .content {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--green4);
    margin-bottom: 1.25rem;
}

    .static-app main .content-caddy.homepage .content .content-text {
        max-width: 75rem;
        margin: 0 auto;
    }

        .static-app main .content-caddy.homepage .content .content-text h2:after {
            content: "";
            display: block;
            border-bottom: solid 1px var(--green1);
            margin: 2rem auto;
            width: 45%;
        }

.static-app main .content-caddy.links {
    max-width: 75rem;
    margin: 0 auto;
}

/*#endregion */

/* Links */
.static-app .home-content-link {
    position: relative;
    overflow: hidden;
    -moz-transition: background-color .2s linear;
    -o-transition: background-color .2s linear;
    -webkit-transition: background-color .2s linear;
    transition: background-color .2s linear;
}

    .static-app .home-content-link span {
        position: absolute;
        line-height: 1rem;
        padding: 0.5rem 0.75rem;
        color: var(--white1);
        border: solid 1px var(--white1);
        bottom: 1rem;
        left: 50%;
        z-index: 5;
        -ms-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        -moz-transition: all .5s ease;
        -o-transition: all .5s ease;
        -webkit-transition: all .5s ease;
        transition: all .5s ease;
    }

    .static-app .home-content-link:hover span {
        background-color: var(--white1);
        color: var(--black1)
    }

    .static-app .home-content-link img {
        -moz-transition: transform 1s ease-in-out;
        -o-transition: transform 1s ease-in-out;
        -webkit-transition: transform 1s ease-in-out;
        transition: transform 1s ease-in-out;
    }

    .static-app .home-content-link:hover img {
        -ms-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -o-transform: scale(1.1);
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

.static-app main .content-caddy.homepage.flex > .home-content-link:not(.image-link) {
    display: block;
    background-color: var(--green1);
    color: var(--white1);
    text-decoration: none;
    text-align: center;
    flex-basis: 100%;
    min-height: 5rem;
}

@media screen and (min-width: 800px) {
    .static-app main .content-caddy.homepage.flex > .home-content-link:not(.image-link) {
        flex-basis: 32%;
    }
}

/* Projects */
.static-app article.home-project-item {
    margin: 0 2rem;
}

    .static-app article.home-project-item div.project-text {
        padding: 1rem;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .static-app article.home-project-item a.project-image {
        align-self: stretch;
    }

    .static-app article.home-project-item picture.content-image {
        margin-bottom: 0;
        height: 100%;
    }

        .static-app article.home-project-item picture.content-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .static-app article.home-project-item div.project-text a.button {
        margin-top: 1rem;
        text-transform: uppercase;
        font-size: var(--font-size-1);
        letter-spacing: 0.05em;
    }

@media screen and (min-width: 550px) {
    .static-app article.home-project-item div.project-text {
        padding: 2rem;
    }
}

@media screen and (min-width: 800px) {
    .static-app article.home-project-item.flex > * {
        flex-basis: 50%;
        align-self: center;
    }

    .static-app article.home-project-item:nth-child(2n) > *:last-child {
        order: 2;
    }

    .static-app article.home-project-item:nth-child(2n+1) > *:first-child {
        order: 2;
    }

    .static-app article.home-project-item:nth-child(2n+1) > *:last-child {
        order: 1;
    }
}

/* Footer */
.static-app .site-footer {
    position: relative;
    z-index: 1;
}

    .static-app .site-footer .site-footer-inner {
        background-color: var(--green1);
        color: var(--white1);
        text-align: center;
    }

    .static-app .site-footer .container {
        position: relative;
        z-index: 2;
        padding: 2rem 1rem;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .static-app .site-footer .footer-logo {
        margin: 0 auto 1em auto;
        display: block;
        flex-basis: 100%;
    }

        .static-app .site-footer .footer-logo a {
            margin: 0 auto;
        }

    .static-app .site-footer .container h1 {
        font-size: var(--font-size-4);
        font-weight: 700;
    }

    .static-app .site-footer .copyright {
        align-items: center;
        justify-content: center;
        padding-top: 0;
    }

        .static-app .site-footer .copyright > * {
            font-size: var(--font-size-0);
            font-weight: 300;
        }

        .static-app .site-footer .copyright a {
            color: #fff;
            text-decoration: none;
            display: inline-block;
        }

            .static-app .site-footer .copyright a:hover {
                text-decoration: underline;
            }

@media screen and (min-width: 800px) {
    .static-app .site-footer .container.flex {
        justify-content: flex-start;
        align-items: center;
    }

    .static-app .site-footer .logocopy > h2 {
        font-size: var(--font-size-6);
        line-height: 2.3125rem;
        flex-basis: auto;
        margin-bottom: 0;
        margin-left: 3rem;
    }

    .static-app .site-footer .container.flex .copy-links {
        justify-content: flex-end;
        margin-top: 1rem;
    }
}

/* Content Caddies */

.static-app .site-footer .grid {
    padding: 2em 1em;
}

@media screen and (min-width: 800px) {
    .static-app .site-footer .grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr auto;
        column-gap: 1.25em;
        row-gap: 0.625em;
        padding-left: 1.5em;
        padding-right: 1.5em;
    }
}

.static-app .footer .content-link:not(.image-link) {
    display: block;
    background-color: var(--red1);
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 0.5rem 1rem;
    margin: 0.625rem 1.25rem;
    border-radius: 1em;
    -moz-transition: background-color .2s linear;
    -o-transition: background-color .2s linear;
    -webkit-transition: background-color .2s linear;
    transition: background-color .2s linear;
}

    .static-app .footer .content-link:not(.image-link):hover {
        background-color: var(--red2);
    }

/* Social */
.static-app .footer .social a.image-link {
    flex-basis: 20px;
    margin: 0 0.5em;
}

.static-app .footer .follow-us img {
    width: 2.75em;
    -moz-filter: var(--svg-blue1);
    -webkit-filter: var(--svg-blue1);
    filter: var(--svg-blue1);
}

@media screen and (min-width: 800px) {
    /* Follow us */
    .static-app .site-footer .grid > .content-caddy.follow-us {
        grid-column: 2/3;
    }
}

.static-app p.content-location span {
    display: block;
}

/* Project List */

.static-app article.project-item {
    overflow: hidden;
}

    .static-app article.project-item div.project-text {
        padding: 1rem;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .static-app article.project-item a.project-image {
        align-self: stretch;
    }

.static-app section.project-list.grid article.project-item a.project-image img {
    -moz-transition: transform 1s ease-in-out;
    -o-transition: transform 1s ease-in-out;
    -webkit-transition: transform 1s ease-in-out;
    transition: transform 1s ease-in-out;
}

.static-app section.project-list.grid article.project-item a.project-image:hover img {
    -ms-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.static-app article.project-item picture.content-image {
    margin-bottom: 0;
    height: 100%;
}

    .static-app article.project-item picture.content-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.static-app article.project-item div.project-text a.button {
    margin-top: 1rem;
    text-transform: uppercase;
    font-size: var(--font-size-1);
    letter-spacing: 0.05em;
}

.static-app section.project-list.grid article.project-item {
    position: relative;
}

    .static-app section.project-list.grid article.project-item div.project-text {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        text-align: center;
    }

        .static-app section.project-list.grid article.project-item div.project-text h2 {
            margin-bottom: 0;
            color: #fff;
            text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
        }

        .static-app section.project-list.grid article.project-item div.project-text div {
            display: none;
        }

        .static-app section.project-list.grid article.project-item div.project-text a {
            display: none;
        }

.static-app section.project-list article.project-item div.project-text h2 a {
    color: var(--black1);
}

.static-app section.project-list.grid article.project-item div.project-text h2 a {
    display: block;
    color: var(--white1);
}

.static-app section.project-list article.project-item div.project-text h2 a:hover {
    text-decoration: none;
}

@media screen and (min-width: 450px) {
    .static-app section.project-list.grid article.project-item div.project-text h2 {
        font-size: var(--font-size-3);
    }
}

@media screen and (min-width: 550px) {
    .static-app article .project-item div.project-text {
        padding: 2rem;
    }
}

@media screen and (min-width: 800px) {
    .static-app article.project-item.flex > * {
        flex-basis: 50%;
        align-self: center;
    }

    .static-app section.project-list:not(.grid) article.project-item:nth-child(2n) > *:last-child {
        order: 2;
    }

    .static-app section.project-list:not(.grid) article.project-item:nth-child(2n+1) > *:first-child {
        order: 2;
    }

    .static-app section.project-list:not(.grid) article.project-item:nth-child(2n+1) > *:last-child {
        order: 1;
    }

    .static-app section.project-list.grid article.project-item.flex > * {
        flex-basis: 100%;
    }

    .static-app section.project-list.grid article.project-item div.project-text h2 {
        font-size: var(--font-size-4);
    }
}

/* 404 */
.error-page {
    max-width: 38rem;
    margin: 4rem auto;
    padding: 0 1.5rem;
    text-align: center;
}

.error-code {
    font-size: clamp(4rem, 15vw, 8rem);
    font-weight: 300;
    line-height: 1;
    margin: 0;
    letter-spacing: 0.05em;
    opacity: 0.25;
}

.error-page h1 {
    font-size: 1.75rem;
    margin: 0.5rem 0 1rem;
}

.error-lead {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.error-hint {
    font-size: 0.9rem;
    opacity: 0.7;
}