/* #region Fonts */
@font-face {
    font-family: 'Trueno';
    src: url('fonts/TruenoRg.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Trueno';
    src: url('fonts/TruenoBd.woff2') format('woff2'); 
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* #endregion */

/* #region Globals */

* {
    font-family: 'Red Hat Text', sans-serif;
}

h2 {
    font-size: 4rem;
    color: #111;
    font-family: 'Trueno';
}

h3 {
    font-size: 2rem;
    font-weight: 400;
    font-family: 'Trueno';
}

.z6 {
    z-index: 6;
}

body {
    background-image: url('images/bg_footer.jpg');
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
}   

@media only screen and (max-width: 1200px) {
    h2 {
        font-size: 3.5rem;
    }
    h3 {
        font-size: 1.75rem;
    }
}

@media only screen and (max-width: 1000px) {
    h2 {
        font-size: 3rem;
    }
    h3 {
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 700px) {
    h2 {
        font-size: 2.5rem;
    }
}

/* #endregion */

/* #region Subheader */
.subheader .contacts {
    background-color: #0a4680;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    transition: all 0.3s ease;
}

.subheader .contacts a {
    color: white;
    padding: 0.5rem 1rem;
}

.subheader .contacts a span {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.subheader .contacts:hover {
    background-color: #083866; /* Darkened from #0a4680 by 25% */
}

@media only screen and (max-width:1100px) {
    .subheader .boxbox {
        justify-content: flex-start;
    }
}

@media only screen and (max-width:700px) {
    .subheader .contacts a {
        font-size:0.8rem;
    }

    .subheader .contacts a span {
        font-size:1rem;
    }
}

@media only screen and (max-width:400px) {
    .subheader .contacts {
        flex-direction:column-reverse;
        width:100%;
        padding-top:0.5rem;
    }
}

/* #endregion */

/* #region Header */
.header {
    margin-top: 4rem;
    position: fixed;
    width: 100%;
    z-index: 9;
    transition: all 0.5s ease;
}

.header.scrolled {
    margin-top: 0;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}

.header .logo {
    height: 80px;
}

.header .mainnav a {
    font-size: 1.25rem;
    color: #111;
    font-weight: bold;
    transition: all 0.2s;
    position: relative;
    padding: 1rem 0;
}

.header .mainnav a:hover {
    color: #0a4680;
}

.header .mainnav a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #0a4680;
    transition: all 0.3s ease;
}

.header .mainnav a:hover:before {
    width: 100%;
}

@media only screen and (max-width:1100px) {
    .header .boxbox {
        flex-direction: column;
        align-items: flex-start;
    }

    .header .mainnav {
        display:none;
    }
}

@media only screen and (max-width:800px) {
    .header .mainnav {
        display:none;
    }
}

@media only screen and (max-width:700px) {
    .header {
        margin-top:4rem;
    }

    .header .logo {
        height:60px;
    }
}

@media only screen and (max-width:400px) {
    .header {
        margin-top:6rem;
    }
}

/* #endregion */

/* #region Hero Section */
.home .hero {
    min-height: 95vh;
    overflow: hidden;
    background-color: #0a4680;
}

.home .hero .bg1 {
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('images/bg_partnerships.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.home .hero .bg2 {
    position: absolute;
    top: 0;
    left: 100%;
    background-image: url('images/bg_invest.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.home .hero .bg3 {
    position: absolute;
    top: 0;
    left: 200%;
    background-image: url('images/bg_strategy.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.home .hero .parallaxbg {
    transition: left 0.5s ease;
}

.home .hero .herounder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-bottom-right-radius: 50% 100%;
    overflow: hidden;
}

.home .hero .undertitle {
    -webkit-text-stroke: 3px rgba(10, 70, 128, 0.1);
    color: transparent;
    font-size: 35rem;
    position: absolute;
    bottom: -7rem;
    left: -2rem;
    width: 100%;
    font-weight: bold;
    pointer-events: none;
    font-family: 'Trueno';
}

.home .hero .title {
    font-size: 5rem;
    line-height: 1;
    font-weight: bold;
    color: #111;
    font-family: 'Trueno';
}

.home .hero .title span {
    transition: all 0.5s ease;
    position: relative;
    font-family: 'Trueno';
}

.home .hero .title span.active {
    color: #0a4680;
}

.home .hero .title span:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 5px;
    background-color: #0a4680;
    transition: all 0.3s ease;
}

.home .hero .title span.active:before {
    width: 100%;
}

.home .hero .descriptor {
    color: #0a4680;
    font-family: 'Trueno';
}

.home .hero .descriptor {
    font-size: 3rem;
    margin-top: 3rem;
}

.home .hero .maintext {
    padding-top:9rem;
    padding-bottom: 9rem;
}

@media (max-width: 1300px) {
    .home .hero {
        min-height: 100vh;
    }

    .home .hero .herounder {
        border-bottom-right-radius: 0;
    }
}

@media only screen and (max-width:1200px) {
    .home .hero .title {
        font-size: 4rem;
    }

    .home .hero .descriptor {
        font-size: 2.5rem;
    }
}

@media only screen and (max-width:1000px) {
    .home .hero .title {
        font-size: 3rem;
    }
    
    .home .hero .descriptor {
        font-size: 2rem;
    }

    .home .hero .undertitle {
        font-size: 25rem;
        bottom: -4rem;
        left: -1.5rem;
    }
}

@media only screen and (max-width:700px) {
    .home .hero .title {
        font-size: 2rem;
    }
    
    .home .hero .descriptor {
        font-size: 1.5rem;
    }

    .home .hero .title span:before {
        height: 2px;
    }

    .home .hero .undertitle {
        font-size: 15rem;
        bottom: -2rem;
        left: -1rem;
    }
}

/* #endregion */

/* #region Partners Section */
.home .partners {
    background-color: rgba(233, 233, 233, 0.5);
}

.home .partners .companylinks a {
    display: block;
    border-radius: 0.5rem;
    border: 2px solid #ccc;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    max-width: 20rem;
    cursor: default;
    color: #ccc;
}

.home .partners .companylinks a.active {
    background-color: #fff;
    border-color: #fff;
    color: #111;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.home .partners .companylinks a span {
    font-size: 1.5rem;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(75%);
}

.home .partners .newsbox {
    background-color: #fff;
    border-color: #fff;
    color: #111;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.home .partners .newsbox .logobox {
    margin-bottom: 1rem;
}

.home .partners .newsbox .logobox h3 {
    padding: 1rem 0;
}

.home .partners .newsbox .logo {
    width: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center left;
}

.home .partners .newsbox:hover .newslink {
    opacity: 0.5;
}

.home .partners .newsbox .newslink {
    color: #111;
}

.home .partners .newsbox .newslink:hover {
    color: #0a4680;
    opacity: 1;
}

.home .partners .newsbox .newslink:not(:last-child) {
    border-bottom: 1px solid #ccc;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.home .partners .newsbox .newslink span {
    display: block;
}

.home .partners .pastpartners h2 {
    text-align: center;
}

.home .partners .pastpartners .fifthgap2 img {
    width: 100%;
}

.home .partners .pastpartners .company {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding:1rem;
    background-color:#fff;
    border-radius:1rem;
}

@media (max-width: 1200px) {
    .home .partners .partnerflex {
        flex-direction: column;
    }

    .home .partners .flex .halfgap2 {
        width: 100%;
        max-width: 60rem;
        margin-left: auto;
        margin-right: auto;
    }

    .home .partners .companylinks {
        display: flex;
        column-gap: 2rem;
        row-gap: 2rem;
    }

    .home .partners .companylinks a {
        width: calc((100% - (2rem * 2)) / 3);
    }

    .home .partners .companylinks a span {
        transform: translate(-50%, -50%) rotate(90deg);
    }
}

@media (max-width:1000px) {
    .home .partners .pastpartners .fifthgap2 {
        width: calc((100% - (4rem * 2)) / 3);
    }
}

@media (max-width:800px) {
    .home .partners .pastpartners .fifthgap2 {
        width: calc((100% - (4rem)) / 2);
    }

    .home .partners .companylinks {
        display: block;
    }

    .home .partners .companylinks a {
        width: 100%;
        max-width: unset;
    }
}

@media (max-width:500px) {
    .home .partners .pastpartners .fifthgap2 {
        width: 100%;
        max-width: 15rem;
        margin-left: auto;
        margin-right: auto;
    }
}

/* #endregion */

/* #region Whatwedo Section */
.home .whatwedo {
    background-color: #0a4680;
    background-image: url('images/bg_whatwedo.jpg');
    background-size: cover;
    background-position: top center;
    color: #fff;
}

.home .whatwedo p {
    font-size: 1.25rem;
}

.home .whatwedo h2 {
    color: #fff;
}

.home .whatwedo .item {
    border-radius: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 1);
    text-align: center;
    font-size: 1.25rem;
    font-weight:bold;
}

.home .whatwedo h3 {
    max-width: 1100px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1200px) {
    .home .whatwedo .item {
        width: calc((100% - (2rem * 1)) / 2);
    }
}

@media (max-width: 1000px) {
    .home .whatwedo .titleflex {
        flex-direction: column;
    }
}

@media (max-width: 800px) {
    .home .whatwedo .item {
        width: 100%;
    }
}

@media only screen and (max-width:700px) {
    .home .whatwedo .item, .home .whatwedo p {
        font-size:1rem;
    }
}


/* #endregion */

/* #region Aboutus Section */
.home .aboutus .paul {
    background-image: url('images/paul_wood.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}

.contactbutton {
    border-radius: 0.5rem;
    border: 2px solid #ccc;
    padding: 0.5rem 1rem;
    color: #111;
    font-weight: bold;
}

.contactbutton:hover {
    background-color: #fff;
    border-color: #fff;
    color: #0a4680;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

@media (max-width: 1200px) {
    .home .aboutus .flex {
        flex-direction: column;
    }

    .home .aboutus .flex .half {
        width: 100%;
        max-width: 60rem;
        margin-left: auto;
        margin-right: auto;
    }
        
    .home .aboutus .halfgap2 {
        width:100%;
        max-width:800px;
    }
}

/* #endregion */

.undertitle .boxbox,
.descriptor {
    transition: all 0.5s ease;
}

.undertitle .boxbox.titlehide {
    opacity: 0;
    transform: translateX(3rem);
}

.descriptor.deschide {
    opacity: 0;
    transform: translateX(-3rem);
}

/* #region Footer */
.footer form {
    background-color: #0a4680;
    color: #fff;
    margin-top: -8rem;
}

.footer form input {
    width: 100%;
    display: block;
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 1rem;
    font-size: 1.25rem;
    font-weight: 400;
}

.footer form button {
    background-color: #f3c33e;
    color: #111;
    font-weight: bold;
    border-radius: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.25rem;
}

.footer .subfooter {
    border-top: 1px solid #ccc;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

@media (max-width:1200px) {
    .footer .boxbox {
        flex-direction: column;
    }

    .footer .boxbox .halfgap2 {
        width: 100%;
        max-width: 60rem;
        margin-left: auto;
        margin-right: auto;
    }

    .footer form {
        margin-top: 0;
    }

    .footer .subfooter {
        text-align:center;
    }
}

/* #endregion */

/* #region Juicer Feed */
.juicer-feed {
    max-width: 100% !important;
}

.juicer-feed h1.referral {
    text-align: center !important;
}

.juicer-feed ul {
    margin-left: 0;
}

.aboutus .slowscroll {
    border-radius: 1rem;
    border: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    position:relative;
    z-index:5;
    height:600px;
    overflow-y:scroll;
}

.aboutus .sk-post-item {
    position:static !important;
    width:100% !important;
}

.aboutus .sk-header-top {
    display:none !important;
}

.aboutus .sk-posts-masonry, .aboutus .sk-posts-body {
    margin-top:0 !important;
}

.aboutus .sk-post-item:nth-child(n+6) {
    display: none !important;
}

/* #endregion */

.form-success {
    background-color: rgba(76, 175, 80, 0.95);
    color: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease;
}

.form-success h2 {
    color:#fff;
    text-align: center;
    opacity: 0;
    transform: translateY(2rem);
    transition: all 0.5s ease;
}

.form-success p {
    font-size:1.25rem;
    opacity: 0;
    transform: translateY(2rem);
    transition: all 0.5s ease;
    text-align:center;
}

.form-success button {
    background-color: #fff;
    color: #0a4680;
    font-weight: bold;
    border-radius: 0.5rem;
    padding: 1rem 2rem;
    text-align: center;
    font-size:1.25rem;
    margin-left:auto;
    margin-right:auto;
    display:table;
    opacity: 0;
    transform: translateY(2rem);
    transition: all 0.5s ease;
}

.form-success.visible {
    opacity: 1;
    pointer-events: auto;
}

.form-success h2.show, .form-success p.show, .form-success button.show {
    opacity: 1;
    transform: translateY(0);
}

/* #endregion */
