:root {
    --img-selector-primary-color: #028C9A;
    --img-selector-description-bg-color: #028C9ABF;
}

.image-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    justify-items: center;
    align-items: center;
}

.image-list>div {
    position: relative;
}

.image-list>div:not(.no-highlight).selected::after {
    content: '';
    box-shadow: inset 0 0 32px var(--img-selector-primary-color);
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    border-radius: 4px;
}

.image-list img {
    width: 167px;
    height: 150px;

    border: 1px solid var(--img-selector-primary-color);
    overflow: hidden;
    border-radius: 4px;
}

.image-list>div>div.description {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    justify-content: center;
    align-items: center;
    background-color: var(--img-selector-description-bg-color);
    border-radius: 4px;
    overflow: hidden;
    text-align: center;
}

.image-list>div.selected>div.description {
    display: flex;
}