#dev4web-instagram-block {
    margin-bottom: 96px;
}
#dev4web-instagram-block .dev4web-instagram-gallery-grid {
    display: flex;
    flex-direction: row;
    column-gap: 32px;
}
#dev4web-instagram-block .dev4web-grid-column {
    display: flex;
    width: 389px;
    /*height: 816px;*/
    flex-direction: column;
    row-gap: 32px;
}

#dev4web-instagram-block .dev4web-instagram-gallery-grid-item {
    width: 389px;
    border-radius: 16px;
    height: auto;
}
#dev4web-instagram-block .dev4web-grid-column:nth-child(1) .dev4web-instagram-gallery-grid-item:nth-child(1) {
    height: 296px;
}
#dev4web-instagram-block .dev4web-grid-column:nth-child(1) .dev4web-instagram-gallery-grid-item:nth-child(2) {
    height: 392px;
}
#dev4web-instagram-block .dev4web-grid-column:nth-child(2) .dev4web-instagram-gallery-grid-item:nth-child(1) {
    height: 424px;
}
#dev4web-instagram-block .dev4web-grid-column:nth-child(2) .dev4web-instagram-gallery-grid-item:nth-child(2) {
    height: 264px;
}
#dev4web-instagram-block .dev4web-grid-column:nth-child(3) .dev4web-instagram-gallery-grid-item:nth-child(1) {
    height: 280px;
}
#dev4web-instagram-block .dev4web-grid-column:nth-child(3) .dev4web-instagram-gallery-grid-item:nth-child(2) {
    height: 408px;
}
#dev4web-instagram-block .dev4web-instagram-gallery-button {
    margin-left: auto;
    margin-right: auto;
}

/*instagram button*/
.dev4web-instagram-gallery-button-block a:hover {
    color: white;
    opacity: 1;
}
.dev4web-instagram-gallery-button-block {
    margin-top: 40px;
    text-align: center;
}
.dev4web-instagram-btn {
    padding: 16px 32px;
    font-size: 18px;
    line-height: 24px;
    background: #0483C6;
    color: white;
    border-radius: 100px;
    letter-spacing: 0.02em;
    display: inline-block;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.5s;
}
.dev4web-instagram-btn span {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    line-height: 24px;
}
.dev4web-button-icon {
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    transition: all 0.5s;
    position: absolute;
    right: -20px;
    top: 0;
    opacity: 0;
}
.dev4web-button-icon i {
    color: white;
    font-size: 12px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    height: 20px;
    width: 20px;
    padding-top: 1px;
    padding-left: 2px;
    transition: all 0.5s;
    transform: rotate(-90deg);
}
.dev4web-instagram-btn:hover {
    padding-right: 56px;
}
.dev4web-instagram-btn:hover .dev4web-button-icon {
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    opacity: 1;
}
.dev4web-instagram-btn:hover .dev4web-button-icon i {
    transform: rotate(0deg);
}
/*end instagram button*/
