* {
    position: relative;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    font-size: 18px;
    line-height: 143%;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    width: 100%;
}

    html::after {
        content: ' ';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        display: block;
        border-top: 3pt solid #6DCDB8;
    }

body {
    max-width: 100%;
}

#cb-logo {
    width: 80vw;
    height: calc(80vw * .274221);

    max-width: 200px;
    max-height: 54.8441px;

    margin-top: 3rem;
    margin-bottom: 3rem;
}

p {
    padding: 0.618rem;
    max-width: 36rem;
    margin: auto;
}

p ~ p,
p + aside {
    margin-top:  0.618rem;
}

p.highlighter {
    color: #6DCDB8;
    font-weight: 500;
}
span.highlighter {
    /* background-color: #ffa; */
    font-weight: 500;
}

#intro {
    background-color: #000;
    
    /*background-image: url('_assets/blur-bg-01.jpg');
    background-size: 100%;
    background-size: cover;
    background-position: bottom center;*/
}

#intro > div {
    padding-top: 1rem;

    color: #fff;

    /*background-image: url('_assets/blur-bg-01.jpg');
    background-size: 100%;
    background-size: cover;
    background-position: bottom center;*/
    background-color: #000;

    -ms-justify-content: space-between;
    -moz-justify-content: space-between;
    -webkit-justify-content: space-between;
    justify-content: space-between;

    -ms-align-items: center;
    -moz-align-items: center;
    -webkit-align-items: center;
    align-items: center;

    height: auto;
    min-height: 50vh;
    width: 100%;
    max-width: 1024px;

    margin: auto;
    }
    #intro div + p {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .image {
        padding: 0.618rem;
    }
        .image img {
            display: block;
            width: 100%;
            max-width: 36rem;
            margin: auto;
        }
        .double > img:first-child {
            margin-bottom: 1rem;
        }

#stats {
    text-align: center;
}

div.video {
    max-width: 36rem;
    display: block;
    position: relative;
    margin: auto;
}
.embed-container { 
    position: relative; 
    padding-bottom: 56.25%; 
    height: 0; 
    overflow: hidden; 
    max-width: 100%;
    } 
.embed-container iframe, 
.embed-container object, 
.embed-container embed { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
}

/* Flexbox Styling */

.flex-parent {
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;
}

.flex-column {
    -ms-flex-flow: column;
    -moz-flex-flow: column;
    -webkit-flex-flow: column;
    flex-flow: column;
}

.flex-row {
    -ms-flex-flow: row;
    -moz-flex-flow: row;
    -webkit-flex-flow: row;
    flex-flow: row;
}
/* THE VIDEO --------------------------*/
#intro img {
    width: 100%;
}

/* letter section --------------------------*/

#letter {
    padding-top: 0.618rem;
}

#annual-fund {
    display: block;
    margin: auto;
    margin-top: 2rem;
    margin-bottom: 1rem;
    width: 4rem;
}

/* testimonials and praise --------------------------*/

#testimonials {
    margin-top: 1rem;
    background-color: #000;
    color: #6DCDB8;
    border-top: 0.25rem solid #6DCDB8;
}
    /*
    #testimonials::after {
        content: ' ';
        display: block;
        position: absolute;
        height: 100%;
        width: 2rem;
        right: 0;
        top: 0;

        background: rgb(0,0,0);
        background: -moz-linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
        background: -webkit-linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
        background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    }
    */
    #testimonials::before {
        content: "← swipe →";
        font-size: 0.8rem;
        display: block;
        text-align: center;
        color: #6DCDB8;
        background-color: #222;
    }
    #testimonials > div {
        min-height: 50vh;
        background-color: #222;
    }

    #testimonials > div,
    aside > div {
        scroll-behavior: smooth;
        -ms-scroll-snap-type: x mandatory;
        -webkit-scroll-snap-type: x mandatory;
        scroll-snap-type: x mandatory;
    }

    #testimonials .swiper-slide,
    aside > div > div {
        background-color: #000;
        /* box-shadow: 0rem 1rem 2rem #000; */
        border: 1pt solid #6DCDB8;
        border-radius: 1rem;

        -ms-scroll-snap-align: center;
        -webkit-scroll-snap-align: center;
        scroll-snap-align: center;
        
        /* Needs to be flex parent just to vertically align paragraphs in div */
        display: -ms-flexbox;
        display: -moz-flex;
        display: -webkit-flex;
        display: flex;

        -ms-flex-flow: column;
        -moz-flex-flow: column;
        -webkit-flex-flow: column;
        flex-flow: column;

        -ms-justify-content: center;
        -moz-justify-content: center;
        -webkit-justify-content: center;
        justify-content: center;
    }
    #testimonials aside > div > div:first-child {
        margin-left: 2.5vw;
    }

    #testimonials .attribution {
        display: block;
        text-align: right;
        margin-top: 1rem;
    }
    
    /*#testimonials .attribution::before {
        content: '— ';
    }*/

/* Contibute Button --------------------------*/

#donate {
    display: block;
    position: -webkit-sticky;
    position: sticky;
    bottom: 0.25rem;
    width: calc(100% - 0.5rem);
    padding: 0.5rem 0.312rem;
    margin: 0.5rem 0.25rem 0rem 0.25rem;
    z-index: 5;

    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    color: #fff;

    background-color: #000;
    border: 1pt solid #fff;
        border-top-color: #fff;
        border-left-color: #eee;
        border-right-color: #bbb;
        border-bottom-color: #ccc;
    border-radius: 2rem;
}
    #donate:hover {
        background-color: #6DCDB8;
        color: #000;
        border-color: #6DCDB8;
        transition: background-color 0.1s ease-in;
    }

/*

#6DCDB8 - teal

#976A4D - brown

*/