html,
button,
input,
select,
textarea {
    font-family: 'Helvetica Neue',
                 'Helvetica',
                 'Arial',
                 'Nimbus Sans L',
                 'Arimo',
                 'Liberation Sans',
                 'TeX Gyre Heros',
                 'FreeSans',
                 'sans-serif';
}

body {
    color: #000;
    background: #eee;
}

body.home {
    /* background: #fff; */
}

a {
    color: #0000ff;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

h1 {
    font-size: 60px;
    padding-bottom: 60px;
    font-weight: bold;
    line-height: 1.11111;
}

.home h1 {
    font-size: 72px;
}

h2 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 30px;
    margin-top: 45px;
    line-height: 1.11111;
}

h2.b-hed {
    margin-top: 0;
}

time + h2 {
    margin-top: 0;
}

h3 {
    font-size: 24px;
    margin: 30px 0 24px;
    font-weight: bold;
    line-height: 1.11111;
}

h4 {
    font-size: 21px;
    font-weight: bold;
}

li {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 32px;
}

ul {
    list-style-type: disc;
    padding-left: 15px;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

p {
    margin: 0 0 24px;
    line-height: 32px;
    font-size: 18px;
}

p.note {
    font-size: 12px;
}


figure {
    margin: 50px 0 50px 0;
}

mark {
    background: #fff7c5;
    padding: 0 3px;
}

ins {
    background: #fff7c5;
    padding: 0 3px;
    text-decoration: none;
}

table {
    border-bottom: 1px solid #ededed;
    line-height: 1.33333;
    margin: 0 0 1.66667em;
    text-align: left;
    width: 100%;
}

caption {
    font-size: 0.88889em;
    margin-bottom: 0.9375em;
    text-align: left;
}

img {
    max-width: 100%;
    object-fit: scale-down;
}

code {
    font-family: overpass-mono;
    background-color: #fff;
    padding: 2px;
}

.kg-image-card {

}

.kg-image {
    padding: 20px 20px 40px;
    background: #fff;
    border-radius: 4px;
    box-sizing: border-box;
}

embed,
iframe,
object,
video {
    max-width: 100%;
}


/* Text meant only for screen readers */
.screen-reader-text {
    border: 0 none;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
}

/* Text selection */
::-moz-selection {
    background: #0000ff;
    color: #fff;
    text-shadow: none;
}

::selection {
    background: #0000ff;
    color: #fff;
    text-shadow: none;
}

/* ==========================================================================
   3. Structure
   ========================================================================== */

.inner {
    margin: 0 auto;
    max-width: 760px;
    min-width: 300px;
    padding: 0 20px;
    box-sizing: border-box;
}


.main-content {
    margin-top: 80px;
}

@media only screen and (max-width: 768px) {
    .inner {

    }
}



/* ==========================================================================
   Site Header
   ========================================================================== */
.logo-wrap {
    display: flex;
}

.logo {
    background: #000;
    font-size: 26px;
    line-height: 26px;
    font-family: overpass-mono;
    font-weight: bold;
    color: #fff;
    padding: 2px 10px 3px 4px;
}

.logo a {
    color: #fff;
    text-decoration: none;
}

.site-header.home {
    background: #0000ff;
    color: #fff;
    position: relative;
    z-index: 3;
}

.nav-content {
    padding: 15px 0px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}

.nav-items {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    font-size: 16px;
}

.nav-items a {
    font-weight: bold;
    color: #000;
}

.site-header.home .nav-items li:last-child a {
    color: #0000ff;
    background-color: #fff;
}

.site-header .nav-items li:last-child a {
    font-weight: bold;
    background-color: #0000ff;
    color: #fff;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
}


.site-header.home .nav-items a {
    color: #fff;
}


.site-nav {
    display: flex;
    padding: 10px 0;
}

.site-nav li {
    padding: 10px 0 10px 20px;
    margin: 0;
    white-space: nowrap;
    list-style-type: none;
}

.site-nav li:last-child {
    padding-right: 0;
}

.post-feature {
    margin-bottom: 50px;
}

.post-thumbnail {
    display: block;
    padding-bottom: 25px;
}

/* ==========================================================================
   Special
   ========================================================================== */

img.emoji {
    height: 18px;
    width: 18px;
    line-height: 0;
    margin: 0 .05em 0 .1em;
    
}

.anim-note {
    background-color: #fff; /* #040303; */
    color: #000;
    font-family: overpass-mono, monospace;
    word-wrap: break-word;
    white-space: pre-wrap;
    font-size: 18px;
    padding: 20px;
    min-height: 20px;
    border-radius: 4px;
    line-height: 1.5;
}

.featured-code .anim-note {
    font-size: 26px;
    padding: 0;
    color: #000;
    background-color: #fff;
}

.promo {
    color: #000;
    padding: 20px 0;
}

.email-signup {
    display: flex;
}

.email-signup .field {
    padding-bottom: 20px
}

.email-signup .field label {
    padding-bottom: 10px;
    display: block;
}

.hero {
    background: #0000ff;
    width: 100%;
    color: #fff;
    padding: 75px 0 0;
}


.hero a {
    color: #fff;
}

.top-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 0 0;
}

