
.projects-content{
    display :grid ;
    grid-template-columns: repeat(1 , 1fr);
}
@media (min-width: 768px) {
    .projects-content {
        grid-template-columns: repeat(4 , 1fr);
    }
}


.project {
    aspect-ratio: 16 / 9;
    position: relative;

}

.project a {
    text-decoration: none;
    color: white;
    font-weight: 200;
}


.video-cover img{
    object-fit: cover;
    opacity: 1;
    height: 100%;
}
.project a:hover img {
    opacity: 0;
}

.video-cover video{
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
}

.video-infos {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: start;
    padding: var(--mobile-padding);
    top: 0;
    mix-blend-mode: difference;
}
@media (min-width: 768px ) {
    .video-infos {
        align-items: center;
        justify-content: center;
        opacity: 0;

        transition: all 0.5s ease-in;
    }
    .project a:hover .video-infos {
        opacity: 1;
        
    }
}
.video-infos h3 {
    font-weight: 400;
    text-align: center;
}
.video-infos span {
    font-weight: 200;
    text-align: center;
}