@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Linden+Hill&display=swap');


html {
    padding: 0;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    /* -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4; */
    font-size: 20pt;
    color: black;
    background-color: #F4EEDC;
}

body {
    margin: 30pt;
    padding: 0;
    line-height: inherit;
    font-family: 'Linden Hill', serif;
}

div {
    margin: 0;
    padding: 0;
}

.header {
    font-family: 'Bebas Neue';
    font-size: 64pt;
    line-height: 1;
    margin-top: 30pt;
}

.imgdiv {
    float: left;
}

img {
    height: 200px;
    margin-right: 10px;
    margin-bottom: 10px;
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    background-color: #e4ddcb;
    background-clip: content-box;
}

.tokens {
    clear: both;
    padding-bottom: 30pt;
}

.description {
    max-width: 500px;
    font-size: 80%;
    opacity: 0.5;
    margin-top: 30px;
    margin-bottom: 10px;
}

.checkboxes {
    border-top: 1px solid #222;
    padding-top: 10pt;
    margin-top: 10pt;
    line-height: 1;
}

.lineageHeader {
    clear: both;
    margin-top: 40px;
    margin-bottom: -5pt;
}

.lineageHeader p {
    border-top: 1px solid #222;
    padding-top: 20px;
    line-height: 1.2;
}

.quiet {
    opacity: 0.6;
    font-size: 70%;
    line-height: 1.3;
}


.sibling {
    border-top: 10px solid red;
    padding-top: 10px;
    height: 180px;
}

.burned {
    border: 10px dashed #ccc;
    padding: 10px;
    height: 160px;
}

.burnedLegend {
    border: 4px dashed #ccc;
    float: right;
    font-size: 60%;
    margin-top: 20px;
    padding: 10px;
    padding-bottom: 5px;
    margin-left: 20px;
    height: auto;

    /* margin-bottom: 20px; */
}

.siblingLegend {
    float: right;
    font-size: 60%;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 4px solid #73A0A7;
    height: auto;
    /* margin-bottom: 20px; */
}

.filterWrapper {
    padding-top: 4px;
}

a {
    color: #444;
}

a:hover {
    color: #888;
}

iframe {
    border: 0;
}

#noresults {
    display: none;
}

#hud {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100dvw;
    height: 100dvh;
    z-index: 1;
    font-size: 14pt;
}

#hudtop {
    background-color: #F4EEDC;
    color: #252124;
    padding: 10pt;
    padding-left: 20pt;
    width: 100%;
    height: 40pt;
    font-size: 14pt;
    margin: 0;

    display: grid;
    align-items: center;
    overflow-x: auto;
    /* Enable horizontal scrolling when content overflows */
    overflow-y: hidden;
    /* Hide vertical scrollbar if not needed */
    white-space: nowrap;
    /* line-height: 0.2; */
}

#hudsubtitle {
    opacity: 0.5;
    font-size: 70%;
}

#hudbottom {
    background-color: black;
    position: absolute;
    x: 0pt;
    y: 60pt;
    background-color: #252124;
    width: calc(100dvw - 20pt);
    height: calc(100dvh - 80pt);
    margin: 0;
    padding: 10pt;
}

#hudclose {
    background-color: #F4EEDC;
    /* background-color: #996633; */
    color: #252124;
    width: 50pt;
    height: 60pt;
    position: absolute;
    right: 0dvh;
    top: 0pt;
    font-size: 24pt;
    margin: auto;

    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;

    align-items: center;
    justify-content: center;
    z-index: 2;
}

#hudclose:after {
    display: inline-block;
    content: "\00d7";
    margin: auto;
}

#hudgen {
    width: 100%;
    height: 100%;
}

/*

#controls {
    text-align: right;
    padding: 0pt 20pt;
    width: 160pt;
    height: 100%;
    color: #252124;
    background-color: #F4EEDC;
    font-size: 24pt;
    float: left;
    margin: 0;

}

#art,
#ifGen {
    width: calc(100dvw - 200pt);
    height: 100dvh
}

#ifGen {
    position: absolute;
    x: 200pt;
    y: 0pt;
    background-color: #252124;
}

*/


