.gallery-block .gallery-block__slider {
    height: auto;
}

.gallery-block .gallery-block__img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-height: 320px;
    height: 30vw;
    border-radius: 20px;
    cursor: pointer;
    overflow: hidden;
}

.gallery-block .gallery-block__img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: 0.3s ease-in;
}

.gallery-block .swiper-button-next{
    width: 50px;
    height: 50px;
}

.gallery-block .title{
    color: var(--brown);
}

.gallery-block .gallery-block__img:hover::before {
    opacity: 1;
}

.gallery-block .gallery-block__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-block .gallery-block__hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    background: var(--primary);
    flex-shrink: 0;
    opacity: 0;
    transition: 0.3s ease-in;
}

.gallery-block .gallery-block__img:hover .gallery-block__hover {
    opacity: 1;
}

.gallery-block .gallery-block__hover svg {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}
.b-works__nav {
    margin-top: 40px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
  }
  
@media (max-width: 768px) {
    .gallery-block .gallery-block__img {
        height: 50vw;
    }
}
@media (max-width: 435px) {
    .gallery-block .gallery-block__img {
        height: 80vw;
    }
    #gallery-block > div > div.b-works__nav > div{
        width: 100%;
        justify-content: space-between;
    }
}

/*# sourceMappingURL=block.css.map */
