/*
Tutorial Name: Modernize Your Site: Building a YouTube Video Background 
Author: Samuel Dalusung
*/
/* GENERAL STYLES
================================================== */
html {
    height: 100%;
}

body {
    font: 15px / 23px 'Raleway', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}

p {
    font-size: 20px;
    line-height: 140%;
    text-align: center;
}

ul li {
    display: inline-block;
    list-style: none;
    padding-right: 10px;
}

.wrapper {
    z-index: 600;
    position: relative;
}

.pattern {
    background-image: url(../images/pattern.png);
    background-repeat: repeat;
    background-attachment: scroll;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.divider {
    background-image: url(../images/divider.png);
    display: block;
    width: 300px;
    height: 35px;
    margin: 10px auto;
}

.newsItem {
    border: 1px solid #FDFDFD;
    margin: 10px;
    background-color: rgba(25, 25, 25, 0.379);
}

h1 {
    color: #FFFFFF;
    font-size: 22px;
    margin: 10px 10px 5px 10px;
    font-weight: bold;
    text-shadow: 1px 1px black;
}

h2 {
    margin: 0 10px;
    color: yellow;
    font-size: 20px;
    font-weight: bold;
}

h3 {
    color: yellow;
    font-weight: normal;
    margin: 0 10px;
    font-size: 14px;
}

h4 {
    color: #E1E1E0;
    font-size: 15px;
    margin: 3px 10px 10px;
    font-weight: normal;
    text-align: left;
}

p {
    color: #E1E1E0;
    font-size: 18px;
    margin: 3px 10px 10px;
    font-weight: bold;
    text-align: left;
}

a {
    color: yellow;
    font-weight: normal;
    text-shadow: 1px 1px #242419;
    text-decoration: none;
}

a:hover {
    font-weight: bold;
}

#colorize {
    color: #F1C40F;
    font-family: 'Lato', sans-serif;
    font-size: 40px;
}

/* BIG VIDEO BACKGROUND
================================================== */
.myBox {
    height: 100%;
}

.big-background {
    z-index: 550;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.big-background .big-background-container {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: inline-block;
    position: relative;
    top: 50%;
    left: 50%;
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%, -50%);
    align-content: center;
}

.big-background-title {
    padding-top: 20px;
    display: inline;
    margin-top: 10%;
    width: 45vw;
}

a.big-background-btn {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    color: #FFF;
    background: transparent;
    border: 2px solid #FFF;
    padding: 0px 0px 0px 0px;
    cursor: pointer;
    letter-spacing: 0px;
    display: block;
    text-align: center;
    font-weight: bold;
    margin-top: 15px;
    margin-right: 20px;
    margin-left: 20px;
}

.big-background-btn:hover {
    color: #FFF;
    background: #BF9F62;
}

.big-background-default-image {
    background: url(../images/sunset.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 100%;
    z-index: 0;
    backface-visibility: hidden;
}

.mobile-title {
    display: none;
}

td.MainContent {
    width: 30%;
}

.theframe {
    height: 100%;
}

/* ABOUT SECTION
================================================== */
.about-section {
    font-family: 'Lato', sans-serif;
    color: #7F8C8D;
    background: #FFF;
    padding: 60px 20px;
}

.about-section-container {
    text-align: center;
    padding-bottom: 50px;
}

.about-section-title {
    font-family: 'Raleway', sans-serif;
    font-size: 40px;
    background: #FFF;
    color: #3D566E;
    padding: 0 35px;
    margin-bottom: 22px;
    background-attachment: scroll;
    background-repeat: repeat-x;
    background-position: center center;
    text-transform: uppercase;
}

a.about-section-btn {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    color: #34495E;
    background: transparent;
    border: 2px solid #34495E;
    padding: 10px 14px;
    cursor: pointer;
    letter-spacing: 2px;
    text-align: center;
    display: inline-block;
    -webkit-transition: .4s background ease;
    -moz-transition: .4s background ease;
    -o-transition: .4s background ease;
    transition: 0.4s background ease;
}

.about-section-btn:hover {
    color: #FFF;
    background: #34495E;
}

/* SMALL VIDEO BACKGROUND 
================================================== */
.small-background-section {
    font-family: 'Raleway', sans-serif;
    padding: 100px 0;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.small-background-container {
    position: relative;
    text-align: center;
}

.small-background-title {
    font-size: 40px;
    color: #F1C40F;
    font-weight: 300;
    z-index: 10;
    display: inline-block;
    text-transform: uppercase;
    margin-bottom: 20px;
    margin-top: 20px;
    position: relative;
    background-attachment: scroll;
    background-repeat: repeat-x;
    background-position: top center;
}

/* SOCIALS
================================================== */
.socials a {
    color: #FFF;
}

.socials a:hover {
    color: #BDC3C7;
}

/* MEDIA QUERIES
================================================== */
@media screen and (max-width: 810px) {
    .about-section-title {
        line-height: 1;
    }
    
    .myBox {
        display: none;
    }
    
    td.MainContent {
        width: 100%;
    }
    
    .mobile-title {
        display: inline;
        text-align: center;
        width: 100%;
        align-content: center;
    }
}

@media screen and (max-width: 480px) {
    .big-background-title {
        font-size: 58px;
    }
    
    .small-background-title {
        line-height: 1;
    }
    /*.player{ display: none;}  -> If you want to remove the video bg on a specific viewport w/o plugin*/
}

@media screen and (max-width: 360px) {
    .big-background-title, #colorize {
        line-height: 1;
    }
}

@media screen and (max-width: 320px) {
    .small-background-title {
        font-size: 30px;
    }
}
