/* Fonts */

@font-face {
    font-family: "maison-neue-bold";
    src:
        url('/fonts/woff2/maison-neue-bold.woff2') format('woff2'),
        url('/fonts/woff/maison-neue-bold.woff') format('woff');
}

@font-face {
    font-family: "maison-neue-book";
    src:
        url('/fonts/woff2/maison-neue-book.woff2') format('woff2'),
        url('/fonts/woff/maison-neue-book.woff') format('woff');
}

@font-face {
    font-family: "maison-neue-extended-bold";
    src:
        url('/fonts/woff2/maison-neue-extended-bold.woff2') format('woff2'),
        url('/fonts/woff/maison-neue-extended-bold.woff') format('woff');
}

@font-face {
    font-family: "maison-neue-extended-medium";
    src:
        url('/fonts/woff2/maison-neue-extended-medium.woff2') format('woff2'),
        url('/fonts/woff/maison-neue-extended-medium.woff') format('woff');
}

@font-face {
    font-family: "maison-neue-medium";
    src:
        url('/fonts/woff2/maison-neue-medium.woff2') format('woff2'),
        url('/fonts/woff/maison-neue-medium.woff') format('woff');
}

@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap');

/* Root */

:root {
    --beige: #FBF7F0;
    --red: #E10605;
    --green: #418969;
    --black: #1B1917;
    --blue: #1E2A4F;
    --melon: #FFB798;
    --roboto-mono: 'Roboto Mono', monospace;
    --ease: cubic-bezier(.4, 0, 0, 1);
}

body {
    background-color: var(--beige);
    margin: auto;
    margin: 0;
    padding: 0;
}

section {
    display: flex;
    align-items: center;
}

.img-fluid {
    width: 100%;
    height: auto;
}

section {
    padding: 0 40px;
}

.container {
    max-width: 1400px;
    width: 100%;
    margin: auto;
}

.container-fluid {
    width: 100%;
}

.min-height {
    min-height: calc(100vh - 78px);
}

.row {
    display: flex;
}

.gap {
    gap: 140px;
}

.col {
    flex-basis: 0;
    flex-grow: 1;
}

.col.flex-grow-2 {
    flex-grow: 2;
}

.col.flex-grow-3 {
    flex-grow: 3;
}

.divider {
    height: 1px;
    width: 100%;
    background-color: var(--black);
    display: block;
    content: '';
}

.align-center {
    align-items: center;
}

.container-padding {
    padding-top: 160px;
    padding-bottom: 160px;
}

/* Typography */

h1 {
    font-family: maison-neue-extended-bold;
    font-size: 5rem;
}

h2 {
    font-family: maison-neue-extended-medium;
    font-size: 3.75rem;
    margin-top: 0;
}

h3 {
    font-family: maison-neue-book;
    font-size: 1.875rem;
}

h4 {
    font-family: maison-neue-bold;
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
    font-family: var(--roboto-mono);
    font-weight: 300;
}

p, li {
    font-size: 1.125rem;
    line-height: 170%;
}

li {
    margin-bottom: 1rem;
}

p, a, ul, li, span {
    font-family: maison-neue-book;
}

/* Buttons */

.btn {
    width: fit-content;
    padding: 20px 40px 20px 40px;
    border-radius: 50px;
    margin-top: 4rem;
    display: flex;
    gap: 10px;
    border: 2px solid var(--black);
    transition: all .5s var(--ease);
    -webkit-transition: all .5s var(--ease);
    -moz-transition: all .5s var(--ease);
    -o-transition: all .5s var(--ease);
    -ms-transition: all .5s var(--ease);
}

.btn span {
    color: var(--black);
    font-size: 1.125rem;
    transition: all .5s var(--ease);
    -webkit-transition: all .5s var(--ease);
    -moz-transition: all .5s var(--ease);
    -o-transition: all .5s var(--ease);
    -ms-transition: all .5s var(--ease);
}

.btn:hover {
    background-color: var(--black);
}

