.upgradeComponent_upgradeListContainer {
    position: absolute;

    z-index: 3;
    padding: 1vh;
    margin: 0.5vh;

    z-index:8;

    border-radius: 1vh;
    border: none;
    background-color: #2d325a;
}
.upgradeComponent_upgradeListContainer > * {
    margin-bottom: 0.8vh;
}
.upgradeComponent_upgradeListContainer > *:last-child {
    margin-top: auto;
    margin-bottom: 0px;
}
.upgradeComponent_upgradeList {
    height: calc(100% - 5vh - 0.8vh);
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 100;
}
.upgradeComponent_closeButton {
    width: 100%;
    height:5vh;
}

.upgradeComponent_upgradeSlot {
    width: 100%;
    padding: 0;

    border-radius: 0px;
    margin: 0.2vh 0;
}
.upgradeComponent_upgradeSlot:first-child {
    border-top-left-radius: 1vh;
    border-top-right-radius: 1vh;
    margin-top: 0;
}
.upgradeComponent_upgradeSlot:last-child {
    border-bottom-left-radius: 1vh;
    border-bottom-right-radius: 1vh;
    margin-bottom: 0;
}

.upgradeComponent_upgradeText {
    margin: 0.8vh;
    margin-bottom: 0px;
}

.upgradeComponent_upgradeText > h3 {
    margin-top: 0.4vh;
    margin-bottom: 0.4vh;
    font-size: 100%;
    font-weight: bold;
}
.upgradeComponent_upgradeText > p {

    margin-bottom: 0px;
    text-align: left;
}

.upgradeComponent_upgradeCost {
    padding: 0.4vh 0.4vh;
    display: flex;
    flex-direction: row;
    justify-content: left;
}

.upgradeComponent_upgradeResourceCost {
    padding: 0.4vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: white;
    color: black;
    border-radius: 0.5vh;
    margin: 0.4vh 0.4vh;
}