html,
body {
    color: whitesmoke;
    margin: 0;
    height: max-content;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    box-sizing: border-box;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    height: 100%;
    background-image: linear-gradient(180deg, rgb(44, 44, 44), rgb(0, 0, 0));
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

header {
    width: 100%;
    height: 10%;
    background: linear-gradient(180deg, rgb(32, 32, 32), 85%, rgb(0, 0, 0));
}

header button,
header input {
    display: inline;
}

main {
    display: grid;
    grid-template-columns: 8% 1fr 1fr;
    grid-template-rows: 1fr;
    column-gap: 1vw;
    padding: 1vh 0.5vw 1vh 0.5vw;
    height: 98vh;
}

#tabScrollWrapper {
    grid-row: 1;
    grid-column: 2;
    height: 100%;
    width: 100%vw;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
}

#tabScrollWrapper::-webkit-scrollbar {
    display: none;
}

#sidebar {
    grid-column: 1;
}

.pickle {
    font-family: 'Pickle Pushing', sans-serif;
    font-size: 2vmin;
}

.oxanium {
    font-family: 'Oxanium', 'Pickle Pushing', sans-serif;
    font-weight: 100;
    padding-left: 6px;
    font-size: 2vmin;
}

.center {
    text-align: center;
}

.biggerText {
    font-size: 1.4rem;
}

#tabScrollGrid {
    display: grid;
    grid-template-rows: 98vh;
    grid-auto-rows: 98vh;
    grid-auto-columns: 100%;
}

#statsGrid {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 1fr 1fr;
    row-gap: 1vh;
    column-gap: 1vw;
    margin: 1vh 1vw 1vh 1vw;
}

#resourceGrid {
    margin: 1vh 1vw 1vh 1vw;
}

.gridSkills {
    display: grid;
    width: 100%;
    height: auto;
    grid-template-rows: 7vw;
    grid-template-columns: repeat(5, 7vw);
    grid-auto-rows: 7vw;
    justify-items: center;
    justify-content: space-around;
    align-items: center;
    row-gap: 1vw;
    column-gap: 0.4vw;
}

.passiveSkillLink {
    position: relative;
    height: 100%;
    width: 0.6vw;
    background-image: linear-gradient(90deg, black, whitesmoke, black);
    /* 
    linear-gradient(0deg, yellow,yellow 50%,white 50%,white); */
    border: 0.3vw solid black;
    z-index: 0;
}

.subclassTabButton {
    height: 4vh;
    border: 2px solid black;
    background: whitesmoke;
    box-sizing: border-box;
    text-transform: uppercase;
    text-align: center;
}

.subclassTabButtonActive {
    height: 4vh;
    border: 2px solid black;
    color: whitesmoke;
    background: rgb(0, 0, 0);
    box-sizing: border-box;
    text-transform: uppercase;
    text-align: center;
}

.infoBox {
    grid-row: 1;
    scroll-snap-align: start;
}


#storyBox {
    grid-row: 1;
}

#abilitiesBox {
    grid-row: 1;
}

#statusBox {
    grid-row: 1;
}

#trainingBox {
    grid-row: 1;
}

#skillsBox {
    grid-row: 1;
}

#statsBox {
    grid-row: 1;
}

#areasBox {
    grid-row: 1;
}



#helpBox {
    grid-row: 1;
}

#helpBody {
    box-sizing: border-box;
    padding: 10px;
    text-align: justify;
    display: block;
    font-family: Oxanium, 'Pickle Pushing', sans-serif;
    font-weight: lighter;
}

#damageFormula {
    position: relative;
    top: 1%
}

#barWrap {
    margin: 10px 0 10px;
}

.title {
    display: block;
    margin: 0px 10px;
    padding: 10px 10px;
    font-size: 5vw;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: black;
    /* background-color: green; */
    text-align: center;
    /* text-decoration: turquoise wavy 2px; */
    text-shadow:
        -2px -2px 0px rgb(255, 255, 255),
        2px 2px 0px rgb(255, 255, 255),

        3px 3px 0px rgb(0, 0, 0),
        4px 4px 0px rgb(0, 0, 0),
        4px 4px 0px rgb(255, 255, 255),
        6px 6px 0px rgb(255, 255, 255),
        7px 7px 0px rgb(0, 0, 0),
        8px 8px 0px rgb(211, 3, 3),
        10px 10px 0px rgb(211, 3, 3),
        12px 12px 0px rgb(255, 255, 0),
        14px 14px 0px rgb(255, 255, 0);
}

