.about_me {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background-color: #fffdf0;
}

.about_me .title {
    text-align: center;
}

.about_me .title h1 {
    color: #efc454;
    font-family: 'Alex Brush', cursive;
    font-size: 75px;
    letter-spacing: 4px;
    margin: 50px;
}

.about_me .contenu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.about_me .contenu .text {
    flex: 60%;
    margin: 0 0 10px 10px;
    padding: 20px;
    line-height: 1.6;
}

.about_me .contenu .text p {
    color: rgb(100, 100, 100);
    font-family: 'Simonetta', cursive;
    font-size: 30px;
    letter-spacing: 2px;
}

.about_me .contenu .photo {
    flex: 40%;
    display: flex;
    justify-content: center;
    margin: 0 0 30px 0;
}

.about_me .contenu .photo img {
    max-width: 80%;
    height: auto;
    border-radius: 300px 300px 0 0;
    border: #d26470;
    border-width: 2px;
    border-style: solid;
    box-shadow: 50px -30px 30px rgba(239,196,84,0.15);    
}


.formations {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    background-color:#e5c2be;
}

.formations .box1 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    flex: 2;
    margin: 20px;
}

.formations .box1 .title {
    text-align: left;
    flex: 1;
}

.formations .box1 .title h2 {
    color: #f5f1e8;
    font-family: 'Alex Brush', cursive;
    font-size: 75px;
    text-align: center;
    letter-spacing: 4px;
}

.formations .box1 .text1 {
    display: flex;
    text-align: left;
    align-items: flex-start;
    padding-left: 20px;
    flex: 1;
    line-height: 1.6;
}

.formations .box1 .text1 p,
.formations .box2 .text2 p {
    color: rgb(100, 100, 100);
    font-family: 'Simonetta', cursive;
    font-size: 30px;
    letter-spacing: 2px;
}

.formations .box2 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    flex: 1;
}

.formations .box2 .ruban {
    display: flex;
    flex: 1;
    justify-content: center;
    height: auto;
}

.formations .box2 .ruban img {
    width: 30%;
    height: auto;
    padding: 20px;
}

.formations .box2 .text2 {
    display: flex;
    text-align: left;
    flex: 1;
    align-items: flex-end;
    padding-left: 20px;
    line-height: 1.6;
}

.story {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    background-color: #d4838a;
}

.story .title {
    text-align: center;
    margin: 10px;
}

.story .title h3 {
    color: #efc454;
    font-family: 'Alex Brush', cursive;
    font-size: 75px;
    letter-spacing: 4px;
}

.story .text {
    text-align: left;
    margin: 20px auto;
    max-width: 1100px;
    line-height: 1.6;
    padding: 20px;
}

.story .text p {
    color: #fffdf0;
    font-family: 'Simonetta', cursive;
    font-size: 30px;
    padding: 20px;
    letter-spacing: 2px;
}

/* Fin du style unique à chaque page */

/*========================================*/

/* Gestion du comportement de la page sur un téléphone */

@media screen and (max-width: 768px) {
    .about_me .contenu {
        flex-direction: column;
        padding: 15px;
    }

    .about_me .title h1,
    .formations .box1 .title h2,
    .story .title h3 {
        font-size: 50px;
    }

    .about_me .contenu .text p,
    .formations .box1 .text1 p,
    .formations .box2 .text2 p,
    .story .text {
        font-size: 26px;
        text-align: left;
    }

    .about_me .contenu .photo img {
        max-width: 100%;
    }

    .formations {
        flex-direction: column;
        padding: 20px;
        gap: 30px;
    }

    .formations .box1,
    .formations .box2 {
        width: 100%;
    }

    .formations .box1 .title {
        padding-left: 0;
    }

    .formations .box2 .ruban img {
        max-width: 60%;
    }
}