/* Container for mosaic items */
.mosaic-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the items horizontally */
    margin: -5px; /* Negative margin to offset the item margins */
}

/* Each mosaic item */
.mosaic-item {
    position: relative;
    flex-basis: calc(33.333% - 10px); /* 3 items per row */
    box-sizing: border-box;
    margin: 5px; /* Add spacing between items */
}

/* Image inside each item */
.mosaic-item img {
    width: 100%; /* Image takes full width of container */
    height: auto;
    display: block;
}

/* Floating link */
.floating-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: #fff;
    padding: 5px 10px;
    text-decoration: none;
    display: none; /* Hidden until hover */
}

/* Show link on hover */
.mosaic-item:hover .floating-link {
    display: block;
}





.mosaic-item:hover img {
    transform: scale(1.1);
}
.mosaic-entry {
    margin-bottom: 15px;
}

.mosaic-entry label {
    display: inline-block;
    width: 100px;
}

.mosaic-entry .upload-image-button,
.mosaic-entry .remove-entry-button {
    margin-left: 10px;
}
