/* remove default browser spacing */
* {
    margin: 0;
    padding: 0;
    border: 0;
}


/* body styles - font and background */
body {
    font-family: "Lexend", sans-serif;
    line-height: 1.5;
    color: #222222;
    background-color: #ffffff;
}


/* website wrapper div */
.wrapper {
    width: 80%;
    margin: 20px auto;
    background-color: #ffffff;
    padding: 20px;
}


/* header at the top */
#header {

    padding-bottom: 10px;
    margin-bottom: 10px;
}

.logo {
    width: 80px;
    height: auto;
    float: left;
    margin-right: 15px;
}

h1 {
    font-size: 40px;
    color: #2e7d32;
}

.tagline {
    font-style: italic;
    color: #555555;
}


/* nav menu links */
#navigation {
    clear: both;
    border-top: solid 2px #2e7d32;
    border-bottom: solid 2px #2e7d32;
    padding: 8px 0;
    margin-bottom: 20px;
}

#navigation ul {
    text-align: center;
}

li {
    display: inline;
    list-style-type: none;
}

#navigation li {
    margin: 0 10px;
}


/* link colours and hover effect */
a:link,
a:visited,
a:active {
    color: #1b5e20;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    color: #1b5e20;
    text-decoration: underline;
}

.current {
    text-decoration: underline;
}


/* two column layout - main and sidebar */



.food-bank-card {
    background-color: #f6faf6;
    border-left: solid 4px #1b5e20;
    padding: 12px 15px;
    margin-bottom: 15px;
}

#all-content {
    width: 100%;
}

#main-content {
    width: 70%;
    float: left;
    padding-right: 3%;
}

#secondary-content {
    width: 20%;
    float: left;
    background-color: #eef5ee;
    padding: 10px;
    border-left: solid 2px #2e7d32;
}

.clear {
    clear: both;
}

.grid-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 16px;
}

.sponsor-logo {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
}

.video {
    padding-bottom: 50px;

}



/* headings */
h2 {
    color: #2e7d32;
    font-size: 150%;
    margin-bottom: 10px;
}

h3 {
    color: #1b5e20;
    font-size: 115%;
    margin-top: 15px;
    margin-bottom: 8px;
}

p {
    margin-bottom: 10px;
}


/* make images fit the page */

.content-image {
    width: 100%;
    height: auto;
    margin: 10px 0;
}


/* mobile - stack everything on small screens */
@media screen and (max-width: 750px) {
    .wrapper {
        width: 100%;
        margin: 20px auto;
        padding: 20px;
    }

    #main-content {
        width: 100%;
        float: none;
        padding-right: 0;
        border-left: 0;
        margin-bottom: 20px;

    }
    
    
    #secondary-content {
        width: 100%;
        float: none;
        padding-right: 0;
        border-left: 0;
        margin-bottom: 20px;

    }

   h1 {
        font-size: 30px;

    }

}



.sidebar-list li {
    display: block;
    margin-bottom: 5px;
}


/* footer at the bottom */
#footer {
    clear: both;
    border-top: solid 2px #2e7d32;
    padding-top: 10px;
    margin-top: 20px;
    text-align: center;
    color: #555555;
}
