/* 1. IMPORT SECTION */

@import url("bootstrap.css");
@import url(http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,300,400,700);
@import url("font-awesome.min.css");


/* 2. BASIC STYLES */

html,
body {
    height: 100%;
    width: 100%;
}

body {
    font-size: 16px;
    line-height: 1.5em;
    font-family: 'Open Sans', sans-serif;
    background-color: transparent;
    color: #fff;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    overflow-y: hidden;
}

a {
    transition: color 0.25s, background 0.25s, opacity 0.25s;
    -moz-transition: color 0.25s, background 0.25s, opacity 0.25s;
    -webkit-transition: color 0.25s, background 0.25s, opacity 0.25s;
    -o-transition: color 0.25s, background 0.25s, opacity 0.25s;
    -ms-transition: color 0.25s, background 0.25s, opacity 0.25s;
}

a, a:hover, a:active, a:focus {
    outline: 0;
    border: 0;
    text-decoration: none;
}

a, a:active, a:focus {
    color: #fff;
}

a:hover {
    color: #4fc1e9;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.4em;
    display: inline;
    border-bottom: 4px solid #fff;
    padding-bottom: 10px;
}

p {
    margin-top: 40px;
    font-size: 1.4em;
    font-weight: 400;
    font-style: italic;
    line-height: 1.5em;
}

::-moz-selection {
    color: #fff;
    background: rgba(255, 255, 255, 0.4);
}

::selection {
    color: #fff; 
    background: rgba(255, 255, 255, 0.4);
}


/* 2. PRELOADER */

.cl-preloader {
    content: "";
    width: 100%;
    height: 100%;
    z-index: 99;
    display: block;
    position: fixed;
    text-align: center;
    background-color: #e2e2e2;
}

.cl-preloader > img {
    top: 45%;
    width: 180px;
    height: 50px;
    margin: 0 auto;
    margin-bottom: 30px;
    position: relative;
}

/* 3. HEADER */

header {
    width: 100%;
    min-height: 100%;
    margin-bottom: -100px;
    position: relative;
    top: 100%;
    padding-left: 0px;
}

header > .container {
    height: 100%;
    padding: 100px 20px 150px;
    position: relative;
    z-index: 1;
}

header > canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -99;
}

.cl-background {
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -99;
}

.cl-overlay {
    width: 100%;
    height: 100%;		
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.cl-overlay-image {
    background-image: url('../img/dots.png');
    background-repeat: repeat;
}

.cl-overlay-color {
    background-color: rgba(0,0,0,0.1);
}

.cl-overlay-gradient {
    background: -moz-linear-gradient(215deg,  rgba(0,204,255,0.8) 0%, rgba(196,255,0,0.8) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,rgba(0,204,255,0.8)), color-stop(100%,rgba(196,255,0,0.8))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(215deg,  rgba(0,204,255,0.8) 0%,rgba(196,255,0,0.8) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(215deg,  rgba(0,204,255,0.8) 0%,rgba(196,255,0,0.8) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(215deg,  rgba(0,204,255,0.8) 0%,rgba(196,255,0,0.8) 100%); /* IE10+ */
    background: linear-gradient(215deg,  rgba(0,204,255,0.8) 0%,rgba(196,255,0,0.8) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ccff', endColorstr='#c4ff00',GradientType=1 ) progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/1x1.png'); /* IE6-9 fallback on horizontal gradient */
    pointer-events:none;
}


/* 4. LOGO */

.cl-logo {
    text-align: left;
    z-index: 3;
}

.cl-logo img {
    width: 152px;
    height: auto;
    display: inline-block;
    margin-bottom: 50px;
    vertical-align: bottom;
}

/* 5. CONTENT */

.cl-changer {
    margin-top: 30px;
}

.cl-changer > div {
    display: none;
    position: relative;
}

.cl-changer > div.active {
    display: block;
}


/* 6. HOME */

#home .cl-title {
    z-index: 2;
}

#home .cl-title > div {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 4em;
    word-wrap: break-word;
    line-height: 1em;
    display: inline-block;
}

#home .cl-title .rotate {
    display: inline-block;
}

#home .cl-title span {
    color: #fff;
}

#home .cl-title-paragraph {
    max-width: 600px;
}

#home .cl-title-paragraph p {
    font-size: 1.4em;
    font-style: italic;
}

/* 7. FOOTER */

footer {
    width: 100%;
    padding-left: 0px;
    position: relative;
    z-index: 1;
}

footer > .container {
    padding-top: 30px;
    padding-bottom: 30px;
}

.cl-footer-copyrights p {
    line-height: 40px;
    margin: 0;
    text-align: right;
    font-size: 0.8em;
    font-weight: 300;
    font-style: normal;
}


/* 8. BREAKPOINTS */

@media (max-width: 1199px) {
    #gallery .grid-item {
        width: 290px;
    }
}

@media (max-width: 991px) {
    #gallery .grid-item {
        width: 340px;
    }
}

@media (max-width: 767px) {

    p {
        font-size: 1.2em;
    }

    nav {
        padding-top: 40px;
    }

    header {
        margin-bottom: -140px;
    }

    header > .container {
        padding-top: 50px;
    }

    .cl-logo {
        text-align: center;
    }

    .cl-socials {
        text-align: center;
    }

    #home .cl-title > div {
        font-size: 3em;
        margin-top: 0;
    }

    #home .cl-title-paragraph p {
        font-size: 1.2em
    }

    #features li {
        font-size: 1.2em;
    }

    #features li p {
        font-size: 0.8em;
    }

    #gallery .grid-item {
        width: 100%;
    }

    #team figure {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .cl-footer-copyrights p {
        text-align: center;
    }

}