body {
    background-color: #fff6ed;
    margin: 0;
}

.container_clair {
    margin-inline: auto;
    padding-bottom: 0.1vh;
    width: 100%;
}

.container_sombre {
    background-color: #e4d4c4;
    margin-inline: auto;
    padding-bottom: 0.1vh;
    width: 100%;
}

h1 {
    font-size: 3.2rem;
    font-weight: normal;
    margin-bottom: 0;
}

h2 {
    font-size: 2.2rem;
    margin-left: 2rem;
    font-weight: normal;
}

h3{
    font-size: 1.5rem;
    line-height: 2rem;
    margin-left: 12rem;
}

.titre {
    display: flex;
    justify-content: center;
    width: 100%;
}

.texte1 {
    width: 68%;
    display: flex;          /* correction */
    flex-wrap: wrap;        /* maintenant valide */
}

.info_intro {
    font-size: 1.5rem;
    line-height: 2rem;
    margin-left: 12rem;
}

.xp{
    font-size: 1.5rem;
    line-height: 2rem;
    margin-left: 12rem;
}

.liste_scolaire {
    margin-left: 10rem;
}

.liste_scolaire li {
    font-size: 1.5rem;
}

.BLOC {
    display: flex;
    justify-content: space-around;
}

.icon {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.raw {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.contact {
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 450px) {

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-left: 0;
        text-align: center;
    }

    h3 {
        margin-left: 1rem;
        font-size: 1.2rem;
    }

    .h2 {
        display: flex;
        justify-content: center;
    }

    /* IMPORTANT : on annule les grosses marges */
    .info_intro,
    .xp {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .liste_scolaire {
        margin-left: 1.5rem;
        margin-right: 1rem;
    }

    /* Bloc compétences / qualités */
    .BLOC {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    /* Footer */
    .raw {
        flex-direction: column;
        gap: 1.5rem;
    }
}
