/* --------------------------------------
=========================================
RESPONSIVE FIXES
=========================================
-----------------------------------------*/

$circle-w: 100px;
$circle-bg: #fff;
$arrow-bg:#55544F;
$body-bg: #9DDCDC;
$bezier: cubic-bezier(0.770, 0.000, 0.175, 1.000);
$bezier-bounce: cubic-bezier(.87, -.41, .19, 1.44);
$anim-timing: 3s;

html,
body {
    height: 100%;
    width: 100%;
    text-align: center;
}

body {
    background-color: $body-bg;
}

.ico {
    margin: 0 auto;
    text-align: center;
    width: $circle-w;
    height: $circle-w;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    filter: url("#goo");

    .circle {
        background: $circle-bg;
        border-radius: 50%;
        display: inline-block;
        height: $circle-w;
        width: $circle-w;

        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        transform-origin: 0%;

        &.circle-top {
            height: $circle-w / 3;
            width: $circle-w / 2.4;
            animation: blob-1-anim $anim-timing $bezier infinite;
            z-index: 0;
            top: 0;
        }

        &.circle-bottom {
            height: $circle-w / 3;
            width: $circle-w / 2.4;
            animation: blob-2-anim $anim-timing $bezier infinite;
            z-index: 9;
            bottom: 0px;
        }

    }


    .st-arrow {
        fill: $arrow-bg;
        animation: scrolly $anim-timing $bezier forwards infinite;
        perspective: 9000px;
        transform: translateZ(0);
        transform-origin: bottom;
    }
}

.svg {
    z-index: 9;
    position: relative;
}

@keyframes blob-1-anim {
    0% {
        transform: translateX(-50%) translateY(0);
    }

    14% {
        transform: translateX(-50%) translateY(-8px);
    }

    24% {
        transform: translateX(-50%) translateY(0);
    }

    100% {
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes blob-2-anim {
    0% {
        //transform: scale(1) translate(-50%,-150%);
        transform: scale(1) translate(-50%, 10px);
    }

    30% {
        //transform: scale(1) translate(-50%,-50%);
        transform: scale(1) translate(-50%, 10px);
    }

    70% {
        //transform: scale(1) translate(-50%,-50%);
        transform: scale(1) translate(-50%, 10px);

    }

    95% {
        //transform: scale(1) translate(-50%,-50%);
        transform: scale(1) translate(-50%, 26px);


    }

    100% {
        //transform: scaleX(1.5) translate(-50%,140%);
        transform: scale(1) translate(-50%, 10px);
    }
}

@keyframes scrolly {
    0% {
        transform: translate3d(0, -150%, 0) rotateX(90deg) scale(0.5) skewX(3deg);
    }

    30% {
        transform: translate3d(0, 0, 0) rotateX(0deg) scale(1) skewX(0deg);
    }

    70% {
        transform: translate3d(0, 0, 0) rotateX(0deg) scale(1) skewX(0deg);
    }

    95% {
        transform: translate3d(0, 50%, 0) rotateX(-90deg) scale(0.5) skewX(-3deg);
    }

    100% {
        transform: translate3d(0, 50%, 0) rotateX(-90deg) scale(0.5) skewX(-3deg);
    }
}

@media (max-width: 1024px) {

    .animated {
        -webkit-transform: translateZ(0);
    }


    header {
        background-attachment: scroll;
    }
}


@media (max-width: 991px) {


    body {
        font-size: 15px;
        line-height: 26px;
    }

    header .color-overlay {
        min-height: 800px;
    }


    .app-brief .left-align {
        text-align: center;
    }

    .colored-line-left {
        float: none;
        margin: auto;
    }
}

@media (min-width: 768px) and (max-width: 991px) {


    html {
        font-size: 90%;
    }


    header .color-overlay {
        min-height: 780px;
    }

    .sticky-navigation .navbar-header {
        width: 100%;
        position: relative;
        text-align: center;
        margin-top: -42px;
    }

    .sticky-navigation .navbar-header a {
        float: none !important;
    }

    .sticky-navigation .navbar-header img {
        max-height: 40px;
    }

    .sticky-navigation .main-navigation {
        text-align: center;
        width: 100%;
        padding-top: 0;
    }

    header .intro-section {
        padding-top: 10%;
    }

    .features .features-left,
    .features .features-right {
        margin-top: 0;
    }

    .features .features-left .icon-container,
    .features .features-right .icon-container {
        display: none;
    }
}

@media (max-width: 767px) {


    html {
        font-size: 80%;
    }

    body {
        font-size: 15px;
        line-height: 26px;
    }


    header .color-overlay {
        min-height: 580px;
    }

    header .only-logo .navbar {
        padding: 20px;
    }

    .navbar-inverse .navbar-nav {
        padding-left: 10px;
        line-height: normal;
        text-align: center;
    }

    .navbar-inverse .navbar-nav>li {
        display: inline-block;
        margin-bottom: 0;
    }

    header .intro-section {
        padding-top: 9%;
    }

    .features .features-left,
    .features .features-right {
        text-align: center;
        margin-top: 5px;
    }

    .features .feature {
        margin-bottom: 70px;
    }

    .features .features-left .icon-container,
    .features .features-right .icon-container {
        float: none;
        margin-left: inherit;
        min-height: 70px;
    }

    .features .feature .icon-container .icon {
        margin: auto;
    }

    .download .subscription-form .input-box {
        margin: auto;
        width: 80%;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {


    html {
        font-size: 65%;
    }

    header .color-overlay {
        min-height: 480px;
    }

    header .only-logo .navbar {
        padding: 10px;
    }

    header .intro-section {
        padding-top: 2%;
    }

    header .intro-section .intro {
        margin-bottom: 16px;
    }

    header .intro-section h5 {
        color: #ffffff;
    }

    header .intro-section .buttons {
        margin-top: 15px;
    }

    .testimonials,
    .download {
        background-attachment: inherit !important;
    }

    .download .subscription-form .input-box {
        width: 95%;
        height: 50px;
    }

    .standard-button,
    .standard-button2 {
        font-size: 15px;
        min-width: 100px;
        padding: 11px 20px 11px 20px;
    }

    .features .feature:hover .icon-container .icon,
    footer .contact-button:hover {
        -webkit-background-clip: padding-box;
        -moz-background-clip: padding;
        background-clip: padding-box;
    }
}

@media (max-width: 320px) {


    html {
        font-size: 60.5%;
    }
}


@media (min-width: 320px) and (max-width: 640px) and (orientation: landscape) {

    .full-screen h1 {
        font-size: 30px !important;
        line-height: 40px;
        margin-top: 0;
        font-weight: bold;
    }

    .full-screen .intro-section .intro {
        margin-bottom: 0;

    }

    .full-screen .intro-section h5 {

        font-size: 14px;
    }

    .full-screen .intro-section .buttons {
        margin-top: 0;
    }

    .full-screen .standard-button {
        font-size: 14px;
        padding: 8px 5px;
    }
}