.top-cta a {
    color: #fff;
    background: #0000ff;
    text-decoration: none;
    font-weight: bold;
    padding: 16px 24px;
    border-radius: 4px;
    font-size: 24px;
}

.inline-cta {
    display: flex;

    align-items: center;
    padding: 25px 0 0;
}

.inline-cta a {
    color: #fff;
    background: #0000ff;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 15px;
}


.featured {
    font-size: 72px;
    font-weight: bold;
}

.featured-code {
    position: relative;
}

.featured-code .bg-mask {
    position: absolute;
    width: 100%;
    height: 50%;
    background: #0000ff;
}

.featured-code .code-wrapper {
    padding: 45px;
    background: #fff;
    position: relative;
    min-height: 160px;
    box-shadow: 2px 2px 0px rgba(0,0,0,.15)
}

.featured-code .CodeMirror {
    background-color: #fff; /* #040303; */
    color: #000;
    padding: 0px;
    border: none;
    word-break: break-word;
    font-size: 26px;
    line-height: 1.5;
}

.dual-col {
    display: flex;
    align-items: flex-start;
}

.dual-col .explanation-content {
    margin-right: 50px;
}

.featured-spells {
    display: flex;
    flex-wrap: wrap;
}

.featured-spells .spell {
    width: 33.333%;
    min-width: 220px;
    margin: 20px 0;
    align-self: stretch;
}

@media only screen and (max-width: 480px) {
    .featured-spells .spell {
        width: 100%;
        min-width: 240px;
        margin: 20px 0;
        align-self: stretch;

    }
    .featured-code .anim-note {
        font-size: 15px;
        line-height: 1.5;
    }

}


.featured-spells .spell-content {
    min-height: 220px;
    margin: 0px 20px 0 0;
    height: 100%;
    box-sizing: border-box;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    color: #fff;
    background: #000;
}


.featured-spells .spell.invert .spell-content {
    background: #0000ff;
    color: #fff;
    justify-content: center;
    align-items: center;
}

.featured-spells .spell.invert .spell-content a {
    color: #fff;
}

.spell-content .txt-box {
    
    padding: 0 20px 20px;
}

.featured-spells .spell-content h4 {
    margin-bottom: 10px;
}

.spell-content .img-box {
    position: relative;
    display: flex;
    min-height: 150px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 40px;
}

.spell-content img {
    
    display: block;
    z-index: 1;
}



.tiers {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 60px 0 100px;
}

.tier {
    flex: 1;
    /* min-width: 300px; */
    /* max-width: 400px; */
    margin: 0 auto 60px auto;
    /* align-self: stretch; */
    position: relative;

}

.plan_box {
    margin-right: 20px;
    padding: 30px;
    border-radius: 9px;
    border: 1px solid #000;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan_content {
    
}

.plan_name {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 20px;
}