#previewRowHeader {
    background: rgba(0, 0, 0, 0.616);
    text-align: center;
    line-height: 2rem;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

#previewRowHeader::before {
    font-size: 2rem;

    content: "LOCKED";
}

#previewRowBody {
    background: rgba(0, 0, 0);
    text-align: center;
    z-index: 1;
}

#previewRowBody::before {
    font-size: 2rem;
    content: "I need to get stronger...";
}

.barText {
    width: inherit;
    font-size: 2vh;
    color: black;
    box-sizing: border-box;
    padding: 5px 5px;
    position: absolute;
    display: block;
    text-align: right;
    right: 1%;
    left: 1%;
}

.leftAlign {
    text-align: left;
}

.abilityPickContainerLabel {
    grid-column: 1;
    font-size: 2vw;
    text-align: center;
}

.abilityPickContainer {
    display: flex;
    justify-content: space-around;
    grid-column: 2;
}

.abilityPickButton {
    position: relative;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: black;
    color: transparent;
    image-rendering: pixelated;
    width: 80%;
    aspect-ratio: 1 / 1;
    border: 1vmin inset rgb(34, 34, 34);
    border-radius: 2vmin;
    z-index: 1;
}

.abilitySlot {
    background-repeat: no-repeat;
    background-size: cover;
    background-color: black;
    color: transparent;
    image-rendering: pixelated;
    height: 8vh;
    width: 8vh;
}

.abilitySlot option {
    color: whitesmoke;
}
@keyframes glowing {
    0% {
      /* background-color: #000000; */
      box-shadow: 0 0 5px #b1b1b1;
    }
    50% {
      border-color: #dcdc9a;
      background-color: #dcdc9a;
      box-shadow: 0 0 15px #ffffff;
    }
    100% {
      /* background-color: #000000; */
      box-shadow: 0 0 5px #c0c0c0;
    }
  }
.flash{
    animation: glowing 1300ms infinite;
}
.sidebarButton {
    height: min-content;
    width: 100%;
    font-size: 1.2vw;
    color: black;
    background-color: rgb(234, 177, 34);
    box-sizing: border-box;
    border: 5px outset goldenrod;
    display: block;
    text-align: center;
    text-transform: uppercase;
    padding: 0;
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard */
    transition: all 500ms;
    transition-property: background-color, color;
}

.sidebarButton:active {
    color: rgb(255, 255, 255);
    background-color: rgb(0, 0, 0);
    box-sizing: border-box;
    border: 5px outset rgb(45, 45, 45);
    transition: all 0s;
    transition-property: background-color, color;

}

.sidebarButtonActive {
    color: rgb(255, 255, 255);
    background-color: rgb(0, 0, 0);
    box-sizing: border-box;
    border: 5px outset rgb(45, 45, 45);
    transition: all 0s;
    transition-property: background-color, color;
    

}

.sidebarButtonLocked {
    font-size: 0px;
    pointer-events: none;
    height: min-content;
    width: 100%;
    color: black;
    background-color: rgb(52, 52, 52);
    box-sizing: border-box;
    border: 5px outset rgb(74, 74, 74);
    display: block;
    text-align: center;
    text-transform: uppercase;
    padding: 0;
}

.sidebarButtonLocked::after {
    content: 'LOCKED';
    font-size: 1.2vw;
}

.blockHeader {
    height: 5%;
    font-size: 3.5vh;
    color: black;
    background-color: rgb(234, 177, 34);
    box-sizing: border-box;
    border: 5px outset goldenrod;
    display: block;
    text-align: center;
    padding-left: 0;
}

.blockHeader::after {
    content: "";
    background-image: url('./resources/misc/rightAngleBracket.png');
    height: 20px;
    width: 20px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-left: 20px;
    margin-bottom: 4px;
}

section:last-child div.blockHeader::after {
    content: "";
    background-image: none;
}

.blockHeader::before {
    content: "";
    background-image: url('./resources/misc/leftAngleBracket.png');
    height: 20px;
    width: 20px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 20px;
    margin-bottom: 4px;
}

section:first-child div.blockHeader::before {
    content: "";
    background-image: none;
}

.subHeader {
    text-transform: uppercase;
    border-bottom: solid white;
    background: linear-gradient(0deg, black, transparent);
}

