/** 1. TYPOGRAPHY
*******************************************************************/

html,
body
{
    width: 100%;
    height: 100% !important;
    margin: 0 !important;
}

body
{
    font-weight: 300;
    font-style: normal;
    overflow: hidden;
    color: #fff;
    background: #111;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6
{
    font-family: 'Raleway', sans-serif;
    font-weight: normal;
    line-height: auto;
    color: #fff;
}

h1
{
    font-size: 45px;
}

h2
{
    font-size: 35px;
}

h3
{
    font-size: 30px;
}

h4
{
    font-size: 24px;
}

h5
{
    font-size: 18px;
}

h6
{
    font-size: 16px;
}

p
{
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    line-height: auto;
}

a,
a:hover,
a:focus
{
    cursor: pointer;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
    text-decoration: none;
}


/** 2. LOADING
*****************************************************************/

#page-loader
{
    position: fixed;
    z-index: 99999;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: all 800ms cubic-bezier(.540, .086, .000, .980) .2s;
    transition: all 800ms cubic-bezier(.540, .086, .000, .980) .2s;
    background: #111;
}

#page-loader.hide-this
{
    bottom: 100%;
}

#page-loader .spinner-container
{
    position: absolute;
    z-index: 200;
    left: 50%;
	top: 50%;

    -webkit-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
}

#page-loader .spinner-container .css-spinner
{
    display: block;

    width: 36px;
    height: 36px;

    -webkit-transition: all .4s cubic-bezier(.19, 1, .22, 1);
            transition: all .4s cubic-bezier(.19, 1, .22, 1);
    -webkit-animation: spinner 400ms linear infinite;
            animation: spinner 400ms linear infinite;

    opacity: 1;
    border: solid 2px transparent;
    border-top-color: #1fb8b2;
    border-left-color: #1fb8b2;
    border-radius: 100%;
}

#page-loader.hide-this .spinner-container .css-spinner
{
    opacity: 0;
}

@-webkit-keyframes spinner
{
    0%
    {
        -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
    }
    100%
    {
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
    }
}

@keyframes spinner
{
    0%
    {
        -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
    }
    100%
    {
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
    }
}


/** 3. CONTENT
*****************************************************************/

#main
{
    position: fixed;
    width: 100%;
    height: 100%;
}

#main-container
{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    -webkit-transition: all 200ms linear;
            transition: all 200ms linear;
}

.container-mid
{
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 0;
    display: block;
    width: 100%;
    height: auto;
    max-height: 100%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    text-align: center;
}


/** 8. MEDIA QUERIES
*****************************************************************/

@media screen and (max-width: 1400px), screen and (max-height: 720px)
{
    .tooltip.bottom .tooltip-inner
    {
        font-size: 10px;
    }

    .up-button
    {
        width: 60px;
    }

    .up-button.active
    {
        height: 60px;
    }

    .up-button i
    {
        font-size: 14px;
        line-height: 60px;
    }

    #overlay .container-mid .container
    {
        padding: 40px 40px;
    }

    #about h1
    {
        font-size: 31px;

        margin-bottom: 20px;

        letter-spacing: 1px;
    }

    #about p
    {
        font-size: 10px;
        max-width: 460px;
        margin: 0 auto 28px auto;
    }
}

@media screen and (max-width: 420px), screen and (max-height: 720px)
{
    .spinner
    {
        width: 100px;
    }

    .tooltip.bottom .tooltip-inner
    {
        font-size: 8px;
    }

    #overlay .container-mid .container
    {
        padding: 55px 40px;
    }

    .up-button
    {
        width: 50px;
    }

    .up-button.active
    {
        height: 50px;
    }

    .up-button i
    {
        font-size: 11px;
        line-height: 50px;
    }

    #about h1
    {
        font-size: 30px;
    }

    #about .subscribe-form input
    {
        font-size: 7px !important;
    }

    #about .social-icons li
    {
        margin: 0 14px;
    }
}

@media screen and (max-width: 329px)
{
    #about .social-icons li
    {
        margin: 0 10px;
    }

    .input-group-lg > .form-control,
    .input-group-lg > .input-group-addon,
    .input-group-lg > .input-group-btn > .btn
    {
        padding: 10px 12px;
    }
}

@media screen and (max-width: 318px)
{
    #about .social-icons li
    {
        margin: 0 8px;
    }

    #about .subscribe-form .input-group
    {
        display: block;
    }

    #about .subscribe-form input
    {
        display: block;
        text-align: center;
        border-right: 1px solid #d6d6d6 !important;
    }
}

@media screen and (min-width: 3000px)
{
    .stop-button,
    .volume-button
    {
        font-size: 32px;
        position: fixed;
        z-index: 101;
        bottom: 40px;
        cursor: pointer;
        color: #fff;
    }

    .stop-button
    {
        left: 110px;
    }

    .volume-button
    {
        left: 40px;
    }

    .spinner
    {
        width: 240px;
    }

    .up-button
    {
        width: 100px;
    }

    .up-button.active
    {
        height: 100px;
    }

    .up-button i
    {
        font-size: 20px;
        line-height: 100px;
    }

    #overlay .container-mid .container
    {
        padding: 120px 40px;
    }

}


.main
{
    position: relative;
    z-index: 1;

    overflow: hidden;

    width: 100%;
    height: 100%;
}

.main .front-content
{
    position: absolute;
    z-index: 5;
    top: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    -webkit-transition: all 600ms ease;
            transition: all 600ms ease;
}

.main .front-content.overlay-active
{
    top: 50%;
    height: 0;
}

.main .front-content .container-mid
{
    text-align: center;

    -webkit-perspective: 1000px;
            perspective: 1000px;
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
}

.main .front-content .controls
{
    position: absolute;
    bottom: 0;
    left: 0;

    -webkit-transition: 200ms ease;
            transition: 200ms ease;
    -webkit-transform: translateY(100px);
            transform: translateY(100px);
}

.main .front-content .controls.show
{
    -webkit-transition: 800ms ease;
            transition: 800ms ease;
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
}

.main .front-content .controls .volume-button,
.main .front-content .controls .pause-button
{
    font-size: 20px;
    position: absolute;
    z-index: 101;
    bottom: 20px;
    width: 20px;
    cursor: pointer;
    color: #fff;
}

.main .front-content .controls .volume-button
{
    left: 66px;
}

.main .front-content .controls .pause-button
{
    left: 26px;
}

.main .background-content
{
    position: absolute;
    z-index: -10;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.main .background-content .level-1,
.main .background-content .level-2
{
    position: absolute;

    width: 100%;
    height: 100%;
}

.main .background-content .level-1
{
    z-index: 2;
    top: 50%;
    left: 50%;

    width: 110%;
    height: 110%;

    -webkit-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
}

.main .background-content .level-2
{
    z-index: 1;

    -webkit-transform: scale(1.02);
            transform: scale(1.02);
}

.main .background-content .bg-overlay,
.main .background-content .bg-pattern,
.main .background-content .bg-image,
.main .background-content .bg-video,
.main .background-content .bg-color,
.main .background-content #canvas
{
    position: absolute !important;

    width: 100%;
    height: 100% !important;
}

.main .background-content .bg-color
{
    z-index: -1;

    opacity: 0;
    background: rgb(175,153,127);
}

.main .background-content #canvas canvas
{
    position: absolute !important;
}

.main .background-content .bg-overlay
{
    position: absolute !important;
    top: 0;

    width: 100%;
    height: 100%;

    opacity: .52;
    background: rgba(0,0,0,1.00);
}

/** 2. main-1
*******************************************************************/

.main-1 .front-content img.logo
{
    margin-top: 10px;
    margin-bottom: 20px;
    width: 260px;
    height: auto;
}

.main-1 .front-content .slide
{
    width: 100%;
    margin: 0 auto;

    text-align: center;
}

.main-1 .front-content h1
{
    font-family: 'Raleway', sans-serif;
    font-size: 60px;
    font-weight: 600;
    margin: 0 auto;
    margin-bottom: 48px;
    text-align: center;
    color: #fff;
}

.main-1 .front-content h1 span
{
    color: #1fb8b2;
}

.main-1 .front-content p
{
    font-family: 'Raleway', sans-serif;
    font-size: 17px;
    font-weight: 400;
    padding-bottom: 50px;
    letter-spacing: 2px;
    color: #fff;
}

.main-1 .front-content .arrow-wrap
{
    display: inline-block;
    overflow: hidden;

    margin: 0 auto;
}

.main-1 .front-content .open-overlay i
{
    font-size: 16px;
    line-height: 66px;

    z-index: 2;

    margin: 0 auto;

    cursor: inherit;
    -webkit-transition: all .6s ease 0s;
            transition: all .6s ease 0s;

    color: inherit;
    background: rgba(255,255,255,.0);
}

.main-1 .front-content div.open-overlay
{
    position: relative;

    display: block;

    width: 74px;
    height: 74px;
    margin: 0 auto;

    cursor: pointer;
    -webkit-transition: all .6s ease 0s;
            transition: all .6s ease 0s;
    text-align: center;

    color: #fff;
    border: solid 4px #fff;
}

.main-1 .front-content .down-button i
{
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;

    -webkit-transition: none;
            transition: none;
    text-align: center;

    color: #fff;
}

.main-1 .front-content .down-button:hover i
{
    -webkit-transition: all 150ms cubic-bezier(1, 0, 0, 1);
            transition: all 150ms cubic-bezier(1, 0, 0, 1);
}

.main-1 .front-content .down-button i:first-child
{
    top: -200%;
}

.main-1 .front-content .down-button:hover i:first-child
{
    top: 0;
}

.main-1 .front-content .down-button i:last-child
{
    top: 0;
}

.main-1 .front-content .down-button:hover i:last-child
{
    top: 200%;
}




/** PAGE ENTER ANIMATIONS **/

.main-1 .front-content.page-enter-animated img.logo
{
    -webkit-transition: 1s;
            transition: 1s;
    -webkit-transform: translateY(-100%) !important;
            transform: translateY(-100%) !important;

    opacity: 0 !important;
}

.main-1 .front-content.page-enter-animated.show img.logo
{
    -webkit-transform: translateY(0) !important;
            transform: translateY(0) !important;

    opacity: 1 !important;
}

.main-1 .front-content.page-enter-animated #cycle
{
    -webkit-transition: 1s .5s;
            transition: 1s .5s;
    -webkit-transform: translateY(100%) !important;
            transform: translateY(100%) !important;

    opacity: 0 !important;
}

.main-1 .front-content.page-enter-animated.show #cycle
{
    -webkit-transform: translateY(0) !important;
            transform: translateY(0) !important;

    opacity: 1 !important;
}

.main-1 .front-content.page-enter-animated p
{
    -webkit-transition: 1s 1s;
            transition: 1s 1s;
    -webkit-transform: translateY(100%) !important;
            transform: translateY(100%) !important;

    opacity: 0 !important;
}

.main-1 .front-content.page-enter-animated.show p
{
    -webkit-transform: translateY(0) !important;
            transform: translateY(0) !important;

    opacity: 1 !important;
}

.main-1 .front-content.page-enter-animated .arrow-wrap
{
    -webkit-transition: 1s 1.5s;
            transition: 1s 1.5s;
    -webkit-transform: translateY(100%) !important;
            transform: translateY(100%) !important;

    opacity: 0 !important;
}

.main-1 .front-content.page-enter-animated.show .arrow-wrap
{
    -webkit-transform: translateY(0) !important;
            transform: translateY(0) !important;

    opacity: 1 !important;
}

.main-1 .background-content #canvas
{
    top: 100% !important;

    -webkit-transition: 1s 2s;
            transition: 1s 2s;

    opacity: 0;
}

.main-1 .background-content.page-enter-animated.show #canvas
{
    top: 0 !important;

    opacity: 1;
}


/** MEDIA QUERIES  **/

@media only screen and (max-width: 768px), only screen and (max-height: 630px)
{
    .main-1 .front-content img.logo
    {
        max-width: 220px;
    }

    .main-1 .front-content h1
    {
        font-size: 60px;

        margin-bottom: 40px;
    }

    .main-1 .front-content p
    {
        font-size: 14px;

        padding-bottom: 36px;
    }

    .main-1 .front-content .open-overlay i
    {
        font-size: 14px;
        line-height: 58px;
    }

    .main-1 .front-content div.open-overlay
    {
        width: 64px;
        height: 64px;

        border: solid 3px #fff;
    }
}

@media only screen and (max-width: 600px), only screen and (max-height: 500px)
{
    .main-1 .front-content img.logo
    {
        max-width: 186px;
        margin-bottom: 15px;
    }

    .main-1 .front-content h1
    {
        font-size: 45px;

        margin-bottom: 32px;
    }

    .main-1 .front-content p
    {
        font-size: 12px;

        padding-bottom: 28px;
    }

    .main-1 .front-content .open-overlay i
    {
        font-size: 13px;
        line-height: 46px;
    }

    .main-1 .front-content div.open-overlay
    {
        width: 50px;
        height: 50px;

        border: solid 2px #fff;
    }
}


@media only screen and (max-width: 480px), only screen and (max-height: 410px)
{
    .main-1 .front-content img.logo
    {
        max-width: 160px;
        margin-bottom: 12px;
    }

    .main-1 .front-content h1
    {
        font-size: 40px;

        margin-bottom: 25px;
    }

    .main-1 .front-content p
    {
        font-size: 11px;
        font-weight: 300;

        padding-bottom: 20px;

        letter-spacing: 2px;
    }

    .main-1 .front-content .open-overlay i
    {
        font-size: 11px;
        line-height: 38px;
    }

    .main-1 .front-content div.open-overlay
    {
        width: 42px;
        height: 42px;
    }
}

@media only screen and (max-width: 400px), only screen and (max-height: 310px)
{
    .main-1 .front-content img.logo
    {
        max-width: 140px;
        margin-bottom: 10px;
    }

    .main-1 .front-content h1
    {
        font-size: 35px;
        margin-bottom: 23px;
    }

    .main-1 .front-content p
    {
        font-size: 10px;
        padding-bottom: 18px;
    }

    .main-1 .front-content .open-overlay i
    {
        font-size: 9px;
        line-height: 32px;
    }

    .main-1 .front-content div.open-overlay
    {
        width: 36px;
        height: 36px;
    }
}

@media only screen and (max-width: 355px) ,only screen and (max-height: 280px)
{
    .main-1 .front-content img.logo
    {
        max-width: 130px;
        margin-bottom: 8px;
    }

    .main-1 .front-content h1
    {
        font-size: 30px;

        margin-bottom: 20px;
    }

    .main-1 .front-content p
    {
        font-size: 9px;

        padding-bottom: 12px;
    }

    .main-1 .front-content .open-overlay i
    {
        font-size: 8px;
        line-height: 30px;
    }

    .main-1 .front-content div.open-overlay
    {
        width: 34px;
        height: 34px;
    }
}
