@import url('https://fonts.googleapis.com/css2?family=Martel+Sans:wght@300;600&family=Titillium+Web:ital,wght@0,300;0,400;0,600;1,600&display=swap');

html,
body {
    margin: 0;
    padding: 0;
}

html {
    background: #142987;
    scroll-behavior: smooth;
}

body {
    font-family: "Titillium Web", sans-serif;
    font-size: 1.1rem;
    text-rendering: optimizeLegibility;
    color: #222;
}

body>bio,
body>intro,
body>main,
body>content,
body>works,
body>footer {
    display: block;
}

body>bio>div,
body>main>div,
body>content>div,
body>intro>div,
body>footer>div,
body>works>div {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5vw;
}

body>bio {
    background: #FFD301;
    padding-bottom: 10vh;
}

body>intro {
    background: #3333FF;
}

body>main {
    background: #fff;
    padding-bottom: 10vh;
}

body>content {
    background: #F4F4F4;
    padding-bottom: 10vh;
}

body>works {
    background: transparent;
    padding-bottom: 10vh;
}

body>footer {
    background: #1B1D1C;
    padding-top: 5vh;
    padding-bottom: 10vh;
    color: white;
}

body>intro h1>a,
body>footer a,
body>footer a:visited {
    color: white !important;
}

body.blog sup {
    top: -4rem;
}

body.blog>intro>div,
body.blog>content>div,
body.blog>footer>div {
    line-height: 2rem;
    max-width: 70rem;
}

h1 {
    font-family: "Titillium Web", serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 10%;
    margin: 0;
    padding: 3rem 0;
}

h2,
h3,
h4 {
    font-family: "Titillium Web", serif;
    font-weight: 400;
    font-size: 60px;
    display: block;
    padding: 0;
    margin: 0;
    line-height: 1.2;
}

h2 {
    padding-top: 12vh;
    font-weight: 600;
}

h4 {
    font-size: 50px;
    font-weight: 400;
}

h6 {
    font-family: "Titillium Web";
    font-weight: 300;
    font-size: 50px;
    letter-spacing: 0;
    margin: 0;
    padding: 0;
}

h6 a {
    text-decoration: none;
    border-bottom: 0;
}

h6 a:hover {
    text-decoration: none;
    border-bottom: 0;
}

div.sitegen h6 a {
    color: #FAE0D4;
}

div.boomwrist h6 a {
    color: #C2202D;
}

div.blogpanel h6 a {
    color: #FEEA6C;
    font-size: 30px;
}

div.blogpanel p {
    font-size: 13px;
}

div.boomtape h6 a {
    color: #7320C2;
}

body.blog h2 {
    font-size: 50px;
}

body.blog p sub {
    float: right;
    margin-top: 1rem;
}

body.blog h3 {
    font-size: 30px;
    margin-top: 3rem;
}

body.blog h4 {
    font-size: 20px;
    margin-top: 2rem;
}

div.featured {
    margin: 7vh 0;
}

div.panel {
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: calc(425/530);
    border-radius: 11px;
    color: #EAEAEA;
    width: 30vw;
    position: relative;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.24);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

div.panel>* {
    padding: .5rem 1rem 0 1rem;
}

div.panel p {
    margin: 0;
    font-family: 'Martel Sans', sans-serif;
    font-weight: 300;
}

div.panel em {
    font-family: 'Martel Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    font-style: normal;
}

div.panel sub {
    position: absolute;
    bottom: 1rem;
    left: 0;
}

div.sitegen {
    background: #464646 url('/img/rust-hero.webp') bottom right no-repeat;
    background-size: 60%;
    color: #EAEAEA;
    background-blend-mode: exclusion;
}

div.boomwrist {
    background: rgba(212, 89, 89, 0.10) url('/img/boomwrist-hero.webp') bottom right no-repeat;
    background-size: 60%;
    color: #3a3a3a;
}