.plan_price_box {
    padding-bottom: 20px;
}

.plan_price {
    font-size: 60px;
    font-weight: bold;
}

.plan_price_note {
    font-size: 16px;
    
}

.plan_features {
    padding-bottom: 20px;
}

.plan_feature {
    font-size: 16px;
    line-height: 1.5;
    padding-bottom: 10px;
}

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

    .hero {
        padding: 50px 0;
    }

    .home .featured {
        font-size: 48px;
    }
}


/* ==========================================================================
   Content
   ========================================================================== */

.post {
    padding-bottom: 60px;
}

.featured-post,
.post-date {
    display: inline-block;
}

.post-date {
    padding-bottom: 15px;
    font-size: 12px;
}

.read-more {
    font-weight: bold;
    margin-bottom: 0;
}

/* ==========================================================================
   6. Comments
   ========================================================================== */


/* ==========================================================================
   7. Posts Navigation
   ========================================================================== */

.pagination {
    font-weight: bold;
    padding: 30px 0 45px;
    position: relative;
    text-align: center;
}

.page-number {
    display: inline-block;
    font-size: 16px;
    line-height: 2;
    min-width: 180px;
}

.older-posts,
.newer-posts {
    font-size: 16px;
    line-height: 1.875;
    position: absolute;
    top: 2.5em;
}

.older-posts {
    right: 0;
}

.newer-posts {
    left: 0;
}

/* ==========================================================================
   8. Site Footer
   ========================================================================== */

.site-footer {
    padding: 0px 0 60px;
    
}

.site-footer .nav-content {
    display: flex;
    justify-content: space-between;
}

.site-footer .site-nav li {
    padding: 10px 20px 10px 0px;
}

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

    .site-footer .site-nav {
        flex-wrap: wrap;
    }

    .site-footer .nav-content {
        display: block;
    }
}



/* ==========================================================================
   9. Media Queries
   ========================================================================== */
@media only screen and (max-width: 768px) {
    .featured {
        font-size: 60px;
    }

    .site-nav {
        flex-wrap: wrap;
    }

    .site-nav li {
        padding: 10px 30px 10px 0px;
    }

    .nav-items {
        justify-content: flex-start;
    }

    .nav-content {
        display: block;
    }
}

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

}

/* TAP GENERAL CUSTOM STYLES */
.content-block {
    padding-bottom: 60px;
    display: flex;
}

.content-block.the-end {
    text-align: center;
    display: block;
    background: #fff;
    padding: 40px;
    margin-bottom: 50px;
}

.content-block.the-end .inline-cta {
    justify-content: center;
    padding-top: 0;
    margin-bottom: 10px;
}

.content-block.the-end h2,
.content-block.the-end p {
    text-align: center;
    margin-bottom: 10px;
}

.content-block.the-end p:last-child {
    margin-bottom: 0;
}

.content-wrapper {
    min-width: 100%;
}

.flex-content {
    flex: 3;
}

.flex-image {
    flex: 2;
    display: flex;
    justify-content: flex-end;
    min-width: 150px;
}

@media only screen and (max-width: 768px) {
    .flex-image {
        display: none;
    }
}

.t-inline-form {
    display: flex;
}

.t-input {
    border: none;
    padding: 10px;
    font-size: 14px;
    height: 20px;
    line-height: 20px;
    box-sizing: content-box;
    display: block;
    border-radius: 2px;;
}

.t-button {
    text-decoration: none;
    font-weight: bold;
    background-color: #0000ff;
    color: #fff;
    display: block;
    border: none;
    font-size: 14px;
    line-height: 20px;
    vertical-align: center;
    height: 20px;
    padding: 10px 5px;
    box-sizing: content-box;
    border-radius: 4px;
    min-width: 100px;
    text-align: center;
}

.t-button.inverted {
    background-color: #fff;
    color: #0000ff;
}

.anim-note {
    position: relative;
    margin-bottom: 1.66667rem;
}

