
html {
    height: 100%;
}

body {
    background-color: #09406c;
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    color: #000;
    overflow-x: hidden;
}

*,
*::before, *::after {
    box-sizing: border-box;
}

*,
*::before, *::after {
    box-sizing: border-box;
}

.container {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 1230px;
}

.clear {
    clear: both;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
}


/* =========================
       G E N E R A L
 ========================= */

#box-overflow {
    overflow-x: hidden;
}

#box-z {
    position: relative;
    z-index: 10;
}

section {
    position: relative;
    padding: 100px 0;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
}
section:before {
    overflow-x: hidden;
}
section h1,
section h2 {
    font-family: 'Shadows Into Light Two', cursive;
    font-weight: 300;
    line-height: 120%;
}
section h1 {
    font-size: 36px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

section p {
    line-height: 150%;
    margin-bottom: 20px;
}

.col {
    float: left;
}

.col-55 {
    width: 55%;
}

.col-45 {
    width: 45%;
}

.text-box {
    /*max-height: 210px;*/
    overflow-y: hidden;
}

.text-box .mCSB_scrollTools .mCSB_draggerRail {
    background-color: rgba(255, 255, 255, .2);
}

.text-box .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background-color: rgba(255, 255, 255, .4);
}

.text-box .mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar {
    background-color: rgba(255, 255, 255, .8);
}

.divider {
    position: relative;
    padding-top: 60px;
    width: 100%;
    min-height: 50px;
}

.divider h1 {
    font-family: 'Shadows Into Light Two', cursive;
    font-size: 36px;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    z-index: 95;
}


/* --------------------- */

@media only screen and (max-width: 1000px) {
    section h1,
    .divider h1 {
        font-size: 32px;
    }
}

@media only screen and (max-width: 800px) {
    section {
        padding: 50px 0;
    }
    section h1,
    .divider h1 {
        font-size: 28px;
    }
}

@media only screen and (max-device-width: 667px) {
    section h1,
    .divider h1 {
        font-size: 1.5em;
    }

    section h2 {
        font-size: 1.25em;
    }

    .text-box {
        max-height: inherit;
        overflow-y: visible;
    }

    section p{
        font-size: 1em;
        line-height: 120%;
    }

}

@media only screen and (max-width: 700px) {
    section h1,
    .divider h1 {
        font-size: 24px;
    }

    .text-box {
        max-height: inherit;
        overflow-y: visible;
    }
}


/* =========================
            H E A D E R
 ========================= */

#main-header {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 100;
    border-top: 0;
    min-height: 60px;
    background-color: #000;
    padding-top: 5px;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.2);
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

#main-header h1 {
    float: left;
}

#logo-web-design {
    display: block;
    text-indent: -9999px;
    background: url("../images/logo.png") top left no-repeat;
    background-size: contain;
    width: 127px;
    height: 47px;
    margin-left: 65px;
    opacity: 1;
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}

#logo-web-design:hover {
    opacity: 0.6 !important;
}

#main-menu {
    float: right;
}

#main-menu li {
    display: inline-block;
    font-size: 18px;
    text-align: center;
}

#main-menu li > a {
    display: block;
    margin: 0 15px;
    line-height: 60px;
    color: #fff;
    -webkit-transition: color .5s ease-out;
    -moz-transition: color .5s ease-out;
    -o-transition: color .5s ease-out;
    transition: color .5s ease-out;
}

#main-menu li > a.active,
#main-menu li > a:hover,
#main-menu li > a:active,
#main-menu li > a:focus {
    color: #00d9ce;
}

#main-header.narrow-nav #main-menu li > a {
    padding-top: 20px;
    padding-bottom: 12px;
}


/* ------------------------ */

@media only screen and (max-width: 1075px) {
    #logo-web-design {
        margin-left: 5px;
    }

    #main-menu li {
        font-size: 16px;
    }

    #main-menu li > a {
        margin: 0 13px;
    }
}

