body {
  margin: 0;
  // background: #221815;
  font-family: Avenir, Helvetica, sans-serif;
  // color: #fff
}

#header-splash {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
}

#header-splash img {
    width: 450px;
}


.header {
    color: #8BC77C;
    display: flex;
    align-items: center;
}

.header img {
    height: 4em;
    margin-bottom: -10px;
    border-right: 2px solid #000;
    margin-right: 6px;
}

.copy {
    padding: 0 10px;
}

#title {
    font-size: 300%;
    text-align: center;
    // font-family: Menlo;
    // font-weight: bold;
    margin: 0 10px;
}

.bottom-right {
    
    text-shadow: 0 0 10px black;
    font-size: 40px;
    color: #8BC77C;
    font-family: "Source Code Pro", monospace;
    position: absolute;
    bottom: 0;
    right: 0;
    text-align: right;
    padding: 50px;
}


.merp {
    
    // border: 1px solid #3f0;
    flex-grow: 1;

    color: #222;
    // font-family: Menlo, monospace;
    font-size: 25px;
}

.row {
    display: flex;
    padding: 0 60px;
}

.last {
    background: #f5f5f5;
}

.last input[type='text'] {
    background: #fff !important;
    // box-shadow: 0 0 10px red;
}

.badge-wrap {
    position: absolute;
    width: 270px;
    height: 270px;
    overflow: hidden;
    right: 0;
    z-index: 2;
}

.badge-wrap a, #header-splash a {
    text-decoration: none;
}

.badge {
    position: absolute;
    top: 70px;
    right: -73px;
    transform: rotateZ(45deg);
    background: #8BC77C;
    color: #000;
    padding: 15px 60px;
    font-size: 20px;
}

.page {
    box-sizing: border-box;
    min-height: 100%;
    // padding: 20px;
    font-size: 20px;
}

.wumboheader {
    background: #f5f5f5;
    color: black;
    padding: 40px 100px;
    font-size: 40px;
    /*transform: rotate(2deg);*/
}

.wumbo {
    // background: #f19337;
    color: black;
    padding: 40px 100px;
    font-size: 40px;
    /*transform: rotate(2deg);*/
}


.woop {
    // background: #8bc77c;
    padding: 30px 40px;
    padding-bottom: 0;
    color: #7aed5c;
    font-weight: bold;
    font-size: 110%;
}


#signup {
    font-size: 25px;
    // background: #f19337;
    padding: 20px 0;
}

.stuff {

    padding: 10px 40px;
}

a {
    // color: white;
    color: #54d034;
    transition: text-shadow 0.1s linear;
    // text-decoration: none;
}

a:hover {
    text-shadow: 0 0 6px white;
}

a.dark {
    // color: black;
    transition: text-shadow 0.1s linear;
}

a.dark:hover {
    // text-shadow: 0 0 1px black;
}

.demotile img {
    height: 30vh;
}

.footer a {
    color: #fff;
}

.demotile {
    border-radius: 10px;
    margin-right: 60px;
    overflow: hidden;
    position: relative;
    background: #ddd;
    min-width: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a8a8a;
    text-align: center;
}

.demotile .soon  {
    position: absolute;
    top: 30px;
    right: -63px;
    transform: rotateZ(45deg);
    background: #b9b9b9;
    color: #fff;
    padding: 15px 60px;
    font-size: 20px;
}


/* https://codepen.io/jo-asakura/pen/stFHi */
.pie-wrapper {
    height: 1em;
    width: 1em;
    margin: -120px -120px;
    position: absolute;
    font-size: 15em;
    top: 40%;
    left: 50%;
    z-index: 10;
}


.pie-wrapper .label {
    border-radius: 50%;
    bottom: 0.4em;
    color: #ecf0f1;
    cursor: default;
    display: block;
    font-size: 0.1em;
    left: 2.4em;
    line-height: 1em;
    position: absolute;
    right: 0.4em;
    text-align: center;
    top: 4em;
    width: 5em;
    text-shadow: 0 0 12px black;
}


.pie-wrapper .pie {
    height: 100%;
    width: 100%;
    clip: rect(0, 1em, 1em, 0.5em);
    left: 0;
    position: absolute;
    top: 0;
}

.pie-wrapper .pie.over-fifty {
    clip: rect(auto, auto, auto, auto);
}


