:root {
    --offWhite: #FAFAFA;
    --greenTennisBall: #E2FE69;
    --navyBlue: #142745;
    --blueRoyal: #0E34A0;
    --blueSky: #6BCBFC;
    --greyLight: #EAEAEA;
    --darkOffBlack: #171C22;
}

/* Fonts */
@font-face {
    font-family: 'Manrope';
    src: url('./fonts/Manrope/Manrope-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 200 300 400 500 600 700 800 900;
}

@font-face {
    font-family: 'MADESoulmade';
    src: url('./fonts/MADE-Soulmaze-30-Off/Fonts/MADE\ Soulmaze.otf') format('woff');
    font-weight: 100 200;
}

@font-face {
    font-family: 'MADESoulmade-Outline';
    src: url('./fonts/MADE-Soulmaze-30-Off/Fonts/MADE\ Soulmaze\ Outline.otf') format('woff');
    font-weight: 100 200;
}


main body {
    background-color: var(--offWhite);
}

@media (min-width:1520px) {
    section {
        padding: 50px 300px !important;
    }
}


@media (min-width:1200px) {
    section {
        padding: 50px 180px !important;

    }

    .competitiveBackgroundImg {
        background-image: url('./images/Circles-2.png');
        background-size: 60% !important;
        background-repeat: no-repeat;
        background-position: center;
    }

    .contactBackgroundImg {
        background-image: url('./images/Spiral.png');
        background-size: 35%;
        background-repeat: no-repeat;
        background-position: right bottom;
        margin: 0;
    }
}


section {
    padding: 50px 85px;
    background-color: var(--offWhite);
}


/* BURGER NAV */
.topnav {
    background-color: var(--offWhite);
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    transition: all 0.4s ease;

    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
    /* Add transition */

    position: fixed;
    /* Fix the navigation bar at the top */
    top: 0;
    /* Position it at the top */
    width: 100%;
    /* Make it span the full width of the page */
    z-index: 1000;
    /* Ensure it stays on top of other elements */
}

.topnav.hidden {
    transform: translateY(-100%);
    /* Move the nav bar upward */
    opacity: 0;
    /* Fade out the nav bar */
}

.topnav a {
    float: left;
    color: var(--darkOffBlack);
    text-align: center;
    padding: 25px 10px 10px 10px !important;
    text-decoration: none;
    font-size: 13px;
    font-family: 'Manrope';
    transition: all 0.4s ease;
    /* Add transition */
}

.topnav a:hover {
    color: var(--blueRoyal);
}

.topnav a.icon {
    position: absolute;
    right: 0;
}

.topnav a:hover {
    color: var(--blueRoyal);
}

.icon {
    display: none;
    transition: all 0.4s ease;
    /* Add transition */
}


/* Homepage */
#landingHero {
    margin: 90px 20px 60px 20px;
    background-color: var(--offWhite) !important;
}

.hero {
    background-color: var(--greenTennisBall);
    margin: 45px 0 0 0;
    padding: 50px;
    border-radius: 25px;
    min-height: 400px;
}

.heroBackgroundImg {
    background-image: url('./images/Spiral-white-2.png');
    background-size: 45%;
    background-repeat: no-repeat;
    background-position: right bottom;
    margin: 0;
}

.heroHeading {
    font-family: 'MADESoulmade', 'Manrope' !important;
    color: white !important;
    font-size: 40px;
    width: 55%;
    text-shadow: 0 0 4px #cbe84b;
}

/* Content */

/* Columns */
#container {
    display: flex;
    flex-wrap: wrap;
    gap: 8%;
}

.column {
    flex: 1 1;
}


/* Problem */
h2 {
    color: var(--blueRoyal) !important;
    font-family: 'MADESoulmade' !important;
    font-size: 30px;
    margin: 0;
    padding: 0 0 20px 0;
}

h4 {
    font-family: 'MADESoulmade-Outline' !important;
    font-size: 26px !important;
}

p {
    font-family: 'Manrope';
    line-height: 32px;
}

/* Environmental Impact */

#Environmental {
    background-color: var(--greenTennisBall);
    padding: 40px;
    border-radius: 25px;
    max-width: 450px;
}

li {
    font-family: 'Manrope';
}


.UnsplashImg {
    max-width: 90%;
    padding: 30px;
}


.GJTennisBox {
    background-color: var(--greenTennisBall);
    border-radius: 25px;
    padding: 30px;
    font-size: large;
}

