.project-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.project-row .col-lg-3 {
    padding-right: 15px;
    padding-left: 0;
    margin-bottom: 15px;
}

.project-row .col-lg-3:nth-child(4) {
    padding-right: 0;
}

.project-row:last-child .col-lg-3:last-child {
    margin-bottom: 0;
}

.project-item {
    position: relative;
    transition: background 0.3s ease;
    aspect-ratio: 1.3;
}

.project-item:hover {
    cursor: pointer;
}

.project-image {
    aspect-ratio: 1.3;
    object-fit: cover;
    border: 1px solid #000;
    width: 100%;
    height: auto;
}

.project-name {
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /*width: calc(100% - 15px);*/
    color: #000;
    padding: 10px;
    background: #FFF;
    border: 1px solid #000;
    font-size: 2.4rem;
    margin-left: 0;
    margin-right: 15px;
    transition: background 0.3s ease;
}

.project-row .col-lg-3:nth-child(4) .project-name {
    margin-right: 0;
}

.project-item:hover > .project-name {
    background: #948c83;
}

.project-item:hover .project-link {
    color: #FFF !important;
    outline: none;
    border: 0;
}

.project-name:hover .project-link:hover,
.project-name:hover .project-link:visited,
.project-name:hover .project-link:active {
    color: #FFF !important;
    outline: none;
    border: 0;
}

@media all and (max-width: 1199px) {
    .project-row .col-lg-3:nth-child(2),
    .project-row .col-lg-3:nth-child(4) {
        padding-right: 0;
    }
    
    .project-row .col-lg-3:nth-child(2) .project-name,
    .project-row .col-lg-3:nth-child(4) .project-name{
        margin-right: 0;
    }
}

@media all and (max-width: 991px) {
    .project-row .col-lg-3 {
        padding-right: 0;
    }
    
    .project-row .col-lg-3 .project-name{
        margin-right: 0;
    }
}