﻿/* HOME HERO STYLING */

.home-hero {
    position: relative;
    margin-bottom: 10rem;
}

#home-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    height: 65vh;
    background: #116AD9;
}

    #home-hero-bg::after {
        content: "";
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        background-image: url('../../images/websiteRedesign/background.png');
        background-repeat: repeat;
        background-size: 25vw 25vw;
        opacity: 0.10;
    }

.home-hero-flex {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-hero-text {
    display: flex;
    width: 60vw;
    height: 25%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 0rem 4rem 0rem;
}

    .home-hero-text > h1 {
        font-family: 'Poetsen One';
        font-weight: 400;
        color: white;
        font-size: 3vw;
        text-align: center;
        margin: 1rem 0rem 1rem 0rem;
    }

    .home-hero-text > h2 {
        font-family: 'Open Sans Hebrew';
        font-size: 1vw;
        color: white;
        font-style: italic;
        text-align: center;
        margin: 1rem 0rem 1rem 0rem;
        width: 70%;
        font-weight: 500;
    }

    .home-hero-text > p {
        font-size: 0.9vw;
        font-weight: 500;
        font-family: 'Open Sans Hebrew';
        color: white;
        margin: 0.2vw 0rem 0.2vw 0rem;
    }

.home-hero-image {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

#home-hero-img {
    max-width: 60vw;
    max-height: 100%;
    border-radius: 1rem;
    box-shadow: 0px 4px 20px 5px rgba(0, 0, 0, 0.35);
}


#home-hero-get-started {
    text-decoration: none;
    font-size: 1vw;
    font-weight: 500;
    font-family: 'Open Sans Hebrew';
    padding: 1rem 4rem 1rem 4rem;
    border-radius: 0.7rem;
    background-color: #FF9326;
    color: white;
    margin: 0.25rem 0rem 0.25rem 0rem;
}

/* HOME QUADRANT STYLING */

.home-quadrant {
    position: relative;
    width: 100%;
    margin-bottom: 10rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.home-quadrant-text {
    display: flex;
    flex-direction: column;
    margin-left: 1rem;
    width: 60%;
}

    .home-quadrant-text > p {
        color: #646464;
    }

.home-quadrant-left {
    width: 40%;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-quadrant-top-left {
    display: flex;
    flex-direction: row;
    margin: 2rem 2rem 2rem 2rem;
}

.home-quadrant-bottom-left {
    display: flex;
    flex-direction: row;
    margin: 2rem 2rem 2rem 2rem;
}

.home-quadrant-img {
    width: 20rem;
    height: 20rem;
}

.home-quadrant-right {
    width: 40%;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-quadrant-top-right {
    display: flex;
    flex-direction: row;
    margin: 2rem 2rem 2rem 2rem;
}

.home-quadrant-bottom-right {
    display: flex;
    flex-direction: row;
    margin: 2rem 2rem 2rem 2rem;
}


#home-quadrant-text-1 {
    color: #EB941D;
}

#home-quadrant-text-2 {
    color: #40BF55;
}

#home-quadrant-text-3 {
    color: #E977AF;
}

#home-quadrant-text-4 {
    color: #4183D7;
}

/* HOME SPLIT STYLING */


.home-split {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
}

#home-split-right {
    justify-content: space-between;
}

.home-split-image {
    width: 50%;
    min-height: 70vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
}

    .home-split-image::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 50%;
        height: 100%;
        background-image: url('../../images/websiteRedesign/square-grid.png');
        background-repeat: repeat;
        background-size: 35vw 35vw;
        opacity: 0.15;
        z-index: auto;
    }

#home-split-1 {
    background-color: #5DC66F;
}

#home-split-right-2 {
    background-color: #FFDD65;
}


    #home-split-right-2::after {
        left: auto;
    }


#home-split-3 {
    background-color: #E886B1;
}

#home-split-img {
    position: absolute;
    z-index: 1;
    width: 40%;
    left: 15%;
    border-radius: 1rem;
    box-shadow: 0px 4px 20px 5px rgba(0, 0, 0, 0.35);
}

#home-split-img-right {
    position: absolute;
    z-index: 1;
    width: 40%;
    right: 15%;
    border-radius: 1rem;
    box-shadow: 0px 4px 20px 5px rgba(0, 0, 0, 0.35);
}

.home-split-text {
    display: flex;
    flex-direction: column;
    padding-left: 10%;
    max-width: 30%;
}


#split-text-1 {
    color: #ED5555;
}

#split-text-2 {
    color: #2DA141;
}

#split-text-3 {
    color: #3E89EB;
}

/* HOME TROPHY BANNER STYLING */

.home-trophy-banner {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    box-shadow: inset 0px 8px 10px -8px rgba(0, 0, 0, 0.5), inset 0px -8px 10px -8px rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0rem 4rem 0rem;
}

#home-trophy-banner-img {
    max-width: 30rem;
    margin-right: 1.5rem;
    margin-left: 1.5rem;
}

/* HOME SLIDER STYLING */

.home-slider {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 8rem 0rem 8rem 0rem;
    flex-wrap: wrap;
}

