#app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    margin-top: 60px;
}

.imessage {
    background-color: #1c1c1e;
    border: 1px solid #323137;
    border-radius: 0.25rem;
    display: flex;
    flex-direction: column;
    font-family: "SanFrancisco";
    font-size: 1.25rem;
    margin: 0 auto 1rem;
    max-width: 420px;
    padding: 0.5rem 1.5rem;
}

.imessage p {
    border-radius: 1.15rem;
    line-height: 1.25;
    max-width: 75%;
    padding: 0.5rem .875rem;
    position: relative;
    word-wrap: break-word;
}

.imessage p::before,
.imessage p::after {
    bottom: -0.1rem;
    content: "";
    height: 1rem;
    position: absolute;
}

p.from-me {
    align-self: flex-end;
    background-color: #248bf5;
    color: #fff;
}

p.from-me::before {
    border-bottom-left-radius: 0.8rem 0.7rem;
    border-right: 1rem solid #248bf5;
    right: -0.35rem;
    transform: translate(0, -0.1rem);
}

p.from-me::after {
    background-color: #1c1c1e;
    border-bottom-left-radius: 0.5rem;
    right: -40px;
    transform: translate(-30px, -2px);
    width: 10px;
}

p[class^="from-"] {
    margin: 0.5rem 0;
    width: fit-content;
}

p.from-me ~ p.from-me {
    margin: 0.25rem 0 0;
}

p.from-me ~ p.from-me:not(:last-child) {
    margin: 0.25rem 0 0;
}

p.from-me ~ p.from-me:last-child {
    margin-bottom: 0.5rem;
}

p.from-them {
    align-items: flex-start;
    background-color: #323137;
    color: #FFF;
}

p.from-them:before {
    border-bottom-right-radius: 0.8rem 0.7rem;
    border-left: 1rem solid #323137;
    left: -0.35rem;
    transform: translate(0, -0.1rem);
}

p.from-them::after {
    background-color: #1c1c1e;
    border-bottom-right-radius: 0.5rem;
    left: 20px;
    transform: translate(-30px, -2px);
    width: 10px;
}

p[class^="from-"].emoji {
    background: none;
    font-size: 2.5rem;
}

p[class^="from-"].emoji::before {
    content: none;
}

.no-tail::before {
    display: none;
}

.margin-b_none {
    margin-bottom: 0 !important;
}

.margin-b_one {
    margin-bottom: 1rem !important;
}

.margin-t_one {
    margin-top: 1rem !important;
}


/* general styling */
@font-face {
    font-family: "SanFrancisco";
    src: url("https://cdn.rawgit.com/AllThingsSmitty/fonts/25983b71/SanFrancisco/sanfranciscodisplay-regular-webfont.woff2") format("woff2"),
    url("https://cdn.rawgit.com/AllThingsSmitty/fonts/25983b71/SanFrancisco/sanfranciscodisplay-regular-webfont.woff") format("woff");
}

body {
    font-family: -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen-Sans,
    Ubuntu,
    Cantarell,
    "Helvetica Neue",
    sans-serif;
    font-weight: normal;
    margin: 0;
}

.container {
    margin: 0 auto;
    min-width: 240px;
    max-width: 600px;
    padding: 1rem;
}

.comment {
    color: #eee;
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    max-width: 100%;
    padding: 0;
}

.download {
    width: 50%;
    height: 50%;
    cursor: hand !important;
}

.dl {
    background-color: transparent;
    border: 1px solid rgba(70, 137, 237, 35%);
    padding: 3px 3px 9px 3px;
    box-sizing: border-box;
    border-radius: 500px;
    -webkit-border-radius: 500px;
    -moz-border-radius: 500px;
    width: 75%;
    height: 75%;
}

.dl:hover {
    border: 1px solid rgba(70, 137, 237, 100%);
}

@media screen and (max-width: 800px) {
    body {
        margin: 0 0.5rem;
    }

    .container {
        padding: 0.5rem;
    }

    .imessage {
        font-size: 1.05rem;
        margin: 0 auto 1rem;
        max-width: 480px;
        min-width: 340px;
        padding: 0.25rem 0.875rem;
    }

    .imessage p {
        margin: 0.5rem 0;
    }
}

#space {
    width: 100%;
}

#warp {
    position: center;
    z-index: 9;
    color: rgba(255, 255, 255, 92%);
    background: #67a936;
    font-weight: 500;
    font-size: 0.925em;
    text-decoration: none;
    border: 2px solid rgba(103, 169, 54, 59%);
    border-radius: 20px;
    margin-top: 12px;
    padding: 6px 24px 6px 24px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

#warp:hover {
    color: #111215;
    background-color: white;
    border-color: #04a4a4;
}

