.gallery-group-root {
    position: relative;
    align-items: end;
    justify-content: center;
    overflow: hidden;

    display: flex;

    height: auto;
    width: calc(100% - 22rem);
    margin: 4rem 11rem 5rem 11rem;

    flex-wrap: wrap;
    gap: 1rem;
}

.gallery-card {
    border: none;
    background: transparent;
    width: 16rem;
}
.gallery-card img {
    border-radius: 8px;
    margin: 0;
    height: 14rem;
}

.modal {
    padding: 0 !important;
}

.modal-dialog {
    margin: 0 auto !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
}

.modal-content {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    height: 90vh;
}

.modal-header {
    border: 0 !important;
}

.btn-close {
    filter: invert(1);
}

.modal-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.modal-body img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}


@media (max-width: 992px) {
    .gallery-group-root {
        width: calc(100% - 2rem);
        margin: 1rem 1rem 1rem 1rem;
    }
    .gallery-card {
        width: 100% !important;
    }
    .gallery-card img {
        height: auto;
    }
}