#spectacle{
    display: flex;
    flex-wrap: wrap;
    margin-left: 5%;
    margin-top: 6%;
}

#spectacles{
    width: 23%;
    margin: 2%;
    padding: 3%;
    position: relative;
}

.titre_spectacle{
    text-align: center;
    color : #b49761;
    font-size: 40px;
    font-family: sans-serif;
    background-image: url(../img/spectacles1.jpg);
    background-size: cover;
    padding: 120px;
    background-repeat: no-repeat;
    background-position: center;
}
.box-border{
    width: 75%;
    height: 75%;
    margin: 2%;
    border: 1px solid #b49761;
    padding: 3%;
    position: absolute;
    z-index: -1;
    left: 0;
    top: 3px;
}
.box-spectacle{
    padding: 15px;
    background-color: #fff;
    /* background-color: #b49761; */
    overflow: hidden;
}
.box-overflow{
    overflow: hidden;
}
.box-overflow:hover{
    border: 1px solid #b49761;
    border-radius: 16% 0%;
}
.box-spectacle img:hover{
    transform: scale(1.1);
    transition: 0.5s ease;
    filter: brightness(0.5);
}

#spectacles img{
    object-fit: cover;
    width: 240px;
    height: 180px;
}

#spectacles h2{
   padding: 10px 0 10px 0;
}
.voirPlus{
    border: 0;
    background-color: #b49761;
    /* background-color: #000; */
    color: #fff;
    margin-bottom: 4px;
    padding: 12px;
    text-align: left;
}
.voirPlus a{
    color: #fff;
    padding: 10px;
    cursor: pointer;
    text-decoration: none;
}
#spectacles .piece .fas{
    padding: 3px;
}



@media all and (max-width: 860px){

    #spectacle{
        flex-direction: column;
        margin: auto;
    }

    #spectacles{
        margin:auto;
        padding: 0%;
        width: 100%;
    }

    #spectacles img{
        margin-top: 5%;
        width: 90%;
        height: 300px;
        object-fit: cover;
    }


    .piece{
        text-align: center;
    }

    .box-border{
        width: 75%;
        height: 75%;
        margin: 0%;
        border: none;
        padding: 0%;
        position: absolute;
        z-index: -1;
        left: 0;
        top: 3px;
    }

    .box-spectacle{
        padding: 0 0 0 0;
        overflow: visible;
    }

    .box-overflow{
        text-align: center;
    }

    .box-overflow:hover{
        border: none;
        border-radius: none;
    }

    .box-spectacle img:hover{
        transform: none;
        transition: none;
        filter: brightness(0.5);
    }

    .box-spectacle{
        background-color: #fff;
        /* background-color: #b49761; */
        overflow: visible;
    }

    .box-overflow{
        overflow: visible;
    }

    .voirPlus{
        width: 90%;
        text-align: center;
        font-size: 20px;
    }

}