.space {
    position:static;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    overflow: hidden;
}
.space .mars {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
}
.space .mars .tentacle {
    position: absolute;
    top: -60px;
    right: -80px;
    z-index: 1;
    height: 70px;
    width: 70px;
    box-sizing: border-box;
    border-radius: 100%;
    border-left: 15px solid rebeccapurple;
    transform: rotate(-30deg);
    -webkit-animation: tentacle 12s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
    animation: tentacle 12s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
}
.space .mars .flag {
    position: absolute;
    height: 17px;
    width: 15px;
    top: -57px;
    left: -1px;
    -webkit-animation: flag-pole 12s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
    animation: flag-pole 12s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
}
.space .mars .flag:before {
    content: "";
    position: absolute;
    height: 17px;
    width: 2px;
    background: #eee;
}
.space .mars .flag:after {
    content: "";
    position: absolute;
    height: 10px;
    width: 14px;
    left: 2px;
    top: 0;
    background: darkred;
    -webkit-animation: flag-unfurl 12s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
    animation: flag-unfurl 12s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
}
.space .mars .flag .small-tentacle {
    position: absolute;
    left: -16px;
    top: 3px;
    height: 50px;
    width: 50px;
    border-left: 10px solid deeppink;
    border-radius: 100%;
    transform: rotate(25deg);
    -webkit-animation: small-tentacle 12s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
    animation: small-tentacle 12s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
    z-index: 2;
}
.space .mars:before {
    content: "";
    position: absolute;
    top: 80px;
    left: -30px;
    height: 10px;
    width: 60px;
    background: rgba(16, 13, 24, 1);
    border-radius: 100%;
}
.space .mars .planet {
    box-sizing: border-box;
    position: absolute;
    border-radius: 100%;
    height: 120px;
    width: 120px;
    overflow: hidden;
    margin-left: -60px;
    margin-top: -60px;
    z-index: 2;
}
.space .mars .planet .surface {
    position: absolute;
    border-radius: 100%;
    height: 140%;
    width: 140%;
    top: -30%;
    right: -10%;
    box-sizing: border-box;
    border: 30px solid rgba(0, 0, 0, 0.15);
    background: lightgray;
}
.space .mars .planet .crater1,
.space .mars .planet .crater2,
.space .mars .planet .crater3 {
    position: absolute;
    border-radius: 100%;
    background: rgba(0, 0, 0, 0.15);
    box-shadow: inset 3px 3px 0 rgba(0, 0, 0, 0.2);
}
.space .mars .planet .crater1 {
    height: 20px;
    width: 20px;
    top: 32%;
    left: 17%;
}
.space .mars .planet .crater2 {
    height: 10px;
    width: 10px;
    top: 26%;
    left: 55%;
    box-shadow: inset 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.space .mars .planet .crater3 {
    height: 10px;
    width: 10px;
    top: 60%;
    left: 40%;
    box-shadow: inset 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.space .ship {
    position: absolute;
    right: 50%;
    top: 50%;
    margin-top: -55px;
    margin-right: -55px;
    height: 22px;
    background: rgba(0, 0, 0, 0.1);
    transform-origin: 0% 100% 0;
    z-index: 1;
    -webkit-animation: ship 12s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
    animation: ship 12s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
}
.space .ship .ship-rotate {
    position: absolute;
    height: 22px;
    transform: rotate(-110deg);
    -webkit-animation: ship-rotate 12s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
    animation: ship-rotate 12s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
}
.space .ship .pod {
    position: absolute;
    top: 0;
    left: -8px;
    height: 16px;
    width: 16px;
    background: #36a995;
    border-radius: 100% 0 100% 0;
    transform: rotate(-45deg);
}
.space .ship .fuselage {
    position: absolute;
    top: 14px;
    left: -6px;
    height: 8px;
    width: 12px;
    background: teal;
    border-radius: 100% 100% 0 0;
}
.space .ship .fuselage:after {
    content: "";
    position: absolute;
    left: 2px;
    top: 100%;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid orangered;
}
.space .ship-shadow {
    position: absolute;
    right: 10%;
    top: 50%;
    margin-right: -28px;
    margin-top: 83px;
    height: 4px;
    width: 16px;
    background: #1c212d;
    border-radius: 100%;
    -webkit-animation: ship-shadow 12s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
    animation: ship-shadow 12s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
}

@-webkit-keyframes small-tentacle {
    0% {
        transform: rotate(-60deg);
    }
    86% {
        transform: rotate(-60deg);
    }
    89% {
        transform: rotate(10deg);
    }
    100% {
        transform: rotate(10deg);
    }
}

@keyframes small-tentacle {
    0% {
        transform: rotate(-60deg);
    }
    86% {
        transform: rotate(-60deg);
    }
    89% {
        transform: rotate(10deg);
    }
    100% {
        transform: rotate(10deg);
    }
}
@-webkit-keyframes tentacle {
    0% {
        transform: rotate(-30deg);
    }
    75% {
        transform: rotate(-30deg);
    }
    80% {
        transform: rotate(-165deg) translate(6px, 8px);
    }
    82.5% {
        transform: rotate(-165deg) translate(28px, -17px);
    }
    100% {
        transform: rotate(-165deg) translate(35px, -22px);
    }
}
@keyframes tentacle {
    0% {
        transform: rotate(-30deg);
    }
    75% {
        transform: rotate(-30deg);
    }
    80% {
        transform: rotate(-165deg) translate(6px, 8px);
    }
    82.5% {
        transform: rotate(-165deg) translate(28px, -17px);
    }
    100% {
        transform: rotate(-165deg) translate(35px, -22px);
    }
}
@-webkit-keyframes ship {
    0% {
        right: -10%;
        top: -10%;
        margin-top: -55px;
        margin-right: -55px;
    }
    40% {
        right: 50%;
        top: 50%;
    }
    79.5% {
        margin-top: -55px;
        margin-right: -55px;
    }
    84% {
        margin-top: -20px;
        margin-right: 0px;
    }
    100% {
        right: 50%;
        top: 50%;
        margin-top: 0px;
        margin-right: 0px;
    }
}
@keyframes ship {
    0% {
        right: -10%;
        top: -10%;
        margin-top: -55px;
        margin-right: -55px;
    }
    40% {
        right: 50%;
        top: 50%;
    }
    79.5% {
        margin-top: -55px;
        margin-right: -55px;
    }
    84% {
        margin-top: -20px;
        margin-right: 0px;
    }
    100% {
        right: 50%;
        top: 50%;
        margin-top: 0px;
        margin-right: 0px;
    }
}
@-webkit-keyframes ship-rotate {
    0% {
        transform: rotate(-110deg);
    }
    20% {
        transform: rotate(-110deg);
    }
    34% {
        transform: rotate(47deg);
    }
    79% {
        transform: rotate(47deg);
    }
    100% {
        transform: rotate(47deg);
    }
}
@keyframes ship-rotate {
    0% {
        transform: rotate(-110deg);
    }
    20% {
        transform: rotate(-110deg);
    }
    34% {
        transform: rotate(47deg);
    }
    79% {
        transform: rotate(47deg);
    }
    100% {
        transform: rotate(47deg);
    }
}
@-webkit-keyframes ship-shadow {
    0% {
        right: -10%;
        transform: scale(1.4, 1);
        opacity: .3;
    }
    40% {
        right: 50%;
        transform: scale(0.75, 1);
        opacity: 1;
    }
    100% {
        right: 50%;
    }
}
@keyframes ship-shadow {
    0% {
        right: -10%;
        transform: scale(1.4, 1);
        opacity: .3;
    }
    40% {
        right: 50%;
        transform: scale(0.75, 1);
        opacity: 1;
    }
    100% {
        right: 50%;
    }
}
@-webkit-keyframes planet-bump {
    0% {
        margin-left: 0;
    }
    39% {
        margin-left: 0;
    }
    40% {
        margin-left: -1px;
    }
    40.5% {
        margin-left: 1px;
    }
    41% {
        margin-left: 0;
    }
    100% {
        margin-left: 0;
    }
}
@keyframes planet-bump {
    0% {
        margin-left: 0;
    }
    39% {
        margin-left: 0;
    }
    40% {
        margin-left: -1px;
    }
    40.5% {
        margin-left: 1px;
    }
    41% {
        margin-left: 0;
    }
    100% {
        margin-left: 0;
    }
}
@-webkit-keyframes flag-pole {
    0% {
        top: -57px;
    }
    48% {
        top: -57px;
    }
    54% {
        top: -77px;
    }
    90% {
        top: -77px;
    }
    92% {
        top: -57px;
    }
    100% {
        top: -57px;
    }
}
@keyframes flag-pole {
    0% {
        top: -57px;
    }
    48% {
        top: -57px;
    }
    54% {
        top: -77px;
    }
    90% {
        top: -77px;
    }
    92% {
        top: -57px;
    }
    100% {
        top: -57px;
    }
}
@-webkit-keyframes flag-unfurl {
    0% {
        width: 0;
    }
    55% {
        width: 0;
    }
    60% {
        width: 14px;
    }
    90% {
        width: 14px;
    }
    100% {
        width: 14px;
    }
}
@keyframes flag-unfurl {
    0% {
        width: 0;
    }
    55% {
        width: 0;
    }
    60% {
        width: 14px;
    }
    90% {
        width: 14px;
    }
    100% {
        width: 14px;
    }
}

