.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 1rem;
}

.grid .item,
.grid .imgcont,
.grid .after {
    width: 300px;
    height: 200px;
    flex-shrink: 0;
    border-radius: 1rem;
}

.grid .after {
    position: relative;
    top: -200px;
    left: 0;
    background-color: rgb(0,0,0,0.5);
    transition: all 0.1s ease;

    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.grid .after:hover {
    background-color: rgb(0,0,0,0.75);
}

.grid .item {
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;

    display: flex;
    flex-direction: column;

    transform: scale(0.95);
    transition: transform 0.1s ease-in-out;
}

.grid .item:focus,
.grid .item:hover {
    transform: scale(1.0);
}

.grid .item .imgcont,
.grid .item .imgcont img {
    border-radius: 1rem;
}

.grid .item h3 {
    color: var(--brighter5);
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
}

.grid .item span {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: var(--brighter25);
}

.grid .item.private,
.grid .item.private * {
    color: color-mix(in srgb, var(--danger) 50%, white 50%) !important;
}

.grid .item.private .imgcont {
    -webkit-filter: grayscale(100%) sepia(1) !important;
    filter: grayscale(100%) sepia(1) !important;
    background-color: var(--danger) !important;
    mix-blend-mode: multiply !important;
}