/* CSS Style Sheet for my first Web Page*/


/* External Imports */

@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');
.google-sans-font {
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings:
    "GRAD" 0;
}
@font-face {
    font-family: 'Horovod';
    src: url(fonts/Horovod-Regular.otf);

}


/* Multi-Backgrounds */

body, html {
    background-image: url(images/simplenaturebackground.jpg);
    background-size: contain;
    background-repeat: repeat;
    padding: 0;
    margin: 0;
}

.background-layer-1 {
    background-image: url("images/forestbanner.JPG");
    background-position: relative;
    background-color: #CFDACC;
    background-size: cover;
}

.background-layer-2 {
    background-image: url("images/simplenaturebackground.jpg");
    background-repeat: repeat;
    background-color: #CFDACC;
    background-size:contain;
    position: relative;
    height: 1000px;
}

/* Navigation */

nav {
    list-style-type: none;
    font-size: 15px;
    color: #e4d8c9;
    display: flex;
    background-color: rgb(40, 40, 12, .9);
    justify-content: space-between;
    align-items: center;
}

img {
    padding-left: 32px;
}

h2 {
    margin: 0;
    padding: 16px 10px;
    font-family: Horovod;
    font-weight: 100;
    font-size: 32px;
    }

.logoTitle {
    display: flex;
    align-items: center;
    opacity: 1;
}

.nav ul {
    margin: 0;
    padding-right: 40px;
    display: flex;
    gap: 20px;
    align-items: center;
    font-family:sans-serif;
}

.nav ul li {
    float: left;
    display: block;
    text-decoration: none;
    
}

.nav ul li a {
    text-decoration: none;
    color: #e4d8c9;
    padding: 20px 16px;
}

.nav ul li a:hover {
    color: #e6ce4c;
}

.dropdown-item:hover {
    font-weight: 600;
}

.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; 
}

/* Search Bar */

.search {
    width: max-content;
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 20px;
    background: #e4d8c9;
    color: black;
}

.search-input {
    font-size: 14px;
    font-family: 'Lexend', sans-serif;
    color: #333333;
    margin-left: 4px;
    outline: none;
    border: none;
    background: transparent;
    width: 250px;
}

/* Mission Statement, Informative text, CTA button */

header {
    text-align: center;
    font-family: Google Sans;
    color: #e4d8c9;
    align-items: center;
    padding: 4px;
    padding-top: 80px;
    padding-bottom: 100px;
}

header h3 {
    font-weight: 100;
    font-size: 15px;
    padding-bottom: 14px;
}


.get-involved-button {
    background-color: rgb(228, 216, 201, .8);
    color: black;
    cursor: pointer;
    width: 150px;
    height: 40px;
    font-size: 20px;
    border-radius: 10px;
    padding-top: 2px;
    border-color: transparent;
    font-family: sans-serif;
}

.get-involved-button:hover {
    background-color: rgb(230, 206, 76, .8);
}


/* Did You Know?*/

.fact-container {
    margin: 0 auto 60px auto;
    text-align: left;
    width: 1000px;
}

.fact-container ul {
    list-style-type: square;
}

.fact-container ul li {
    padding: 10px 0;
}


/* Image Topic Selections */

.outer {
    display: flex;
    grid-template-columns: auto auto;
    gap: 1em;
    flex-wrap: wrap;
    place-content: center;
}

.more-info-container{
    margin: 0 auto 50px auto;
    text-align: left;
    width: 100%;
    max-width: 1000px;
    padding: 0 1em;
    flex-wrap: wrap;
}

.more-info-container h1{
    margin: 0 auto;
}

.info-container{
    text-align: left;
    width: 100%;
    max-width: 500px;
    flex: 1 1 300px;
    box-sizing: border-box;
}

.info-container h3 {
    color:black;
    font-size: 20px;
    font-weight: 10;
    font-family: "Google Sans";
    margin: 25px;
    padding: 15px 15px;
    text-align: left;
    border-radius: 8px;

}

.info-container h3:hover {
    filter: contrast(130%);
    filter:brightness(90%)
}


/* MISSION PAGE */


.missionContainerChild {
    justify-content: center;
    flex: 1;
    margin: 20px;
    max-width: 800px;
    width: 100%;
}


