.gallery_container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 0 35px;
}
.gallery-wrapper {
    max-width: 1100px;
    width: 100%;
    position: relative;
} 
.gallery-wrapper i:first-child {
    left: -42px;
}
.gallery-wrapper i:last-child {
    right: -22px;
} 
.gallery-wrapper .arrows {
    height: 50px;
    width: 50px;
    background: #FFF;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 50%;
    font-size: 1.25rem;
    transform: translateY(-50%);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
}
.gallery-wrapper .carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 3) - 12px);
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: 0;
}
.carousel::-webkit-scrollbar {
    display: none;
}
.carousel .gallery-article {
    scroll-snap-align: start;
    height: 200px;
    background: #FFF;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    padding-bottom: 15px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.carousel :where(.gallery-article, .img) {
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-article{
    border: 2px solid rgba(0, 0, 0, 0.23);
}
.gallery-article .img {
    width: 90px;
    height: 90px;
}
.gallery-article h2 {
    font-weight: 500;
    font-size: 1.56rem;
    margin: 30px 0 5px;
    text-align: center;
}
.gallery-item:hover {
    border-color: var(--dark) !important;
}

.gallery-item:hover .bg-primary {
    background: var(--dark) !important;
}
.gallery-item:hover .bg-primary i {
    color: var(--dark) !important;
}
/* .carousel.no-transition {
    scroll-behavior: auto;
} */
/* .carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
} */
.carousel.dragging .gallery-article {
    cursor: grab;
    user-select: none;
}
.gallery-article h2 {
    font-weight: 500;
    font-size: 1.56rem;
    margin: 30px 0 5px;
}
@media screen and (max-width: 900px) {
    .gallery-wrapper .carousel {
        grid-auto-columns: calc((100% / 2) - 9px);
    }
}

@media screen and (max-width: 600px) {
    .gallery-wrapper .carousel {
        grid-auto-columns: 100%;
    }
}

