.galerie {
    background-color: #ffffff;
    padding: 60px 20px;/*14*/
    color: #0b1a2f;
    text-align: center;
}

.galerie-titre {
    font-size: 2.5rem;/*1.8*/
    font-weight: bold;
    margin-bottom: 20px;
}

.galerie-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #0b1a2f;
}

.galerie-filtres {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filtre {
    padding: 10px 20px;
    border: none;
    background-color: #e6f2ff;
    color: #0b1a2f;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.filtre:hover,
.filtre.actif {
    background-color: #4db8ff;
    color: #fff;
}

.galerie-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.galerie-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
    background-color: #f1f1f1;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galerie-item img:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .galerie-description {
        font-size: 1rem;
    }

    .galerie-filtres {
        flex-direction: column;
        align-items: center;
    }

    .filtre {
        width: 80%;
        max-width: 300px;
    }   
    .galerie-titre{
        font-size: 1.8rem;
    }
    .galerie{
        padding: 14PX 20px;
    }
}
