h3 {
    position: relative;
    margin-top: 5rem;
    margin-bottom: 3rem;
    margin-left: 2rem;
    text-align: start;
    color: #B98A82;
    font-family: 'Poiret One', sans-serif;
    font-size: 2rem;
}

a {
    color: #B98A82;
    text-decoration: none;
}

.active {
    color: #D57239;
}

p {
    font-family: 'Alegreya+Sans', sans-serif;
    line-height: 2rem;
    font-size: 1.25rem;
    color: #B98A82;
}

.row {
    display: flex;
    gap: 2rem;
}

.row .col-6 {
    flex: 1 1 50%;
    flex-direction: column;
    display: flex;
    align-items: start;
    justify-content: center;
}

.cadre {
    display: inline-block;
    padding: 1rem;
    background-color:  #520b0f;
}

.cadre-wrapper {
    background-color: #D57239;
    transform: rotate(2deg);
    margin: 1rem;
    padding: 1rem;
    text-align: center;
    margin-bottom: 2rem;
}

.cadre-wrapper.inverse {
    transform: rotate(-2deg);
}

.cadre-wrapper * {
    transform: rotate(-2deg);
}

.cadre-wrapper.inverse * {
    transform: rotate(2deg);
}

.forma-wrapper {
    width: 60%;
}

.part2 {
    display: flex;
    align-content: start;
    justify-content: center;
}

#formationen {
    text-align: justify;
}

#formationfr {
    width: 30rem;
    text-align: justify;
}

p {
    text-align: justify;
}

.formation {
    width: 70rem;
    margin: 0 auto;
    text-align: justify;
}

.formapart {
    display: inline-block;
}

#image-formation {
    width: 100%;
}

.photo2 {
    width: 32rem;
    position: relative;
    text-align: center;

}

#projet1 {
    width: 19.5rem;
    text-align: justify;
}

#cadrepro1 {
    position: relative;
    left: -6rem;
}

#cadrecours {
    position: relative;
    right: -6rem;
}

#cadrephoto {
    position: relative;
    left: -3rem;
}

#cours {
    width: 30rem;
    height: 6rem;
    position: relative;
}

.part3 {
    text-align: justify;
    margin-bottom: 4rem;
} 

/* responsive design*/

@media only screen and (max-width:1325px) {
    .formation {
        width: auto;
        margin: 0 2rem;
    }

    #cadrepro1 {
        left: 0;
    }

    #cadrecours {
        right: 0;
    }

    #cadrephoto {
        left: 0;
    }


    .forma-wrapper {
        width: 80%;
    }


    .photo2 {
        width: 29rem;
    }

    #cours {
        width: 27rem
    }

    h3 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

@media only screen and (max-width:900px) {
    .formation {
        width: auto;
        margin: 0 2rem;
    }

    .row {
        display: contents;
    }

    .row .col-6 {
        flex: 0;
        display: contents;

    }

    .forma-wrapper {
        width: 60%;
        margin: 4rem auto 4rem auto;
    }

    #cadrepro1 {
        width: 22rem;
        margin: 4rem auto 4rem auto;
    }

    #cours {
        width: 37rem;
        height: auto;
    }

    #cadrecours {
        width: 39rem;
        margin: 4rem auto 4rem auto;
    }

    #cadrephoto {
        width: 29rem;
        margin: 4rem auto 4rem auto;
        transform: rotate(-2deg);
    }

    .photo2 {
        transform: rotate(2deg);
    }
}

@media only screen and (max-width:650px) {
    .forma-wrapper {
        width: 80%;
        margin: 4rem auto 4rem auto;
    }

    #cours {
        width: 19rem;
        padding: 2rem 1rem;
    }

    #cadrecours {
        width: 20.5rem;
        margin: 4rem auto 4rem auto;
    }

    #cadrephoto {
        width: 19rem;
    }

    .photo2 {
        width: 19.5rem;
    }

    #cadrepro1 {
        width: 18rem;
    }

    #projet1 {
        width: 16rem;
    }

}



@media only screen and (max-width: 375px) {
    .formapart {
        width: 12.5rem;
    }

    #projet2 {
        width: 12.5rem;
    }

    #cours {
        width: 17rem;
        padding: 2rem 1rem;
    }

    #cadrecours {
        width: 18.5rem;
        margin: 4rem auto 4rem auto;
    }



}