
.image-wrap{
    
    display: grid;
    grid-template-columns: repeat(3,minmax(200px,1fr));
    padding: 20px;
    overflow-y:auto;
    margin-left :270px;
    height:  calc(100vh - 20px);
    gap: 24px;
    position: relative;
    
}


    

 .img {
    top: 0;
    left: o;
    height: 70%;
    width: 70%;
    object-fit: cover;
    background-color:#2D1E16;
    border: 9px  solid #2D1E16;
    border-radius: 30px;
    cursor: pointer;
    transition:transform 180ms,filter 180ms ease, box shadow 180ms ease;
    object-fit: cover;
    transform: scale(1);
    opacity: 0.4;
    animation: gridease 0.8s ease forwards ;
    aspect-ratio: 4/5;
}



.main-content {
    margin-left: 280px;
    width: calc(100% - 280px);
    padding: 0 20px 40px 20px;
    box-sizing: border-box;
    height: auto;
}

@media (max-width: 1100px) {
    .main-content {
        margin: 0 auto;
        width: auto;
        max-width: 960px;
        padding: 20px;
        display: grid;
        grid-template-columns: repeat(2, minmax(180px, 1fr));
        gap: 24px;
        justify-items: center;
    }

    .img {
        width: 100%;
        max-width: 420px;
        height: auto;
    }

    .image-wrap {
        margin-left: 0;
        width: auto;
        max-width: 1000px;
    }
}
