/*
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:38px;
}

.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;
}

#big-background-sub {
    font-family:'Trajan Pro',sans-serif;
    font-size:10px;
    color:#00192E;
	text-align:top center;
	display:inline-block;
	background-position:top center;
}

/* BIG VIDEO BACKGROUND
================================================== */
.big-background {
    z-index:550;
    text-align:center;
    height:100%;
    min-height:100%;
    position:relative;
    overflow:hidden
}

.big-background .big-background-container {
    width:830px;
    max-width:100%;
    display:inline-block;
    position:absolute;
    top:50%;
    left:50%;
    -webkit-transform:translate(-50%,-50%);
    -moz-transform:translate(-50%,-50%);
    -ms-transform:translate(-50%,-50%);
    -o-transform:translate(-50%,-50%);
    transform:translate(-50%,-50%);
}

.big-background-title {
    font-family:'Trajan Pro 3',sans-serif;
    font-size:28px;
    color:#5C94A9;
    font-weight:800;
	width:100%;
    text-transform:uppercase;
	text-align:top;
    /*margin-bottom:22px;*/
    padding-top:40px;
    display:inline-block;
    background-attachment:scroll;
    background-repeat:repeat-x;
    background-position:top center;
}

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



/* ABOUT SECTION
================================================== */
.about-section {
    font-family:'Trajan Pro',sans-serif;
    color:#FFF;
	position:relative;
    background:#50C0AF;
    padding:60px 20px;
}

.about-section-container {
	width:80%;
	margin-left: auto;
    margin-right: auto;
    text-align:center;
	position:relative;
    padding-bottom:50px;
}

.about-section-title {
    font-family:'Trajan Pro',sans-serif;
    font-size:40px;
    background:#50C0AF;
    color:#000;
    padding:0 35px;
    margin-bottom:20px;
	position:relative;
    background-attachment:scroll;
    background-repeat:repeat-x;
    background-position:center center;
   text-transform:uppercase;
}

#contactTitle {
	font-family:'Trajan Pro 3',sans-serif;
    font-size:25px;
	padding-top: 18px;
	color:#000;
}

.mailtext {
	font-family:'Trajan Pro',sans-serif;
	font-size:18px;
    color:#fff;
}

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

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

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



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

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




/* MEDIA QUERIES
================================================== */

@media screen and (max-width: 768px) {
.about-section-title {
    line-height:1;
}
}

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

.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, {
    line-height:1;
}
}

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