.home-slider-img {
    max-width: 30rem;
    margin: 1rem 2rem 1rem 2rem;
}



/* HOME FINAL CALL TO ACTION STYLING */
.home-final-action {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 5%;
}

.home-final-action-image {
    width: 50vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#home-final-action-img {
    width: 100%;
    margin-left: 10%;
}

.home-final-action-text {
    margin: 4rem;
    max-width: 30vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    .home-final-action-text > a {
        margin-top: 2rem;
    }

.home-final-action-app {
    margin: 4rem;
    max-width: 30vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#app-img {
    width: 24rem;
}


/* LEADERBOARD */

#liontrust-comp-btn {
    position: fixed;
    background: linear-gradient(0deg, rgba(255,210,58,1) 0%, rgba(212,149,13,1) 100%);
    right: 0;
    bottom: 22rem;
    z-index: 999;
    border-radius: 1rem 0rem 0rem 1rem;
    box-shadow: 0px 4px 4.9px 0px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.9rem 2.5rem 0.9rem 3rem !important;
    border: none;
    cursor: pointer;
}

#mtc-btn {
    position: fixed;
    background: #40BF55 !important;
    right: 0;
    bottom: 15rem;
    z-index: 999;
    border-radius: 1rem 0rem 0rem 1rem;
    box-shadow: 0px 4px 4.9px 0px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.9rem 3.5rem 0.9rem 4rem !important;
    border: none;
    cursor: pointer;
}


#mtc-btn-txt {
    font-size: 1.5rem;
    margin: 0;
}

#leaderboard-btn {
    position: fixed;
    background: #3E86E0 !important;
    right: 0;
    bottom: 5rem;
    z-index: 999;
    border-radius: 1rem 0rem 0rem 1rem;
    box-shadow: 0px 4px 4.9px 0px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.3rem 1.5rem 0.3rem 1.5rem;
}

#leaderboard-btn-txt {
    font-size: 1.3rem;
    margin: 0;
}


#leaderboard-btn-img {
    max-width: 5rem;
    margin-bottom: 0.5rem;
}

#leaderboard-content {
    height: 80vh !important;
    border-radius: 1rem;
    border: 0.4rem solid #E9AE14 !important;
}

#leaderboard-canvas {
    min-width: 80vw;
}

#leaderboard-header {
    background: #D0E5FF;
    height: 7rem;
    display: flex;
    flex-direction: row;
    padding: 0;
    border-radius: 0.6rem 0.6rem 0rem 0rem;
}

.leaderboard-close {
    right: 0px;
    top: 0px;
    width: 7rem;
    height: 100%;
    background: #116AD9;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0rem 0.6rem 0rem 0rem;
}

#leaderboard-close-btn {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    --bs-btn-close-opacity: 1;
    --bs-btn-close-focus-shadow: 0;
    --bs-btn-close-hover-opacity: 1;
}


.text-block {
    text-align: center;
    padding: 5rem;
    width: 60%;
    align-content: center;
    margin: auto;
}


/* RESPONSIVE STYLING */

@media only screen and (max-width: 1500px) {

    /* HOME SLIDER RESPONSIVE STYLING */

    .home-slider {
        flex-direction: row;
    }

    #home-hero-bg {
        height: 40vh;
    }
}





/* TABLET */
@media only screen and (max-width: 960px) {

    /* HOME HERO RESPONSIVE STYLING */


    .home-hero {
        margin-bottom: 5rem;
    }

    #home-hero-bg {
        height: 40vh;
    }

        #home-hero-bg::after {
            background-size: 45vw 50vw;
        }

    .home-hero-flex {
        padding: 1.5rem 0rem 1.5rem 0rem;
    }


    .home-hero-text {
        min-height: 40%;
        width: 90%;
        padding: 4rem 0rem 4rem 0rem;
    }

        .home-hero-text > h1 {
            margin-top: 1rem;
            font-size: 3.5rem;
        }

        .home-hero-text > h2 {
            font-size: 1.4rem;
            width: 90%;
        }


        .home-hero-text > p {
            font-size: 1rem;
        }


    #home-hero-get-started {
        font-size: 1.4rem;
    }

    .home-hero-image {
        width: 90vw;
        height: 50%;
    }


    #home-hero-img {
        max-width: 90vw;
    }

    /* HOME QUADRANT RESPONSIVE STYLING */


    .home-quadrant {
        flex-direction: column;
        align-items: center;
    }

    .home-quadrant-top-left {
        justify-content: center;
    }

    .home-quadrant-bottom-left {
        justify-content: center;
    }

    .home-quadrant-top-right {
        justify-content: center;
    }

    .home-quadrant-bottom-right {
        justify-content: center;
    }


    .home-quadrant-left {
        width: 90%;
    }

    .home-quadrant-right {
        width: 90%;
    }

    .home-quadrant-img {
        width: 15rem;
        height: 15rem;
    }

    .home-quadrant-text > h1 {
        font-size: 3rem;
    }



    .home-quadrant-text > p {
        font-size: 1.6rem;
    }

    /* HOME SPLIT RESPONSIVE STYLING */

    .home-split {
        flex-direction: column;
    }

    #home-split-right {
        flex-direction: column-reverse;
    }

    .home-split-image {
        width: 100%;
        min-height: 60vh;
    }

        .home-split-image::after {
            width: 100%;
            max-height: 80%;
        }

    #home-split-img {
        width: 80vw;
        left: 10%;
    }

    #home-split-img-right {
        width: 80vw;
        right: 10%;
    }

    .home-split-text {
        padding: 2rem 3rem 4rem 3rem;
        max-width: 100%;
        align-items: center;
        background-color: white;
        justify-content: center;
        z-index: 2;
    }



    /* HOME FINAL CALL TO ACTION RESPONSIVE STYLING */
    .home-final-action {
        flex-direction: column;
    }

    .home-final-action-app {
        flex-direction: column;
    }


    .home-final-action-text {
        margin: 0rem 0rem 4rem 0rem;
        max-width: 90%;
    }

    #home-hero-get-started {
        margin-top: 1rem;
    }

    #home-final-action-img {
        width: 80vw;
    }

    .text-block {
        width: 90%;
    }
}