@media only screen and (max-width: 930px) {
    #main-header {
        min-height: 65px;
        padding-top: 10px;
    }

    #main-header h1 {
        float: none;
    }

    #logo-web-design {
        width: 127px;
        height: 47px;
        margin-left: 10px;
    }

    #main-menu {
        display: none;
        float: none;
        width: 100%;
        margin-top: 5px;
        margin-bottom: 15px;
        position: relative;
        z-index: 100;
    }

    #main-menu li {
        display: block;
        margin-bottom: 5px;
        border: 1px solid Rgba(255, 255, 255, 0.3);
        text-align: left;
    }

    #main-menu li > a {
        margin: 0;
        padding: 0 0 0 30px;
        border-bottom: none;
        border-left: 4px solid transparent;
        line-height: 35px;
        font-size: 16px;
    }
}


/* =========================
       M O B I L E  M E N U
 ========================= */

#mobile-menu-btn,
#mobile-close-btn {
    display: none;
    position: absolute;
    text-indent: -9999px;
    width: 40px;
    height: 40px;
    top: 3px;
    right: 15px;
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
}

#mobile-menu-btn {
    background: #00d9ce url("../../images/mobile-menu-bt.png") center no-repeat;
    z-index: 101;
}

#mobile-close-btn {
    background: #00d9ce url("../../images/mobile-close-bt.png") center no-repeat;
    z-index: 102;
}


/* ------------------------ */

@media only screen and (max-width: 930px) {

    #mobile-menu-btn {
        display: block;
    }

}

/* =========================
     M A I N  B A N N E R
 ========================= */

#main-banner:after {
    content: '';
    display: block;
    position: absolute;
    left: -50%;
    width: 200%;
    height: 100px;
    background-color: #00d9ce;
    bottom: -50px;
    -webkit-transform: rotate(3deg);
    -moz-transform: rotate(3deg);
    transform: rotate(3deg);
    z-index: 90;
}

#main-banner {
    padding: 45px 0 0 0;
    background-color: #09406c;
    min-height: 505px;
    z-index: 90;
}

#main-banner .wrapper {
    position: relative;
}

@keyframes swing {
    0% {
        transform: rotate(-3deg);
        -moz-transform: rotate(-3deg);
    }
    50% {
        transform: rotate(3deg);
        -moz-transform: rotate(3deg);
    }
    100% {
        transform: rotate(-3deg);
        -moz-transform: rotate(-3deg);
    }
}

@-webkit-keyframes swing {
    0% {
        -webkit-transform: rotate(-3deg);
    }
    50% {
        -webkit-transform: rotate(3deg);
    }
    100% {
        -webkit-transform: rotate(-3deg);
    }
}

@keyframes swing2 {
    0% {
        transform: rotate(4deg);
        -moz-transform: rotate(4deg);
    }
    50% {
        transform: rotate(-1deg);
        -moz-transform: rotate(-1deg);
    }
    100% {
        transform: rotate(4deg);
        -moz-transform: rotate(4deg);
    }
}

@-webkit-keyframes swing2 {
    0% {
        -webkit-transform: rotate(4deg);
    }
    50% {
        -webkit-transform: rotate(-1deg);
    }
    100% {
        -webkit-transform: rotate(4deg);
    }
}

@keyframes swing3 {
    0% {
        transform: rotate(0.5deg);
        -moz-transform: rotate(0.5deg);
    }
    50% {
        transform: rotate(-0.5deg);
        -moz-transform: rotate(-0.5deg);
    }
    100% {
        transform: rotate(0.5deg);
        -moz-transform: rotate(0.5deg);
    }
}

@-webkit-keyframes swing3 {
    0% {
        -webkit-transform: rotate(0.5deg);
    }
    50% {
        -webkit-transform: rotate(-0.5deg);
    }
    100% {
        -webkit-transform: rotate(0.5deg);
    }
}

@keyframes swing4 {
    0% {
        transform: rotate(-1.5deg);
        -moz-transform: rotate(-1.5deg);
    }
    50% {
        transform: rotate(1.5deg);
        -moz-transform: rotate(1.5deg);
    }
    100% {
        transform: rotate(-1.5deg);
        -moz-transform: rotate(-1.5deg);
    }
}

@-webkit-keyframes swing4 {
    0% {
        -webkit-transform: rotate(-1.5deg);
    }
    50% {
        -webkit-transform: rotate(1.5deg);
    }
    100% {
        -webkit-transform: rotate(-1.5deg);
    }
}