.btn img {
    transition: all .5s var(--ease);
    -webkit-transition: all .5s var(--ease);
    -moz-transition: all .5s var(--ease);
    -o-transition: all .5s var(--ease);
    -ms-transition: all .5s var(--ease);
}

.btn:hover span {
    color: white;
}

.btn:hover img {
    filter: invert();
}



a {
    text-decoration: none;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--black);
    cursor: pointer;
    width: fit-content;
}

.contact-btn span {
    position: relative;
    overflow: hidden;
    font-size: 1.125rem;
}

.contact-btn>span::before {
    content: '';
    position: absolute;
    background-color: var(--black);
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: transform .6s var(--ease);
    -webkit-transition: transform .6s var(--ease);
    -moz-transition: transform .6s var(--ease);
    -o-transition: transform .6s var(--ease);
    -ms-transition: transform .6s var(--ease);
    transform: scaleX(1);
    transform-origin: right center;
    transition-delay: .1s;
}

.contact-btn>span::after {
    content: '';
    position: absolute;
    background-color: var(--black);
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: transform .6s var(--ease);
    -webkit-transition: transform .6s var(--ease);
    -moz-transition: transform .6s var(--ease);
    -o-transition: transform .6s var(--ease);
    -ms-transition: transform .6s var(--ease);
    transform: scaleX(0);
    transform-origin: left center;
    transition-delay: 0s;
}

.contact-btn:hover span::before {
    transform: scaleX(0);
    transform-origin: right center;
    transition-delay: 0s;
}

.contact-btn:hover span::after {
    transform: scaleX(1);
    transform-origin: left center;
    transition-delay: .1s;
}

.contact-btn-l img {
    width: 60px;
    height: 60px;
}

.contact-btn-l span {
    font-size: 2.5rem;
    font-family: maison-neue-bold;
}

.nav-container .contact-btn {
    margin-top: 2rem;
}


/* Header */

header {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    background-color: var(--beige);
    z-index: 1;
}

.header-wrapper {
    padding: 0 140px 0 40px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: margin-top .5s var(--ease);
    -webkit-transition: margin-top .5s var(--ease);
    -moz-transition: margin-top .5s var(--ease);
    -o-transition: margin-top .5s var(--ease);
    -ms-transition: margin-top .5s var(--ease);
    transition-delay: .2s;
    -webkit-transition-delay: .2s;
    -moz-transition-delay: .2s;
    -o-transition-delay: .2s;
}

.scrolling-down .header-wrapper {
    margin-top: -78px;
}

.logo-top {
    width: 160px;
    opacity: 1;
    transition: 1s all ease-in-out;
    -webkit-transition: 1s all ease-in-out;
    -moz-transition: 1s all ease-in-out;
    -o-transition: 1s all ease-in-out;
    -ms-transition: 1s all ease-in-out;
}

#nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

#nav-toggler {
    width: 66px;
    height: 66px;
    content: '';
    display: block;
    background-color: var(--red);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    position: fixed;
    top: 6px;
    right: 40px;
}

.hamburger {
    width: 24px;
    position: relative;
}

.line {
    height: 2px;
    background-color: white;
    display: block;
    content: '';
    width: 24px;
    position: absolute;
    top: -6px;
    transform: rotate(0deg);
    transition: transform ease-in-out .3s;
    -webkit-transition: transform ease-in-out .3s;
    -moz-transition: transform ease-in-out .3s;
    -o-transition: transform ease-in-out .3s;
    -ms-transition: transform ease-in-out .3s;
    transition: top ease-in-out .3s;
    -webkit-transition: top ease-in-out .3s;
    -moz-transition: top ease-in-out .3s;
    -o-transition: top ease-in-out .3s;
    -ms-transition: top ease-in-out .3s;
}

.hamburger .line:nth-child(1) {
    top: 6px;
}

.expanded #nav-toggler .line {
    transform: rotate(45deg);
    top: 0;
    transition: top ease-in-out .3s;
    -webkit-transition: top ease-in-out .3s;
    -moz-transition: top ease-in-out .3s;
    -o-transition: top ease-in-out .3s;
    -ms-transition: top ease-in-out .3s;
    transition: transform ease-in-out .3s;
    -webkit-transition: transform ease-in-out .3s;
    -moz-transition: transform ease-in-out .3s;
    -o-transition: transform ease-in-out .3s;
    -ms-transition: transform ease-in-out .3s;
}

