html, body {
    height: 100%;
    font-family: Avenir, 
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;
    margin: 0;
    color: rgba(0,0,0,.8)
}

a {
    text-decoration: none;
    color: #146bb1;
    font-weight: 500;
}

img, video {
    max-width: 100%;
}

.page {
    display: flex;
    align-items: center;
    min-height: 100%;
    justify-content: center;
    overflow: hidden;
}

.splash {
    display: flex;
    align-items: flex-end;
    height: 100%;
    text-align: center;
    border-bottom: 1px solid #ccc;
}

.pitch {
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 700px;
}

.pitch h1 {
  font-weight: 100;
}

.pitch-content {
    padding-top: 8vh;
    flex: 1;
}



.pitch-slogan {
    margin-top: -20px;
    margin-bottom: 40px;
}

.drawl {
    margin-top: 40px;
}

.pitch-content h1 {
    font-size: 500%;
    margin: 0;
}

.pitch-footer img {
    max-width: 100%;
    
}

.pitch-footer {
    max-height: 40vh;
    overflow: hidden;
    border-radius: 5px;
    max-width: 700px;
    margin: auto;

    box-shadow: 0 16px 0 rgba(0, 0, 0, 0.39);
    z-index: 10;
   animation: fadein 2s forwards;
   animation-delay: 0.9s;
}


@keyframes fadein {
    from { box-shadow: 0 16px 0px rgba(0, 0, 0, 0.39); }
    to   { box-shadow: 0 16px 70px rgba(0, 0, 0, 0.39); }
}


.ctoa {
    color: white;
    text-decoration: none;
    background: #436aba;
    padding: 10px 20px;
    border-radius: 3px;
    font-size: 200%;
    display: inline-block;
}

.solo {
    max-width: 1000px;
    margin: auto;
}

.split {
    display: flex;
    margin: auto;
    max-width: 1000px;
    flex-wrap: wrap;
    justify-content: center;
}

.split > div {
    padding: 40px;
    box-sizing: border-box;
    max-width: 500px;
}

.page h1{
    text-align: center;
    font-size: 300%;
    font-weight: lighter;
}

.page h2 {
    text-align: center;
}

footer {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0px ;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.39) inset;
}


.toprow {
    
    display: flex;
    align-items: baseline;
    text-align: center;
}
footer > div {
    padding: 20px 30px;
    background: rgba(255, 255, 255, 1);
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(0,0,0, .4);
    flex-wrap: wrap;
}

footer > div a > div {
    padding: 5px 10px;
    border: 1px solid #ebebeb;
    border-radius: 3px;
    margin: 0 10px;
}

footer::before {
    content: " ";
    position: absolute;
    width: 200%;
    height: 500%;
    top: -250%;
    left: -50%;
    z-index: -1;
    background: url(/images/hvf.png);
    transform: rotate(-10deg);
    background-size: 40px;
}

.at {
    font-size: 80%;
}

.leftArrow, .rightArrow {
    position: relative;
}

.leftArrow::before {
    content: "← Click for Demo!";
    position: absolute;
    left: 100%;
    font-size: 200%;
    opacity: .5;
    transform: rotate(-10deg);
    width: 145px;
}


.rightArrow::before {
    content: "Click for Demo! →";
    position: absolute;
    right: 100%;
    font-size: 200%;
    opacity: .5;
    transform: rotate(-10deg);
    width: 145px;
}


.spinner-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;    
    display: none;
}

.spinner {
    width: 20px;
    height: 20px;
    border-radius: 26px;
    border: 3px solid transparent;
    border-top-color: #000;
    animation: spin 1s infinite linear;
}

#signup input[type=submit] {
    background: #a4ff8d;
    cursor: pointer;
    padding: 8px 20px;
    color: rgb(45, 121, 26);
}

#signup input {
    font-size: 110%;
    border: 0;
    padding: 8px;
    border-radius: 3px;
    background: whitesmoke;
}


@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

#signup {
    display: inline-block;
    margin: auto;
    position: relative;
    border-radius: 3px;
    margin: 0;
    font-size: 25px;
    padding: 20px 0;
}

.submit-wrap {
    display: inline-block;
    position: relative;
}

.submitted {
    display: inline-block;
    opacity: 0;
    width: 66px;
    font-size: 10px;
    /* background: red; */
    padding: 5px;
    vertical-align: middle;
    transition: .2s;
}

.policy {
    font-size: 10px;
    color: rgba(0,0,0,.5);
    position: absolute;
    bottom: 3px;
    // top: 100%;
    // right: 3px;
}

#signup-wrap {
    display: none;
    text-align: center;
}

#grid {
    transform: scale(.8);
    transform-origin: top left;
    padding-bottom: 20px;
}

#scrub {
    border: 1px solid #dbdbdb;
    border-radius: 7px;
    transform: scale(.6);
    transform-origin: bottom right;
    position: absolute;
    right: 40px;
    bottom: 40px;
}

footer a {
    text-decoration: none;
    color: inherit;
}

@media(max-width: 1000px){
    .pitch-content h1 {
        font-size: 400%;
        margin: 0;
    }
   .splash .arrow {
        display: none;
    }
    .split > div {
        border: 0 !important;
    }
    .toprow {
        display: block;
    }
}

// @media(max-width: 700px){
//     #signup-wrap {
//         display: block;
//     }
//     #final-ask {
//         display: none;
//     }
//     .ctoa {
//         display: none;
//     }
// }