html, body {
    margin: 0;
    background: linear-gradient(#EEF4F9, #9ABFDA);
}

p {
    margin: 0;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* all scrolling positions set to relative */
#scroll {
    position: relative;
}

/* set scroll graphic to absolute and lock in the position */
.scroll__graphic {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
}

/* remain fixed when inside the "sticky" area */
.scroll__graphic.is-fixed {
    position: sticky;
}

/* when at bottom of "sticky" area section, remove fixed position */
.scroll__graphic.is-bottom {
    bottom: 0;
    top: auto;
}

.scroll__graphic {
    -moz-transform: translateY(-10%);
    -webkit-transform: translateY(-10%);
    transform: translateY(-10%);
}

.scroll__text {
    padding: 0 1rem;
    max-width: 27rem;
    -moz-transform: translateY(-25%);
    -webkit-transform: translateY(-25%);
    transform: translateY(-25%);
}

.step {
    opacity: 0.5;
    padding: 1rem;
    border: 1px solid #D7D7D7;
    background-color: white;
    max-width: 800px;
    margin: 10px;
}

.step.is-active {
    opacity: 1;
    z-index: 500;
}

.step p {
    margin: 0 auto;
    margin-bottom: 1rem;
}

.container {
    background-color: white;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

#media {
    display: block;
    margin-left: auto;
    padding-top: 6rem;
}

#caption {
    margin-left: auto; 
    margin-right: 0;
}

a,
a:visited,
a:hover {
    color: var(--color-primary)
}


footer {
    text-align: center;
    font-size: 1rem;
    min-height: 100px;
    padding-top: 2rem;
}

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

    .row {
        padding-top: 1.5rem;
    }

    body {
        padding: 0;
    }

    h4 {
        margin-bottom: .8rem;
    }

    p {
        line-height: 1.3;
        font-size: 10pt;
    }

    .intro {
        padding: 1rem 0;
    }

    .scroll__text {
        padding: 0;
        -moz-transform: translateY(-2%);
        -webkit-transform: translateY(-2%);
        transform: translateY(-2%);
    }

    .scroll__graphic.is-fixed {
        position: fixed;
        bottom: 0;
        top: auto;
        z-index: 100;
        padding: 0;
    }

    .scroll__graphic {
        -moz-transform: translateY(0%);
        -webkit-transform: translateY(0%);
        transform: translateY(0%);
    }

    .scroll__graphic__container {
        border-top: 1px solid #D7D7D7;
        background-color: white;
        padding: .5rem 1rem;
    }

    #media {
        padding-top: .5rem;
    }

    .step {
        border: none;
        padding: 0;
    }
}