.expanded #nav-toggler .line:nth-child(1) {
    transform: rotate(-45deg);
    top: 0;
}

.expanded .nav-drawer {
    transform: translateX(0%);
    transition: ease .2s;
    -webkit-transition: ease .2s;
    -moz-transition: ease .2s;
    -o-transition: ease .2s;
    -ms-transition: ease .2s;
}

.nav-drawer {
    transform: translateX(100%);
    padding: 100px 60px 100px 60px;
    width: min(500px, 50%);
    background-color: white;
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    z-index: 1;
}

.nav-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    transform: translateX(50%);
    transition: transform ease .5s;
    -webkit-transition: transform ease .5s;
    -moz-transition: transform ease .5s;
    -o-transition: transform ease .5s;
    -ms-transition: transform ease .5s;
}

.expanded .nav-container {
    transform: translateX(0);
}

.nav-drawer .nav-link {
    font-size: 1.5rem;
    color: var(--black);
    text-decoration: none;
}


/* Banner */

#banner {
    display: flex;
    align-items: center;
    height: calc(70vh - 77px);
    position: relative;
    max-width: 1400px;
    margin: auto;
    margin-top: 77px;
}

#banner h1 {
    text-align: center;
}

#red-arrow {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
}

#red-arrow a {
    animation: jumping 1s alternate infinite ease-in-out;
}

@keyframes jumping {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(15px);
    }
}

/* Second Section */

#second-section {
    background-color: var(--green);
    margin-top: -5px;
}

/* Wave */

.wave-container {
    position: relative;
    overflow-x: hidden;
}

@media screen and (max-width: 768px) {
    .wave-container img {
        width: 200%;
        margin-left: -3px;
    }
}

/* About Us */
#about-us {
    background-image: url(/assets/logo-pattern.svg);
    display: flex;
    align-items: center;
    background-size: 100%;
}

.about-us-wrapper {
    max-width: 800px;
}

/* Our Focus */

#our-focus {
    background-color: var(--blue);
    color: white;
}

.focus-areas {
    margin-top: 50px;
}

.focus-areas h5 {
    margin: 16px 0;
    display: flex;
    gap: 20px;
}

.focus-areas h5::before {
    display: block;
    width: 24px;
    height: 24px;
    content: url(/assets/arrow-right-white.svg);
}

.focus-areas .divider {
    background-color: white;
}

/* Investment Strategy */

.strategy-step {
    display: flex;
    gap: 20px;
}

.investment-strategy-container>.row {
    margin: 1rem 0;
}

/* Innovation */

#innovation {
    background-color: var(--melon);
}

#innovation h2 {
    min-height: 100%;
    display: flex;
    align-items: center;
}

/* Team */

#team {
    background-color: var(--blue);
    overflow: hidden;
}

#team h2 {
    color: white;
}

.carousel-cell {
    width: 36%;
    height: 900px;
    margin-right: 5rem;
}

#team .flickity-viewport {
    overflow: unset !important;
}

.team-instance h4 {
    margin-top: 2rem;
    margin-bottom: 0;
    font-size: 1.4rem;
}

#team .flickity-prev-next-button {
    top: -80px;
}

#team .flickity-prev-next-button.previous {
    right: 70px;
    left: unset;
}


.team-instance, .team-instance a {
    color: white;
}

.team-instance p {
    font-size: 1rem;
    margin-top: .5rem;
    opacity: .7;
}

.linkedin-btn.contact-btn {
    margin-top: 2rem;
}

.linkedin-btn.contact-btn span {
    color: white;
}

.linkedin-btn.contact-btn span::before, .linkedin-btn.contact-btn span::after {
    background-color: white;
}

/* Portfolio */

.portfolio-wrapper {
    display: flex;
    flex-flow: row wrap;
    border: 1px solid var(--black);
}

