html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  background-color: #E8E4D9;
}

.about_content h2,
.engagement_section h2,
.bilan_section h2 {
    font-family: "Anton", sans-serif;
    font-weight: 400;
}

.about_content h3,
.engagement_item h3 {
    font-family: "Libre Franklin", Arial, sans-serif;
    font-weight: 700;
}

.about_section {
    width: 90%;
    max-width: 1200px;

    margin: 60px auto;

    display: flex;
    align-items: stretch;

    gap: 60px;
}


/* ==============================
   PHOTO PRINCIPALE
============================== */

.about_photo {
    flex: 0 0 42%;

    min-height: 850px;

    background-image: url("pictures/PHOTO QUI SUIS JE 2.JPG");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 12px;

    box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.4);
}


/* ==============================
   CONTENU PRINCIPAL
============================== */

.about_content {
    flex: 1;

    display: flex;
    flex-direction: column;

    justify-content: center;
}

.about_content h2 {
    color: #F68424;

    font-size: 2.5rem;

    margin-top: 0;
    margin-bottom: 25px;
}

.about_content h3 {
    color: #17341A;

    font-size: 1.25rem;

    margin-top: 30px;
    margin-bottom: 10px;
}

.about_content p {
    font-size: 1.05rem;

    line-height: 1.75;

    text-align: justify;

    margin-bottom: 18px;
}

.highlight_text {
    font-weight: bold;

    padding: 20px;

    border-left: 5px solid #71A955;

    background-color: rgba(113, 169, 85, 0.10);

    border-radius: 6px;
}


/* ==============================
   ENGAGEMENT BÉNÉVOLE
============================== */

.engagement_section {
    width: 90%;
    max-width: 1100px;

    margin: 80px auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 70px;
}

.engagement_content {
    flex: 1;
}

.engagement_content h2 {
    color: #17341A;

    font-size: 2rem;

    margin-top: 0;
}

.engagement_content > p,
.engagement_item p {
    font-size: 1.05rem;

    line-height: 1.7;

    text-align: justify;
}

.engagement_item {
    margin-top: 25px;
}

.engagement_item h3 {
    color: #F68424;

    margin-bottom: 5px;
}


/* ==============================
   PHOTOS ENGAGEMENT
============================== */

.engagement_images {
    flex: 0 0 430px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

}

.engagement_images img {
    width: 100%;
    aspect-ratio: 1 / 1;

    object-fit: cover;

    border-radius: 50%;

    border: 4px solid #71A955;

    box-shadow: 0 5px 12px -5px rgba(0, 0, 0, 0.45);
}


/* ==============================
   BILAN
============================== */

.bilan_section {
    width: 85%;
    max-width: 1000px;

    margin: 50px auto 80px;

    padding: 40px 50px;

    background-color: #71A955;

    border-radius: 12px;

    box-shadow: 0 5px 12px -5px rgba(0, 0, 0, 0.5);
}

.bilan_section h2 {
    margin-top: 0;

    color: #17341A;

    text-align: center;

    font-size: 2rem;
}

.bilan_section p {
    font-size: 1.05rem;

    line-height: 1.75;

    text-align: justify;

    margin-bottom: 15px;
}


/* ==============================
   RESPONSIVE TABLETTE
============================== */

@media screen and (max-width: 1024px) {

    .about_section {
        gap: 35px;
    }

    .about_photo {
        flex-basis: 38%;

        min-height: 700px;
    }

    .engagement_section {
        gap: 40px;
    }

    .engagement_images {
        flex-basis: 340px;
    }

}


/* ==============================
   RESPONSIVE MOBILE
============================== */

@media screen and (max-width: 768px) {

    .about_section {
        width: 100%;

        flex-direction: column;

        margin: 30px 0;

        padding: 0 20px;

        gap: 30px;
    }

    .about_photo {
        width: 100%;

        min-height: 450px;

        flex: none;

        background-position: center top;
    }

    .about_content h2 {
        font-size: 2rem;

        text-align: center;
    }

    .about_content p {
        text-align: justify;
    }


    /* Engagement */

    .engagement_section {
        width: 100%;

        flex-direction: column;

        padding: 0 20px;

        margin: 50px 0;

        gap: 30px;
    }

    .engagement_content h2 {
        text-align: center;

        font-size: 1.7rem;
    }

    .engagement_images {
        width: 100%;

        flex: none;

        max-width: 450px;
    }


    /* Bilan */

    .bilan_section {
        width: calc(100% - 40px);

        margin: 40px 20px 60px;

        padding: 30px 25px;
    }

    .bilan_section h2 {
        font-size: 1.7rem;
    }

}


/* ==============================
   PETITS ÉCRANS
============================== */

@media screen and (max-width: 500px) {

    .about_photo {
        min-height: 360px;
    }

    .engagement_images {
        grid-template-columns: 1fr;

        max-width: 260px;
    }

    .engagement_images img {
        width: 100%;
    }

}

main.bg_main {
    background-color: #E8E4D9;
    padding-top: 40px;
    padding-bottom: 60px;
}