/* CSS declarations go here */

@import url(https://fonts.googleapis.com/css?family=Lato:300);

body {
    text-align: center;
    font-family: "Lato", Avenir Next, Avenir, Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

.text {
    max-width: 1000px;
}
.brand {
    font-weight: 700 !important; 
    font-size: 34px;
    color: black;
}

.centered {
    height: 100vh;
    position: absolute;
    background: transparent;
}

.centered>div {
    width: 100vw;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.bottom {
    color: #ccc;
    position: fixed;
    bottom: 0;
    width: 100vw;
    left: 0;
    right: 0;
    text-align: center;
}

.bottom .button {
    display: inline-block;
    width: 110px;
    padding: 10px 5px;
    margin: 0 5%;
    color: #08c;
    text-decoration: none;
}

.bottom .button span {
    font-size: 12px;
}

.bottom .button:hover {
    text-decoration: underline;
}

.app {
    clear: both;
}

.app>div {
    padding-left: 40px;
}

.app img {
    float: left;
    width: 55px;
    border-radius: 14px;
    margin: 0 10px 24px 0;
}

.app img.horizons {
    border: 1px solid #bcc9ea; 
    width: 30px !important; 
    padding: 10px; 
    border-radius: 0px !important;
}

@media (max-width: 500px) {
    .app img.horizons {
        width: 18px !important; 
            padding: 5px !important; 
    }
}

.app h3 {
    margin: 0;
    -webkit-margin-after: 0;
}

.app h3 span {
    color: #ccc;
    font-size: 12px !important;
}

section {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

section .centered {
    width: 100vw;
}

section .text {
    position: relative;
    top: 40%;
    transform: translatey(-40%);
    width: 80vw;
    text-align: left;
    padding-left: 190px;
    padding-right: 20px;
    margin: 0 auto;
    color: #333;
    font-family: "Lato";
    -webkit-font-smoothing: antialiased;
    font-size: 22px;
}

section:nth-of-type(1) h1 {
    margin-top: 0;
}

section:nth-of-type(2) img {
    top: -60px;
    position: absolute;
    left: -140px;
    -webkit-transform: rotate(7deg);
    transform: rotate(7deg);
}

section:nth-of-type(2) .text {
    padding-left: 115px;
}

section:nth-of-type(2) {
    background: #f2f2f2;
}

section:nth-of-type(3) .text {
    padding-left: 0;
}

section:nth-of-type(3) .app {
    padding-top: 10px;
    font-size: 16px;
}

section:nth-of-type(3) .app img {
    float: left;
    width: 50px;
    border-radius: 14px;
    margin: 0 10px 14px 0;
}



section:nth-of-type(4) {
    background: #f2f2f2;
}

section:nth-of-type(4) .text {
    padding-right: 170px;
    padding-left: 20px;
}

section:nth-of-type(4) .text img {
    top: 0;
    left: auto;
    position: absolute;
    right: -280px;
}

section:nth-of-type(5) .text {
    text-align: center;
    padding: 0;
}

section:nth-of-type(5) .text h2 {
    margin-bottom: 0;
}

section:nth-of-type(5) .text img {
    width: 120px;
    position: relative;
    margin: 0 auto;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}

@media (max-width: 1000px) {
    section .text {
        padding-left: 100px;
        font-size: 18px !important;
    }
}

@media (max-width: 500px) {
    section .text {
        font-size: 16px !important;
        top: 28%;
    }

    section .text img {
        top: -120px;
    }

    section:nth-of-type(2) .text {
        top: 35%;
        width: 68vw;
    }

    section:nth-of-type(3) .text {
        top: 35%;
        width: 88vw;
        padding-right: 0px;
    }

    section:nth-of-type(3) .app {
        padding-top: 10px;
        font-size: 16px;
    }

    section:nth-of-type(3) .app img {
        float: left;
        width: 30px;
        border-radius: 6px;
        margin: 0 10px 24px 0;
    }

    section:nth-of-type(4) .text {
        top: 35%;
    }

    section:nth-of-type(4) .text img {
        width: 33%;
        right: 3%;
        top: -120px;
    }

    section:nth-of-type(5) .text {
        top: 38%;
    }

    section:nth-of-type(5) .text img {
        position: inherit;
        top: 0;
    }

    .bottom {
        bottom: 4px;
    }
}

img#egg,
img#brand {
    width: 144px;
}

img#brand {
    padding-top: 15px;
}

h1 {
    padding: 0 20px;
    color: #ccc;
    font-weight: 400;
}

h2 {
    font-family: "Lato";
}

a {
    color: #08c;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.wobble {
    -webkit-transform-origin: 55% 70%;
    -moz-transform-origin: 50% 60%;
    -ms-transform-origin: 50% 60%;
    -o-transform-origin: 50% 60%;
    transform-origin: 50% 60%;
    -webkit-animation: wiggle 3s infinite;
    -moz-animation: wiggle 3s infinite;
    animation: wiggle 3s infinite;
}

@-webkit-keyframes wiggle {
    0% {
        -webkit-transform: rotate(4deg);
    }

    5% {
        -webkit-transform: rotate(-4deg);
    }

    10% {
        -webkit-transform: rotate(4deg);
    }

    15% {
        -webkit-transform: rotate(-4deg);
    }

    20% {
        -webkit-transform: rotate(4deg);
    }

    25% {
        -webkit-transform: rotate(-4deg);
    }

    30% {
        -webkit-transform: rotate(4deg);
    }

    100% {
        -webkit-transform: rotate(4deg);
    }
}

@-moz-keyframes wiggle {
    0% {
        -moz-transform: rotate(4deg);
    }

    5% {
        -moz-transform: rotate(-4deg);
    }

    10% {
        -moz-transform: rotate(4deg);
    }

    15% {
        -moz-transform: rotate(-4deg);
    }

    20% {
        -moz-transform: rotate(4deg);
    }

    25% {
        -moz-transform: rotate(-4deg);
    }

    30% {
        -moz-transform: rotate(4deg);
    }
}

@keyframes wiggle {
    0% {
        transform: rotate(4deg);
    }

    5% {
        transform: rotate(-4deg);
    }

    10% {
        transform: rotate(4deg);
    }

    15% {
        transform: rotate(-4deg);
    }

    20% {
        transform: rotate(4deg);
    }

    25% {
        transform: rotate(-4deg);
    }

    30% {
        transform: rotate(4deg);
    }
}