.portfolio-item {
    flex-basis: 25%;
    position: relative;
    border: 1px solid var(--black);
    box-sizing: border-box;
}

/* Logo Loop */

#logo-loop {
    padding: 150px 0 250px 0;
}

/* Marquee styles */

.marquee {
    --gap: 1rem;
    position: relative;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);
}

.marquee__content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    gap: var(--gap);
    min-width: 100%;
}

.marquee__content li {
    width: 90vw;
    margin: 0 5vw;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - var(--gap)));
    }
}

/* Pause animation when reduced-motion is set */
@media (prefers-reduced-motion: reduce) {
    .marquee__content {
        animation-play-state: paused !important;
    }
}

/* Enable animation */
.enable-animation .marquee__content {
    animation: scroll 30s linear infinite;
}

/* Attempt to size parent based on content. Keep in mind that the parent width is equal to both content containers that stretch to fill the parent. */
.marquee--fit-content {
    max-width: fit-content;
}

/* A fit-content sizing fix: Absolute position the duplicate container. This will set the size of the parent wrapper to a single child container. Shout out to Olavi's article that had this solution 👏 @link: https://olavihaapala.fi/2021/02/23/modern-marquee.html  */
.marquee--pos-absolute .marquee__content:last-child {
    position: absolute;
    top: 0;
    left: 0;
}

/* Enable position absolute animation on the duplicate content (last-child) */
.enable-animation .marquee--pos-absolute .marquee__content:last-child {
    animation-name: scroll-abs;
}

@keyframes scroll-abs {
    from {
        transform: translateX(calc(100% + var(--gap)));
    }

    to {
        transform: translateX(0);
    }
}

/* Other page demo styles */
.marquee__content>* {
    flex: 0 0 auto;
    color: white;
    margin: 2px;
    text-align: center;
}

* {
    box-sizing: border-box;
}

section#logo-loop {
    margin-block: 3rem;
}

section#logo-loop>*+* {
    margin-block-start: 0.5rem;
}


/* Logo Wall*/

#logo-wall {
    background-color: var(--green);
    padding: 50px 0 150px 0;
    margin-top: -10px;
}

#logo-wall li {
    width: 300px;
    list-style: none;
    margin: 0 1vw;
}

#logo-wall.enable-animation .marquee__content {
    animation: scroll 150s linear infinite;
}


/* Footer */

footer {
    background-color: var(--black);
}

footer .container {
    margin-top: -6px;
}

footer .contact-btn span {
    color: white;
    font-family: maison-neue-medium;
}

footer .contact-btn span::before, footer .contact-btn span::after {
    background-color: white;
}

footer .contact-btn img {
    filter: invert();
}

.flip-text {
    transition: transform .5s var(--ease);
    -webkit-transition: transform .5s var(--ease);
    -moz-transition: transform .5s var(--ease);
    -o-transition: transform .5s var(--ease);
    -ms-transition: transform .5s var(--ease);
    display: inline-block;
    color: white;
}

.flip-text-hover {
    position: absolute;
    left: 0;
    top: 0;
    transform: translateY(125%);
    transition: transform .5s var(--ease);
    -webkit-transition: transform .5s var(--ease);
    -moz-transition: transform .5s var(--ease);
    -o-transition: transform .5s var(--ease);
    -ms-transition: transform .5s var(--ease);
    color: white;
}

.flip-container {
    overflow: hidden;
    display: block;
    position: relative;
    cursor: pointer;
}

.flip-container:hover .flip-text {
    transform: translateY(-125%);
}

.flip-container:hover .flip-text-hover {
    transform: translateY(0%);
}

.footer-navigation .divider {
    background-color: white;
}

.footer-navigation span {
    padding: 12px 0;
}

.copyright {
    color: white;
    margin-top: 6rem;
    display: block;
    text-align: right;
    font-family: var(--roboto-mono);
    text-transform: uppercase;
    font-size: .9rem;
}

footer .row {
    padding: 0 40px;
}