@keyframes shake {
    0%, 100% {
        transform: rotate(0deg);
        -moz-transform: rotate(0deg);
    }

    10%, 30%, 50%, 70%, 90% {
        transform: rotate(-5deg);
        -moz-transform: rotate(-5deg);
    }
    20%, 40%, 60%, 80% {
        transform: rotate(0deg);
        -moz-transform: rotate(0deg);
    }
}

@-webkit-keyframes shake {
    0%, 100% {
        -webkit-transform: rotate(0deg);
    }

    10%, 30%, 50%, 70%, 90% {
        -webkit-transform: rotate(-5deg);
    }
    20%, 40%, 60%, 80% {
        -webkit-transform: rotate(0deg);
    }
}

@keyframes flip {
    0% {
        transform: perspective(400px) translateZ(0) rotateY(0deg) scale(1);
        -moz-transform: perspective(400px) translateZ(0) rotateY(0deg) scale(1);
        animation-timing-function: ease-out;
    }
    40% {
        transform: perspective(400px) translateZ(0) rotateY(170deg) scale(1);
        -moz-transform: perspective(400px) translateZ(0) rotateY(170deg) scale(1);
        animation-timing-function: ease-out;
    }
    50% {
        transform: perspective(400px) translateZ(0) rotateY(190deg) scale(1);
        -moz-transform: perspective(400px) translateZ(0) rotateY(190deg) scale(1);
        animation-timing-function: ease-in;
    }
    80% {
        transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1);
        -moz-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1);
        animation-timing-function: ease-in;
    }
    100% {
        transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1);
        -moz-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1);
        animation-timing-function: ease-in;
    }
}
@-webkit-keyframes flip {
    0% {
        -webkit-transform: perspective(400px) translateZ(0) rotateY(0deg) scale(1);
        -webkit-animation-timing-function: ease-out;
    }
    40% {
        -webkit-transform: perspective(400px) translateZ(0) rotateY(170deg) scale(1);
        -webkit-animation-timing-function: ease-out;
    }
    50% {
        -webkit-transform: perspective(400px) translateZ(0) rotateY(190deg) scale(1);
        -webkit-animation-timing-function: ease-in;
    }
    80% {
        -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1);
        -webkit-animation-timing-function: ease-in;
    }
    100% {
        -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1);
        -webkit-animation-timing-function: ease-in;
    }
}

.label {
    position: absolute;
    top: 0;
    width: 12.5%;
    max-width: 323px;
}

#label-fb.label {
    left: 6%;
    z-index: 91;
    transform-origin: top center;
    -moz-transform-origin: top center;
    -webkit-transform-origin: top center;
    animation: swing 2s infinite;
    -webkit-animation: swing 2s infinite;
}

#label-snap.label {
    left: 17%;
    z-index: 90;
    transform-origin: top center;
    -moz-transform-origin: top center;
    -webkit-transform-origin: top center;
    animation: shake 6s ease-out infinite;
    -webkit-animation: shake 6s ease-out infinite;
}

#label-google.label {
    left: 28%;
    z-index: 91;
    transform-origin: top center;
    -moz-transform-origin: top center;
    -webkit-transform-origin: top center;
    animation: swing3 3s infinite;
    -webkit-animation: swing3 3s infinite;
}

#label-instagram.label {
    left: 40%;
    z-index: 92;
    transform-origin: top center;
    -moz-transform-origin: top center;
    -webkit-transform-origin: top center;
    animation: swing4 1.5s infinite;
    -webkit-animation: swing4 1.5s infinite;
}

#label-pinterest.label {
    left: 51%;
    z-index: 93;
}

#label-rss.label {
    left: 61%;
    z-index: 94;
    transform-origin: top center;
    -moz-transform-origin: top center;
    -webkit-transform-origin: top center;
    animation: swing3 1.5s infinite;
    -webkit-animation: swing3 1.5s infinite;
}

#label-twitter.label {
    left: 72%;
    z-index: 95;
    animation-duration: 3.5s;
    -webkit-animation-duration: 3.5s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    backface-visibility: visible;
    animation-name: flip;
    -webkit-animation-name: flip;
}

