.gal{
    margin-top: 10px;
}

.galerie{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.div_img_gal{
    position: relative;
    width: 100%;
}

.img_gal{
    display: block;
    width: 100%;
    height: auto;
    transition: .3s ease;
}


.div_img_gal:hover .img_gal{
    opacity: 0.7;
}

.overlay{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .3s ease;
}

.div_img_gal:hover .overlay{
    opacity: 1;
}

.icone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    color: white;
    font-size: 32px;
  }

/*Modale*/
.modal{
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,0.8);
}

.modal.show{
    display: initial;
}

.modal-content{
    width: 90%;
    margin: auto;
    max-width: 1200px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-content img{
    width: 100%;
}


.close{
    color: white;
    font-size: 2em;
    position: fixed;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.txt_gite{
    margin: 5% 0;
    padding: 20px;
    background-color: rgba(0,0,0,0.4);
    color: white;
    border-radius: 30px;
}

.txt_gite p{
    font-size: 1.5em;
}