.blockBody {
    border: 5px inset rgb(53, 53, 53);
    height: 95%;
    padding: 0.5vmin;
    box-sizing: border-box;
    position: relative;
}

.blockPanel {
    border: 5px inset rgb(53, 53, 53);
    background: rgb(255 255 255 / 9%);
    box-sizing: border-box;
    position: relative;
}

.activityBlock {
    border: 0.5vmin inset grey;
    box-sizing: border-box;
}

#abilityLoadoutContainer {
    border: 5px outset rgb(53, 53, 53);
    background: rgb(255 255 255 / 9%);
    padding: 1vmin;
}

.evenFlex {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.verticalScroll {
    overflow-y: scroll;
    scrollbar-color: rgb(0, 0, 0) rgba(0, 0, 0, 0);
}

.verticalScroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgb(0, 0, 0), rgb(75, 75, 75));
    border-radius: 5px;
    border: 1px solid rgb(75, 75, 75);
}

.verticalScroll::-webkit-scrollbar {
    width: 1vw;
}

.horizontalScroll {
    overflow-x: scroll;
}

.horizontalScroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgb(0, 0, 0), rgb(75, 75, 75));
    border-radius: 5px;
    border: 1px solid rgb(75, 75, 75);
}

.horizontalScroll::-webkit-scrollbar {
    width: 1vw;
}

#heroCardPanel {
    grid-row: 1;
    display: grid;
    grid-template-rows: min-content 1fr;
}

#heroCardGrid {
    height: 10vh;
    display: grid;
    grid-template-columns: min-content 1fr;
}

#heroCardStats {
    display: grid;
    grid-template-columns: min-content auto;
    grid-template-rows: repeat(3, 33.3%);
}

#activityGrid {
    overflow-y: scroll;
    scrollbar-color: rgb(0, 0, 0) rgba(0, 0, 0, 0);
}

#activityGrid::-webkit-scrollbar-thumb {
    background: rgb(0, 0, 0);
    border-radius: 5px;
}

#activityGrid::-webkit-scrollbar {
    width: 1vw;
}

#diaryEntries {
    width: 100%;
    display: grid;
    grid-auto-rows: 15%;
    justify-items: stretch;
    background: rgb(255 255 255 / 9%);
    row-gap: 1%;
    overflow-y: scroll;
    scrollbar-color: rgb(0, 0, 0) rgba(0, 0, 0, 0);
}

#diaryEntries::-webkit-scrollbar-thumb {
    background: rgb(0, 0, 0);
    border-radius: 5px;
}

#diaryEntries::-webkit-scrollbar {
    width: 1vw;
}

#diaryText {
    padding: 1em;
}

#diaryContainer {
    height: 50%;
    width: 100%;
    display: grid;
    grid-template-rows: min-content minmax(0, 1fr);
}

#diaryGrid {
    height: 100%;
    display: grid;
    grid-template-columns: 1.1fr 4fr;
}

progress[value] {
    /* Reset the default appearance */
    -webkit-appearance: none;
    appearance: none;
    border: none;
    margin-bottom: 10px;
}

progress[value]::-webkit-progress-bar {
    background-color: #eee;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    box-shadow: 0 4px 7px rgba(0, 0, 0, 0.25) inset;
}

#playerExperienceBar {
    height: 3vh;
    width: 100%;
    background-color: #eee;
    border-radius: 2px;
    box-shadow: 0 4px 7px rgba(0, 0, 0, 0.25) inset;
}
#playerExperienceBar,
#playerExperienceBar[value]::-webkit-progress-bar {
    height: 3vh;
    width: 100%;
    background-color: #f6caff;
    border-radius: 2px;
    box-shadow: 0 4px 7px rgba(0, 0, 0, 0.25) inset;
}
#playerExperienceBar::-webkit-progress-value {
    border-radius: 2px;
    background-size: 35px 20px, 100% 100%, 100% 100%;
    background-image: linear-gradient(0deg,
            transparent 33%,
            rgba(0, 0, 0, .1) 33%,
            rgba(0, 0, 0, .1) 66%,
            transparent 66%), linear-gradient(90deg,
            rgba(255, 255, 255, .25),
            rgba(0, 0, 0, .25)), linear-gradient(180deg,
            rgb(204, 0, 255),
            rgb(129, 22, 175));
}

