/* ----------------------------
base
---------------------------- */

html,
body
{
	color: #333333;
	background: #fff;
}

body
{
	margin: 0;
	padding: 0;
	font-size: 1em;
	font-family: 'montserrat', sans-serif;
    text-transform: none;
    text-decoration: none;
	line-height: 1.5;
    text-align: center;
}

h1
{
	margin: 0;
    font-family: 'montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
	line-height: 1.4;
    font-size: 2em;
    letter-spacing: 3px;
}
h2 {
    font-family: 'montserrat';
    font-size: 1.5em;
    font-weight: normal;
    text-transform: uppercase;
}
img
{
	max-width: 100%;
	border: 0;
}

a:focus img { background: none; }
a:hover img { background: none; }
a:active img { background: none; }
blockquote { margin: 0; }

/* ----------------------------
general layout & design
---------------------------- */

.container, .contain {
    max-width: 1200px;
    margin: auto;
    padding: 2em;
}

.button {
    padding: 10px;
    letter-spacing: 2px;
    align-content: center;
    text-align: center;
    margin: 8px
}
.button a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 1em;
}
.col-33 {
    margin: 1em auto;
}

@media only screen and (min-width: 768px) and (max-width: 991.9px)
{
   
    .container {
        display: flex;
        margin: auto;
    }
    .button {
        width: 150px;
        height: 60px;
        margin: 8px;
    }
    .col-66, .col-50, .col-33, .col-33-left{
        display: inline-block;
        vertical-align: middle;
        margin: auto;
    }
    .col-66 {
        width: 66%;
    }
    .col-50 {
        width: 45%;
    }
    
    .col-33 {
        width: 30%;
    }
}
@media only screen and (min-width: 992px) {
    
    .container {
        display: flex;
    }
    .button {
        width: 175px;
        height: 75px;
    }
    .col-66, .col-50, .col-33, .col-33-left {
        display: inline-block;
        margin: auto;
    }
    .col-66 {
        width: 66%;
    }
    .col-50 {
        width: 45%;
    }
    .col-33 {
        width: 30%;
    }
}

/* ----------------------------
header and nav
---------------------------- */
.header {
    max-width: 1200px;
    margin: auto;
}
.header img {
    max-width: 250px;
}

.topnav {
  overflow: hidden;
  background-color: #fff;
}
.topnav a:first-child {
    float: left;
    font-weight: 500;
    font-size: 1.2em;
    padding-top: .8em;
    padding-bottom: .8em;
}
.topnav a {
    display: block;
    color: #052941;
    letter-spacing: 2px;
    text-align: center;
    text-decoration: none;
    font-size: 1em;
}

.topnav a:not(:first-child) {
    float:right;
    padding-top: 1.3em;
    padding-bottom: 1.3em;
}

.topnav a:hover {
  color: #F08E29;
}

.topnav a.active {
    background-color: #fff;
    color: #555350;
}
.icon {
    margin: 1.2em;
}
.topnav .icon {
    display: none;
}
.topnav a:not(:first-child) {
        margin-left: 1em;
}
.bar {
    width: 35px;
    height: 1px;
    background-color: #555350;
    margin: 6px 0;
}

@media only screen and (max-width: 998px) {
    
    .topnav a:not(:first-child) {
        display: none;
        padding-top: 1.5em;
        padding-bottom: 1.5em;
    }
    .topnav a.icon {
        float: right;
        display: block;
      }
    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
      }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}

@media (min-width:998.1px){
    .topnav a:first-child {
        padding: 1.1em; }
    .topnav a:not(:first-child) {
        margin: 1.75em 1em;
    }
}

/* ----------------------------
hero section
---------------------------- */

.hero {
    height: calc(80vh - 100%);
    min-height: calc(80vh);
    background-color: #F5F0EC;
    background-image: url(../images/bafp_bg_home.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
}

.button {
    padding: 10px;
    align-content: center;
    text-align: center;
    margin: 1em;
}
.button a {
    color: #ffffff;
    text-decoration: none;
}
@media (min-width: 768px)
{
    .button {
        height: 75px;
        width: 175px;
        align-content: center;
        text-align: center;
        padding: 0em;
        margin: auto;
    }
}
/* ----------------------------
content
---------------------------- */

.bg-patron {
    height: calc(30vh - 100%);
    min-height: calc(30vh);
    background-color: #F5F0EC;
    background-image: url(../images/bafp_background_img.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    color: #000;
}
.background-white {
    background: #ffffff;
    color: #000000;
    text-align: center;
    margin: auto;
    padding: 2em;
}
.background-about {
    height: calc(30vh - 100%);
    min-height: calc(30vh);
    background-color: #F5F0EC;
    background-image: url(../images/bafp_background_img.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #000;
    padding: 1em;
}

.background-teal h1 {
    display: block;
    width: 100%;
    padding-top: 2em;
    text-align: center;
}

.background-donate h1 {
    display: block;
    width: 100%;
    padding-top: 2em;
    text-align: center;
}
.background-volunteer {
    height: calc(50vh - 100%);
    min-height: calc(50vh);
    background-color: #F5F0EC;
    background-image: url(../images/bg_volunteer.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    color: #fff;
}

.background-donate {
    height: calc(50vh - 100%);
    min-height: calc(50vh);
    background-color: #F5F0EC;
    background-image: url(../images/bg_donate.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    color: #fff;
}
.background-patron {
    height: calc(50vh - 100%);
    min-height: calc(50vh);
    background: #66b2b2;
    display: flex;
    color: #fff;
}

.about {
    text-align: left;
}
.about a {
    color: #000;
}

.donate {
    text-align: center;
    vertical-align: top;
}
.donate h1, .patron h1, .volunteer h1 {
    margin: 0em auto 1em;
}
.donate a {
    color: white;
}
.volunteer {
    margin: 2em auto;
}
.patron p {
    text-align: left;
    margin: 2em;
}
.eligibility {
    text-align: left;
    margin: auto;
}
.paddingx {
    padding: 2em;
    text-align: left;
}
@media (min-width: 768px)
{
    .donate p {
        margin: 1.5em;
    }
    .about {
        vertical-align: top;
    }
}
/* ----------------------------
footer
---------------------------- */
.footer {
    margin: 2em 0em 0em;
    padding: 2em;
    background-color: #66b2b2;
    color: #fff;
}

.footer a {
    color: #fff;
    text-decoration: none;
}


.footer img {
    max-height: 350px;
    margin: auto;
}
.copyright {
    background: #013653;
    padding: 1em;
    color: #ffffff;
}
.copyright p {
    margin: 0;
}