#label-youtube.label {
    left: 84%;
    z-index: 95;
    transform-origin: top center;
    -moz-transform-origin: top center;
    -webkit-transform-origin: top center;
    animation: swing2 2.5s infinite;
    -webkit-animation: swing2 2.5s infinite;
}


/* --------------------- */

@media only screen and (max-width: 1120px) {
    #main-banner {
        min-height: 440px;
    }
}

@media only screen and (max-width: 800px) {
    #main-banner {
        min-height: 345px;
    }
}

@media only screen and (max-width: 600px) {
    #main-banner {
        min-height: 270px;
    }
}

@media only screen and (max-width: 500px) {
    #main-banner {
        min-height: 245px;
        padding-top: 55px;
    }
}


/* =========================
     T U R Q U I S E
 ========================= */

section.turquoise {
    background-color: #00d9ce;
    z-index: 70;
}

section.turquoise .col.col-45 {
    padding-left: 9%;
}

@-webkit-keyframes rotateWheel {
    0% {
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    30% {
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    45% {
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-transform: rotate(280deg);
        transform: rotate(280deg);
    }
    50% {
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-transform: rotate(280deg);
        transform: rotate(280deg);
    }
    60% {
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    70% {
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    75% {
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-transform: rotate(200deg);
        transform: rotate(200deg);
    }
    77% {
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-transform: rotate(200deg);
        transform: rotate(200deg);
    }
    90% {
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

@keyframes rotateWheel {
    0% {
        -webkit-transform-origin: center center;
        -ms-transform-origin: center center;
        transform-origin: center center;
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    30% {
        -webkit-transform-origin: center center;
        -ms-transform-origin: center center;
        transform-origin: center center;
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    45% {
        -webkit-transform-origin: center center;
        -ms-transform-origin: center center;
        transform-origin: center center;
        -webkit-transform: rotate(280deg);
        -ms-transform: rotate(280deg);
        transform: rotate(280deg);
    }
    50% {
        -webkit-transform-origin: center center;
        -ms-transform-origin: center center;
        transform-origin: center center;
        -webkit-transform: rotate(280deg);
        -ms-transform: rotate(280deg);
        transform: rotate(280deg);
    }
    60% {
        -webkit-transform-origin: center center;
        -ms-transform-origin: center center;
        transform-origin: center center;
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    70% {
        -webkit-transform-origin: center center;
        -ms-transform-origin: center center;
        transform-origin: center center;
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    75% {
        -webkit-transform-origin: center center;
        -ms-transform-origin: center center;
        transform-origin: center center;
        -webkit-transform: rotate(200deg);
        -ms-transform: rotate(200deg);
        transform: rotate(200deg);
    }
    77% {
        -webkit-transform-origin: center center;
        -ms-transform-origin: center center;
        transform-origin: center center;
        -webkit-transform: rotate(200deg);
        -ms-transform: rotate(200deg);
        transform: rotate(200deg);
    }
    90% {
        -webkit-transform-origin: center center;
        -ms-transform-origin: center center;
        transform-origin: center center;
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform-origin: center center;
        -ms-transform-origin: center center;
        transform-origin: center center;
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

#wheel {
    max-width: 400px;
    background: url("../images/wheel-1.png") center center no-repeat;
    background-size: contain;
}

#wheel > img {
    animation: rotateWheel 15s ease-out infinite;
    -webkit-animation: rotateWheel 15s ease-out infinite;
}

/* --------------------- */

@media only screen and (max-width: 1000px) {
    section.turquoise .col.col-45 {
        padding-left: 5%;
    }

    #wheel {
        max-width: 330px;
    }
}

@media only screen and (max-width: 800px) {
    section.turquoise .col.col-45 {
        padding-top: 20px;
    }
}

@media only screen and (max-width: 700px), (max-device-width: 667px) {
    section.turquoise .col.col-55 {
        float: none;
        width: 100%;
        padding-top: 20px;
    }
    section.turquoise .col.col-45 {
        display: none;
    }
}


/* =========================
     D I V I D E R    T U R Q U I S E
 ========================= */

.divider.turquoise:before {
    content: '';
    display: block;
    position: absolute;
    left: -50%;
    width: 200%;
    height: 100px;
    background: url("../images/div-t-bg.png") top left repeat;
    top: 50%;
    -webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    transform: rotate(-3deg);
    z-index: 70;
}

.divider.turquoise {
    background: url("../images/div-t-bg.png") top left repeat;
    z-index: 70;
    height: 100px;
}


/* =========================
     O R A N G E
 ========================= */

section.orange {
    background-color: #ff814e;
    padding-top: 150px;
    z-index: 60;
}

@keyframes soundOne {
    0% {
        opacity: 0;
    }
    60% {
        opacity: 0;
    }
    70% {
        opacity: 1;
        -webkit-transform: scale3d(1.2, 1.2, 1.2);
        -ms-transform: scale3d(1.2, 1.2, 1.2);
        transform: scale3d(1.2, 1.2, 1.2);
    }
    90% {
        opacity: 1;
        -webkit-transform: scale3d(1.2, 1.2, 1.2);
        -ms-transform: scale3d(1.2, 1.2, 1.2);
        transform: scale3d(1.2, 1.2, 1.2);
    }
    100% {
        opacity: 0;
    }
}

@-webkit-keyframes soundOne {
    0% {
        opacity: 0;
    }
    60% {
        opacity: 0;
    }
    70% {
        opacity: 1;
        -webkit-transform: scale3d(1.2, 1.2, 1.2);
        transform: scale3d(1.2, 1.2, 1.2);
    }
    90% {
        opacity: 1;
        -webkit-transform: scale3d(1.2, 1.2, 1.2);
        transform: scale3d(1.2, 1.2, 1.2);
    }
    100% {
        opacity: 0;
    }
}

#speaker {
    position: relative;
    max-width: 400px;
}

#speaker > .speaker-s {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

#speaker > .speaker-s:nth-child(2) {
    -webkit-animation: soundOne 3s ease-in infinite 1s;
    animation: soundOne 3s ease-in infinite 1s;
}

#speaker > .speaker-s:nth-child(3) {
    -webkit-animation: soundOne 3s ease-in infinite 1.3s;
    animation: soundOne 3s ease-in infinite 1.3s;
}

#speaker > .speaker-s:nth-child(4) {
    -webkit-animation: soundOne 3s ease-in infinite 1.5s;
    animation: soundOne 3s ease-in infinite 1.5s;
}

#speaker > .speaker-s:nth-child(5) {
    -webkit-animation: soundOne 3s ease-in infinite 1.7s;
    animation: soundOne 3s ease-in infinite 1.7s;
}

#speaker > .speaker-s:nth-child(6) {
    -webkit-animation: soundOne 3s ease-in infinite 1.9s;
    animation: soundOne 3s ease-in infinite 1.9s;
}


/* ------------------------ */

@media only screen and (max-width: 1000px) {
    #speaker {
        max-width: 330px;
    }
}

@media only screen and (max-width: 800px) {
    #speaker {
        max-width: 260px;
    }
}

@media only screen and (max-width: 700px), (max-device-width: 667px)  {
    section.orange h1 br {
        display: none;
    }
    section.orange .col.col-55 {
        float: none;
        width: 100%;
    }
    section.orange .col.col-45 {
        display: none;
    }
}

/* =========================
     D I VI D E R    O R A N G E
 ========================= */

.divider.orange:before {
    content: '';
    display: block;
    position: absolute;
    left: -50%;
    width: 200%;
    height: 100px;
    background: url("../images/div-o-bg.png") top left repeat;
    top: 50%;
    -webkit-transform: rotate(3deg);
    -moz-transform: rotate(3deg);
    transform: rotate(3deg);
    z-index: 60;
}

.divider.orange {
    background: url("../images/div-o-bg.png") top left repeat;
    height: 100px;
    z-index: 60;
}

.divider.orange h1 {
    text-align: right;
}


/* =========================
     Y E L L O W
 ========================= */

section.yellow {
    background-color: #fcd790;
    padding-top: 150px;
    z-index: 50;
}

section.yellow .col.col-45 {
    padding-left: 9%;
}

@keyframes flashSm {
    0% {
        transform: scale(.2);
        -ms-transform: scale(.2);
        -webkit-transform: scale(.2);
    }
    50%{
        transform: scale(.4);
        -ms-transform: scale(.4);
        -webkit-transform: scale(.4);
    }
    55%{
        transform: scale(.4);
        -ms-transform: scale(.4);
        -webkit-transform: scale(.4);
    }
    25%, 75% {
        transform: scale(1.1);
        -ms-transform: scale(1.1);
        -webkit-transform: scale(1.1);
    }
    30%, 80% {
        transform: scale(1.1);
        -ms-transform: scale(1.1);
        -webkit-transform: scale(1.1);
    }
    100% {
        transform: scale(.2);
        -ms-transform: scale(.2);
        -webkit-transform: scale(.2);
    }
}

@-webkit-keyframes flashSm {
    0% {
        transform: scale(.2);
        -webkit-transform: scale(.2);
    }
    50%{
        transform: scale(.4);
        -webkit-transform: scale(.4);
    }
    55%{
        transform: scale(.4);
        -webkit-transform: scale(.4);
    }
    25%, 75% {
        transform: scale(1.1);
        -webkit-transform: scale(1.1);
    }
    30%, 80% {
        transform: scale(1.1);
        -webkit-transform: scale(1.1);
    }
    100% {
        transform: scale(.2);
        -webkit-transform: scale(.2);
    }
}

#smartphone {
    max-width: 400px;
    background: url("../images/smatrfon.png") top left no-repeat;
    background-size: contain;

}