#playerExperienceBar::-moz-progress-bar {
    /* -moz-progress-bar has identical contents to -webkit-progress-value,
        dont try combine then with commas, it breaks compatability */
    border-radius: 2px;
    background-size: 35px 20px, 100% 100%, 100% 100%;
    background-image: linear-gradient(0deg,
            transparent 33%,
            rgba(0, 0, 0, .1) 33%,
            rgba(0, 0, 0, .1) 66%,
            transparent 66%), linear-gradient(90deg,
            rgba(255, 255, 255, .25),
            rgba(0, 0, 0, .25)), linear-gradient(180deg,
            rgb(204, 0, 255),
            rgb(129, 22, 175));
}

#playerHealthBar {
    height: 3vh;
    width: 100%;
    background-color: #eee;
    border-radius: 2px;
    box-shadow: 0 4px 7px rgba(0, 0, 0, 0.25) inset;
}

#playerHealthBar::-webkit-progress-value {
    border-radius: 2px;
    background-size: 35px 20px, 100% 100%, 100% 100%;
    background-image: linear-gradient(0deg,
            transparent 33%,
            rgba(0, 0, 0, .1) 33%,
            rgba(0, 0, 0, .1) 66%,
            transparent 66%), linear-gradient(90deg,
            rgba(255, 255, 255, .25),
            rgba(0, 0, 0, .25)), linear-gradient(180deg,
            rgb(0, 255, 38),
            rgb(21, 153, 41));

}
#playerHealthBar::-webkit-progress-bar{
    background: rgb(170, 255, 170);
}

#playerHealthBar::-moz-progress-bar {
    border-radius: 2px;
    background-size: 35px 20px, 100% 100%, 100% 100%;
    background-image: linear-gradient(0deg,
            transparent 33%,
            rgba(0, 0, 0, .1) 33%,
            rgba(0, 0, 0, .1) 66%,
            transparent 66%), linear-gradient(90deg,
            rgba(255, 255, 255, .25),
            rgba(0, 0, 0, .25)), linear-gradient(180deg,
            rgb(0, 255, 38),
            rgb(21, 153, 41));
}

#playerInitiativeBar {
    height: 3vh;
    width: 100%;
    background-color: #eee;
    border-radius: 2px;
    box-shadow: 0 4px 7px rgba(0, 0, 0, 0.25) inset;
}

#playerInitiativeBar::-webkit-progress-value {
    background-image: linear-gradient(0deg,
            transparent 33%,
            rgba(0, 0, 0, .1) 33%,
            rgba(0, 0, 0, .1) 66%,
            transparent 66%), linear-gradient(90deg,
            rgba(255, 255, 255, .25),
            rgba(0, 0, 0, .25)), linear-gradient(180deg,
            rgb(0, 255, 242),
            rgb(24, 120, 205));
    border-radius: 2px;
    background-size: 35px 20px, 100% 100%, 100% 100%;
}
#playerInitiativeBar::-webkit-progress-bar{
    background: rgb(190, 255, 240);
}
#playerInitiativeBar::-moz-progress-bar {
    background-image: linear-gradient(0deg,
            transparent 33%,
            rgba(0, 0, 0, .1) 33%,
            rgba(0, 0, 0, .1) 66%,
            transparent 66%), linear-gradient(90deg,
            rgba(255, 255, 255, .25),
            rgba(0, 0, 0, .25)), linear-gradient(180deg,
            rgb(0, 255, 242),
            rgb(24, 120, 205));
    border-radius: 2px;
    background-size: 35px 20px, 100% 100%, 100% 100%;
}

.activityProgressBar,
.activityProgressBar[value]::-webkit-progress-bar {
    height: 10px;
    width: -moz-available;
    /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available;
    /* Mozilla-based browsers will ignore this. */
    width: fill-available;
    background: rgb(255, 255, 255);
    margin-bottom: 0px
}

.activityProgressBar::-webkit-progress-value {
    background: rgb(128, 73, 0);
}

.activityProgressBar::-moz-progress-bar {
    background: rgb(128, 73, 0);
}

.rankProgressBar,
.rankProgressBar[value]::-webkit-progress-bar {
    height: 5px;
    width: -moz-available;
    /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available;
    /* Mozilla-based browsers will ignore this. */
    width: fill-available;
    background: rgb(255, 255, 255);
    margin-bottom: 0px
}

