.landing-page,
.preview #button,
.preview .app {
    display: none;
}

.preview body {
    background: #fff;
}

.preview .landing-page {
    display: grid;
}

.landing-page {
    min-height: 100vh;
    max-width: 1680px;
    margin: 0 auto;
    grid-template-rows: auto 1fr;
}

nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 30px;
    gap: 10px 30px;
}

nav a {
    color: #3b3b3b;
    font-size: 18px;
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bolder;
    font-size: 26px;
    text-decoration: none;
    margin-right: auto;
}

.logo .plus-times {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.logo:hover .plus-times {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin: 30px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: flex-start;
    gap: 60px;
}

.hero-title {
    font-weight: bolder;
    font-size: 56px;
    letter-spacing: -.5px;
    line-height: 1.2;
}

/* Example app */

.example-app {
    width: 550px;
    height: 350px;
    display: grid;
    grid-template-columns: auto 35%;
    grid-gap: 30px;
    border-radius: 9px;
    font-size: 18px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    border: solid 1px #dbdbdb;
}

.example-editor,
.example-output {
    font-family: "JetBrains Mono", monospace;
    line-height: 1.5;
    color: var(--text-color);
    white-space: pre-wrap;
    padding-top: 18px;
    padding-bottom: 15px;
}

.example-editor {
    padding-left: 15px;
}

.example-output {
    padding-right: 15px;
    text-align: end;
    white-space: nowrap;
    border-left: solid 1px #dbdbdb;
}

.example-editor [data-line]:last-child:after {
    content: "";
    position: absolute;
    display: inline-block;
    background: #000;
    width: 1px;
    height: 23px;
    margin-top: 2px;
    margin-left: 2px;
}

.example-editor.blink-cursor [data-line]:last-child:after {
    animation: 1s blink-cursor step-end infinite;
}

@keyframes blink-cursor {
    from, to {
        background: transparent;
    }
    50% {
        background: #000;
    }
}

footer {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    margin: 30px;
    gap: 30px;
}

/* Mobile */

@media only screen and (max-width: 425px) {
    .hero-title {
        font-size: 30px;
    }

    .example-app {
        width: 100%;
        height: 250px;
        font-size: 12px;
    }

    .example-editor,
    .example-output {
        padding: 8px 10px;
    }

    .example-editor [data-line]:last-child:after {
        height: 14px;
    }

    .example-app [data-offset] {
        margin: 0 -5px;
    }

    .example-app [data-offset]::before {
        padding: 0 5px;
    }
}

/* Other */

.colorize {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient {
    background-image: radial-gradient(circle farthest-corner at 10% 20%, rgba(111, 111, 219, 1) 0%, rgba(182, 109, 246, 1) 72.4%) !important;
}

.btn {
    border: none;
    display: block;
    border-radius: 18px;
    padding: 5px 17px;
    color: #3b3b3b;
    font-size: 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: box-shadow 0.3s cubic-bezier(.25, .8, .25, 1), transform 0.3s cubic-bezier(.25, .8, .25, 1);
    cursor: pointer;
    background: #fff;
    overflow: hidden;
    white-space: nowrap;
    outline: none;
}

.btn-big {
    font-size: 22px;
    padding: 15px 30px;
    border-radius: 30px;
}

.btn-area:hover .btn, .btn:focus {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}



:root {
    --text-color: #413e41;
    --link-color: #054bb0;
    --link-hover-color: #0569fa;
    --number-color: #2f81d4;
    --operator-color: #ae39f6;
    --currency-color: #4eb323;
    --reference-color: #e0e6fa;
    --variable-color: #009688;
    --caret-color: #000;
    --red: red;
    --output-column: minmax(150px, 29%);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 16px;
    color: var(--text-color);
    background-color: #f8f9fa;
    background-size: auto;
    background-repeat: repeat;
    background-position: initial;
    /*background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='rgb(15 23 42 / 0.04)'%3e%3cpath d='M0 .5H31.5V32'/%3e%3c/svg%3e");*/
}

@media print {
    .noprint {
        visibility: hidden !important;
    }
}

@media (hover: none) {
    .nomobile {
        display: none !important;
    }
}

a {
    color: var(--link-color);
}

a:hover {
    color: var(--link-hover-color);
}

.app {
    background: #fff;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 20px var(--output-column);
    min-height: 100vh;
}

.separator {
    display: flex;
    justify-content: center;
    /*background: lightcyan;*/
    cursor: ew-resize;
}

.separator-line {
    width: 1px;
    height: 100%;
    background: #eee;
}

@media screen and (min-width: 1025px) {
    .app {
        width: 800px;
        margin: 36px auto;
        min-height: calc(100vh - 2 * 36px);
        box-shadow: 0 1px 1px 0 rgba(66, 66, 66, 0.08), 0 1px 3px 1px rgba(66, 66, 66, 0.16);
    }
}

#editor,
#output,
.prober {
    font-family: "JetBrains Mono", monospace;
    font-weight: 300;
    font-size: 18px;
    tab-size: 4;
    overflow: auto !important;
    padding: 17px 7px 17px 17px;
    line-height: 1.5;
    color: var(--text-color);
    caret-color: var(--caret-color);
}

#editor {
    resize: none !important;
    max-width: 100%;
}

#editor a {
    cursor: pointer;
}

.prober {
    overflow-wrap: break-word;
    white-space: pre-wrap;
    position: absolute;
    top: -10000px;
    left: -10000px;
    opacity: 0;
}

#output {
    padding-right: 10px;
    padding-left: 0;
}

#output div {
    display: flex;
    justify-content: flex-end
}

#output a {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    cursor: pointer;
    padding: 0 10px;
    max-width: 100%;
    border-radius: 20px;
    color: inherit;
}

