:root {
    --cuphead-yellow: #ffcf10;
    --cuphead-green: #a0e1c0;
    --dlc-font: #433650;
    --gray: #434343;
    --lightcolor: lightgray;
    --color1: cornflowerblue;
    --color2: lightcoral;
}

@font-face {
    font-family: "cuphead-memphis";
    src: url("fonts/cuphead-memphis.ttf") format("truetype");
}

@font-face {
    font-family: "cuphead-vogue";
    src: url("fonts/CupheadVogue-ExtraBold-merged.ttf") format("truetype");
}

body {
    font-family: "cuphead-memphis";
    background-color: var(--gray);
    color: white;
}

table {
    border-collapse: collapse;
}

.levelTable,
.inventoryTable {
    margin: auto;
}

.levelTable {
    border: 15px solid var(--lightcolor);
}

.levelTable th {
    border-top: 5px solid var(--lightcolor);
    height: 20px;
}

.levelTable td {
    text-align: center;
    border: 1.5px solid var(--lightcolor);
    padding: 0;
}

.levelRow {
    vertical-align: middle;
    text-align: center;
    padding: .3%;
    height: 34px;
}

input[type="text"] {
    font-family: "cuphead-memphis";
    width: 50px;
}

input[type="checkbox"] {
    accent-color: var(--cuphead-yellow);
    transform: scale(1.4);
}

input::file-selector-button {
    font-family: "cuphead-memphis";
}

select {
    font-family: "cuphead-memphis";
}

td img {
    display: block;
    margin: auto;
}

.item {
    width: 82px;
    height: 80px;
    position: relative;
    text-align: center;
    font-size: 25px;
}

.inventoryTable img {
    width: 70px;
    transition: width 0.1s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.rightClickUp {
    width: 70px;
}

.inventoryTable img:hover,
.rightClickHover {
    width: 95%;
}

.inventoryTable img:active,
.rightClickDown {
    width: 85% !important;
}

.inventoryTable th {
    font-size: 20px;
    padding-top: 15px;
}

.changed {
    color: black;
    background-color: var(--cuphead-yellow);
}

#flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: auto;
    gap: 30px;
}

.player-column {
    width: 32%;
}

.tabs {
    width: 100%;
    display: none;
}

.tab-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tab-links li {
    float: left;
    margin: 0;
    padding: 0;
    border: 5px solid var(--lightcolor);
}

.tab-links li a {
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    color: white;
    background: var(--gray);
}

.tab-links li.active a {
    color: black;
    background: var(--cuphead-yellow);
}

.tab-content {
    clear: both;
    padding: 20px;
}

.tab {
    display: none;
}

.active {
    display: block;
}

.unclicked {
    filter: contrast(100%);
}

.clicked {
    filter: contrast(25%);
}

.charm,
.super {
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px var(--cuphead-yellow), 0 0 0 5px var(--cuphead-yellow);
}

.primary.secondary {
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px var(--color1), 0 0 0 4px var(--color1), 0 0 0 8px var(--color2);
}

.primary {
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px var(--color1), 0 0 0 5px var(--color1);
}

.secondary {
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px var(--color2), 0 0 0 5px var(--color2);
}

#gramophone {
    width: 30px;
    height: auto;
}

pre{
    font-family: "cuphead-memphis";
}

header {
    height: 50px;
    color: black;
    background: var(--cuphead-yellow);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: auto;
    gap: 20px;
}

footer {
    background: var(--cuphead-yellow);
    height: 100px;
    margin-top: 100px;

}

#downloadButton {
    width: 110px;
    height: 40px;
}

#p1 {
    border: 15px solid var(--lightcolor);
    padding-bottom: 30px;
    background-color: #693e3e;
}

#p2 {
    border: 15px solid var(--lightcolor);
    padding-bottom: 30px;
    background-color: #51693e;
}

button {
    font-family: "cuphead-memphis";
}

#inventoryHeader {
    display: flex;
}

#controls {
    width: 60%;
}

#inventoryOptions {
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
}

#fileInput {
    width: 30%;
    font-family: "cuphead-memphis";
}

#moreLevelsButton {
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.showTable {
    display: table;
}

.show {
    display: block;
}

.hide {
    display: none;
}

#tooltip {
    border: 15px solid var(--gray);
    text-align: center;
    width: 32%;
}
#tooltipTitle{
    font-family: "cuphead-vogue";
    font-size:30px;
}
#tooltipSubtitle{
    font-family: "cuphead-vogue";
    font-size:20px;
    margin-bottom:10px;
}
#tooltipDescription{
    font-size:18px;
}