@keyframes fadeIn{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 100;
    }
}
@keyframes fadeOut{
    0%{
        opacity: 100;
    }
    100%{
        opacity: 0;
    }
}

main{
    display: grid;
    grid-template-columns: calc((100% - 45px)/3) calc((100% - 45px)/3) calc((100% - 45px)/3);
    grid-gap: 25px;
    grid-template-rows: auto;
    

    margin-top: 22px;
}
body{
    overflow: hidden;
}

.projets{
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    height: calc(100svh - 232px);
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.projets::-webkit-scrollbar {
    display: none;
}

.projet{
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    min-height: 100px;
    border-bottom: 1px solid hsla(0, 0%, 0%, 0.3);
    margin: 0;
    opacity: 100%;
}

footer{
    position: absolute;
    width: calc(100% - (var(--margin) * 2));
    bottom: 0;
}

.bigImgContainer{
    grid-column: 2/4;
    height: calc(100svh - 232px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bigImg{
    object-fit: cover;
    width: 100%;
    height: 100%; 
    opacity: 0;
}

.marginTop{
    margin-top: 45px;
}

.imgContainer{
    padding-top: 12px;
    padding-bottom: 12px;
    aspect-ratio: 1 / 1;
    height: calc(100% - 24px); 
    transition: all .2s ease;
}

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

.projet:hover .imgContainer{
    height: calc(105% - 24px); 
}

.buttonText{
    display: flex;
    align-items: center;
    
}









