.img-box,
.img-box-project {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    grid-auto-rows: 100px;


    direction: ltr;
}
.item-box1-img {
    background-color: #041C3F;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    position: absolute;
    opacity: 0;
    transition: 0.5s;
    visibility: hidden;
    top: 0px;
    right: 0;
    display: flex;
    align-items: center;
}
.box:hover .item-box1-img {
    opacity: 0.7;
    visibility: visible;
}
.img-box>div img {
    width: 100%;
    height: 100%;
}

.img-box-project>div img {
    width: 100%;
    height: 100%;
}
.box:nth-child(1) {
    grid-row: auto/span 5;
    grid-column: auto/span 4;
    border-radius: 20px;
    border-radius: 10px;
    position: relative;
    margin: 5px;
}

.box:nth-child(2) {
    grid-row: auto/span 2;
    grid-column: auto/span 3;
    position: relative;
    margin: 5px;
}

.box:nth-child(3) {
    grid-row: auto/span 2;
    grid-column: auto/span 3;
    position: relative;
    margin: 5px;
}

.box:nth-child(4) {
    grid-row: auto/span 3;
    grid-column: auto/span 6;
    position: relative;
    margin: 5px;
}


.box img {
    border-radius: 10px;
    object-fit: cover;
}
@media (max-width:1199px){
    .box:nth-child(1) {
        grid-row: auto/span 3;
        grid-column: auto/span 3;
        border-radius: 20px;
        border-radius: 10px;
        position: relative;
        margin: 5px;
    }
    
    .box:nth-child(2) {
        grid-row: auto/span 3;
        grid-column: auto/span 3;
        position: relative;
        margin: 5px;
    }
    
    .box:nth-child(3) {
        grid-row: auto/span 3;
        grid-column: auto/span 3;
        position: relative;
        margin: 5px;
    }
    
    .box:nth-child(4) {
        grid-row: auto/span 3;
        grid-column: auto/span 3;
        position: relative;
        margin: 5px;
    }
}