.page-title {
    display: flex;
    justify-content: center;
}

.page-intro {
    font-style: italic;
}

.page-text, .page-intro {
    display: flex;
    justify-content: center;
    margin: auto;
    text-align: justify;
    max-width: 1100px;
    margin-top: 60px;
}

.block-text-img {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    max-width: 1100px;
    margin-top: 60px;
    gap: 60px;
}

.block-text {
    max-width: 500px;
    text-align: justify; 
}

.block-img img{
    max-width: 500px;
}

.block-text h2 {
    margin-bottom: 20px;
}

/**** CONTACT ****/

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    margin-top: 40px;
    gap: 40px;
}

.contact-text {
    text-align: center;
}

.contact-text p{
    margin-bottom: 10px;
}

.barre-contact {
    margin-bottom: 20px;
}

.contact-img img{
    max-width: 600px;
    margin-bottom: 40px;
}

/******** GALERIE ***********/

.galerie{
    max-width: 1100px;
    margin: auto;
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 2vmin;
    padding: 0 15px;  
}

.galerie .img-container{
    position: relative;
    overflow: hidden;
    height: 260px;
    flex-grow: 1;
}

.galerie img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #f5bf77;
    font-size: 1.5em;
    text-align: center;
    opacity: 0; 
    transition: opacity 0.3s ease; 
    pointer-events: none; 
    filter: drop-shadow(0px 0px 7px rgba(34, 17, 1, 1));
}

.img-container:hover img {
    opacity: 0.7; 
    filter: brightness(0.7) saturate(0.5);
}

.img-container:hover .overlay-text {
    opacity: 1; 
}

/******** FIN GALERIE ***********/

.space{
    height: 60px;
}

.light-space{
    height: 40px;
}

.legal-text {
    display: flex;
    flex-direction: column;
    margin: auto;
    margin-top: 60px;
    margin-bottom: 60px;
    gap: 10px;
    max-width: 1200px;
}

@media screen and (max-width: 1120px) {
    .block-text-img {
        flex-direction: column;
    }

}

@media screen and (max-width: 1120px) {
    .page-text, .page-intro, .block-text-img, .legal-text {
        padding-left: 20px;
        padding-right: 20px;
    }

    h1 {
        text-align: center;
    }

    .legal-text {
        text-align: justify;
    }

}

