/* =================================
Base Element Styles
==================================== */
* {
    box-sizing: border-box;
}

html{
    color: white;
}
body {
    font-family: 'Varela Round', sans-serif;
    line-height: 1.6;
    background-color: #0B0B0B;
}

p {
    font-size: .95em;
    margin: 0;
    padding: 0;
}

h2 {
    margin-top: 20px;
    padding-top: 10px;
    text-align: center;
    text-shadow: 1px 1px 5px #B4AB9A;
}

h3 {
    margin-top: 0;
    padding-top: 10px;
    text-align: center;
    color: #95EFFF;
    text-shadow: 0px 0px 5px #696969;
}

a {
    text-decoration: none;
}



/* ================================= 
Base Layout Styles
==================================== */



/* ---- Main Layout - Main body ---- */

#subheading {
    padding: 20px 10px;
    font-size: .9em;
    text-align: center;
    border-bottom: solid 1px grey;
    margin: 0 5px; 
}

#footer1 {
    border-top: solid 1px grey;
    margin-top: 10px;
}

.imglayer {
    position: relative;
}
.imglayer img {
    width: 100%;
    padding: 5px 0;
}


.imglayer p {
    width: 100%;
    position: absolute;
    bottom: 11px;
    left: 0;
    border-radius: 1px;
    vertical-align: bottom;
    font-size: .85em;
    background-color: rgba(20,50,60, 0.5);
    color: white;
    padding: 10px;
    text-shadow: 1px 1px 8px;	font-size: 1.2em;
    text-decoration: underline;
}



#subheading p {
    margin: 20px 0;
    text-align: left;
}

img {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    border-radius: 4px;
}

/* ---- Footer ---- */

.footertitle {
    padding: 10px;
    font-size: 1.1em;
    text-shadow: 1px 1px 8px grey;
}
.footerp {
    padding:10px;
}

footer {
    background-color: #191D1A;
    text-align: center;
    text-shadow: 1px 1px 5px;

}

#streamlinks div {
    display: block;
    width: 20%;
    vertical-align: top;
    margin: 0 auto;
}


#youtubefloat {
    padding: 10px 0;
    text-align: center;
    width: 100%;
    height: 200px;
    margin: 0 auto;
}
#youtubefloat object {
    width: 100%;
    height: 100%;
}
#ebook {
    text-align: center;
}
.clearfix::after {
    content: " ";
    display: table;
    clear: both;
}


/* ---- Links ---- */



a:hover {
    text-shadow: 1px 1px 5px blue;
    text-decoration: underline;
}


/***************************
MEDIA QUERIES
**************************/
@media (min-width: 768px) {

    /* FOOTER BACKGROUND COLOR	*/

    /*	.footer1bck {
    background: linear-gradient(to right, RGBA(230, 206, 192, 0) 10%,RGBA(248, 172, 95, 0.50) 50%,RGBA(230, 206, 192, 0) 90%); 
}
    */	


    /* FOOTER BACKGROUND COLOR END	*/



    .container1 {
        width: 100%;
        margin: 0 auto;
    }

    #imgcontainer, .container1, #footer1 {
        width: 90%;
        margin: 0 auto;
    }

    .imglayer {
        display: inline-block;
        width: 48%;
        padding: 0;
        margin: 0 0 0 10px;
    }



    h2 {
        text-shadow: 1px 1px 5px #B4AB9A;
        font-size: 1.7em;
        padding-top: 10px;
        text-align: center;

    }
    h3 {
        text-align: center;
        padding: 20px;
        margin: 0;
    }
    #subheading p {
        float: left;
        width: 50%;
        text-align: left;
        vertical-align: top;
        margin: 0px auto;
        padding: 20px;
        font-size: 1.1em;
    }

    #footer1 {
        width: 100%;
    }
    #footer1 div {
        width: 30%;
        display: inline-block;
        vertical-align: top;
        padding: 20px;
        margin: 0 20px 0 0px;

    }

    #streamlinks{
        width: 90%;
        margin: 0 auto;
    }
    #streamlinks div {
        display: inline-block;
        width: 18%;
        vertical-align: middle;
        margin: 0 20px;
    }
    .social-icon {
        margin-left: 50px;
    }

    #youtubefloat {
        width: 40vw;
        height: 280px;
        text-align: center;
        margin: 0 auto;
    }
}


@media (min-width: 1366px) {


    #imgcontainer, .container1, #footer1 {
        width: 80%;
        margin: 0 auto;
    }   

    #imgcontainer {
        margin-bottom: 30px;
    }

    .imglayer p {
        bottom: 13px;    
    }

    #streamlinks div {
        width: 18%;
        margin: 0 35px;
    }
    .social-icon {
        margin-left: 100px;
    }
    #subheading {
        max-width: 1166px;
        margin: 0 auto;
    }

    h3 {
        text-align: center;
        padding: 20px;
        margin: 0;
        font-size: 1.3em;
    }

    #youtubefloat {
        width: 40vw;
    }
}