/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */


body {
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.4;
    background-color: #fff;
    background-image: url(../img/the-ups-n-downs3.jpg);
    background-repeat: no-repeat;
    padding-bottom: 500px;

/*    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover !important;
*/    
    background-size: 100%; 
    background-position: bottom center;
    background-attachment: fixed;

    color: #333;
}

a {
    color: #333;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

nav {
    margin: 20px 0 0 0;
    text-align: center;
}

nav a {
    text-transform: uppercase;
    color: #333;
    font-weight: 400;
    text-decoration: none;
    margin: 5px 20px; 
    font-size: 24px;
    /*background-color: rgba(255,255,255,.7);*/
    padding: 2px 6px;
}

nav a:hover {
    text-decoration: underline;
/*    background-color: rgba(0,0,0,1);
    color: #fff;*/
}

.mainwrap {
    position: relative;
    display: block;
    text-align: center;
    width: 600px;
    margin: 250px auto;
}

img.logo {
    width: 327px;
    height: auto;
}

hr {
    margin-top: 200px;
}

h1, h2, h3 {
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.2em;
}

.ytframe {
    width:100%; 
    height:auto; 
    min-height: 340px;
}







/* ==========================================================================
   Media Queries
   ========================================================================== */

/*smaller than 600px*/

@media only screen and (max-width: 600px) {

    body {
        background-color: #000;
        background-image: none;
    }

    .mainwrap {
        width: 100%;
        margin: 80px auto;
    }

    img.logo {
        width: 220px;
        height: auto;
        margin: 0 auto;
    }

    hr {
        margin-top: 100px;
    }

    .ytframe {
        min-height: 240px;
    }

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}