

.list-container
{
    list-style-type: none;
    padding-bottom: 10rem;
}
.list-container > li
{
    width: 100%;
    height: 100%;
    padding: 1rem;
    background-color: var(--color-secondary);
}


.item-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fill, 12rem);
    grid-auto-rows: 12rem;
    grid-gap: 1rem;
    justify-content: center;

    padding: .5rem;
    margin-bottom: .5rem;
    user-select: none;
}

.item-grid .item
{
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
    white-space: break-spaces;
    /*word-break: break-word;*/
    /*word-wrap: anywhere;*/
    font-size: 25px;
    outline: 2px solid black;
    background-color: var(--color-secondary);
    color: var(--color-text);
    border-radius: 10px;
    overflow: hidden;
}
.item-grid .item .word-wrap
{
    word-break: break-word;
    word-wrap: anywhere;
}


.item-grid .item .quantity
{
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}


.item-grid[data-color="blue"] .item .quantity
{
    background-color: var(--color-group-blue);
}
.item-grid[data-color="green"] .item .quantity
{
    background-color: var(--color-group-green);
}
.item-grid[data-color="red"] .item .quantity
{
    background-color: var(--color-group-red);
}
.item-grid[data-color="yellow"] .item .quantity
{
    background-color: var(--color-group-yellow);
    color: black;
}
.item-grid[data-color="orange"] .item .quantity
{
    background-color: var(--color-group-orange);
}
.item-grid[data-color="grey"] .item .quantity
{
    background-color: var(--color-group-grey);
}


.item-grid .item.checked
{
    color: rgb(138, 138, 138);
    outline-style: dashed;
}


.item-grid .item .indicator
{
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-indicator);
}
.item-grid .item .indicator::after
{
    position: relative;
    top: -50%;
    content: "X";
    font-size: 15rem;
    color: var(--color-text-indicator);
}
.item-grid .item.checked .indicator
{
    display: block;
}

.notes
{
    position: fixed;
    bottom: 0; left: 0; right: 0;
    margin: 0;
    height: 10rem;
    background-color: var(--color-primary);
    color: var(--color-text);
    border-top: 1px solid var(--color-text);
    border-radius: 0;
}