.components {
    width: 100%;
    padding: 10px 0 10px 20px;
    border-left: 6px solid #0000ff;
    background-color: #f8f7fc;
}


.tap-note {
    margin-bottom: 2rem;
    font-family: overpass-mono;
    color: #000;
    background-color: #fff;
    padding: 1.25rem;
    border-radius: 2px;
}

.tap-spell {
    margin-bottom: 2rem;
    line-height: 2;
    background-color: #000;
    color: #fff;
    padding: 1.25rem;
}

.tap-spell h4 {
    padding-bottom: 10px;
}

.tap-spell .anim-note {
    background-color: #000;
    color: #fff;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 10px;
    font-size: 14px;
    border-radius: 0px;
    border-left: 5px solid #fff;
}

.tap-spell .CodeMirror-scroll {
    padding-bottom: 0;
}

.tap-spell .anim-note {
    margin-bottom: 0;
}

.tap-spell .sched {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: bold;
}

.tap-text {
    color: #000;
    padding: 5px 20px 5px;
    border-radius: 10000px;
    background: #fff;
}

.tap-spell-body {
    display: flex;
    color: #fff;
    background-color: #000;
    margin-bottom: 15px;
}

.tap-spell-body .q {
    
}

.tap-inline-symbol {
    background: #ddd;
    border: 1px solid #bbb;
    padding: 2px 10px;
}

.tap-term {
    font-family: overpass-mono;
    color: #000;
    font-weight: bold;
}

.tap-path {
    font-family: overpass-mono;
    background-color: #f3ca20;
    color: #000;
    padding: 2px 0px 2px 0px;
    font-family: overpass-mono;
    font-weight: bold;
}

.tap-tag {
    font-family: overpass-mono;
    color: #11a7d1;
    padding: 2px 0px;
    font-weight: bold;
}

.tap-url {
    font-family: overpass-mono;
    color: #6090cb;
    font-weight: bold;
}

.tap-todo {
    font-family: overpass-mono;
    background: #cb1c17;
    padding: 2px 0px;
    font-weight: bold;
    color: #fff;
}

.tap-event {
    font-family: overpass-mono;
    padding: 2px 0px;
    color: #ee8826;
    font-weight: bold;
    border-radius: 2px;
}

.tap-done {
    font-family: overpass-mono;
    background: #57bb1e;
    padding: 2px 0px;
    color: #fff;
    font-weight: bold;
}

.t-button-bar input[type=submit]{
    margin: 0 .5rem;
}

/*
  TAP HOMEPAGE CUSTOM STYLES
*/

.tap-key {
    margin-top: 2rem;
}

.tap-key-item {
    font-size: .9rem;
    padding: 5px 0;
}

#tap-signup-error {
    display: none;
    color: crimson;
}

#tap-signup-success {
    display: none;
    background-color: palegreen;
    font-weight: bold;
    padding: 15px 15px;
    margin-bottom: 30px;
}

#tap-signup-success p {
    margin: 0;
}

#tap-signup-error.active {
    display: block;
}

#tap-signup-success.active {
    display: block;
}


/* PROMO BANNER */

#promo {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    z-index: 10;
    display: none;
}

#promo.active {
    display: block;
}

#promo .banner {
    background: #00ff00;
    color: #000;
}

#promo .banner .inner {
    display: flex;
    align-items: center;
    justify-content: center;
}


#promo p {
    margin: 20px 0;
}


/* Editor */

.main-content :not(pre) > code[class*="language-"],
.main-content pre[class*="language-"] {
    
    background-color: #fff;
    border-radius: 4px;
    color: #000;
    margin-bottom: 24px;
    font-size: 18px;
}

.main-content code[class*="language-"] {
    color: #000;
}


/* CODE */

p code, li code {
    padding: 6px 4px;
    border-radius: 2px;
    background: #ddd;
}

.language-sowhat .link_open {
    color: #0e62d1;
    font-weight: bold;
}

.language-sowhat .title, .language-sowhat .href, .language-sowhat .img-src, .language-sowhat .img-title {
    color: #0e62d1;
}

