.reference-categories {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
}

.reference-badge {
    padding: 7px 14px 7px 14px;
    cursor: pointer;
    user-select: none;
}

.reference-badge:hover {
    transition: 0.3s ease all;
    background-color: #FD5D14;
    color: white;
}

.ref-active {
    background-color: #FD5D14;
    color: white;
}

#reference-grid img {
    max-width: 500px;
}

.item {
    display: block;
    position: absolute;
    width: auto;
    height: auto;
    margin: 5px;
    z-index: 1;
}

.item-content {
    position: relative;
    width: 100%;
    height: 100%;
    display:table;
    cursor: pointer;
}