@import url('https://fonts.googleapis.com/css?family=Hanuman:400,700|Koulen&subset=khmer');
@font-face {
    font-family: Jrung;
    src: url(fonts/jrung.ttf);
}

body {
    font-family: Hanuman;
}
div,
section,
header,
footer,
input,
textarea,
p {
    box-sizing: border-box;
}
h1,h2,h3,h4,h5,h6 {
    font-family: Jrung, Koulen;
}


.wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
@media screen and (max-width: 800px) {
    .wrapper {
        padding: 0 10px;
    }
}




/* HEADER */

header {
    background-color: rgba(0,0,0,0.7);
    position: fixed;
    top: 0;
    height: 100px;
    width: 100%;
    z-index: 9999;
    transition: all 0.3s;
}
header.smaller {
    height: 60px;
}
header .wrapper {
    height: 100%;
}
.logo {
    position: relative;
}
.logo img {
    position: absolute;
    height: 60px;
    padding: 20px 0;
    width: auto;
    transition: all 0.3s;
}
header.smaller .logo img {
    height: 40px;
    padding: 10px 0;
}





/* NAV STYLES */
nav {
    display: table;
    height: 100%;
    float: right;
}
nav a {
    display: table-cell;
    color: white;
    text-decoration: none;
}
nav .fa-facebook-official,
nav .fa-youtube-play,
nav .fa-envelope {
    padding: 0 10px;
    height: 100%;
    font-size: 2em;
    transition: all 0.3s;
    line-height: 100px;
}
header.smaller nav .fa-facebook-official,
header.smaller nav .fa-youtube-play,
header.smaller nav .fa-envelope {
    line-height: 60px;
}
nav .fa-facebook-official:hover {
    background-color: #3b5998;
}
nav .fa-youtube-play:hover {
    background-color: #cd201f;
}
nav .fa-envelope:hover {
    background-color: green;
}




/* FIRST SECTION AT TOP */
section:nth-child(2) {
    padding: 110px 0 10px 0;
    background: url(../img/bg.jpg) no-repeat center center;
    background-size: cover;
}
section:nth-child(2) .wrapper {
    padding: 20px;
    background-color: rgba(255,255,255,0.8);
    text-align: left;
    color: black;
    border-radius: 5px;
}
section:nth-child(2) h1 {
    margin: 0 0 0.5em 0;
}
section:nth-child(2) p:last-child {
    margin-bottom: 0;
}






/* OTHER SECTIONS */
section:nth-child(4),
section:nth-child(6),
section:nth-child(8),
section:nth-child(10) {
    background: url(../img/bg.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}
section:nth-child(4) p,
section:nth-child(6) p,
section:nth-child(8) p,
section:nth-child(10) p {
    text-shadow: 0 0 5px white, 0 0 10px white, 0 0 15px white, 0 0 20px white, 0 0 25px white;
}
@media screen and (max-width: 600px) {
    section:nth-child(4),
    section:nth-child(6),
    section:nth-child(8),
    section:nth-child(10) {
        background-attachment: scroll;
    }
}








/* QUOTE STUFF */
.quote {
    margin: 0 auto;
    width: 100%;
    max-width: 700px;
    padding: 1em 2em 0 2em;
    font-size: 1.5em;
    text-align: center;
}
.quote-name {
    margin: 0 auto;
    width: 100%;
    max-width: 700px;
    padding: 0 2em 0 2em;
    font-size: 1.2em;
    text-align: right;
    font-style: italic;
}





/* VIDEO STUFF */
.vid {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 30px 0;
    
}
.vidwrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.vidwrapper iframe,
.vidwrapper object,
.vidwrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}








/* CONTACT SECTION */

.contact {
    text-align: center;
    padding: 20px 0;
    background: white;
}
#contact-form input[type=text],
#contact-form input[type=email] {
    width: calc(50% - 10px);
    padding: 10px;
    border: 0;
    border-bottom: 1px solid silver;
}
#contact-form input[type=text] {
    margin-right: 10px;
}
#contact-form input[type=email] {
    margin-left: 10px;
}
#contact-form textarea {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    height: 100px;
    resize: vertical;
    border: 0;
    border-width: 0 1px 1px 1px;
    border-style: solid;
    border-color: silver;
}
#contact-form .antispam {
    display: none;
}
#contact-form input[type=submit] {
    width: calc(50% - 10px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #eee;
    box-shadow: 1px 1px 5px 0 #ddd;
    transition: all 0.3s;
}
#contact-form input[type=submit] {
    border-color: rgba(35,147,34,0.4);
}
#contact-form input[type=submit]:hover {
    border-color: rgba(35,147,34,1);
}
#contact-form .error,
#contact-form .success {
    display: none;
    width: 80%;
    padding: 20px;
    margin: 10px auto;
    text-align: center;
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;
}
#contact-form .error {
    background-color: rgba(255,0,0,0.1);
    border-color: rgba(255,0,0,0.4);
    color: red;
}
#contact-form .success {
    background-color: rgba(35,147,34,0.1);
    border-color: rgba(35,147,34,0.4);
    color: rgba(35,147,34,1);
}
/* FOR MOBILE DEVICES */
@media screen and (max-width: 500px) {
    #contact-form input[name=name],
    #contact-form input[type=email] {
        width: 100%;
        margin: 0 auto 10px auto;
        display: block;
    }
    #contact-form textarea {
        width: 100%;
        margin: 0 auto 10px auto;
    }
    #contact-form input[type=submit] {
        margin: 0 auto;
        width: 100%;
/*        display: block;*/
    }
    #contact-form .antispam {
        display: none;
    }
}





/* FOOTER */

footer {
    width: 100%;
    padding: 20px 0;
    background-color: #222;
    color: #aaa;
    overflow: auto;
}
footer .col1,
footer .col2,
footer .col3 {
/*    background: purple;*/
    width: calc(33.333% - 6.6666px);
    float: left;
    text-align: center;
}
footer .col1,
footer .col2 {
    margin-right: 10px;
}
footer .jrung {
    font-family: Jrung;
}
footer a {
    color: inherit;
}
@media screen and (max-width: 600px) {
    footer {
        padding: 0px;
    }
    footer .col1,
    footer .col2,
    footer .col3 {
        float: none;
        width: 100%;
        margin: 20px 0;
    }
}




/*​​​ TO BE REMOVED */
.vidwrapper {
    position: relative;
}
.soon {
    position: absolute;
    text-align: center;
    background: #3b6cba;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #3b6cba; /* Old browsers */
    background: -moz-linear-gradient(top, #3b6cba 0%, #1958b7 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #3b6cba 0%,#1958b7 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #3b6cba 0%,#1958b7 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3b6cba', endColorstr='#1958b7',GradientType=0 ); /* IE6-9 */
}
.soon div {
    position: absolute;
    margin: 0 auto;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    color: white;
    font-size: 3em;
    
}