* {
    margin: 0;
    padding: 0;
}

:root {
    --bg: rgb(43, 43, 43);
    --lg-bg: rgb(104, 104, 104);
    --md-bg: rgb(91, 86, 86);
}
body {
    background-color: var(--bg);
    overflow-x: hidden;
    color: white;
    font-family: courier, monospace;
}
main {
    padding: 10px;
    height: 100%;
}
button {
    background-color: var(--md-bg);
    color: white;
    width: fit-content;
    padding: 5px;
}
code {
    background-color: var(--md-bg);
    border-radius: 3px;
    font-family: courier, monospace;
    padding: 0 3px;
}
  
.cosmeticTypes {
    padding-bottom: 5px;
}

.search-bar {
    display: flex;
    flex-direction: row;
    gap: 5px;
    text-align: center;
    align-items: center;
}

.import-profile {
    display: flex;
    flex-direction: row;
    color: white;
    align-items: center;
    gap: 15px;
}
.items-container {
    display: flex;
    flex: 0;
    flex-direction: row;
    flex-wrap: wrap;
    overflow-y: scroll;
    max-height: 70vh;
}

.item {
    display: flex;
    position: relative;
    flex-direction: column;
    width: 100px;
    height: 100px;
}


.item-image {
    width: 100px;
    height: 100px;
}

.item-name {
    left: 50%;
    bottom: 0;
    position: absolute;
    font-size: 10px;
    transform: translate(-50%);
    text-wrap: none;
    width: 100px;
    color: white;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.385);
}

.item[data-active="true"] {
    background-color: lightgreen; /* Change background color */
}

.custom-items {
    font-size: .9rem;
}