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

section {
    display: block;
}

@font-face {
    font-family: press_start_2P;
    src: url("../fonts/pressstart2p-webfont.woff2") format("woff2"), url("../fonts/pressstart2p-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: #46c5e9;
    line-height: 1;
    font-family: press_start_2P;
}

@keyframes play_frames {
    0% {
        background-position: 0;
    }
    100% {
        background-position: 100%;
    }
}

.hero {
    width: 100vw;
    height: 140vw;
    position: relative;
}

.animation-area {
    margin-top: 40vw;
    width: 100vw;
    height: 100vw;
    position: absolute;
    overflow: hidden;
}

@media (min-aspect-ratio: 1/1) {
    .hero {
        height: 100vw !important;
    }
    .animation-area {
        margin-top: 10vw;
    }
}

.layer {
    height: 100%;
    width: 100%;
    background: no-repeat 0 0;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    image-rendering: pixelated;
}

#sky {
    background-image: url("../img/layers/sky.png");
}

#cloud_back {
    background-image: url("../img/layers/cloud_back.png");
    background-size: cover;
}

#cloud_mid {
    background-image: url("../img/layers/cloud_mid.png");
}

#cloud_front {
    background-image: url("../img/layers/cloud_front.png");
}

#ocean {
    background-image: url("../img/layers/ocean.png");
}

#rocks {
    background-image: url("../img/layers/rocks.png");
    background-size: 900% 100%;
    animation: play_frames 0.9s steps(8) infinite;
}

#banner {
    background-image: url("../img/layers/banner.png");
    background-size: 900% 100%;
    animation: play_frames 0.9s steps(8) infinite;
}

#fence {
    background-image: url("../img/layers/fence_leaves.png");
    background-size: 900% 100%;
    animation: play_frames 0.9s steps(8) infinite;
}

#water {
    background-image: url("../img/layers/bottom_water.png");
    background-size: 900% 100%;
    animation: play_frames 0.9s steps(8) infinite;
}

.top-feature {
    position: absolute;
    width: 100%;
    top:10vw;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index:99999999;
}

.top-feature .icon {
    background: url("../img/appicon.png") no-repeat;
    background-size: contain;
    height: 150px;
    width: 150px;
    position: relative;
    margin: 0 auto 40px;

    border-radius: 34px;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 600px) {
    .top-feature .icon {
        height: 100px;
        width: 100px;
        border-radius: 22px;
        box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
    }
}

.title-card {
    color: white;
    text-align: center;
    margin: 5px;
}

.title-card h2 {
    font-size: 50px;
    text-transform: uppercase;
    text-shadow: 0 6px 0 rgba(0, 0, 0, 0.1);
    line-height: 1.4em;
}

@media screen and (max-width: 600px) {
    .title-card h2 {
        font-size: 25px;
        text-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
    }
}

.title-card p {
    font-size: 16px;
    text-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
    line-height: 1.6em;
    padding-top: 20px;
}

@media screen and (max-width: 600px) {
    .title-card p {
        font-size: 11px;
        text-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
    }
}

.phone-demo {
    width: 265px;
    height: 506px;
    position: relative;
    margin: 50px;
}

@media screen and (max-width: 950px) {
    .phone-demo {
        display: none;
    }
}

.phone-demo .phone {
    background: url("../img/iphone.png") no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
}

.phone-demo .video {
    background: url("../img/video.png") no-repeat;
    background-size: contain;
    width: 220px;
    height: 100%;
    position: relative;
    top: 56px;
    left: 22px;
}

.phone-demo video {
    position: absolute;
    top: 0;
    left: 22px;
    width: 220px;
    height: 100%;
    padding:0;
}

.top-feature .ios_badge {
    background: url("../img/ios_badge.png") no-repeat;
    background-size: contain;
    height: 85px;
    width: 200px;
    margin: 20px auto 0;
    image-rendering: pixelated;
}

#bark {
    position:absolute;
    width: 100%;
    height: 90vw;
    top:97%;
    background-color: #adaca5;
    border-bottom: 10px solid red;
    z-index:888;
}

.credits {
    z-index: 999999;
    position: relative;
    background-color: #adaca5;
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
    justify-content: space-around;
}

.person {
    padding: 20px 10px 10px 10px;
    text-align: center;
}

.role {
    font-size: 12px;
    color: #f2e7af;
    padding-bottom: 25px;
}

.name {
    font-size: 25px;
    color: white;
    text-transform: uppercase;
    padding-bottom: 10px;
}

.twitter a {
    font-size: 14px;
    color: white;
    letter-spacing: 4px;
    text-decoration: none;
}

.avatar {
    image-rendering: pixelated;
    margin: 30px;
    min-height: 200px;
    min-width: 200px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#c64 {
    background-image: url("../img/c64.png");
}

#gameboy {
    background-image: url("../img/gameboy.png");
}

.footer {
    background: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.footer p {
    color: #c8c0c6;
    font-size: 10px;
    padding-bottom: 5px;
}
.footer a {
    color: #c8c0c6;
}