html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, capxion, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcapxion, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcapxion,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000; 
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #000;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

.transition {
    transition: all .4s ease;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
}

.slowTransition {
    transition: all .8s ease;
    -webkit-transition: all .8s ease;
    -moz-transition: all .8s ease;
    -o-transition: all .8s ease;
}

div, figure, * {
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    width: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    background: radial-gradient(200% 100% at bottom center, #f7f7b6, #e96f92, #75517d, #1b2947);
    background: radial-gradient(220% 105% at top center, #1b2947 10%, #75517d 40%, #e96f92 65%, #f7f7b6);
    background-attachment: fixed;
    overflow-x: hidden;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 28px;
    opacity: 0;
    pointer-events: none;
}

body.show {
    pointer-events: inherit;
    opacity: 1;
}

strong {
    font-weight: 700;
}

.container {
    padding: 0 5%;
}

.verticalAlign {
    top: 50%;
    position: absolute;
    transform: -moz-translateY(-50%);
    transform: -webkit-translateY(-50%);
    transform: translateY(-50%);
}

.background { 
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

p {
    margin-bottom: 20px;
}

main {
    width: 100%;
    position: relative;
    overflow-x: hidden;
}

#intro {
    width: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-top: -600px;
}

@keyframes rotate {
    0% {
        transform: perspective(400px) rotateZ(20deg) rotateX(-40deg) rotateY(0);
    }
    100% {
        transform: perspective(400px) rotateZ(20deg) rotateX(-40deg) rotateY(-360deg);
    }
}

#starsContainer {
    width: 100%;
    height: 100%;
    position: absolute;
    pointer-events: none;
    overflow: hidden;
}

.stars {
    transform: perspective(500px);
    transform-style: preserve-3d;
    position: absolute;
    bottom: 0;
    perspective-origin: 50% 100%;
    left: 50%;
    animation: rotate 90s infinite linear;
}

.star {
    width: 2px;
    height: 2px;
    background: #F7F7B6;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0 0 -300px;
    transform: translate3d(0, 0, -300px);
    backface-visibility: hidden;
    z-index: 2;
}

#intro .parallax, #land {
    position: absolute;
    display: block;
    background-position: 0 0;
    background-size: 100%;
    background-repeat: no-repeat;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#land {
    z-index: 12;
    background-image: url(../images/land.svg);
}

#adam {
    z-index: 10;
    background-image: url(../images/adam.png);
}

#ricky {
    z-index: 14;
    background-image: url(../images/ricky.svg);
}

#clouds1 {
    top: 100px !important;
    z-index: 4;
    background-image: url(../images/clouds1.svg);
}

#clouds2 {
    top: 150px !important;
    z-index: 3;
    background-image: url(../images/clouds2.svg);
}

#planet1 {
    z-index: 2;
    background-image: url(../images/planet1.svg);
}

#planet2 {
    z-index: 1;
    background-image: url(../images/planet2.svg);
}

#logo {
    top: 600px;
    width: 100%;
    height: auto;
    display: block;
    z-index: 3;
    position: relative;
    background-image: url(../images/logo.svg);
}


#game {
    position: relative;
    z-index: 10;
    margin-top: -100px;
    background: black;
    width: 100%;
    text-align: center;
    color: white;
    overflow: hidden;
}


#game .gradient {
    background: #69a643;
    background: -moz-linear-gradient(top, #69a643 0%, #99ffbd 100%);
    background: -webkit-linear-gradient(top, #69a643 0%,#99ffbd 100%);
    background: linear-gradient(to bottom, #69a643 0%,#99ffbd 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#69a643', endColorstr='#99ffbd',GradientType=0 );
    height: 1150px;
    width: 100%;
    position: relative;
}

#video {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

#story .title {
    margin-bottom: 0;
}

#game .gradient .inner {
    position: absolute;
    top: 50%;
    margin: 0 auto;
    left: 0;
    right: 0;
    text-align: center;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    transform: translateY(-50%);
}

.title {
    font-family: 'Abril Fatface', cursive;
    font-size: 80px;
    line-height: 90px;
    display: block;
    text-align: center;
    margin-bottom: 30px;
}

.subtitle {
    margin-bottom: 50px;
    display: block;
    text-align: center;
}

.row {
    width: 100%;
    clear: both;
    float: left;
    overflow: hidden;
    padding: 100px 0;
}

.row .band {
    width: 200%;
    height: 100%;
    left: -50%;
    position: absolute;
}

.adam {
    background: #99ffbd;
    color: black;
}

.ricky {
    background: #FF9AC2;
}


.row h2 {
    text-align: left;
    margin-bottom: 20px;
}

.row img {
    width: 60%;
    display: inline-block;
    -webkit-border-radius: 100%;
    border-radius: 100%;
    position: relative;
    margin-top: -40px;
}

.row figure, .row .content {
    width: 50%;
    float: left;
    text-align: left;
}

.row.left figure {
    text-align: right;
}

.row.right figure {
    text-align: left;
    float: right;
}

.row .content {
   width: 40%;
}

.row.right .content {
    float: right;
}


footer {
    padding: 50px;
    text-align: center;
    background: black;
    width: 100%;
    overflow: hidden;
    color: white;
}

footer img {
    float: left;
    width: 90px;
}

footer ul {
    list-style: none;
    float: left;
    margin-left: 30px;
    text-align: left;
}

footer a {
    color: white;
}


@media only screen and (max-width: 1920px) {
    #intro {
        margin-top: -500px;
    }

    #logo {
        top: 500px;
    }
}

@media only screen and (max-width: 1680px) {
    #intro {
        margin-top: -300px;
    }

    #logo {
        top: 300px;
    }
}

@media only screen and (max-width: 1280px) {

    .row figure {
        width: auto;
    }

    .row figure img {
        width: 350px;
    }

    .row .content {
        -webkit-width: calc(100% - 500px);
        -moz-width: calc(100% - 500px);
        width: calc(100% - 500px);
    }

    .title {
        font-size: 72px;
        line-height: 80px;
    }

    #game {
        margin-top: -50px;
    }

    #game .gradient {
        padding: 0 40px;
        height: 960px;
    }

    #game .gradient .inner {
        position: relative;
    }
}

@media only screen and (max-width: 1024px) {
    body {
        font-size: 18px;
        line-height: 24px;
    }

    #intro {
        margin-top: -150px;
    }

    #logo {
        top: 150px;
    }

    .row figure img {
        width: 280px;
    }

    .row .content {
        -webkit-width: calc(100% - 340px);
        -moz-width: calc(100% - 340px);
        width: calc(100% - 340px);
    }

    .title {
        font-size: 62px;
        line-height: 70px;
    }

    #game .gradient {
        height: 900px;
    }
}

@media only screen and (max-width: 768px) {
    #intro {
        margin-top: -150px;
    }

    #logo {
        top: 150px;
    }

    .row {
        padding: 50px 0;
    }

    .row figure {
        width: 100%;
        text-align: center !important;
    }

    .row figure img {
        width: 280px;
        margin: 0 auto;
    }

    .row .content {
        width: 90%;
        float: none !important;
        overflow: hidden;
        margin: 0 auto;
    }

    .title {
        font-size: 42px;
        line-height: 50px;
    }

    #game .gradient {
        height: 800px;
    }
}

@media only screen and (max-width: 550px) {
    #intro {
        margin-top: -50px;
    }

    #logo {
        top: 50px;
    }

    #game {
    	margin-top: -10px;
    }

    #game .gradient {
        height: 600px;
    }
}