.rankProgressBar::-webkit-progress-value {
    background: purple;
}

.rankProgressBar::-moz-progress-bar {
    background: purple;
}

.trainingProgressBar,
.trainingProgressBar[value]::-webkit-progress-bar {
    width: 100%;
    background: rgb(255, 255, 255);
    margin-bottom: 0px
}

.trainingProgressBar::-webkit-progress-value {
    background-image: linear-gradient(0deg,
            transparent 33%,
            rgba(0, 0, 0, .1) 33%,
            rgba(0, 0, 0, .1) 66%,
            transparent 66%), linear-gradient(90deg,
            rgba(255, 255, 255, .25),
            rgba(0, 0, 0, .25)),
        linear-gradient(180deg,
            rgb(255, 204, 0),
            rgb(153, 91, 21));
    border-radius: 2px;
    background-size: 35px 20px, 100% 100%, 100% 100%;
}

.trainingProgressBar::-moz-progress-bar {

    background-image: linear-gradient(0deg,
            transparent 33%,
            rgba(0, 0, 0, .1) 33%,
            rgba(0, 0, 0, .1) 66%,
            transparent 66%), linear-gradient(90deg,
            rgba(255, 255, 255, .25),
            rgba(0, 0, 0, .25)),
        linear-gradient(180deg,
            rgb(255, 204, 0),
            rgb(153, 91, 21));
    border-radius: 2px;
    background-size: 35px 20px, 100% 100%, 100% 100%;
}
#trainingProgressBarOverview,
#trainingProgressBarOverview[value]::-webkit-progress-bar {
    width: 100%;
    height: 5px;
    background: rgb(255, 220, 105);
    margin-bottom: 0px
}
#nextMove {
    text-align: center;
    margin-bottom: 1%;
    padding: 2vh;
}

.statDisplay {
    font-size: 2.5vmin;
    text-transform: uppercase;
    text-align: center;
    padding-left: 6px;
}

#reputationText {
    font-family: 'Oxanium';
    color: rgb(45 62 255);
}

#reputationText:after {
    content: "";
    display: inline-block;
    background: url("./resources/textIcons/reputationTextIcon.png") no-repeat;
    background-size: contain;
    width: 32px;
    height: 32px;
    margin: 0 6px 0 6px;
    vertical-align: middle;
}

.reputationText {
    font-family: 'Oxanium';
    color: rgb(33, 44, 172);
}

.reputationText:after {
    content: "";
    display: inline-block;
    background: url("./resources/textIcons/reputationTextIcon.png") no-repeat;
    background-size: contain;
    width: 32px;
    height: 32px;
    margin: 0 6px 0 6px;
    vertical-align: middle;
}

#moneyText {
    font-family: 'Oxanium';
    color: rgb(44, 190, 0);
}

#moneyText:after {
    content: "$";
    color: rgb(44, 190, 0);
    display: inline-block;
    /* background: url("./resources/textIcons/moneyTextIcon.png") no-repeat;
    background-size: contain;
    width: 32px;
    height: 32px; */
    margin: 0 6px 0 6px;
    vertical-align: middle;
}


.strengthText {
    font-family: 'Oxanium';
    color: rgb(255, 53, 53);
}

.strengthText:after {
    content: "";
    display: inline-block;
    background: url("./resources/textIcons/strengthTextIcon.png") no-repeat;
    background-size: contain;
    width: 32px;
    height: 32px;
    margin: 0 6px 0 6px;
    vertical-align: middle;
}

.toughnessText {
    font-family: 'Oxanium';
    color: rgb(41, 153, 35);
}

.toughnessText:after {
    content: "";
    display: inline-block;
    background: url("./resources/textIcons/toughnessTextIcon.png") no-repeat;
    background-size: contain;
    width: 32px;
    height: 32px;
    margin: 0 6px 0 6px;
    vertical-align: middle;
}

#trainingButtonWrap {
    margin-top: 2vh;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    row-gap: 1vw;
}

.attributeButton {
    width: 64px;
    height: 64px;
    border: 5px grey outset;
    margin: 0 10px 0 10px;
}

.attributeButton:active {
    border: 5px grey inset;
}

#trainingUpgradeButton {
    appearance: none;
    width: 60%;
    height: min-content;
    border: 5px grey outset;
    text-align: center;
    font-size: 1.4rem;
    margin: 0 20% 0;
    margin-bottom: 5vh;
}

