/* Default styling for all */
* {
    font-family: "Open Sans";
    background-color: #417f3c;
    color: #faf6ed;
}

h1 {
    color: #faf6ed;
    font-size: 42px;
    text-align: center;
    font-weight: 800;
}

h2 {
    color: #faf6ed;
    font-size: 30px;
    text-align: left;
    font-weight: 700;
}

p {
    color: #faf6ed;
    font-size: 16px;
    font-weight: 400;
}

footer p {
    color: #faf6ed;
    font-size: 14px;
    font-weight: 300;
}

footer {
    text-align: center;
    padding-top: 50px;
}

.stand_out {
    font-weight: 700;
    text-align: center;
}

.text {
    padding-left: 15vw;
    padding-right: 15vw;
}

/* Centre align key principles and link to Enviroschools */
.key_principles_1, .key_principles_2, .key_principles_3, .key_principles_4, .key_principles_5, .key_principles_link {
    text-align: center;
}

.subtext {
    font-size: 14px;
    font-weight: 300;
}

/* Home page image gallery */
.home_gallery {
    display: flex;
    flex-wrap: wrap;
    margin-left: 15vw;
    margin-right: 15vw;
    justify-content: center;
}

.home_gallery_image {
    padding: 0.5vw;
    height: 20vw;
    width: auto;
}

/* About Us page image gallery */
.about_gallery {
    display: flex;
    flex-wrap: wrap;
    margin-left: 15vw;
    margin-right: 15vw;
    justify-content: center;
}

.about_gallery_image {
    padding: 0.5vw;
    height: 28vw;
    width: auto;
}

/* Tree Planting page image gallery */
.tree_planting_initiative_gallery {
    display: flex;
    flex-wrap: wrap;
    margin-left: 15vw;
    margin-right: 15vw;
    justify-content: center;
}

.tree_planting_initiative_gallery_image {
    padding: 0.5vw;
    height: 15vw;
    width: auto;
}

/* Recycling page image gallery */
.recycling_initiative_gallery {
    display: flex;
    flex-wrap: wrap;
    margin-left: 15vw;
    margin-right: 15vw;
    justify-content: center;
}

.recycling_initiative_gallery_image {
    padding: 0.5vw;
    height: 13.6vw;
    width: auto;
}

/* Contact page image gallery */
.contact_gallery {
    display: flex;
    flex-wrap: wrap;
    margin-left: 15vw;
    margin-right: 15vw;
    justify-content: center;
}

.contact_gallery_image {
    padding: 0.5vw;
    height: 21vw;
    width: auto;
}

/* NEW NAVIGATION BAR */
nav {
    height: 60px;
    background-color: #417f3c;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.links-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    top: 0;
    padding-top: 0;
    margin-top: 0;
}

nav a {
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #faf6ed;
}

nav a:hover {
    background-color: #faf6ed;
    color: #417f3c;
}

nav .logo-link {
    padding-left: 2px;
    padding-top: 3px;
}

nav .logo-link {
    margin-right: auto;
}

.logo-link img {
    height: 65px;
}

.logo-link img:hover {
    color: #417f3c;
}

.logo-link:hover {
    background-color: #417f3c;
}

nav svg {
    fill: #faf6ed;
}

#sidebar-active {
    display: none;
}

.open-sidebar-button, .close-sidebar-button {
    display: none;
}

main {
    margin-top: 100px;
}

.active {
    color: #417f3c;
    background-color: #faf6ed;
}

a.logo-link {
    padding-right: 5px;
}

img {
    border-radius: 5%;
}

/* Responsive Gallery */
@media (max-width: 900px) {
    /* Home page image gallery */
    .home_gallery {
        display: flex;
        flex-wrap: wrap;
        margin-left: 25vw;
        margin-right: 25vw;
        justify-content: center;
    }
    
    .home_gallery_image {
        padding: 0.5vw;
        height: 40vw;
        width: auto;
        max-width:60vw;
    }
    /* About page image gallery */
    .about_gallery {
        display: flex;
        flex-wrap: wrap;
        margin-left: 25vw;
        margin-right: 25vw;
        justify-content: center;
    }
    
    .about_gallery_image {
        padding: 0.5vw;
        height: 50vw;
        width: auto;
        max-width: 300px;
    }
    /* Tree Planting page image gallery */
    .tree_planting_initiative_gallery {
        display: flex;
        flex-wrap: wrap;
        margin-left: 15vw;
        margin-right: 15vw;
        justify-content: center;
    }

    .tree_planting_initiative_gallery_image {
        padding: 0.5vw;
        height: 30vw;
        width: auto;
    }

    /* Recycling page image gallery */
    .recycling_initiative_gallery {
        display: flex;
        flex-wrap: wrap;
        margin-left: 15vw;
        margin-right: 15vw;
        justify-content: center;
    }

    .recycling_initiative_gallery_image {
        padding: 0.5vw;
        height: 30vw;
        width: auto;
    }

    /* Contact page image gallery */
    .contact_gallery {
        display: flex;
        flex-wrap: wrap;
        margin-left: 15vw;
        margin-right: 15vw;
        justify-content: center;
    }

    .contact_gallery_image {
        padding: 0.5vw;
        height: 40vw;
        width: auto;
    }
}

/* Responsive for Mobile Devices */
@media (max-width: 600px) {
    .links-container {
        flex-direction: column;
        align-items: flex-start;

        position: fixed;
        top: 0;
        right: -100%;
        z-index: 10;
        width: 200px;

        background-color: #417f3c;
        box-shadow: -5px 0 5px rgba(65, 127, 60, 0.25);
        transition: 0.75s ease-out;
    }
    nav a {
        box-sizing: border-box;
        height: auto;
        width: 100%;
        padding: 20px 30px;
        justify-content: flex-start;
    }
    .open-sidebar-button, .close-sidebar-button {
        padding: 20px;
        display: block;
    }
    #sidebar-active:checked ~ .links-container {
        right: 0;
    }
    #sidebar-active:checked ~ #overlay {
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9;
        opacity: 0.25;
    }
    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    }
    body {
        margin-top: 100px;
    }
    nav .logo-link {
        padding-left: 2px;
        padding-top: 3px;
        padding-bottom: 0;
    }
}


/* OLD NAVIGATION BAR */

/* Restrict image size and add spacing 
header img {
    height: 70px;
    padding-bottom: 5px;
    margin-left: 20px;
}*/

/* Navigation bar 
header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 90px;
    display: flex;
    align-items: center;
}*/

/* Navigation bar 
header * {
    display: inline;
    margin: 5px;
}*/

/* Remove underline 
header li a {
    text-decoration: none;
}*/

/* Highlight when cursor hovers over 
header li a:hover {
    color: #417f3c;
    background-color: #faf6ed;
    border-radius: 1.5px;
}*/

/* Highlight page name in navbar when on page 
.active {
    color: #417f3c;
    background-color: #faf6ed;
    border-radius: 1.5px;
}*/