/* Mission */
.missionBackgroundImage {
    background-image: url('./images/Spiral-3.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
}


/* Competitive Advantage */
h3 {
    font-family: 'MADESoulmade' !important;
    color: var(--blueSky) !important;
}

.competitiveBox {
    border-radius: 20px;
    margin: 10px;
    padding: 15px 15px;
    background: rgba(0, 0, 98, 0.02);
    backdrop-filter: blur(5px);
    min-height: 340px;
}

.competitiveBackgroundImg {
    background-image: url('./images/Circles-2.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 380px;
}

.responsive-three-column-grid {
    display: grid;
    grid-auto-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

.three-columns-grid {
    display: grid;
    grid-auto-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    opacity: 30%;
}

.three-columns-grid>* {
    padding: 1rem;
}



/* Contact */

.contactQuote {
    font-family: 'Manrope';
    font-size: x-large;
    font-weight: 500;
    max-width: 85%;
    line-height: 35px;
    margin-bottom: 60px;
    margin-top: 30px;
}

.name {
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    margin-top: 25px;
}

.contactBackgroundImg {
    background-image: url('./images/Spiral.png');
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: right bottom;
    margin: 0;
}


a:visited {
    color: pink;
    /* Change the color to pink after the link is clicked */
}

.clicked {
    color: pink;
    /* Change the color to pink when clicked */
}


@media (max-width:910px) {

    section {
        padding: 30px 80px 55px 100px;
    }

    .hero {
        margin: 0;
    }

    .UnsplashImg {
        max-width: 100%;
        padding: 10px;
        margin-top: 70px;
    }

    .competitiveBackgroundImg {
        background-image: url('./images/Circles-2.png');
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: center;
    }

    .contactBackgroundImg {
        background-image: url('./images/Spiral.png');
        background-size: 55%;
        background-repeat: no-repeat;
        background-position: right bottom;
        margin: 0;
    }
}

@media (max-width:850px) {

    /* Navigation */
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        transition: all 0.4s ease;
        /* Add transition */

    }

    .nav-links li {
        text-align: center;
        margin: 10px 0;
        transition: all 0.4s ease;
        /* Add transition */
    }

    .burger {
        display: block;
        transition: all 0.4s ease;
        /* Add transition */
    }

    .nav-active {
        display: flex;
    }

    .heroHeading {
        color: white !important;
        font-size: 35px;
        width: 80%;
        text-shadow: 0 0 4px #cbe84b;
    }
}

@media screen and (max-width: 840px) {
    .heroBackgroundImg {
        background-size: 60%;
    }

    .topnav a:not(:first-child) {
        display: none;
        margin-left: 40px;
        font-size: 16px;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }

    .topnav.responsive {
        position: fixed;
        /* Fix the navigation bar at the top */
        top: 0;
        /* Position it at the top */
        width: 100%;
        /* Make it span the full width of the page */
        z-index: 1000;
        /* Ensure it stays on top of other elements */
        opacity: 97%;

    }

    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
        transition: transform 0.4s ease-out, opacity 0.4s ease-out;
    }

    .UnsplashImg {
        max-width: 80%;
        margin-top: 10px;
        padding: 0;
    }


    #container {
        flex-wrap: wrap;
    }

    .column {
        min-width: 400px;
        max-width: 550px;
    }

    /* Competitive Flex Boxes */
    .responsive-three-column-grid {
        display: grid;
        grid-auto-rows: 1fr;
        grid-template-columns: 1fr;
        align-items: center;
    }

    .competitiveBox {
        border-radius: 20px;
        margin: 15px;
        padding: 10px 30px;
        background: rgba(0, 0, 98, 0.02);
        backdrop-filter: blur(5px);
        min-height: 200px;
        max-width: 400px;
    }

    .contactBackgroundImg {
        background-image: url('./images/Spiral.png');
        background-size: 60%;
        background-repeat: no-repeat;
        background-position: right bottom;
        margin: 0;
    }
}

@media (max-width:680px) {

    section {
        padding: 50px 22px;
    }

    .column {
        min-width: fit-content;
    }


    * Homepage */ #landingHero {
        margin: 90px 20px 60px 20px;
        background-color: var(--offWhite) !important;
    }

    .hero {
        background-color: var(--greenTennisBall);
        margin: 45px 0 0 0;
        padding: 30px;
        border-radius: 25px;
        min-height: 400px;
    }

    .heroBackgroundImg {
        background-image: url('./images/Spiral-white-2.png');
        background-size: 80%;
        background-repeat: no-repeat;
        background-position: right bottom;
        margin: 0;
    }

    .heroHeading {
        font-family: 'MADESoulmade', 'Manrope' !important;
        color: white !important;
        font-size: 30px;
        width: 100%;
        text-shadow: 0 0 4px #cbe84b;
    }


    #landingHero {
        margin-top: 80px;
    }

    p {
        line-height: 22px;
    }

    li {
        line-height: 24px;
    }

    .problem {
        margin-bottom: 45px;
    }

    #Environmental {
        max-width: fit-content;
        padding: 15px 20px 35px 25px;
    }

    .GJTennisBox {
        background-color: var(--greenTennisBall);
        border-radius: 25px;
        padding: 20px;
        font-size: large;
    }

    .img {
        max-width: 100%;
        padding: 35px 10px 10px 10px;
    }

}

@media (max-width:400px) {
    .contactBackgroundImg {
        background-image: url('./images/Spiral.png');
        background-size: 80%;
        background-repeat: no-repeat;
        background-position: right bottom;
        margin: 0;
    }
}