div.blogpanel {
    background: url('/img/blog-hero.webp') bottom right no-repeat, linear-gradient(-175deg, #5229D7 0%, #07644D 100%);
    background-blend-mode: screen;
    /*box-shadow: 0 0 30px 0 #EBA477;*/
}

div.boomtape {
    background: rgba(137, 89, 212, 0.10) url('/img/boomtape-hero.webp') top 85% right no-repeat;
    background-size: 95%;
    color: #3a3a3a;
}

div.xol {
    background: #152887 url('/img/xol-hero.webp') bottom right no-repeat;
    background-size: 100%;
    background-blend-mode: lighten;
}

div.boomdeck {
    background: rgba(212, 89, 191, 0.10) url('/img/boomdeck-hero.webp') bottom right no-repeat;
    background-size: 82%;
    color: #3a3a3a;
}

div.curdle {
    background: #292444 url('/img/curdle-hero.webp') bottom right no-repeat;
    background-size: 84%;
    background-blend-mode: color-dodge;
}

div.tvmaster {
    background: rgba(212, 89, 153, 0.10) url('/img/tvmaster-hero.webp') top 85% right no-repeat;
    background-size: 95%;
    color: #3a3a3a;
}

div.zapp {
    background: #233E22 url('/img/zapp-hero.webp') bottom right no-repeat;
    background-size: 90%;
    background-blend-mode: screen;
}

.curdle h6 a {
    color: #9DEDF1;
}

.tvmaster h6 a {
    color: #7820C2;
}

.zapp h6 {
    color: #26DE9E;
}

.xol h6 a {
    color: #7BEB6B;
}

.xol p {
    color: #F3C87C;
    font-size: 15px;
}

.xol sub {
    color: #FFFFFF;
    text-shadow: 1px 1px 2px #000000;
}

.boomdeck h6 a {
    color: #C2202D;
}

div.flex {
    display: flex;
    align-items: center;
    align-content: space-evenly;
    gap: 2vw;
}

div.flex>div:first-child {
    margin-bottom: -10vh;
}

div.flex>div:first-child div.panel {
    margin-left: 0;
}

div.flex>div {
    flex-grow: 1;
}

div.flex>div:last-child {
    margin-top: -10vh;
}

div.flex>div:last-child div.panel {
    margin-right: 0;
}

header {
    font-family: "PT Serif", serif;
    font-weight: 400;
    margin-top: 17vh;
    margin-bottom: 15vh;
}

pre>code {
    display: block;
    overflow-x: auto;
}

h5 {
    font-size: 18px;
    font-weight: 600;
    font-style: italic;
    margin-top: 8rem;
}

h5.featured {
    position: relative;
    top: 10vh;
    margin: 0;
}

works h5 {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.relative {
    position: relative;
}

sup {
    opacity: 0.12;
    font-family: "Titillium Web", sans-serif;
    font-size: 220px;
    font-weight: 600;
    font-style: italic;
    color: white;
    letter-spacing: 0;
    position: absolute;
    padding-right: 2rem;
    top: -12.5rem;
    right: 6rem;
    white-space: nowrap;
}

table {
    margin-top: 4vh;
    font-family: "Titillium Web", sans-serif;
    width: 100%;
    font-weight: 300;
    line-height: 200%;
    padding: 2rem 0;
    border-top: 1px solid rgba(127, 127, 127, 0.5);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

td {
    font-size: 1.1rem;
    padding: 0;
}

works td {
    color: white;
}

works td a,
td a:visited {
    color: white;
    text-decoration: none;
}

td:first-child {
    width: 25%;
    font-weight: 700;
}

td:nth-child(2) {
    width: 55%;
}

td:last-child {
    text-align: right;
}

section {
    margin-top: 5vh;
    width: 100%;
    line-height: 150%;
}

code {
    margin: 2vh 0;
    padding: .3rem .8rem;
    border-radius: .2rem;
    font-family: Menlo, ui-monospace, consolas, monospace;
    font-size: .9rem !important;
    line-height: 1.5 !important;
    background: rgba(0, 0, 0, 0.1);
    color: black;
    border-radius: 4px;
    white-space: nowrap;
}

pre>code {
    padding: 2rem;
    line-height: 1.2;
    background: rgba(0, 0, 0, 0.1);
    color: black;
    white-space: pre;
}

li {
    padding-bottom: .5rem
}

p {
    font-size: 1.4rem;
    font-weight: light;
}

p:first-of-type {
    margin-top: 3vh;
}

body.blog p {
    font-size: 1.1em;
}

a,
a:active,
a:visited {
    color: black;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a.underline {
    text-decoration: underline;
}

small {
    opacity: 0.7;
    font-weight: 400;
    font-size: 12px;
}

a.btn,
a.btn:active,
a.btn:visited {
    color: white;
    background: #1480FF;
    border-radius: 5px;
    padding: 15px 25px;
    border: none !important;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
    font-size: 120%;
}

a.btn:hover {
    border: none !important;
    opacity: 0.7;
}

::selection {
    background: #e9d1f8;
}

img {
    max-width: 100%;
}

em img {
    /* markdown limitation */
    max-width: 50%;
}

strong img {
    /* markdown limitation */
    max-width: 255px;
}

body.blog img {
    max-width: 80%;
    display: block;
    margin: 0 auto;
}

x-tags {
    display: none;
}

.hidem {
    display: none;
}

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

    h1 {
        font-size: 1.5rem;
    }

    h5 {
        font-size: 2rem;
        width: 100%;
        margin-top: 10vh;
    }

    table {
        width: 100%;
        margin-top: 2vh;
    }

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
        font-size: 2rem;
        text-align: left !important;
        line-height: 150%;
    }

    td {
        width: 100% !important;
    }

    td:nth-child(2) {
        opacity: 0.6;
    }

    td:nth-child(3),
    td:nth-child(4) {
        font-size: 2rem;
    }

    tr {
        margin-bottom: 2.5vh;
    }

    div.flex {
        flex-direction: column;
    }

    body div.featured {
        margin: 1vh 0;
    }

    body div.flex>div {
        margin: 0 !important;
    }

    body div.flex div.panel {
        width: 400px;
        min-width: 400px;
    }

    h5.featured {
        position: initial;
        padding-top: 5rem;
    }

    body sup {
        top: -7.5rem;
        right: 0;
        font-size: 120px;
    }
}

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

    body div.flex div.panel {
        min-width: 99%;
    }

    body table,
    thead,
    tbody,
    th,
    td,
    tr {
        font-size: 1.7rem;
    }

    td:nth-child(3),
    td:nth-child(4) {
        font-size: 1.5rem;
    }

    body sup {
        font-size: 80px;
        top: -5rem;
        right: 0;
    }
}