#smartphone > img {
    animation: flashSm 55s linear both infinite 2s;
    -webkit-animation: flashSm 55s linear both infinite 2s;
}


/* --------------------- */

@media only screen and (max-width: 1000px) {
    section.yellow .col.col-45 {
        padding-left: 5%;
    }

    #smartphone {
        max-width: 330px;
    }
}

@media only screen and (max-width: 700px), (max-device-width: 667px)  {
    section.yellow .col.col-55 {
        float: none;
        width: 100%;
    }
    section.yellow .col.col-45 {
        display: none;
    }
}

/* =========================
     D I V I D E R    Y E L L O W
 ========================= */

.divider.yellow:before {
    content: '';
    display: block;
    position: absolute;
    left: -50%;
    width: 200%;
    height: 100px;
    background: url("../images/div-y-bg.png") top left repeat;
    top: 50%;
    -webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    transform: rotate(-3deg);
    z-index: 50;
}

.divider.yellow {
    background: url("../images/div-y-bg.png") top left repeat;
    height: 100px;
    z-index: 50;
}

/* =========================
     G R E E N
 ========================= */

section.green {
    background-color: #8CBF3B;
    padding-top: 150px;
    z-index: 40;
}

#game {
    max-width: 400px;
    position: relative;
    background: url("../images/game-bg.png") center no-repeat;
    background-size: contain;
    overflow: hidden;
}