#masterTooltip {
    position: fixed;
    width: auto;
    height: auto;
    padding: 1em;
    border-radius: 2vmin;
    background-color: #000000;
    z-index: 100;
    -webkit-transition: .2s;
    transition: opacity .2s;
    pointer-events: none;
    color: rgb(180, 180, 180);
    text-align: center;
    line-height: 1.5;
}

#trainingUpgradeButton:active {
    border: 5px grey inset;
}

.fameItemGrid {
    display: grid;
    grid-template-columns: min-content 1fr;
}

.fameUpgradeIcon {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: .3vw grey outset;
    position: relative;
    padding: 0;
    background-image: url('./placeholder.png');
    background-size: cover;
    image-rendering: pixelated;
    z-index: 1;
    box-sizing: border-box;
}

.fameUpgradeButton {
    width: 100%;
    aspect-ratio: 4 / 1;
    border: 2px solid black;
    font-family: 'Pickle Pushing';
    font-size: 1.5vh;
    background-color: whitesmoke;
    padding: 0
}

.passiveSkillButton {
    width: 61%;
    height: 61%;
    border: .4vw black outset;
    border-radius: 50%;
    position: relative;
    padding: 0;
    image-rendering: pixelated;
    z-index: 1;
    transition: border-color 0.5s;
}

.passiveMinorButton {
    width: 30%;
    height: 30%;
    border: .3vw grey outset;
    border-radius: 50%;
    position: relative;
    padding: 0;
    image-rendering: pixelated;
    z-index: 1;
    transition: border-color 0.5s;
}

.passiveMajorButton {
    position: relative;
    width: 70%;
    height: 70%;
    padding: 0;
    border: 0.6vw inset goldenrod;
    border-radius: 50%;
    image-rendering: pixelated;
    z-index: 1;
    transition: border-color 0.5s;
}

.passiveSkillButton:active,
.passiveMajorButton:active,
.passiveMinorButton:active {
    border-color: white;
    transition: border-color 0s;
}

.passiveSkillLevel {
    position: relative;
    font-family: 'Pickle Pushing';
    /* aspect-ratio: 1/1; */
    background: black;
    color: white;
    text-align: center;
    padding-top: 5%;
    height: 25%;
    width: 30%;
    bottom: -34%;
    right: -67%;
    border-left: 2px solid grey;
    border-top: 2px solid grey;
}

.mindText {
    font-family: 'Oxanium';
    color: rgb(170, 66, 255);
}

.mindText:after {
    content: "";
    display: inline-block;
    background: url("./resources/textIcons/mindTextIcon.png") no-repeat;
    background-size: contain;
    width: 32px;
    height: 32px;
    margin: 0 6px 0 6px;
    vertical-align: middle;
}

.agilityText {
    font-family: 'Oxanium';
    color: rgb(255, 255, 63);
}

.agilityText:after {
    content: "";
    display: inline-block;
    background: url("resources/textIcons/agilityTextIcon.png") no-repeat;
    background-size: contain;
    width: 32px;
    height: 32px;
    margin: 0 6px 0 6px;
    vertical-align: middle;
}

#helpText {
    box-sizing: border-box;
    padding: 10px;
    text-align: justify;
    display: block;
    font-size: 24px;
    font-weight: lighter;
}

.dropdown {
    width: 100%;
    height: min-content;
    border: 5px grey outset;
    text-align: center;
    font-size: 1.6rem;
    padding: 1rem;
}

.dropdown:active {
    border: 5px grey inset;
}

.radioWrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    column-gap: 20px;
}

#selectArea {
    grid-template-columns: repeat(2, 50%);
    grid-auto-rows: min-content;
    display: grid;
    box-sizing: border-box;
    padding: 10px;
    text-align: justify;
    font-family: 'Pickle Pushing', sans-serif;
    font-size: 24px;
    font-weight: lighter;
}

.areaButton {
    box-sizing: border-box;
    width: 100%;
    height: min-content;
    border: 5px grey outset;
    text-align: center;
    font-size: 2vh;
    padding: 2vh;
    background-size: 100%;
    background-position: 0%;
    filter: saturate(0) brightness(0.5);
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard */
}

/* .areaButton::after {
    content: '';
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 255, 1) 100%);
    height: 100%;
    width: 100%;
    display: block;
     ::after defaults to inline 
    opacity: .7;
} */

