.projects-card-container {
            display: grid;
                grid-template-columns: repeat(4, 1fr);
                grid-gap: 10px;
                justify-self: center;
                align-items: center;
                justify-items: center;
                padding: 0 10px;
                margin: 0 auto;
                max-width: 1200px;
                padding-bottom: 2%;
}

/* .project-card {
    
     width: 225px;
     height: 354px;
     background-image: linear-gradient(163deg, #b53f56 0%, #0330FF 100%);
 
     transition: all .3s;
  
 }

 .project-card2 {
     width: 100%;

     background-color: #1a1a1a;
    position: relative;
    display: inline-block;
     transition: all .2s;
 }

 .project-card2:hover {
     transform: scale(0.98);
     height: 0%;

 }
.project-card2 .data-project{
    position: absolute;
        top: 0;
        left: 0;
        display: none;

       
}
 .project-card2:hover {

     box-shadow: 0px 0px 30px 1px rgba(255, 0, 0, 0.603);
 }

.project-card2::before,
.project-card2::after {
   
    content: "";
    
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: bold;
background-color: rgb(2 2 2 / 29%);
    transition: all 0.5s;
}

.project-card2::before {
    top: 0;
    right: 0;

}

.project-card2::after {
    bottom: 0;
    left: 0;

}

.project-card2:hover::before,
.project-card2:hover:after {
    width: 100%;
    height: 100%;

    transition: all 0.5s;
}

.project-card2:hover:after {
    content: "";
    color:black;
   
}


.project-card2  :hover .data-project{

display: block;
} */

.project-card {
    width: 270px;
    height: 450px;
    position: relative;
    display: grid;
    place-items: center;

    border-radius: 20px;

}

.project-card2 {
    position: absolute;
    width: 95%;
    height: 95%;
    background: #000814;
    border-radius: 20px;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    padding: 20px;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 30px 60px -12px inset,
        rgba(0, 0, 0, 0.5) 0px 18px 36px -18px inset;
}



.projectimg {
        position: absolute;

height: 100%;

            pointer-events: none;
           

}



.project-card2 .projectcontent p,h1 {
    font-size: 1.6rem;
    line-height: 25px;
}

.project-card2 .projectcontent {
    transform: translateY(100%);
    opacity: 0;
    
    transition: 0.3s ease-in-out;
}
.project-card2:hover .projectimg {
  background-color: rgb(2 2 2 / 29%);
opacity: 0.5;
    /* Set the desired opacity value when hovering */
    transition: opacity 0.3s ease;



}
.project-card2:hover .projectcontent {
    transform: translateY(0);
    opacity: 1;
    
   
}
@media (max-width: 767px) {

.projects-card-container{
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 30px;

    }
}