.prject_bg{
    background-image: url('../imgs/project_bg.png');
}
.project_grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-gap: 30px;
}
.projects_img img{
    height: 300px;
    object-fit: cover;
    cursor: pointer;
    
}
.projects_img{
    position: relative;
}
.project_hover{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: rgba(0,0,0,0.4);
    height: 100%;
    width: 100%;
    display: flex;
    align-items:center;
    justify-content:center;
    transition: 0.3s;
    opacity: 0;
    visibility: hidden;
}
.projects_img:hover .project_hover{
     opacity: 1;
    visibility: visible;
}
.project_hover p{
    font-size: 20px;
    font-weight: 500;
    color: var(--color-white);
    text-transform: uppercase;
}
.color_red{
    background-color: #cf2031 !important;
}
@media screen and (max-width: 1600px){
    .projects_img img{
    height: 250px;
    }
}
@media screen and (max-width: 1400px){
        .project_grid{
        grid-template-columns: repeat(3,1fr);
        }
}
@media screen and (max-width: 768px){
    .project_grid{
        grid-template-columns: repeat(2,1fr);
        grid-gap: 20px;

    }
}
@media screen and (max-width: 568px){
    .project_grid{
        grid-template-columns: repeat(1,1fr);
        
    }
    .projects_img img{
        clip-path: none;
        height: 250px;
    }
}