/* CSS Bloc Texte deux images */
.texte_deux_images {
    width: 100%;
    position: relative;
    margin-top: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--pad-l);
    z-index: 1;
}

.texte_deux_images .container {
    width: 50%;
}

.texte_deux_images .first_img {
    object-fit: cover;
    max-width: 550px;
    max-height: 300px;
    left: 10%;
    position: absolute;
    top: 10%;
}

.texte_deux_images .scnd_img {
    position: absolute;
    top: 26%;
    left: 25%;
    object-fit: cover;
    max-width: 550px;
    max-height: 300px;
}

.texte_deux_images .content {
    position: relative; 
    width: 50%;
}

.texte_deux_images .content > div {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 800px;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-s);
}


.texte_deux_images .bull {
    width: 100%;
    padding: 0 70px;
    rotate: 104deg;
}

/* CSS Option elements decoratifs */
.texte_deux_images .image_haut_gauche {
    position: absolute;
    top: 10%;
    left: -15%;
    rotate: 32deg;
    max-width: 400px;
    object-fit: contain;
    z-index: -1;
}

.texte_deux_images .image_haut_droit {
    position: absolute;
    top: -3%;
    right: -13%;
    rotate: -15deg;
    max-width: 400px;
    object-fit: contain;
    z-index: -1;
}

.texte_deux_images .image_bas_gauche {
    position: absolute;
    bottom: 1%;
    left: -7%;
    rotate: 190deg;
    max-width: 400px;
    object-fit: contain;
    z-index: -1;
}

.texte_deux_images .image_bas_droit {
    position: absolute;
    bottom: 13%;
    right: -6%;
    rotate: 73deg;
    max-width: 400px;
    object-fit: contain;
    z-index: -1;
}

/* CSS Options */
.texte_deux_images.beige {
    background-color:var(--third-color);
}

.texte_deux_images.marron {
    background-color:var(--first-color);
}

.texte_deux_images.marron p {
    color:var(--second-color);
}

.texte_deux_images.marron_clair {
    background-color:var(----fourth-color);
}

/* Responsive*/
@media (max-width:850px) {
    .texte_deux_images {
        padding: var(--pad-mobile);
        flex-direction: column-reverse;
        gap: var(--gap-l);
    }
    .texte_deux_images .bottom_right_bull, .texte_deux_images .bottom_left_bull, .texte_deux_images .top_right_bull, .texte_deux_images .top_left_bull {
        display: none;
    }
    .texte_deux_images .content, .texte_deux_images .container {
        width: 100%;
    }
    .texte_deux_images .bull {
        display: none;
    }
    .texte_deux_images .content > div {
        position: static;
        width: 100%;
        transform: translate(0, 0);
    }
    .texte_deux_images .first_img {
        width: 100%;
        position: static;
    }
    .texte_deux_images .scnd_img {
        display: none;
    }
}