@keyframes shineRotate {
    0% {
        visibility: visible;
        transform: rotate(0deg) scale(.5);
        -webkit-transform: rotate(0deg) scale(.5);
        -moz-transform: rotate(0deg) scale(.5);
        -ms-transform: rotate(0deg) scale(.5);
        -o-transform: rotate(0deg) scale(.5);
        opacity: .05;
    }
    10% {
        opacity: .2;
    }
    90% {
        opacity: .2;
    }
    100% {
        visibility: visible;
        transform: rotate(360deg) scale(1);
        -webkit-transform: rotate(360deg) scale(1);
        -moz-transform: rotate(360deg) scale(1);
        -ms-transform: rotate(360deg) scale(1);
        -o-transform: rotate(360deg) scale(1);
        opacity: .05;
    }
}

@-webkit-keyframes shineRotate {
    0% {
        visibility: visible;
        -webkit-transform: rotate(0deg) scale(.5);
        opacity: .05;
    }
    10% {
        opacity: .2;
    }
    90% {
        opacity: .2;
    }
    100% {
        visibility: visible;
        -webkit-transform: rotate(360deg) scale(1);
        opacity: .05;
    }
}

@keyframes trophy {
    0% {
        visibility: visible;
        transform: scale(.4);
        -webkit-transform: scale(.4);
        -moz-transform: scale(.4);
        -ms-transform: scale(.4);
        -o-transform: scale(.4);
    }
    60% {
        visibility: visible;
        transform: scale(.8);
        -webkit-transform: scale(.8);
        -moz-transform: scale(.8);
        -ms-transform: scale(.8);
        -o-transform: scale(.8);
    }
    100% {
        visibility: visible;
        transform: scale(.4);
        -webkit-transform: scale(.4);
        -moz-transform: scale(.4);
        -ms-transform: scale(.4);
        -o-transform: scale(.4);
    }
}
@-webkit-keyframes trophy {
    0% {
        visibility: visible;
        -webkit-transform: scale(.4);
    }
    60% {
        visibility: visible;
        -webkit-transform: scale(.8);
    }
    100% {
        visibility: visible;
        -webkit-transform: scale(.4);
    }
}

