#gallerycard {
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3 ease;
}

html {
    background-color: var(--silver-100) !important;
}

#gallerycard:hover {
    filter: brightness(0.95);
}

.imgPreview {
    aspect-ratio: 16/8;
    width: 100%;
    object-fit: cover;
}

.textContainer {
    padding: 2rem;
}



.galleryHeader {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--silver-150);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

#galleryBackButton {
    display: flex;
    border-radius: 2rem;
    padding: 0.5rem;
    background-color: var(--silver-300);
    cursor: pointer;
}

#galleryBackButton:hover {
    filter: brightness(0.95);
}

.galleryGrid {
 column-count: 3;
 column-gap: 15px;
}.galleryItem {
 display: inline-block;
 width: 100%;
 border-radius: 1rem;
}.galleryItem img {
 display:block;
 width: 100%;
}