
.projects.active{
    position: relative;
    z-index: 10;
}

.projectImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projectImage {
    width: 100%;
    height: 100%;
}

.projects {
    padding: 0 14%;
    padding-top: 9vh;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
}

.project {
    width: 29%;
    height: auto;
    aspect-ratio: 1/1;
    position: relative;
    margin-bottom: 9vh;
}

.projectTitle h2 {
    color: black;
    font-family: 'Lexend';
    font-size: 1.3em;
    text-align: center;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    text-align: center;
    font-weight: 300;
    margin-bottom: 1em;
    margin-left: 1em;
    text-align: left;
    padding-right: 5%;
}


.projectTitle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    transition: all 0.35s ease-in-out;
    opacity: 0;
    background-color: rgba(255,255,255,0.5);
    backdrop-filter: grayscale(1);
}


.project:hover .projectTitle {
    opacity: 1;
}

@media only screen and (max-width:800px){
    .project {
    width: 96%;
}

.projects {
    justify-content: center;
}

}