#game-trophy,
#game-shine {
    visibility: hidden;
}

#game-trophy {
    position: absolute;
    top: 0;
    left: 0;
    animation: trophy 15s linear infinite 2s;
    -webkit-animation: trophy 15s linear infinite 2s;
}
/*
#game-shine {
    animation: shineRotate 35s linear infinite 2s;
    -webkit-animation: shineRotate 35s linear infinite 2s;
}*/


/* ------------------------- */

@media only screen and (max-width: 1000px) {
    #game {
        max-width: 330px;
    }
}

@media only screen and (max-width: 800px) {
    #game {
        max-width: 260px;
    }
}

@media only screen and (max-width: 700px), (max-device-width: 667px)  {
    section.green .col.col-55 {
        float: none;
        width: 100%;
    }
    section.green .col.col-45 {
        display: none;
    }
}

/* =========================
     D I V I D E R    G R E E N
 ========================= */

.divider.green:before {
    content: '';
    display: block;
    position: absolute;
    left: -50%;
    width: 200%;
    height: 100px;
    background: url("../images/div-g-bg.png") top left repeat;
    top: 50%;
    -webkit-transform: rotate(3deg);
    -moz-transform: rotate(3deg);
    transform: rotate(3deg);
    z-index: 60;
}

.divider.green {
    background: url("../images/div-g-bg.png") top left repeat;
    height: 100px;
    z-index: 60;
}

.divider.green h1 {
    text-align: right;
}


/* =========================
     B L U E
 ========================= */

section.blue {
    background-color: #97c8f0;
    padding-top: 150px;
    z-index: 40;
}

section.blue .col.col-45 {
    padding-left: 9%;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
    }

    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes bounceCube {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
        -ms-transform: translateY(0);
        -webkit-transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
        -ms-transform: translateY(-20px);
        -webkit-transform: translateY(-20px);
    }
    60% {
        transform: translateY(-15px);
        -ms-transform: translateY(-15px);
        -webkit-transform: translateY(-15px);
    }
}

@-webkit-keyframes bounceCube {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
        -webkit-transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
        -webkit-transform: translateY(-20px);
    }
    60% {
        transform: translateY(-15px);
        -webkit-transform: translateY(-15px);
    }
}

#cubes {
    position: relative;
    max-width: 400px;
}

#cubes > .cubes-i {
    position: absolute;
    top: 0;
    left: 0;
}

#cubes > .cubes-i:nth-child(2) {
    animation: pulse 2s linear infinite;
    -webkit-animation: pulse 2s linear infinite;
}

#cubes > .cubes-i:nth-child(4) {
    animation: bounceCube 2s ease-out infinite 2s;
    -webkit-animation: bounceCube 2s ease-out infinite 2s;
}

#sm-form input,
#sm-form button,
#sm-form textarea {
    display: block;
    font-family: 'Lato', sans-serif;
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}

#sm-form input,
#sm-form textarea {
    width: 100%;
    padding: 10px;
    background-color: transparent;
    border: 1px solid #09406c;
    margin-bottom: 10px;
    font-size: 18px;
    color: #000;
    -webkit-appearance: none;
    border-radius: 0;
}

::-webkit-input-placeholder {
    color: #000;
}

#sm-form input:hover,
#sm-form textarea:hover,
#sm-form input:focus,
#sm-form textarea:focus {
    background-color: rgba(255, 255, 255, .3);
}

#sm-form input {
    height: 50px;
}

#sm-form textarea {
    height: 120px;
    resize: vertical;
    overflow-y: hidden;
}