.areaButton:active {
    border: 5px grey inset;
}

.areaButton.active {
    filter: saturate(1);
}

#skillsWrap {
    box-sizing: border-box;
    padding: 10px;
    text-align: justify;
    display: block;
    font-size: 24px;
    font-weight: lighter;
}

#rightColumnWrap {
    display: grid;
    grid-template-rows: min-content min-content auto;
    grid-row: 1;
    grid-column: 3;
    row-gap: 1vh;
    position: sticky;
    top: 1vh;
    height: 98vh;
}

#canvasWrap {
    border: 0.25vw inset goldenrod;
    outline: 0.25vw solid rgb(200, 145, 12);
    aspect-ratio: 4 / 3;
    display: grid;
    grid-row: 2;
    box-sizing: border-box;
    margin: 0.25vw;
}

#myCanvas {
    aspect-ratio: 4 / 3;
    width: 100%;
}

.logBox {
    position: block;
    grid-row: 3;
    border: 4px solid rgb(26, 90, 0);
    height: auto;
    align-self: stretch;
    overflow-y: scroll;
    background-color: whitesmoke;
    background-image: linear-gradient(180deg, rgb(0, 62, 12), rgb(0, 0, 0));
    font-style: oblique;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: rgb(0, 255, 0);
    scrollbar-color: rgb(0, 255, 0) rgba(0, 0, 0, 0);
    padding-left: 1%;
}

.logBox::-webkit-scrollbar-thumb {
    background: rgb(0, 255, 0);
    border-radius: 2px;
}

.logBox::-webkit-scrollbar {
    width: 5px;
}

.bannerButton {
    text-align: center;
    color: black;
    border: 2px solid black;
    font-family: 'Pickle Pushing';
    font-size: 1em;
    background-color: whitesmoke;
}

.prestigePanelTab {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, black 5%, whitesmoke 40%, whitesmoke 60%, black 95%);
}

.subclassPickButton {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1%;
}

.subclassPickButton:hover {
    outline: goldenrod solid 2px;
}

.subclassPickButton.selected {
    color: whitesmoke;
    background-color: black;
    outline: goldenrod solid 2px;
}

.classButton {
    border: 2px solid black;
    font-family: 'Pickle Pushing';
    font-size: 1em;
    background-color: whitesmoke;
}

.diaryButton {
    border: 2px solid black;
    font-family: 'Pickle Pushing';
    font-size: revert;
    background-color: whitesmoke;
    box-sizing: border-box;
}

.slider {
    -webkit-appearance: none;
    /* Override default CSS styles */
    appearance: none;
    background: goldenrod;
    /* Grey background */
    outline: none;
    /* Remove outline */
    opacity: 0.7;
    /* Set transparency (for mouse-over effects on hover) */
    -webkit-transition: .2s;
    /* 0.2 seconds transition on hover */
    transition: opacity .2s;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    /* Override default look */
    appearance: none;
    height: 1em;
    width: 10%;
    background: #000000;
    /* Green background */
    cursor: pointer;
    /* Cursor on hover */
}

.slider::-moz-range-thumb {
    width: 25px;
    /* Set a specific slider handle width */
    height: 25px;
    /* Slider handle height */
    background: #000000;
    /* Green background */
    cursor: pointer;
    /* Cursor on hover */
}

.dotted {
    background-image: radial-gradient(at 50% 50%, rgb(0, 0, 0) 20%, transparent 20%),
        radial-gradient(at 0% 0%, rgb(0, 0, 0) 10%, transparent 10%),
        radial-gradient(at 100% 0%, rgb(0, 0, 0) 10%, transparent 10%),
        radial-gradient(at 100% 100%, rgb(0, 0, 0) 10%, transparent 10%),
        radial-gradient(at 0% 100%, rgb(0, 0, 0) 10%, transparent 10%);
    background-color: rgb(18, 18, 18);
    /* background-position: 0 0, 50px 50px; */
    background-size: 6px 6px;
}

/* Tooltip container */
/* .tooltip {


} */

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    position: absolute;
    top: 110%;
    right: 20%;
    width: 20vw;
    background-color: black;
    color: #fff;
    font-size: 20px;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
}

.tooltip .skilltooltiptext {
    visibility: hidden;
    position: fixed;
    top: 6vh;
    left: calc(25% - 200px);
    width: 400px;
    background-color: black;
    color: #fff;
    font-size: 20px;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: hidden;
    z-index: 1;
    ;
}

