.developers-gallery-section {
    padding: 100px 0px;
    position: relative;
}
.developers-gallery-section > .container,
.developers-gallery-section > .dev-grid-container,
.developers-gallery-section > .dev-progress {
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.dev-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    padding-top: 40px;
    margin-left: 40px;
    margin-right: 40px;
    grid: initial;
}

.dev-grid-container, .dev-grid-items, .dev-grid-item {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}
.dev-grid-container::-webkit-scrollbar, .dev-grab-items::-webkit-scrollbar, .dev-grid-item::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}

.dev-grid-item {
    color: #fff;
    padding: 3.5em 1em;
    font-size: 1em;
    font-weight: 700;
}

.dev-main {
    color: #0C163B;
    grid-area: main;
    padding: 0;
    overflow-x: scroll;
    overflow-y: hidden;
}

.dev-grab-items {
    position: relative;
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    user-select: none;
    cursor: grab;
    -ms-overflow-style: none;
    scrollbar-width: none;
    display: inline-flex;
}

.dev-grab-items.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

.dev-grab-item {
    position: relative;
    display: inline-block;
    height: auto;
    margin-right: 40px;
    height: auto;
    flex-grow: 1;
    color: #0C163B;
}

img.dev-img {
    position: absolute;
    z-index: 100;
    width: 170px;
    left: calc(320px - 85px);
    border-radius: 100%;
}

.grab-item-body {
    border-radius: 20px;
    display: block;
    white-space: normal;
    padding: 100px 80px 40px 80px;
    font-weight: 300;
    flex-wrap: wrap;
    height: 100%;
    background-color: white;
    border-radius: 20px;
    margin-top: 85px;
    height: 520px;
    width: 640px;
}

.dev-grab-item:last-of-type {
    margin-right: 0;
}

.dev-grab-item h2, .dev-grab-item h3, .dev-grab-item h4, .dev-grab-item p, .dev-grab-item a {
    color: #0C163B;
    font-family: "Inter";
}

.dev-grab-item a:hover {
    text-decoration: underline;
}

.buttons {
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.dev-progress {
    position: relative;
    height: 6px;
    background: #C3C8D5;
    z-index: 1;
    width: 500px;
    margin: auto;
    margin-top: 60px;
    border-radius: 10px;
}
.dev-progress .dev-bar {
    height: 100%;
    width: 10%;
    background: #3F5FFF;
    transition: background 0.15s ease;
    border-radius: 10px;
}


/* bg image */
.developers-gallery-section .bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.developers-gallery-section .bg-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.grab-item-body:after {
    content: '“';
    position: absolute;
    top: 51%;
    left: 4%;
    font-size: 100px;
    font-weight: 900;
}

.dev-arrow-left, .dev-arrow-right { 
    cursor: pointer;
}

.dev-arrow-left {
    position: absolute;
    left: 5px;
    top: calc(60% - 20px);
    transform: rotate(180deg);
    z-index: 10;
}

.dev-arrow-right {
    position: absolute;
    right: 5px;
    top: calc(60% - 20px);
    z-index: 10;
}

@media (max-width: 1400px) {
    .grab-item-body {
        padding: 100px 60px 40px 60px;
        height: 450px!important;
        width: 550px!important;
        font-size: initial!important;
    }
    img.dev-img {
        left: 190px!important;
    }

    .grab-item-body:after {
        content: '“';
        position: absolute;
        top: 52%;
        left: 3%;
        font-size: 80px;
        font-weight: 900;
    }
}

@media (max-width: 767px) {
    .dev-grid-container {
        margin-left: 20px;
        margin-right: 20px;
    }

    .dev-progress {
        width: 90%;
    }

    .grab-item-body {
        height: calc(130px + 74vw)!important;
        width: 86vw!important;
        font-size: initial!important;
        padding: 100px 8% 20px 8%;
    }

    .grab-item-body:after{
        display: none;
    }

    .dev-grab-items {
        scroll-behavior: smooth;
    }

    img.dev-img {
        left: calc(43vw - 85px)!important;
    }

    .dev-grab-item p {
        font-size: 3.1vw;
        line-height: 1.6;
        margin-bottom: 0;
        height: 60vw;
    }

    .dev-grid-container {
        grid-template-columns: 1fr;
        grid-template-rows: 0.3fr 1fr auto 1fr;
    }

    .developers-gallery-section {
        padding: 40px 0px;
    }
    .dev-progress {
        margin-top: 30px;
    }
}

@media (min-width: 768px) {
    .dev-arrow-left, .dev-arrow-right  {
        display: none;
    }
}