.boxlabel {
    padding-bottom: 4px;
}

.checkboxes {
    font-size: 80%;
}

.checkbox-wrapper-2 {
    margin-right: 10pt;
    text-align: center;
}

.checkbox-wrapper-2 .ikxBAC {
    appearance: none;
    /* background-color: #dfe1e4; */
    background-color: #b4aE9C;
    border-radius: 72px;
    border-style: none;
    flex-shrink: 0;
    height: 20px;
    margin: 0;
    position: relative;
    width: 30px;
    top: 3px;
}

.checkbox-wrapper-2 .ikxBAC::before {
    bottom: -6px;
    content: "";
    left: -6px;
    position: absolute;
    right: -6px;
    top: -6px;
}

.checkbox-wrapper-2 .ikxBAC,
.checkbox-wrapper-2 .ikxBAC::after {
    transition: all 100ms ease-out;
}

.checkbox-wrapper-2 .ikxBAC::after {
    background-color: #F4EEDC;
    border-radius: 50%;
    content: "";
    height: 14px;
    left: 3px;
    position: absolute;
    top: 3px;
    width: 14px;
}

.checkbox-wrapper-2 input[type=checkbox] {
    cursor: default;
}

.checkbox-wrapper-2 .ikxBAC:hover {
    background-color: #c9cbcd;
    transition-duration: 0s;
}

.checkbox-wrapper-2 .ikxBAC:checked {
    background-color: #252124;
}

.checkbox-wrapper-2 .ikxBAC:checked::after {
    background-color: #F4EEDC;
    left: 13px;
}

.checkbox-wrapper-2 :focus:not(.focus-visible) {
    outline: 0;
}

.checkbox-wrapper-2 .ikxBAC:checked:hover {
    background-color: #252124;
}


@media (width < 600px) {

    body {
        margin: 10pt;
        font-size: 60%;
    }

    .header {
        font-size: 30pt;
        margin-top: 10pt;
    }

    .description {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    img {
        height: calc((100dvw - 32px)/3);
        margin-right: 5px;
        margin-bottom: 5px;
        box-sizing: content-box;
        -moz-box-sizing: content-box;
        -webkit-box-sizing: content-box;
    }

    .sibling {
        border-top: 4px solid;
        padding-top: 4px;
        height: calc((100dvw - 32px)/3 - 8px)
    }

    .burned {
        border: 4px dashed #ccc;
        padding: 4px;
        height: calc((100dvw - 32px)/3 - 16px)
    }

    .burnedLegend {
        display: none;
        float: left;
        margin-top: 10px;
        padding: 5px;
        padding-bottom: 3px;
        margin-bottom: 10px;
        margin-left: 0;
        height: auto;
    }

    .siblingLegend {
        display: none;
        float: left;
        margin-top: 10px;
        padding-top: 5px;
        margin-right: 10px;
        margin-bottom: 10px;
        height: auto;
        border-top-color: #73A0A7;
    }

    .lineageHeader {
        margin-top: 20px;
        margin-bottom: 0pt;
    }

    #hudsubtitle {
        display: none;
    }

    #hudtop {
        padding-top: 12pt;
        padding-left: 30pt;
        height: 20pt;
        font-size: 90%;
    }

    #hudbottom {
        y: 40pt;
        background-color: #252124;
        width: calc(100dvw - 20pt);
        height: calc(100dvh - 60pt);
    }

    #hudclose {
        top: 2pt;
        font-size: 19pt;
        height: 38pt;
        width: 30pt;
        left: 0dvh;
        right: auto;
    }

    .checkboxes {
        padding-bottom: 20px;
    }

    .filterWrapper {
        padding-top: 10px;
    }



}