 section {
    padding: 60px 0;
 }
#works{
    background-color: #000;
}

.portfolio {
    display: grid;
    background-color: #000;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    /* max-width: 1400px; */
    margin: auto;
}

.item {
    position: relative;
    overflow: hidden;
    border: 0.1px solid #686868;
    border-radius: 15px;
}

.item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;

}

.item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: end;
    justify-content: start;
    opacity: 0.7;
    transition: opacity 0.5s ease;
}

/* .item:hover .overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
} */
.item:hover .overlay span{
    font-size: 24px;
    font-weight: 700;
    
}

.overlay span {
    color: #fff;
    font-size: 24px;
    text-align: center;
    padding: 20px;
}

/* Adjust the grid items to match the desired layout */
.wide {
    grid-row: 2 span;
}

@media only screen and (max-width: 991px) {
    .portfolio {
        display: grid;
        background-color: #000;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px;
        /* max-width: 1200px; */
        margin: auto;
    }

    .overlay span {
        color: #fff;
        font-size: 15px;
        text-align: center;
        padding: 20px;
    }
}

.social-media-bar{
    display: flex;
  }