/* @font-face {
    font-family: "Excelsior";
    src: url("./data/ExcelsiorSans.ttf");
} */
@font-face {
    font-family: "Mikodacs";
    src: url("./data/Mikodacs.ttf");
}

html {
    font-size: 10px;
    overflow-y: auto;
    scrollbar-gutter: stable;
}
body {
    background-color: #040202;
    color: white;
    font-family: "Nunito", "Montserrat", Arial;
    margin: 0px;
}

input, textarea {
    color: white;
    background-color: rgb(32, 32, 36);
    border: 2px solid;
    border-color: rgb(46, 46, 53);
    border-radius: 0.5rem;
    font-size: inherit;
    font-family: "Nunito", Arial;
}
input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
}
input[type="number"] {
  -webkit-appearance: textfield;
     -moz-appearance: textfield;
          appearance: textfield;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
input:-internal-autofill-selected {background: #B82428 !important;}

input[type='range'] {
  -webkit-appearance: none;
  background-color: #040202;
  height: 0.5rem;
  overflow: hidden;
  width: 100%;
  border: 2px solid #B824287f;
}

input[type='range']::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  cursor: pointer;
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: -210px 0 0 200px #B82428;
  cursor: pointer;
  height: 1rem;
  width: 1rem;
  border: 0;
}

button {
    color: white;
    background-color: #0E0708;
    border: 2px solid;
    border-color: #B82428;
    border-radius: 0.5rem;
    font-size: inherit;
    cursor: pointer;
    font-family: "Nunito";
}
button:hover {
    background-color: #300b0b;
}
button:active {
    background-color: #B82428;
    color: #0E0708;
}

hr { border: 1px dashed #B824287f; }

.squarish {
    font-size: 0.75em; padding: 0em 0.375em; margin:0; font-weight: bold;
}
.spaceless {
    font-size: 0.75em;
    color: #B824287f;
    bottom: -0.25em;
    position: relative;
}

.filledButton {
    background-color: #B82428;
    color: #070404;
    font-weight: bold;
}
.filledButton:hover {
    background-color: #070404;
    color: #B82428;
}
.filledButton:active {
    background-color: #300b0b;
}

button.blue {
    color: #824983;
    border-color: #824983;
}
button.blue:hover {
    background-color: #361636;
}
button.blue:active {
    background-color: #824983;
    color: #0E0708;
}

select {
    background-color: #070404;
    color: white;
    text-align: center;
    font-size: inherit;
    font-family: "Montserrat";
    width: 100%;
    border: none;
    border-bottom: 2px solid;
    border-color: #B82428;
    border-radius: 1rem;
}
option {
    font-family: "Montserrat";
}

h1 {font-size: 3rem; font-family: "Montserrat"; margin: 1rem 0px;}
h2 {font-size: 2rem; font-family: "Montserrat"; margin: 0.5rem 0px;}
h3 {font-size: 1.5rem; font-family: "Montserrat"; margin: 0.25rem 0px;}
p {font-size: inherit;}
span {font-size: inherit; display: inline-block; justify-content:center; align-items:center; white-space:pre-wrap;}
img {vertical-align: middle}
small {color: rgba(255, 255, 255, 0.5)}


.fortitude {color:#B82428; font-style: italic;}
.prudence {color:#EEEABC; font-style: italic;}
.temperance {color:#824983; font-style: italic;}
.justice {color:#41CABC; font-style: italic;}
.flavor {margin-top:0.5rem;margin-bottom:0.5rem;color:#a16a3b;font-style:italic;font-size:0.9rem;}
.hint {color: #ff6000;background: #ff000040;font-weight: bold;text-decoration: underline;display:inline;}

.primaryInput {
    background-color: #070404;
    font-family: "Montserrat";
    font-weight: bold;
    border: none;
    border-bottom: 2px solid;
    border-color: #B82428;
    text-align: center;
    font-size: 1.5rem;
    width: 50%;
}
.minorInput {
    background-color: #070404;
    border: none;
    border-bottom: 2px solid;
    border-color: #B82428;
    text-align: center;
    font-size: 0.8rem;
    width: 100%;
}
.whisper {
    color: #B82428;
    font-size: 0.875em; font-style: italic;
    animation: glimmer 5s infinite ease-in-out;
}
.whisper-safe {
    color: #B82428;
    font-size: 0.875em; font-style: italic;
}
.container-bulk {
    font-family: "Nunito", Arial;
    color: #b82429bb;
    font-size: 0.75em; font-style: italic; font-weight: normal;
}
@keyframes glimmer {
    0% {color: #B824287f;}
    50% {color: #B82428;}
    100% {color: #B824287f;}
}

.textGroup {
    margin-bottom: 0;
}
.center {
    width: 100%; display: flex; justify-content: center; align-items: center;
}
.compact {
    display: flex; justify-content: center; align-items: center;
}

.sheet {
    background-color: #0E0708;
    text-align: center;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    height: fit-content;
    width: 80%;
    left: 20%;
    border-bottom: 4px dashed #B82428;
}
.container {
    display: none;
    height: 95%;
    width: 95%;
    margin: 2.5% auto;
}
.segmentContainer {
    display: flex;
    justify-content: space-evenly;
}
.leftContainer {
    display: flex;
}
.statContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cutVertMargin {
    margin-bottom: 0; margin-top: 0;
}
.seg-half {
    width: 45%;
    text-align: left;
}
.barImgContainer {
    height: 100%;
    overflow: hidden;
}

.hotbar {
    background-color: #070404;
    width: 20%;
    height: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1;

    button {
        color: rgb(255, 251, 199);
        background-color: rgb(0, 0, 0);
        border: 0px;
        border-radius: 0px;
        font-family: "Montserrat";
        font-size: 1cqw;
        font-weight: bold;
        font-style: italic;
    }
    div { background-color: #070404; }
}
.hotbarTab {
    width: 100%;
    height: 2rem;
    padding-left: 0%;
    padding-right: 1%;
    transition: padding-left 0.1s, background 0.1s, color 0.1s;
    border: 2px solid;
    border-image: linear-gradient(to right, #070404, #B82428) 1;
    border-left: none; border-top: none;
    display: table; width: 100%; display: flex; justify-content: right; align-items: center;
    font-family: "Montserrat"; font-weight: bold;
    background: #070404;
    color: #FFFFFF;
    cursor: pointer;
    p {font-size: 2rem; margin: 0;}
}
.hotbarTab:hover {
    padding-left: 10%;
    background: #B82428;
    color: #070404;
}
.hotbarTab.open {
    background: #B82428;
    color: #070404;
}
.sanityText {
    position:relative;margin:25% 0;text-align:center;
    font-family: "EXCELSIOR SANS"; font-size: 30px; paint-order: stroke fill;
    -webkit-text-stroke: 4px black;
}
.sanityIcon {
    left:0; position: absolute;
}
.staggerBar {
    position: absolute; top: -25%; height: 150%;
}
.staggerText {
    position: absolute; top: 100%; height: 150%; margin: 4px; font-family: "EXCELSIOR SANS";
}

.sliceContainer {
    display: flex;
    align-items: center;
    justify-content:space-between;
    flex-direction: row;
}
.sliceContainer.middle {
    justify-content:space-around;
}
.column {
    flex-direction: column;
}
.wFill {width: 100%;} .wHalf {width: 50%;} .w2Thirds {width: 67%;} .wThird {width: 33%;} .wQuart {width: 25%;} .w3Quart {width: 75%;}
.hFill {height: 100%;} .hHalf {height: 50%;} .h2Thirds {height: 67%;} .hThird {height: 33%;} .hQuart {height: 25%;} .h3Quart {height: 75%;}

.skillDisplay {
    display: flex;
    align-items: center;
    justify-content:space-between;
    flex-direction: row;
    width: fit-content;
    td {
        vertical-align: top;
    }
}
.imageLayer {
    display: grid;
    grid-template-columns: 1fr;
    width: 6rem;
    img {
        grid-row-start: 1;
        grid-column-start: 1;
        width: 6rem;
    }
    .type {
        width: 3rem;
        transform: translate(51.5%,60%);
    }
}
.skillName {
    background-image: url("./images/skill/Name_None.png"); background-size: 100% 100%;
    font-family: "Mikodacs"; letter-spacing: 0.75px; font-size: 1.25rem; color: #f5d7a9;
    text-overflow: ellipsis; overflow: hidden; white-space: nowrap;
    text-shadow: black -0.1rem 0.1rem 0px, #0000007f 1px -1px 0px;
    padding-left: 3rem; padding-right: 2rem; padding-bottom: 0.4rem;
    width: fit-content; max-width: 100%;
}
.skillDescription {
    width: 100% /*calc(100% - 3rem)*/; margin-left: 3rem; text-align: left; text-wrap: wrap;
    td:nth-child(1) {
        color: #B82428;
        overflow-wrap: break-word;
        font-family: "Nunito"; font-weight: bold; letter-spacing: -1px;
        font-size:inherit;
        /*img{display: inline; width: 2em; margin-right: -2em;}*/
    }
}
.passiveDescription {
    width: calc(100% - 2rem); margin-left: 2rem; text-align: left; text-wrap: wrap;
}
.skillCollapse {
    margin: 0px;
    cursor: pointer;
    font-family: "Montserrat"; font-weight: bold; font-size: 0.75rem;
    color: #f5d7a9;
    text-shadow: #000000 -0.075rem 0.075rem 0px;
    width: fit-content;
}
.skillCollapse:hover {
    color: #ffffff;
}

.listHeader {
    width: 100%;
    text-align: left;
    color: #B82428;
    border-bottom: #B82428 dashed 2px;
}

.inlineStatus {
    font-size:inherit; cursor:help; text-decoration:underline; justify-content: center;
}
.statusOverview {
    display: block;
    background-color: #000000cc;
    border: 1px solid #B82428cc;
    padding: 7px 7px;
    z-index: 50;
    position: absolute;
    width: fit-content; height: fit-content; max-width: 20%;
    span.title {
        img {
            width: 1.75rem;
            margin-right: 7px;
            margin-top: -2px;
            margin-bottom: 2px;
        }
        .statusValue {
            font-size: 1rem; color: #f5d7a97f;
        }
        font-family: "Mikodacs"; letter-spacing: 1px; font-size: 1.25rem; color: #f5d7a9;
        text-shadow: #000000 -0.075rem 0.075rem 0px;
    }
}
.statusImage {
    height: 1.5em;
    margin-top: -2px;
}

.dropbtn {
    background-color: #B82428;
    color: #0E0708;
    cursor: pointer;
    border: none;
    width: 100%;
}

.dropdown {
    position: relative;
    display: inline-block;
    background-color: #070404;
    color: white;
    text-align: center;
    font-size: inherit;
    font-family: "Montserrat";
    width: 1.5rem;
    border: none;
    border-bottom: 2px solid;
    border-color: #B82428;
    border-radius: 1rem;
    padding: 0.25rem;
    div {cursor: pointer;}
    user-select: none;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 0%;
    width: 100%;
    z-index: 1;
    span {
        width: 100%;
        background-color: #000000;
        padding: 0.2rem 0px;
        border: 1px dashed #B82428; border-top: none;
    }
    span:hover {
        background-color: #B82428;
    }
    span:last-child {
        border-radius: 0px 0px 25% 25%;
    }
}
.dropdown-content.open {
    display: block;
}

span.weakness {
    font-family: "Montserrat"; font-weight: bold;
}

.modal-container {
    position: fixed; width: 100%; height: 100%; top: 0; background: #0000007f; z-index: 10; display: flex;
}
.modal {
    margin: auto auto; width: 30em; background: #0E0708; padding: 0.5em; border-radius: 1em; border: 2px solid #490c0e;
    > h3 {
        padding-left: 0.25em;
        color: #B82428;
    }
}
.modal.big {
    width: 60em;
}
.modal-buttons {
    width: 100%; display: flex; align-items: end; margin-top: 0.5em; justify-content: end; gap: 2px;
}
.modal-group, .modal-group-table {
    width: 100%; background: #070404; padding: 0.5em; border-radius: 1em; box-sizing: border-box; margin-top: 0.5em; display: grid; text-align: left;
}
.modal-group-table {
    overflow-y:auto; max-height:20em; display: inline-block; text-align: center;
    button {
        margin: 1px 1px;
    }
}

.textTab {
    background: none;
    color: #B82428;
    border: none;
    font-family: "Montserrat"; font-weight: bold;
    cursor: pointer;
}
.textTab:hover {
    color: white;
}
.textTab.open {
    border-bottom: 2px solid #B82428;
}

.slot-group {
    display: flex;
    align-items: center;
    max-width: 256px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
    img {
        width: 32px;
        cursor: pointer;
        -webkit-user-drag: none;
        user-drag: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}

.hidden {
    display: none;
}