.coreGoalsContainerChild {
    margin: 20px 20px;
}


@media screen and (max-width: 780px) {
    .missionContainerParent {
        flex-direction: column;
    }
    footer {
        flex: 1;
    }
}

.h2 {
    font-weight: thin;
}


/* Contacts Page */

.container-contacts {
    max-width: 1000px;
    max-height: 500px;
    padding: 30px 30px;
    border-style: none;
    border-radius: 10px;
    background-color: white;
    display: flex;
    margin: auto auto;
}

.container-contacts-child {
    width: 400px;
    margin: auto auto;
}

@media screen and (max-width: 780px) {
    .container-contacts {
        flex-direction: column;
    }
}

/* Topic Page */

    .topic-header {
        background-color: rgb(40, 40, 12);
        color: white;
        padding: 40px 20px 40px;
        text-align: center;
        }

    .topic-header h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .topic-header p {
        font-size: 1.1rem;
        color: #C9C97D;
        max-width: 600px;
        margin: 0 auto;
    }

    .topic-body {
        max-width: 900px;
        margin: 50px auto;
        padding: 0 20px;
    }

    .topic-body h2 {
        font-size: 1.6rem;
        margin-top: 40px;
        margin-bottom: 15px;
        color: rgb(40, 40, 12);
    }

    .topic-body p {
        font-size: 1rem;
        line-height: 1.8;
        color: #444;
    }

    .topic-body img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        margin: auto auto;
        padding: 0 0;
    }

    /* Key facts box */
    .fact-box {
        background-color: #f5f5e8;
        border-left: 4px solid #C9C97D;
        padding: 20px 25px;
        margin: 30px 0;
        border-radius: 0 8px 8px 0;
    }

    .fact-box h3 {
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: rgb(40, 40, 12);
        margin-bottom: 10px;
    }

    .fact-box ul {
        margin: 0;
        padding-left: 20px;
        color: #444;
        line-height: 1.9;
    }

    /* Topic navigation */
    .topic-nav {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
        max-width: 900px;
        margin: 50px auto 30px;
        padding: 0 20px;
    }

    .topic-nav a {
        text-decoration: none;
        color: rgb(40, 40, 12);
        font-weight: 500;
        padding: 8px 16px;
        border: 1px solid #C9C97D;
        border-radius: 6px;
        transition: background 0.2s;
    }

    .topic-nav a:hover {
        background-color: #C9C97D;
    }

    /* All topics row */
    .all-topics {
        background-color: rgb(40, 40, 12);
        padding: 30px 20px;
        text-align: center;
    }

    .all-topics p {
        color: #C9C97D;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        margin-bottom: 15px;
    }

    .all-topics a {
        display: inline-block;
        text-decoration: none;
        color: white;
        border: 1px solid rgba(201,201,125,0.4);
        padding: 6px 14px;
        border-radius: 20px;
        margin: 4px;
        font-size: 0.875rem;
        transition: background 0.2s, border-color 0.2s;
    }

    .all-topics a:hover, .all-topics a.active {
        background-color: #C9C97D;
        border-color: #C9C97D;
        color: rgb(40, 40, 12);
    }

    .sources {
        background-color: rgb(40, 40, 12);
        padding: 0px 20px 30px;
        text-align: left;
    }

    .sources h5 {
        text-decoration: none;
        color: #C9C97D;
        max-width: 800px;
        width: 100%;
        font-size: 0.875rem;
        text-transform: uppercase;
        margin: auto auto 10px;
    }

    .sources p {
        color: #C9C97D;
        font-size: 0.85rem;
        letter-spacing: 0.1em;
        margin-bottom: 15px;
        max-width: 800px;
        width: 100%;
        font-size: 0.875rem;
        margin: auto auto 10px;
    }




    footer {
        background-color: rgb(40, 40, 12);
        color: rgba(255,255,255,0.5);
        text-align: center;
        padding: 20px;
        font-size: 0.85rem;
        border-top: 1px solid rgba(201,201,125,0.2);
    }






/* Footer */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer {
    position: fixed;
    height: 30px;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #35300F;
    color: #e4d8c9;
    display:flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}