/* MOBILE */
@media only screen and (max-width: 550px) {

    #home-hero-bg::after {
        background-size: 60vw 60vw;
        overflow: hidden;
    }

    .home-hero-text {
        padding: 2rem 0rem 2rem 0rem;
    }

        .home-hero-text > h1 {
            margin-top: 1rem;
            font-size: 2.5rem;
        }

        .home-hero-text > h2 {
            font-size: 1.2rem;
            width: 90%;
        }


        .home-hero-text > p {
            font-size: 0.8rem;
        }


    #home-hero-get-started {
        font-size: 1.4rem;
    }

    .home-split-image {
        width: 100%;
        min-height: 40vh;
    }
}






















/* CUB COMPETITION */

#cub-btn {
    position: fixed;
    background: linear-gradient(180deg, rgba(200,170,74,1) 0%, rgba(235,196,77,1) 48%, rgba(175,152,80,1) 100%);
    right: 0;
    bottom: 21.5rem;
    z-index: 999;
    border-radius: 1rem 0rem 0rem 1rem;
    box-shadow: 0px 4px 4.9px 0px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.9rem 2rem 0.9rem 2rem;
    border: none;
    cursor: pointer;
}

#cub-btn-txt {
    font-size: 1.5rem;
    margin: 0;
    font-family: 'Futura PT';
}

#cub-modal-body {
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.cub-countdown {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.cub-countdown-caption {
    font-family: 'Futura PT';
    font-size: 4rem;
    color: #D1B14D;
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.cub-CTA {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.cub-btn-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40%;
    padding: 2rem;
}

    .cub-btn-section > p {
        font-family: 'Futura PT';
        font-size: 1.6rem;
        margin: 2rem;
    }


#cub-img {
    width: 40%;
    border-radius: 2rem;
}

.cub-card {
    display: flex;
    align-items: center;
    flex-direction: column;
    background: #D1B14D;
    padding: 4rem;
    gap: 1rem;
    color: white;
    font-family: 'Futura PT';
    box-shadow: 0.2rem 0.2rem 0rem 0rem rgba(0, 0, 0, 0.3);
}

    .cub-card > h1 {
        font-size: 9rem;
    }

#cub-cta-btn {
    background: #134e1b;
    border: none;
    border-radius: 20rem;
    padding: 2rem 5rem 2rem 5rem;
    margin: 1rem 4rem 1rem 4rem;
    text-decoration: none;
    color: white;
    font-family: 'Open Sans Bold';
    font-weight: 500;
    font-size: 1.5rem;
}

.cub-close {
    cursor: pointer;
    padding: 1rem;
    height: 100%;
    background: #134e1b;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20rem;
}

#modalclick {
    display: none;
}

#exampleModalLongTitle {
    margin-left: 34%;
    color: #D1B14D;
    font-weight: bold;
    font-size: 2.6rem;
}

#app-popup {
    width: 100%;
}

#modal-img-body {
    width: 50%;
}

#modal-text-body {
    display: flex;
    flex-direction: column;
    width: 50%;
}

#modal-text-body h1 {
    font-family: 'Poetsen One';
    color: #116AD9;
    font-size: 3rem;
    padding: 0.5rem;
}

    #modal-text-body h4 {
        font-size: 1.5rem;
        padding: 0.5rem;
    }

#modal-CTA {
    display: flex;
    flex-direction: row;
}


/* CUB RESPONSIVE */
@media only screen and (max-width: 960px) {

    #cub-modal-body {
        flex-direction: column;
    }

    #modal-CTA {
        flex-direction: column;
        align-items: center;
    }



    #modal-img-body {
        width: 90%;
    }

    #modal-text-body {
        width: 90%;
    }


    .cub-card > h1 {
        font-size: 5rem;
    }

    .cub-countdown {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cub-CTA {
        flex-direction: column;
    }

    #cub-img {
        width: 90%;
    }

    .cub-btn-section {
        width: 90%;
    }


    #exampleModalLongTitle {
        margin-left: 1%;
        color: #D1B14D;
        font-weight: bold;
        font-size: 1.8rem;
    }
}