.tooltip:hover .skilltooltiptext {
    visibility: hidden;
    z-index: 1;
    ;
}

.splashScreen {
    opacity: 1;
    background: black;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;

}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.splashTitle {
    font-size: 7vw;
    letter-spacing: 0.5vw;
    text-transform: uppercase;
    color: black;
    text-align: center;
    width: 100%;
    height: 100%;
    line-height: 90vh;
    text-shadow:
        -2px -2px 0px rgb(255, 255, 255),
        2px 2px 0px rgb(255, 255, 255),

        3px 3px 0px rgb(0, 0, 0),
        4px 4px 0px rgb(0, 0, 0),
        4px 4px 0px rgb(255, 255, 255),
        6px 6px 0px rgb(255, 255, 255),
        7px 7px 0px rgb(0, 0, 0),
        8px 8px 0px rgb(211, 3, 3),
        10px 10px 0px rgb(211, 3, 3),
        12px 12px 0px rgb(255, 255, 0),
        14px 14px 0px rgb(255, 255, 0);
}

.splashFadeIn {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

.splashScreenFadeOut {
    /* background: black;
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index: 100; */
    opacity: 0;
    transition: all 1s;
}

.requirementNotMet {
    color: green;
}

.requirementNotMet {
    color: firebrick;
}

@keyframes effect {
    0% {
        color: goldenrod;
    }

    50% {
        color: yellow;
    }

    100% {
        color: goldenrod;
    }
}



@media (max-width:1000px) {
    body {
        max-width: 100vw;
    }

    header {
        width: 100vw;
        height: 10%;
        background: linear-gradient(180deg, rgb(24, 24, 24), 85%, rgb(0, 0, 0));
    }

    main {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 100vh;
        row-gap: 1vw;
        padding: 0.5vw;
        position: sticky;
        height: auto;
        top: 1vh;
    }

    #sidebar {
        grid-row: 2;
    }

    #tabScrollGrid {
        grid-auto-columns: 100vw;
    }

    .sidebarButton {
        writing-mode: vertical-rl;
        text-orientation: upright;
        height: 30vw;
        width: 10vw;
        float: left;
        font-size: 3vw;
        line-height: 9vw;
        -webkit-user-select: none;
        /* Safari */
        -moz-user-select: none;
        /* Firefox */
        -ms-user-select: none;
        /* IE10+/Edge */
        user-select: none;
        /* Standard */
        padding: 0;
    }

    .sidebarButtonLocked {
        writing-mode: vertical-rl;
        text-orientation: upright;
        height: 30vw;
        width: 10vw;
        float: left;
        font-size: 3vw;
        line-height: 9vw;
        -webkit-user-select: none;
        /* Safari */
        -moz-user-select: none;
        /* Firefox */
        -ms-user-select: none;
        /* IE10+/Edge */
        user-select: none;
        /* Standard */
        padding: 0;
        font-size: 0px;
        pointer-events: none;
        background-color: rgb(52, 52, 52);
        border: 5px outset rgb(74, 74, 74);
    }

    .sidebarButtonLocked::after {
        content: 'LOCKED';
        font-size: 3vw;
    }

    #rightColumnWrap {
        position: static;
        top: 10vh;
        height: 100vh;
        grid-row: 1;
        grid-column: 1;
        grid-template-rows: min-content min-content auto;
    }

    #tabScrollWrapper {
        grid-row: 3;
        grid-column: 1;
        height: 100%;
        width: 100%;
        scrollbar-width: none;
        overflow-y: hidden;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
    }

    .passiveSkillButton {
        width: 80%;
        height: 80%;
        border: .4vw grey outset;
        position: relative;
        padding: 0;
        image-rendering: pixelated;
        z-index: 1;
    }

    .gridSkills {
        display: grid;
        width: 100%;
        height: auto;
        grid-template-rows: 14vw;
        grid-template-columns: repeat(5, 14vw);
        grid-auto-rows: 14vw;
        justify-items: center;
        align-items: center;
        row-gap: 4vw;
        column-gap: 4vw;
    }

    .passiveSkillLink {
        position: relative;
        height: 100%;
        width: 1.2vw;
        background-image: linear-gradient(90deg, black, lightgrey, black),
        ;
        border: 0.3vw solid black;
        z-index: 0;
    }
}