body {
    font-family: sans-serif;
    /* Si deseas padding en todo el body, añade:
    padding: 2rem; */
}

.objecte {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1rem;
    cursor: pointer;
}

.objecte img {
    width: 100px;
    height: auto;
    border-radius: 4px;
}

.dades {
    flex: 1;
}

.titol {
    font-weight: bold;
}

.autor {
    color: #555;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
}

.modal-content img {
    max-width: 100%;
    height: auto;
    margin-top: 1rem;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.label {
    font-weight: bold;
}