#sm-form button {
    width: 105px;
    height: 26px;
    background: transparent url("../images/arrow-send.png") no-repeat;
    background-position: 96px 7px;
    border: none;
    padding: 0;
    text-align: left;
    text-transform: uppercase;
    font-size: 24px;
    color: #285e89;
    cursor: pointer;
}

#sm-form button:hover {
    opacity: .5;
}

/* ------------------------- */

@media only screen and (max-width: 1000px) {
    #cubes {
        max-width: 350px;
    }
}

@media only screen and (max-width: 800px) {
    #cubes {
        max-width: 260px;
    }
}

@media only screen and (max-width: 700px), (max-device-width: 667px)  {
    section.blue h1 br {
        display: none;
    }
    section.blue .col.col-55 {
        float: none;
        width: 100%;
    }
    section.blue .col.col-45 {
        display: none;
    }
}

/* =========================
     D I VI D E R    B L U E
 ========================= */

.divider.blue:before {
    content: '';
    display: block;
    position: absolute;
    left: -50%;
    width: 200%;
    height: 100px;
    background: url("../images/div-b-bg.png") top left repeat;
    top: 50%;
    -webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    transform: rotate(-3deg);
    box-shadow: 2px 10px 10px rgba(0, 0, 0, 0.3);
    z-index: 40;
}

.divider.blue {
    background: url("../images/div-b-bg.png") top left repeat;
    height: 100px;
    z-index: 40;
}

.divider.blue h1 {
    text-align: left;
}

/* =========================
     R E D
 ========================= */


footer.red {
    position: relative;
    background-color: #fe6869;
    min-height: 550px;
    z-index: 5;
}
footer.red .wrapper {
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 5;
}

#social-box {
    position: relative;
    margin: 0 auto;
    max-width: 518px;
    z-index: 5;
}

#social-box > img {
    position: relative;
    z-index: 4;
}

#icon-box {
    position: absolute;
    left: 0;
    top: 40%;
    margin-top: -25px;
    width: 100%;
    min-height: 50px;
    text-align: center;
    z-index: 5;
}

#icon-box ul li {
    display: inline-block;
    max-width: 48px;
    width: 9%;
}

@-webkit-keyframes bounceInIcon {
    0% {
        opacity: 0;
        -webkit-transform: scale(.3);
        transform: scale(.3);
    }

    50% {
        opacity: 1;
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
    }

    70% {
        -webkit-transform: scale(.9);
        transform: scale(.9);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes bounceInIcon {
    0% {
        opacity: 0;
        -webkit-transform: scale(.3);
        -ms-transform: scale(.3);
        transform: scale(.3);
    }

    50% {
        opacity: 1;
        -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
        transform: scale(1.05);
    }

    70% {
        -webkit-transform: scale(.9);
        -ms-transform: scale(.9);
        transform: scale(.9);
    }

    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

#icon-box ul li a {
    display: block;
}

#icon-box ul li a:hover img {
    animation: bounceInIcon 1s linear;
    -webkit-animation: bounceInIcon 1s linear;
}

#footer-bottom {
    min-height: 45px;
    padding-top: 15px;
    background-color: #e04a4b;
    text-align: center;
    font-size: 14px;
}

@media only screen and (max-width: 1120px), (max-device-width: 667px)  {
    footer.red .wrapper {
        position: absolute;
        width: 100%;
        bottom: 0;
    }
}

/* =========================
     T O  T O P
 ========================= */

#toTop {
    width: 30px;
    height: 30px;
    background: #000 url("../images/totop.png") center center no-repeat;
    background-size: contain;
    text-align: center;
    padding: 10px;
    line-height: 20px;
    position: fixed;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    display: none;
    z-index: 99;
    border: 1px solid #fff;
}


@media only screen and (min-width: 1930px) {

    #main-banner::after,
    .divider.orange::before,
    .divider.green::before {
        transform: rotate(2deg);
    }

    .divider.turquoise::before,
    .divider.yellow::before,
    .divider.blue::before {
        transform: rotate(-2deg);
    }
}

#alert-message {
    display: none;
    margin-bottom: 20px;
    color: #fff;
    font-size: 18px;
}