/* Vars */
:root {
    --dark-green-bg: #2A4635;
    --light-green-bg: #E0EABA;
    --medium-green: #41744F;
    --partnership-bg: #527457;
    --light-text: #C4FEB6;
    --yellow-border: #D59F3F;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Typography */
h1, h2, h3 {
    font-size: 3rem;
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
}

p, a {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}


/* Backgorund colors and font */
body {
    background-color: var(--light-green-bg);
    color: var(--medium-green);
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
}
header,
#overview,
#board,
#contact {
    background-color: var(--dark-green-bg);
    color: var(--light-text);
}
#hero, #join, #partnerships {
    background-color: var(--light-green-bg);
    background-image: 
    linear-gradient(rgba(65, 116, 79, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 116, 79, 0.35) 1px, transparent 1px);
    background-size: 90px 90px;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0.45rem 0.9rem;
}

.nav-logo img {
    height: 75px;
}
.nav-links {
    display: flex;
    gap: 4.5rem;
    padding-right: 6rem;
}
.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 1.85rem;
    font-weight: 700;
    font-family: 'League Spartan', sans-serif;
}
.nav-links a:hover {
    color:white;
}


#hero, #join{
    text-align: center;
    padding: 4rem 12rem;
    position: relative;
}

#hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    max-width: 90%;
    margin: 0 auto 1rem;
}
#hero p {
    font-size: 1.2rem;
}
.hero-circle-left,
.hero-circle-right {
    width: 7.3rem;
    height: 7.3rem;
    border-radius: 50%;
    background-color: rgba(65, 116, 79, 0.5);
    position: absolute;
    top: 20%;
}
.hero-circle-left {
  left: 2rem;

}
.hero-circle-right {
  right: 2rem;
}

 
#overview {
    display: flex;
    align-items: center;
    padding: 0.7rem 8rem;
    gap: 7rem;
    font-size: 1.6rem;
}

.overview-content {
    text-align: center;
}
.overview-logo img {
    width: 340px;
}
.overview-content h2 {
    margin-left: 0;
    margin-bottom: 1rem;
}
.overview-content p {
    text-align: left;
    max-width: 60rem;
}


/* JOIN */
#join h2 {
    margin-bottom: 1rem;
}
#join p {
    margin-bottom: 3rem;
    font-size:1.2rem;
}
.join-buttons {
    display: flex;
    justify-content: center;
    gap: 6rem;
}


.btn {
    background-color: var(--medium-green);
    font-family: 'League Spartan', sans-serif;
    color: var(--light-text);
    text-decoration: none;
    padding: 1.5rem 5rem;
    font-weight: 700;
    font-size: 1.2rem;
    width: 22.75rem;
    align-items: center;
    display: flex;
    height: 4rem;
    justify-content: center;
}


#board, #partnerships {
    text-align: center;
    padding: 4rem;
}

#board h2 {
    margin-bottom: 3rem;
}
.board-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 70rem;
    margin: 0 auto;
    width: 100%;
}
.board-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 0.5rem;
}
.board-card img {
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    object-fit: cover;
    padding: 10px;
    margin-bottom: 1.3rem;
    background: linear-gradient(to bottom, var(--partnership-bg), var(--yellow-border));
}
.board-card h3 {
    font-size: 1.8rem;
    margin: 0.5rem;
}
.member-name {
    font-family: 'League Spartan', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}


#partnerships h2 {
    margin-bottom: 3rem;
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 70rem;
    margin: 0 auto;
}

.partner-card {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 5rem;
}
.partner-card img {
    width: 100%;
    object-fit: contain;
}

footer {
    text-align: center;
    padding: 4rem;
}

/* THEME TOGGLE */
#theme-toggle {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background: var(--medium-green);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: 'League Spartan', sans-serif;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 200;
}

/* White text version */
body.white-text #board,
body.white-text nav a,
body.white-text #overview, 
body.white-text #contact,
body.white-text .btn
{
    color: white;
}


@media (max-width: 768px) {
    /* NAV */
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        padding-right: 0;
        gap: 2rem;
    }

    /* HERO and JOIN */
    #hero, #join {
        padding: 3rem 2rem;
    }

    #hero h1 {
        font-size: 2rem;
    }

    /* OVERVIEW */
    #overview {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 2rem;
    }

    .overview-content h2 {
        margin-left: 0;
    }

    .overview-content p {
        max-width: 100%;
    }

    /* JOIN BUTTONS */
    .join-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    /* BOARD */
    .board-grid {
        grid-template-columns: 1fr;
    }

    /* PARTNERSHIPS */
    .partners-grid {
        grid-template-columns: 1fr;
    }

    /* Plants(? / Circles */
    .hero-circle-left, .hero-circle-right {
        display: none;
    }
}