/* Modal */

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: var(--beige);
    margin: 5% auto;
    /* 15% from the top and centered */
    padding: 50px 30px;
    border: 1px solid #888;
    position: relative;
    width: 80%;
    max-width: 800px;
    /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 40px;
    line-height: 0;
    top: 30px;
    right: 30px;
    position: absolute;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

input, textarea, input:active, textarea:active {
    min-height: 50px;
    font-size: 1.1rem;
    font-family: maison-neue-book;
    margin-top: 20px;
    font-weight: normal;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding-left: 10px;
}

.form-group {
    width: 100%;
}

textarea {
    padding-top: 10px;
}

#submit {
    margin-top: 30px;
    box-sizing: border-box;
    padding: 0;
    background-color: var(--beige);
    color: var(--black);
    border: 2px solid var(--black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all .5s var(--ease);
    -webkit-transition: all .5s var(--ease);
    -moz-transition: all .5s var(--ease);
    -o-transition: all .5s var(--ease);
    -ms-transition: all .5s var(--ease);
    padding: 20px 40px;
    min-width: 180px;
}

#submit:hover {
    background-color: var(--black);
    color: var(--beige);
    gap: 20px;
}

#submit img {
    transition: all .5s var(--ease);
}

#submit:hover img {
    filter: invert(100%);
}

#submit span {
    font-size: 1.125rem;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form h2 {
    margin: 0;
    font-size: 3rem;
}

/* Responsive States */

@media screen and (max-width: 1442px) {}

@media screen and (max-width: 1280px) {
    h1 {
        font-size: 4.5rem;
    }

    #logo-wall {
        padding: 50px 0 100px;
    }

    .carousel-cell {
        height: 570px;
        width: 25%;
    }

    #logo-loop {
        padding: 50px 0 100px 0;
    }
}

@media screen and (max-width: 1024px) {
    h1 {
        font-size: 4rem;
    }

    #logo-wall li {
        width: 250px;
    }

    h2 {
        font-size: 3rem;
    }

    h3 {
        font-size: 1.5rem;
    }

}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    #logo-loop {
        padding: 0px 0 100px 0;
    }

    #logo-wall li {
        width: 200px;
    }

    p {
        font-size: 1rem;
    }

    .row {
        flex-direction: column-reverse;
    }

    .investment-strategy-container .row {
        flex-direction: column;
    }

    .carousel-cell {
        height: 620px;
        width: 65%;
    }

    #header-contact {
        display: none;
    }

    .nav-drawer {
        padding: 100px 30px 100px 30px;
        width: 300px;
    }

    #nav-toggler {
        right: 30px;
    }

    .portfolio-item {
        flex-basis: 50%;
    }

    .marquee__content li {
        width: 150vw;
    }

    footer .row {
        flex-direction: column;
        gap: 100px;
    }

    h5 {
        font-size: 1rem;
    }

    .nav-drawer .contact-btn-l {
        margin-top: 1rem;
    }

    .nav-drawer .nav-link {
        font-size: 1.25rem;
    }

    .contact-btn-l span {
        font-size: 1.75rem;
    }

    .contact-btn-l img {
        width: 36px;
    }

    .copyright {
        text-align: left;
    }

    #team .flickity-prev-next-button {
        top: -64px;
    }

    #logo-black {
        margin-bottom: 2rem;
    }

    .modal-content {
        width: 90%;
        padding: 40px 20px;
    }

    .modal-content h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    #logo-wall {
        padding: 20px 0 50px 0;
    }

    #logo-wall li {
        width: 150px;
    }

    h2 {
        font-size: 2rem;
    }

    .container-padding {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .gap {
        gap: 50px;
    }

    .carousel-cell {
        width: 75%;
        margin-right: 3rem;
        height: 600px;
    }

    .team-instance h4 {
        font-size: 1.25rem;
    }

    .portfolio-item {
        flex-basis: 100%;
    }

    .marquee__content li {
        width: 200vw;
    }

    .header-wrapper {
        padding: 0 20px;
    }

    #team h2 {
        margin-bottom: 40px;
    }
}