@use 'design-system' as *;

.blurContainer {
    position: relative;
    overflow: hidden;
    margin-left: 0.5%;
    margin-right: 0.5%;
    margin-bottom: $spacing-size-4;

    &:before,
    &:after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 100px;
        pointer-events: none;
    }

    &:before {
        left: 0;
        background: linear-gradient(
            to right,
            color-mix(in srgb, var(--color-bg-primary), var(--color-bg-primary) 50%) 0%,
            transparent 100%
        );
    }

    &:after {
        right: 0;
        background: linear-gradient(
            to left,
            color-mix(in srgb, var(--color-bg-primary), var(--color-bg-primary) 50%) 0%,
            transparent 100%
        );
    }
}

.scrollingGalleryContainer {
    display: flex;
    overflow-x: hidden;
    scrollbar-width: none;
}

.galleryImage {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: auto;
    margin-right: $spacing-size-2;
    height: 225px;
    border-radius: var(--radius-sm);
}
