html, body {
    font-family: Lato, Helvetica, sans;
    padding: 0px;
    margin: 0px;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline
}

section, footer {
    position: relative;
    padding: 80px 40px 120px 40px;
}

.preview {
    margin-top: -140px;
    width: 100%;
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
    display: block;
}


section > div, footer > div {
    max-width: 800px;
    margin: 0 auto
}

section.blue {
    background-color: #3DA5E6;
    color: white;
}

section.blue a {
    color: #ffffff;
    text-decoration: none;
}

footer {
    background-color: #266A94; 
    color: #eeeeff;
}

footer a {
    color: #ffffff;
    display: block; 
    margin-bottom: 20px;
}

.marketing-bg {
    position: absolute;
    top: -120px;
    left: 0;
    height: calc(100vh - 100px);
    max-width: 800px;
}

.hero {
    position: relative;
    height: calc(100vh - 200px);
}

.cta {
    position: absolute;
    right: 0;
    top: 0;
    width: 70%;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: right;
    font-size: 2.5em;
    font-weight: 300;
}

@media(max-width: 800px) {
    .cta {
        margin-right: 80px;
    }
}
@media(max-width: 700px) {
    .cta {
        margin-right: 0px;
    }
}

.black-bar {
    background-color: #000;
    height: 5px;
    width: 100vw;
    position: absolute;
    bottom: 20px;
    left: 4vh;
}

.appstore {
    width: 200px;
}

ul li {
    margin-bottom: 1em;
}


@media(max-width: 640px) {
    .cta {
        height: 40vh;
        font-size: 1.75em;
    }
    .appstore {
        width: 150px;
    }
    ul {
        padding: 0;
    }
}

@media(max-height: 500px) {
    .cta {
        height: 40vh;
        font-size: 1.5em;
    }
    .appstore {
        width: 150px;
    }
    ul {
        padding: 0;
    }
    .black-bar {
        display: none;
    }
    .marketing-bg {
        display: none;
    }
}