.pie-wrapper .pie .half-circle {
    height: 100%;
    width: 100%;
    border: 0.1em solid #3498db;
    border-radius: 50%;
    clip: rect(0, 0.5em, 1em, 0);
    left: 0;
    position: absolute;
    top: 0;
}


.pie-wrapper .pie .half-circle {
    border-color: #5dc344;
}


*, *:before, *:after {
    box-sizing: border-box;
}


.pie-wrapper .pie .right-side {
    display: none;
}

.pie-wrapper .pie.over-fifty .right-side {
    transform: rotate(180deg);    
    display: block;
}

.progress {
    position: absolute;
    width: 100%;
    // background: #000;
    bottom: 1px;
    z-index: 2;
}

.canvas-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}


.canvas-wrap.title {
    color: white;
    text-align: center;
    text-shadow: 0 0 10px black;
}

.canvas-wrap > div {
    position: relative;
}

.tray {
    display: flex;
    padding-right: 10px;
    background: rgba(0,0,0,.5);
    z-index: 1;
    position: relative;
    align-items: center;
    flex-wrap: wrap;
}

.tray.bottom {
    justify-content: flex-end;
}

.icon {
    height: 64px;
    width: 64px;
    background: #333;
    margin: 10px;
    margin-right: 0;
    background-size: cover;
    background-position: center;
    border-radius: 3px;
    cursor: pointer;
    opacity: .7;
    transition: .2s;
}

.icon.selected {
    box-shadow: 0 0 0 5px #fff;
}

.icon:hover {
    opacity: .95;
}


#download {
    display: none;
}

.tray-button  {
    font-size: 20px;
    padding: 18px 18px;
    background: #5dc344;
    margin: 10px;
    margin-right: 0;
    border-radius: 3px;
    opacity: .7;
    color: #fff;
    transition: .2s;
    cursor: pointer;
    text-align: center;
}

.tray-button:hover {
    opacity: .95;
}

.tray input[type=file] {
    display: none;
}


form  {
    // background: #e9e9e9;
    // padding: 20px 0;
    display: inline-block;
    position: relative;
    border-radius: 3px;
    margin: 0;
}

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

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

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

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

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

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

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

.soon {
    background: rgba(255, 255, 0, 0.29);
    padding: 3px 10px;
    display: inline-block;
    font-size: 10px;
    border-radius: 3px;
    color: rgba(0, 0, 0, 0.59);
}

.demo {
    background: #000;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    color: #999;
}

.footer {
    background: #c2c2c2;
    color: #727272;
    padding: 20px;
    text-align: right;
}

.logo {
    position: absolute;
    // left: 0;
    // bottom: 0;
    padding: 50px;
}

.logo svg {
    display: block;
}

#tensor {
    fill: #8bc77c;
}

#fire {
    fill: #f19337;
}

.wundo {
    height: 100%;
    background-color: #201613;
}

.demos .woop  {
    transform: rotate(-90deg);
    transform-origin: top left;
    position: absolute;
    left: -40px;
    top: 100%;
    width: 30vh;
    text-align: center;
    padding: 0;
    color: #afafaf;
    font-size: 40px;
}

.demos-wrap {
    background: #f5f5f5;
    padding: 60px;
    overflow: scroll;
}

.demos {
    position: relative;
    display: flex;
    padding: 0 40px;
}

.spacer {
    flex: 1
}

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


.demo.running .tray {
    display: none;
}

.demo.initial {
    background: url(/img/meow.jpg), #b66935;
    background-size: cover;
}

.mobile {
    display: none;
    background: #fff2d0;
    margin: 15px;
    border-radius: 10px;
}

.mobile video {
    width: 100%;
}

.mobile h2 {
    text-align: center;
}

iframe {
    width: 100%;
}

@media(max-width:800px){
    .badge-wrap{
        position: relative;
        height: auto;
        width: auto;
    }
    .badge {
        text-align: center;
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        padding: 10px;
    }
    .wumbo, .wumboheader {
        padding: 40px;
        font-size: 20px;
    }
    .merp {
        width: 100% !important;
    }
    .row {
        display: block;
        padding: 1px 40px;
    }
    .woop, .stuff {
        padding-left: 0;
        padding-right: 0;
    }
    .demo {
        display: none;
    }
    .mobile {
        display: block;
    }
    .bottom-right {
        font-size: 20px;
    }
}
