/* FONTS */

.arvo-regular {
    font-family: "Arvo", serif;
    font-weight: 400;
    font-style: normal;
}

.arvo-bold {
    font-family: "Arvo", serif;
    font-weight: 700;
    font-style: normal;
}

.lato-bold {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
}


/* MAIN STYLES */

body,
html {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: #555;
    scroll-behavior: smooth;
    position: relative;
}

a { hover: cursor; }

p {
    line-height: 1.4em;
}

.page-container {
    margin: 0 auto;
    max-width: 80%;
    padding: 3em 0;
}

.green {
    color: #60AF46;
}

header {
    display: flex;
    align-items: center;
}

header .left {
    width: 70%;
}

header .right {
    width: 30%;
    text-align: right;
}

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

ul.main-menu .home-icon {
    margin-right: 1.5em;
}

ul.main-menu .home-icon a:hover,
ul.main-menu .home-icon a:active {
    color: #60AF46;
}

ul.main-menu .home-icon i {
    font-size: 25px;
}

ul.main-menu li {
    display: inline-block;
    font-size: 20px;
    margin-right: 2em;
}

ul.main-menu li a {
    color: #555;
    text-decoration: none;
}

ul.main-menu li a:before {
    display: block;
    content: '';
    border-top: 2px solid #60AF46;
    position: relative;
    bottom: 5px;
    transform: scaleX(0);
    transition: transform 250ms ease-in-out;
}

ul.main-menu li a:hover:before,
ul.main-menu li a:active:before {
    transform: scaleX(1);
}

.icon-menu {
    display: inline-flex;
}

