:root {
    --white: #fff;
    --gray: #323132;
    --pb: #738d2a;
    --pb35: #d0d3b0;
    --hh: #9d9fa1;
    --cu: #8d644a;
    --cu10: #f1ece8;
    --social: #3b5998;
}

html {
    font-family: futura-pt, sans-serif;
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

a:hover {
    text-decoration: underline;
}

.header {
    background: var(--white, #fff);
    height: 6em;
    z-index: 10;
    padding: 1.5em 5em;
    position: relative;
}

.header__container {
    max-width: 1550px;
    height: 100%;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
}

.header__logo-img {
    height: 3em;
    margin-bottom: -.5em;
    margin-left: 2em;
}

.menu-control__checkbox {
    display: none;
}

.menu-control__label {
    position: relative;
    width: 30px;
    height: 30px;
    display: inline-block;
    -webkit-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
    margin-top: -0.25rem;
}

.menu-control__label i {
    position: absolute;
    top: 50%;
    width: 2em;
    height: .2em;
    background-color: var(--pb, #738d2a);
    border-radius: 2em;
    -webkit-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

.menu-control__label i:before,.menu-control__label i:after  {
    position: absolute;
    bottom: 8px;
    right: 0;
    width: 100%;
    height: .2em;
    background-color: var(--pb, #738d2a);
    content: "";
    -webkit-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

.menu-control__label i:after {
    bottom: -8px;
}

.header__nav {
    display: none;
    z-index: 99;
}

#hamburger:checked ~ .header__nav {
    display: block;
    background: var(--white, #fff);
    padding: 0.2rem;
    position: relative;
    border-radius: 0.5rem;
}

#hamburger:checked ~ .menu-control__label i {
    background-color: transparent;
}

#hamburger:checked ~ .menu-control__label i:before {
    bottom: 0;
    transform: rotate(45deg);
}

#hamburger:checked ~ .menu-control__label i:after {
    bottom: 0;
    transform: rotate(-45deg);
}

.header__nav .main-nav ul {
    list-style: none;
    padding: 0.25rem;
    margin: 0;
    z-index: 99;
}

.header__nav .main-nav li {
    border-bottom: 1px solid rgba(0,0,0,.15);
    padding: 0.5rem;
    z-index: 99;
}

.header__nav .main-nav li a {
    display: block;
    width: 100%;
}

.header__right-section {
    float: right;
    height: 100%;
    padding: .2em 0;
    white-space: nowrap;
}

.header__right-section--link-image {
    height: 100%;
    width: auto;
    margin-right: .2em;
}

.header__right-section--link{
    font-size: 1.5em;
    text-decoration: none;
    color: var(--gray, #474847);;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.header__right-section--link__second-link {
    margin-left: 1em;
}

.modular-hero {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 10em 5em 5em;
    width: 100%;
    margin-top: -6rem;
    z-index: 0;
    height: 100vh;
}

.modular-hero-header {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 5em 0 2em;
    width: 100%;
    z-index: 0;
    color: var(--white, #fff);
}

.modular-hero-header .container {
    max-width: 1550px;
    margin-left: auto;
    margin-right: auto;
}

.modular-text, .modular-text-center {
    background: var(--pb35, #d0d3b0);
    padding: .25rem 0;
}

.modular-text-center {
    text-align: center;
}

.modular-text-logo .container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4rem;
}

.modular-text-logo .container .text-cols {
    grid-column: span 2 / span 2;
}

.modular-text-logo .container .img-col {
    height: 100%;
    display: inline-flex;
    align-items: center;
}
.modular-text-logo .container .img-col img {
    width: 100%;
}

.modular-project_links {
    padding: 2rem 0;
    background: var(--pb35, #d0d3b0);
}

.last_element {
    padding-bottom: 5rem;
}

.project_links--container {
    width: 100%;
    background: var(--white, #fff);;
}

.project_links--container__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-repeat: no-repeat;
    background-position: center;
}

.project_links--container__image--contain {
    background-size: contain;
}

.project_links--container__image--cover {
    background-size: cover;
}

.project_links--container__context {
    text-align: center;
    padding: 0 .5rem .5rem .5rem;
}

.project_links--container__context p{
    font-size: 1.25rem;
}

.project_links--container__context a {
    text-decoration: none;
    width: 100%;
    display: block;
    padding: .2rem;
    font-size: 2rem;
    font-weight: 400;
    font-style: normal;
    letter-spacing: .1em;
}

.grid-col-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.container {
    max-width: 1550px;
    margin-left: auto;
    margin-right: auto;
}

.modular-hero-header h1,
.modular-text h1 {
    margin: 1rem 0;
    font-size: 5rem;
    font-weight: 300;
    font-style: normal;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.modular-hero-header h2,
.modular-text h2 {
    margin: 1rem 0;
    font-size: 2.25rem;
    font-weight: 500;
    font-style: normal;
}

.modular-text p {
    margin: 1rem 0;
    font-size: 1.75rem;
    font-weight: 400;
    font-style: normal;
}

.modular-hero img {
    max-width: 1550px;
    width: 100%;
}

.footer {
    background: var(--gray, #474847);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-gap: 2em;
    padding: 1em 5em 0;
    color: var(--white, #fff);;
    font-size: 1.5em;
}

.footer__address {
    height: 100%;
    display: inline-flex;
    align-items: center;
}

.footer__cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 4em;
}

.footer__cta__links, .footer__logo, .footer__cta__logos {
    height: 100%;
    display: inline-flex;
    align-items: center;
}

.footer__cta ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__cta__logos img {
    display: inline-block;
    height: 2em;
    margin-right: 1em;
}

.footer__logo-img {
    width: 50%;
}
/*
green accent below footer
*/

.footer::after {
    content: ' ';
    display: block;
    height: .5em;
    margin-left: -5em;
    margin-right: -5em;
    margin-bottom: -1em;
    grid-column: 1 / -1;
    background: var(--pb, #738d2a);
}


@media (max-width: 1550px) {
    .modular-text,
    .modular-hero-header,
    .modular-project_links
    {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    .modular-hero {
        margin-top: inherit;
        padding: 5rem;
        height: inherit;
        aspect-ratio: 16 / 9;
    }
    .modular-hero-header {
        aspect-ratio: inherit;
    }
    .modular-text-logo .container {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 4rem 0;
    }
    .modular-text-logo .container .img-col {
        width: 50%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1280px) {
    html {
        font-size: 12px;
    }
    .modular-hero-header,
    .modular-text,
    .modular-project_links,
    .header
    {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    .project_links--container__context a {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header__right-section {
        display: none;
    }
    .header__container {
        justify-content: center;
    }
    .modular-hero-header h1,
    .modular-text h1 {
        font-size: 3rem;
    }
    .modular-project_links .grid-col-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .modular-project_links .grid-col-3, .footer {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .modular-text,
    .modular-project_links,
    .modular-hero-header,
    .header
    {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}