content {
    width: 90vw;
    display: grid;
    grid-template: repeat(4, auto) / repeat(12, 1fr);
    column-gap: 1vw;
    row-gap: 10vh;
    padding-bottom: 5vh;
}


.actions{
    grid-row:2;
    grid-column: 1 / span 12;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    gap: 48px;
    align-items: center;
}

#grid{
    width: auto;
    grid-row: 3;
    grid-column: 2 / span 10;

    display: flex;
    flex: row;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 6vw;
}

#Titre {
    width: auto;
    height: auto;
    grid-row: 1;
    grid-column: 8 / span 4;
}
.filtres {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    grid-row: 1 / span 12;
    width: 100%;
    cursor: pointer;
}


.artCard {
    display: flex;
    flex-direction: column;

    gap: 1vh;
}


.artCard > img {
    max-height: 40vw;
    max-width: 38vw;
    animation: reveal linear;
    animation-timeline: view();
    animation-range-start: over 50%;
    animation-range-end: contain 75%;
}

.artCard > div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

/* Filtre */

.filtre{
    background-color: #f3f3f3;
    border-color: #f3f3f3;
    color: #DDDDDD;
}

.filtre-selected{
    color: #3D3D3D;
}


@media (min-width: 321px) and (max-width: 799px) {
    #Titre {
        width: auto;
        height: auto;
        grid-row: 1;
        grid-column: 1 / span 12;
    }

    #grid{
        width: auto;
        grid-row: 2;
        grid-column: 1 / span 12;
    
        display: flex;
        flex: row;
        flex-wrap: wrap;
        justify-content: space-between;
        row-gap: 6vw;
    }

    .artCard > img {
        max-height: 90vh;
        max-width: 90vw;
        animation: reveal linear;
        animation-timeline: none();
        animation-range-start: over 50%;
        animation-range-end: contain 75%;
    }

    .filtres{
        flex-direction: column;
        gap : 12px;
    }

}

@keyframes reveal {
    from {
        scale: 0.9;transform: translateY(-50px);
        opacity: 0;
              
    }
    
    to{
        scale: 1;transform: translateY(0px);
        opacity: 1;
              
    }
}