.icon-menu .icon {
    margin-left: 1.5em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.icon-menu .icon .tooltip {
    position: absolute;
    top: 0px;
    background: #60AF46;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 25px;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.icon-menu .icon:hover .tooltip {
    opacity: 1;
    pointer-events: auto;
    top: -40px;
}

.icon-menu .icon a {
    color: #555555;
    position: relative;
    z-index: 2;
    height: 40px;
    width: 40px;
    display: block;
    text-align: center;
    transition: color 0.25s ease;
}

.icon-menu .icon:hover a,
.icon-menu .icon:active a {
    color: #60AF46;
}

.icon-menu .icon a i {
    font-size: 25px;
    line-height: 40px;
}

.icon-menu .icon .tooltip:before {
    background: #60AF46;
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
}

.banner {
    padding: 10% 0;
}

h1 {
    font-family: "Arvo", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 3.4vw;
    margin-bottom: 0.5em;
}

h2 {
    font-family: "Arvo", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2.4vw;
    margin-bottom: 1em;
}

h3 {
    font-size: 1.8vw;
}

h4 {
    font-family: "Arvo", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    margin: 0 0 1em;
}

h5 {
    font-family: "Arvo", serif;
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 1em;
}

.scroll-down {
    margin: 20% 0 5%;
}

.icon-scrolldown {
    display: block;
    height: 60px;
    width: 60px;
    margin: 0 auto;
}

.section-projects {
    padding-top: 40px;
}

.case-study-banner {
    background: #60AF46;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1;
    justify-content: space-between;
    margin-bottom: 5%;
    padding: 1% 8%;
}

.case-study-banner.old-sites {
    padding: 4% 8%;
}

.case-study-banner>div {
    flex: 1 1 0px;
}

.case-study-banner p {
    margin: 0 0 2.5em;
}

.read-more-btn {
    background: none;
    border: 1px solid #fff;
    color: #fff;
    display: block;
    font-size: 15px;
    line-height: 1em;
    max-width: 88px;
    padding: 20px 30px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.45s;
}

.read-more-btn.old-site-links {
    float: left;
    margin-right: 50px;
}

.read-more-btn:hover,
.read-more-btn:active {
    background: #fff;
    color: #60AF46;
    box-shadow: inset 0 0 0 2em #fff;
}

.case-study-banner img {
    max-height: 350px;
    height: auto;
    max-width: 100%;
    width: auto;
    margin: auto;
}

.case-study ul li {
    line-height: 1.3em;
    margin: 0.75em 0;
}

.section-border {
    border: 2px solid #60AF46;
    padding: 1.5em 2em 1em;
}

.results-list div {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.results-list i {
    color: #60AF46;
    font-size: 22px;
    margin-right: 6px;
}

.section-about {
    display: flex;
    padding: 4% 8%;
}

.about-pic {
    background: url(img/about-pic.png) 0 0 no-repeat;
    background-size: contain;
    height: 100%;
    width: 35%;
    min-height: 220px;
    min-width: 220px;
}

.about-pic:after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.section-about .text-wrapper {
    padding: 8px 6% 0 8%;
}

footer {
    padding: 5% 0;
    text-align: center;
}


/* SCROLLDOWN BUTTON */

.button {
    color: #60AF46;
    rotate: 90deg;
    text-decoration: none;
    transition: all 100ms ease-in-out;
}

.button-arrow .arrow-icon {
    overflow: visible;
    width: 40px;
}

.arrow-head {
    transform: translateX(0);
    transition: transform 100ms ease-in-out;
}

.arrow-body {
    opacity: 0;
    transform: scaleX(1);
    transition: transform 100ms ease-in-out, opacity 100ms ease-in-out;
}

.button-arrow:hover .arrow-head,
.button-arrow:active .arrow-head {
    transform: translateX(3px);
}

.button-arrow:hover .arrow-body,
.button-arrow:active .arrow-body {
    opacity: 1;
    transform: scaleX(2);
}


/* TO TOP BUTTON */

.to-top-btn {
    cursor: pointer;
    display: none;
    position: fixed;
    bottom: 50px;
    right: 50px;
}

.to-top-btn.button {
    rotate: 270deg;
}

.to-top-btn.button-arrow .arrow-icon {
    width: 20px;
}


/* CASE STUDIES */

.cs-navigation {
    display: flex;
    margin: 4vw 5px 1.5vw;
    justify-content: space-between;
}

.cs-navigation a {
    color: #555;
    text-decoration: none;
    transition: all 100ms ease-in-out;
}

.cs-navigation a:hover,
.cs-navigation a:active {
    color: #60AF46;
}

.back-btn a svg {
    rotate: 180deg;
    position: relative;
    top: 2px;
    margin-right: 5px;
}

.next-btn a svg {
    position: relative;
    top: 2px;
    margin-left: 5px;
}

.cs-navigation a .arrow-icon {
    overflow: visible;
    width: 10px;
}

.cs-navigation a:hover .arrow-head,
.cs-navigation a:active .arrow-head {
    transform: translateX(3px);
}

.cs-navigation a:hover .arrow-body,
.cs-navigation a:active .arrow-body {
    opacity: 1;
    transform: scaleX(2);
}

.case-study {
    padding-bottom: 3em;
}

.case-study .case-study-banner {
    padding: 2vw 5vw;
}

.case-study-banner .text-wrapper>div {
    line-height: 2em;
}

.section-wrapper {
    padding: 0 8%;
}

.cs-page-break {
    height: 4.5vw;
}

.flex-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.flex-container .align-left,
.flex-container .align-right {
    flex: 1 1 0px;
}

.flex-container .align-left-40 {
    flex: 1 1 auto;
}

.flex-container .align-right-60 {
    flex: 2 1 auto;
}

.img.btns {
    display: flex;
    justify-content: center;
}

.img-container,
.img-container img,
.flex-container img {
    height: auto;
    max-width: 100%;
    width: auto;
}

.flex-container p {
    margin: 1em 2em;
}

.flex-container .no-m {
    margin: 0;
}

.left-m {
    margin-left: 10%;
}

.narrow-col {
    max-width: 70%;
    margin: 0 auto;
}

.par-mb {
    margin-bottom: 2em;
}

.pad-top {
    padding-top: 2em;
}

figure {
    position: relative;
}

figcaption {
    font-size: 13px;
    line-height: 1.5em;
}

@media all and (max-width: 1200px) {
    .page-container {
        max-width: 90%;
    }
    ul.main-menu .home-icon i {
        font-size: 20px;
    }
    ul.main-menu li {
        display: inline-block;
        font-size: 16px;
        margin-right: 1.5em;
    }
    h1 {
        font-size: 5vw;
    }
    h2 {
        font-size: 3.4vw;
    }
    h3 {
        font-size: 2.2vw;
    }
    h4 {
        font-size: 20px;
    }
    .case-study-banner {
        padding: 4vw !important;
    }
    .narrow-col {
        max-width: 80%;
    }
    .to-top-btn {
        bottom: 2%;
        right: 2%;
    }
}

@media all and (max-width: 1050px) {
    .cs-navigation {
        margin: 8vw 5px 3vw;
    }
    .case-study .case-study-banner .img {
        display: none;
    }
    .case-study .case-study-banner .text {
        margin: 0;
        width: 100%;
    }
    .narrow-col {
        max-width: 100%;
    }
}

@media all and (max-width: 767px) {
    header .icon-menu {
        display: none;
    }
    .case-study-banner {
        display: flex;
        flex-direction: column;
        padding: 6%;
        text-align: center;
    }
    .case-study .case-study-banner {
        text-align: left;
    }
    .case-study-banner>div {
        display: block;
        width: 100% !important;
    }
    .case-study-banner .img {
        order: 1;
    }
    .case-study-banner .text {
        order: 2;
        margin: 1.5em 0;
    }
    .read-more-btn {
        margin: 0 auto;
    }
    .section-about {
        flex-direction: column;
    }
    .about-pic {
        background-size: 200px;
        margin: 0 auto 1.5em;
        min-height: 200px;
        min-width: 200px;
        height: 200px;
        width: 200px;
    }
    .section-about .text-wrapper {
        padding: 0;
        text-align: center;
    }
    .flex-container {
        flex-direction: column;
    }
    .flex-container p {
        margin: 1em 0;
    }
    .to-top-btn {
        border: 1px solid white;
    }
}