.gallery{
    margin-top: 1rem;
    margin-bottom: 2rem;
}
.page_travaux{
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 3.5rem;
    margin: 3%;
    color: rgb(7, 7, 7);
    background-color: #FEFEFF;
}

.page_travaux h3{
    font-size: 2rem;
    margin-bottom: 1rem;
}
.invisible {
    display: none;
}

/* CSS SECTION BOUTONS ACTION */
.button{
    display: flex;
}
.btn-action {
    display: flex;
    justify-content: space-between;
}

.btn-action a {
    display: inline-block;
    padding: 5% 5%;
}

.arrow-left {
    color: black;

}

.arrow-left:hover {
    background-color: rgb(235, 234, 234);
    border-radius: 5px;
}

.dropbtn {
    background-color: whitesmoke;
    color: black;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0px 15px 0px rgba(58, 20, 20, 0.26);
    cursor: pointer;
    margin-right: 5%;
}

.arrow-down {
    color: black;
    margin-left: 5%;

}

.dropbtn:hover {
    background-color: rgb(235, 234, 234);
}

.dropbtn:focus {
    border: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    margin-top: 5%;
    margin-right: 5%;
    background-color: whitesmoke;
    /* comment faire pour décaller le bloc vers la gauche, en depassant la taille du bouton filtre ? */
    /* min-width: 15.125rem; */
    box-shadow: 0px 0px 15px 0px rgba(58, 20, 20, 0.26);
    border-radius: 5px;
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 10% 5% 5% 5%;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: rgb(235, 234, 234);
}

.show {
    display: block;
}


figure{
    position: relative;
}

figure img{
     position: relative;
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px 10px 10px 10px;
}
figcaption{  
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    color:#FEFEFF;
    background-color: rgba(7, 7, 7, 0.85);
    opacity: 1;
    transition: opacity .5s ease-in-out;
    justify-content: space-around;
    border-radius: 10px 10px 10px 10px;
}
h4{
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    margin: 0;
    text-transform: uppercase;
    font-size: 1.6rem;
    text-align: center;
    letter-spacing: 1;
    color: #FEFEFF;
    font-weight: 200;
    letter-spacing: 0.5rem;
}
figcaption h4,
figcaption p {
            margin:2%;
            flex-basis: 100%;
            text-align: center;
        }
        
 @media screen and (min-width: 768px) {
    html {
            font-size: 100%;
        }
    }

    @media screen and (min-width: 1024px) {
        .page_travaux{
            padding-left: 1%;
        }
        h3{
            font-size: 1.5rem;
            margin: 0;
            padding:1rem;
        }
        .colonne{
            display:flex;
            flex-wrap: wrap;
        }
        .colonne a{
            padding: .5rem;
        }
        .colonne2{
            display:flex;
            flex-wrap: wrap;
        }
        .colonne2 a{
            padding: .5rem;
        }
        figure{
            margin:0;
        }
        figcaption{
            height: 17rem;
            width: 25rem;
            padding:1rem;
            display: flex;
            flex-wrap: wrap;
            align-content: center;
            color:#FEFEFF;
            background-color: rgba(7, 7, 7, 0.85);
            opacity: 1;
            transition: opacity .5s ease-in-out;
            font-size: 2rem;
            letter-spacing: 1;
        }

        figure img{
            height: 17rem;
            width: 25rem;
        }

        figure figcaption {
            opacity: 0;
        }

        figure:hover figcaption{
            opacity: 1;
            transition: 1.5s;
        }

        figcaption p {
            font-size: 1.1rem;
        }

    }
        