#output a:hover {
    color: inherit;
    background: var(--reference-color);
}

#output a.highlight {
    background: #dbdbdb;
}


/* OTHER UI */

#button {
    -webkit-tap-highlight-color: transparent;
    background-color: #0569fa;
    border-radius: 50%;
    border: none;
    bottom: 15px;
    box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, .12);
    color: #fff;
    cursor: pointer;
    display: grid;
    font-weight: 600;
    height: 46px;
    outline: none;
    overflow: hidden;
    padding: 0;
    place-items: center;
    position: fixed;
    right: 15px;
    text-decoration: none;
    touch-action: manipulation;
    transition: .3s ease-out;
    user-select: none;
    width: 46px;
    z-index: 1;
}

@media (hover) {
    #button:hover {
        color: #fff;
        background-color: #3c86f3;
        box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, .12);
    }
}


span.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 600ms linear;
    background-color: rgba(255, 255, 255, 0.7);
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

#menu {
    visibility: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 100ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    opacity: 0;

    display: flex;
    flex-direction: column;
    width: 200px;

    position: fixed;
    right: 16px;
    bottom: 77px;

    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.10), 0 15px 12px rgba(0, 0, 0, 0.05);

    background: rgba(255, 255, 255, 0.90);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    border-radius: 10px;
    color: rgba(0, 0, 0, 0.87);
    z-index: 2;
}

@-moz-document url-prefix() {
    #menu {
        background-color: #fff;
    }
}

#menu.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
    visibility: visible;
}

#menu .item {
    display: flex;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    text-align: left;
    padding: 12px 20px;
    overflow: hidden;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    border: none;
    touch-action: manipulation;
    color: #000;
}

#menu .item:first-child {
    padding-top: 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#menu .item:last-child {
    padding-bottom: 15px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#menu .item:hover {
    background-color: rgba(0, 0, 0, 0.04);
    border-bottom-color: transparent !important;
}

#menu .item > svg {
    margin-top: 2px;
    margin-left: auto;
}

#menu #share-doc,
#menu #documentation {
    border-bottom: solid 1px rgba(0, 0, 0, 0.04);
}

#notification {
    visibility: hidden;
    transform: translateY(-30px);
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    opacity: 0;

    display: flex;
    flex-direction: column;

    position: fixed;
    right: 17px;
    top: 17px;

    background: #5ad227;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    z-index: 2;
    padding: 10px 20px;
}

#notification.visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* HIGHLIGHTS */

[data-line],
[data-line]:hover {
    color: currentColor;
}

[data-offset] {
    margin: 0 -10px;
}

[data-offset]::before {
    content: attr(data-value);
    display: inline;
    white-space: nowrap;
    background: var(--reference-color);
    border-radius: 20px;
    padding: 0 10px;
}

.header {
    font-weight: 600;
}

.number {
    color: var(--number-color);
}

.operator {
    color: var(--operator-color);
}

.currency {
    color: var(--currency-color);
}

.variable {
    color: var(--variable-color);
}

.bold {
    font-weight: 600;
}

.exp > .number {
    vertical-align: top;
    font-size: calc(100% - 5px);
}

.none {
    display: none;
}

.wtf {
    color: var(--red);
}

.warning {
    -moz-text-decoration-style: wavy;
    -webkit-text-decoration-style: wavy;
    text-decoration-style: wavy;
    text-decoration-line: underline;
    text-decoration-color: var(--red);
}

[data-inline]::after {
    content: attr(data-inline);
    display: inline;
    color: #b1b1b1;
}

/* ICONS */

.icon-menu {
    vertical-align: bottom;
    width: 22px;
    height: 22px;
    display: inline-block;
    border-radius: 50%;
    background-color: #0569fa;
    background-size: 80%;
    background-position: center center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2724%27 height=%2724%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27white%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%271%27/%3E%3Ccircle cx=%2712%27 cy=%275%27 r=%271%27/%3E%3Ccircle cx=%2712%27 cy=%2719%27 r=%271%27/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
}

.popup {
    visibility: hidden;
    transform: translateY(350px);
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;

    position: fixed;
    bottom: 0;
    left: 0;
    margin: 17px 70px 17px 17px;
    max-width: min(500px, calc(100% - 34px));

    box-shadow: 0 42px 70px 4px rgba(0, 0, 0, 0.25);
    border-radius: 17px;
    padding: 15px 15px;
    font-size: 18px;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position: top left;
}

.popup.visible {
    visibility: visible;
    transform: translateY(0);
}

.popup a {
    cursor: pointer;
    font-weight: 700;
}

.popup .title {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 15px;
}

.popup .body {
    margin-bottom: 15px;
    text-align: justify;
}

.popup .links {
    display: flex;
    justify-content: space-between;
    text-align: right;
    font-size: 14px;
}

.popup #tip-number {
    font-size: 12px;
}

.sample {
    display: flex;
    justify-content: space-between;
    font-family: "JetBrains Mono", monospace;
    font-weight: 300;
    font-size: min(18px, 3.5vw);
    tab-size: 4;
    line-height: 1.5;
    margin: 10px;
    color: var(--text-color);
}

.sample > p {
    white-space: pre;
}

.sample > p:last-child {
    border-left: solid 1px #eee;
    padding-left: 17px;
    margin-left: 10px;
}


kbd {
    display: inline-block;
    vertical-align: top;
    font-size: 10px;
    border: 1px solid gray;
    box-shadow: 1px 0 1px 0 #eee, 0 2px 0 2px #ccc, 0 2px 0 3px #444;
    border-radius: 3px;
    margin: 3px 4px;
    padding: 1px 5px;
}


/*# sourceMappingURL=styles.css.map*/