html:target {
    mix-blend-mode: difference;
    filter: hue-rotate(180deg) brightness(0.7);
    font-weight: 700 !important;
}

html {
    font-size: 11pt;
}

body:target ul {
    list-style-type: hiragana-iroha !important;
}

body,
footer {
    display: flex;
}

body {
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #222;
    background-color: #dedede;
    margin: 0 auto;
}

.main {
    /* min-height: 100vh;
  min-width: 7.25in;
  max-width: 8in; */
    max-height: 11in;
    min-width: 8.27in;
    max-width: 8.27in;
    justify-content: flex-start;
    background-color: #fcfcfc;
    padding: 0 20px;
}

.content {
    padding-top: 10px;
    padding-bottom: 20px;
}

footer {
    position: fixed;
    bottom: 1rem;
}

.lang {
    margin: 0 1rem 0 auto;
}

h1,
h2,
h3 {
    padding: 0;
    margin: 0;
}

h4 {
    margin: 1em 0 0;
}

header {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-bottom: 4px;
    border-bottom: 1px #ddd solid;
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact.horizontal {
    flex-direction: row;
    justify-content: space-between;
    margin-top: 4px;
}

.text h1 {
    font-family:
        "Proxima Soft", "FOT-UDMarugo", "Helvetica Neue", "Helvetica Now",
        "Roboto", sans-serif;
    font-size: 3.43rem;
    text-transform: uppercase;
    font-weight: 200;
    color: #c2185b;
    margin-left: -3px;
    line-height: 4rem;
}

.text h1 rt,
.text h2 {
    font-size: 8rem;
}

.snowflake-link,
.text h2,
.text h2 a:visited {
    color: #00bcd4;
}

.text h3 {
    font-weight: 400;
    font-size: 2rem;
}

.text h4 {
    font-weight: 300;
}

.social {
    display: inline-flex;
    align-content: center;
    font-family: "Poppins", sans-serif;
    justify-content: center;
}

.social,
.social a,
.social a:visited {
    color: #303f9f;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5rem;
    align-items: baseline;
}

.social > a {
    padding-right: 5px;
}

.typcn {
    font-size: 1.5rem;
    line-height: 1.5rem;
}

a {
    text-decoration: none;
}

i {
    padding-right: 5px;
}

.experiences {
    padding-top: 6px;
}

.experiences h2 {
    font-family:
        "Poppins", "Helvetica Neue", "Helvetica Now", "Segoe UI", "Roboto",
        sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.experience {
    font-family:
        "Poppins", "Helvetica Neue", "Helvetica Now", "Segoe UI", "Roboto",
        sans-serif;
    display: flex;
    padding-top: 3px;
    padding-bottom: 3px;
}

.experience .desc.tag {
    display: flex;
    justify-content: space-between;
}

.experience .skills {
    min-width: 100px;
    font-weight: 600;
    /* font-family: 'Proxima Soft', 'Roboto', 'Helvetica Neue', sans-serif; */
}

.experience .desc.tag .duration {
    text-align: right;
    font-size: 0.9rem;
}
.experience .desc.tag .title {
    font-weight: 600;
}

.experience .desc.tag .company {
    font-style: italic;
}

.experience .desc.tag .title::after {
    content: ",";
}

.experience .desc.tag .title.no-trail::after {
    content: "";
}

.experience .desc.tag.proj {
    display: flex;
    justify-content: space-between;
}

.gh a {
    padding-right: 5px;
    color: #222;
}

.experience .tag.small {
    font-size: 0.95rem;
}

.experience .tag.url a {
    font-style: italic;
    font-weight: 400;
    color: #303f9f;
}

.wrap {
    display: flex;
}

.tag.lang {
    background: #efefef;
    padding: 2px 5px 2px 3px;
    margin-right: 2px;
    border-radius: 10000px;
    margin-top: 2px;
    margin-bottom: 2px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    line-height: 1rem;
}

.tag.lang::before {
    content: " ";
    width: 0.8rem;
    height: 0.8rem;
    margin-left: 2px;
    margin-right: 3px;
    background: #fff;
    border-radius: 10000px;
    display: inline-block;
}

.tag.lang.rust::before {
    background: #dea584;
}

.tag.lang.c::before {
    background: #555555;
}

.tag.lang.cpp::before {
    background: #f34b7d;
}

.tag.lang.react::before {
    background: #00d8ff;
}

.tag.lang.js::before {
    background: #f1e05a;
}

.tag.lang.csharp::before {
    background: #178600;
}

.tag.lang.dotnet::before {
    background: #512bd4;
}

.tag.lang.java::before {
    background: #b07219;
}

.tag.lang.python::before {
    background: #3572a5;
}

.tag.lang.gql::before {
    background: #e10098;
}

.tag.lang.html::before {
    background: #e34c26;
}

.tag.lang.css::before {
    background: #563d7c;
}

.tag.lang.azure::before {
    background: #2560e0;
}

.tag.lang.docker::before {
    background: #1d63ed;
}

.tag.lang.k8s::before {
    background: #326ce5;
}

.tag.lang.spring::before {
    background: #6db33f;
}

.tag.lang.ts::before {
    background: #2b7489;
}

.tag.lang.kt::before {
    background: #f18e33;
}

.tag.lang.android::before {
    background: #3ddc84;
}

.tag.lang.go::before {
    background: #00add8;
}

.tag.lang.haskell::before {
    background: #5e5086;
}

.tag.lang.racket::before {
    background: #3c5caa;
}

.experience .tag.stats {
    margin-left: 4px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3px 5px;
    border: 1px solid #a1a1a1;
    border-radius: 3px;
}

.experience .tag.stats > .tag.small {
    font-size: 0.85rem;
    color: #222;
    line-height: 0.85rem;
}

.experience .tag.stats > .tag.small > i {
    padding-right: 1px;
    color: #434343;
}

ul {
    font-size: 0.9rem;
}

ul li {
    padding-top: 1px;
    padding-bottom: 1px;
    line-height: 1.2rem;
}

.list {
    padding: 1rem;
    padding-top: 2px;
    margin: 0;
}

.desc {
    width: 100%;
}

.desc.full ul {
    padding: 0;
    margin: 0 0 0 20px;
    max-width: 6.3in;
}

.desc.technologies {
    /* max-width: 350px; */
}

.skills.technologies {
    padding-bottom: 4px;
}

.desc.sub .tag.langs {
    display: flex;
    justify-content: space-between;
}

.desc.sub {
    display: flex;
    justify-content: space-between;
    line-height: 1rem;
}

.desc.sub .tag.blurb {
    font-style: italic;
    font-size: 0.9rem;
    display: inline-flex;
    flex-direction: column;
    align-self: center;
}

.desc.tag.proj > span {
    display: inline-flex;
    flex-direction: row;
}

.desc.tag.proj > span > * {
    margin-right: 3px;
}

@media print {
    @page {
        margin: 0.4cm 0.4cm;
        height: calc(11in - 0.8cm);
        overflow: hidden;
        overflow-y: hidden;
        size: portrait;
        page-break-after: avoid;
    }
    body {
        font-size: 10pt;
        max-height: calc(11in - 0.8cm);
        overflow: hidden;
    }
    .content {
        padding-top: 0px;
    }

    .tag.lang {
        -webkit-print-color-adjust: exact !important;
        color-adjust: exact !important;
    }

    .tag.lang::before {
        display: none;
    }

    .main:target .tag.lang::before {
        display: inline-block !important;
    }
    .desc.technologies {
        /* width: 300px; */
    }
}

@media print and (monochrome) {
    .text h1 {
        color: #333;
    }

    .tag.lang::before {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    body {
        width: 100vw;
        height: initial;
    }

    .text h1 {
        font-size: 3rem;
        text-align: center;
        text-justify: inter-word;
    }
    .main {
        width: 100vw;
        min-width: 0px;
        padding: 0;
        max-height: initial;
        max-width: 100vw;
    }

    .content {
        padding: 10px 10px 0;
    }

    .experience {
        flex-direction: column-reverse;
    }

    .experience .desc .desc.tag {
        flex-direction: column;
    }

    .duration {
        padding-top: 2px;
        font-size: 0.7rem;
    }

    .experience .desc.tag.proj {
        flex-direction: column;
        padding-bottom: 2px;
    }

    .experience .desc.tag .duration,
    .experience .desc.sub .tag.langs {
        text-align: left;
    }

    .desc.sub {
        flex-direction: column;
    }

    .desc.sub .tag.langs {
        display: block;
    }

    .desc.sub .tag.blurb {
        align-self: flex-start;
        font-size: 0.9rem;
    }

    .tag.lang {
        font-size: 0.8rem;
    }

    .desc.technologies {
        /* max-width: 100%; */
    }

    .tag.gh {
        flex-direction: row-reverse;
        justify-content: flex-end;
        display: inline-flex;
        align-items: center;
    }

    header {
        flex-direction: column;
    }

    .contact {
        flex-direction: row;
        justify-content: space-between;
    }

    .social {
        flex-direction: row-reverse;
    }

    .contact.horizontal .social {
        flex-direction: row;
    }
    .experience.listcontainer {
        flex-direction: column;
        padding: 0;
        padding-bottom: 10px;
    }

    .wrap {
        flex-direction: column;
    }

    .list {
        padding-top: 0px;
    }

    .experiences.skills-and-tech .wrap {
        flex-direction: column-reverse;
    }
}
