html, body {
  margin: 0;
}

main{
    display: flex;
    min-height: calc(100vh - 40px)
}   

h1, h2{
    font-family: "Bricolage Grotesque", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    text-align: center;
}

h1{
    font-weight: 800;
    font-size: 3em;
}

h2{
    font-weight: 400;
    font-size: 2em;
}

h3{
    font-weight: 400;
    font-size: 2em;
}

p{
    font-family: "Comfortaa", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
} 

.experience{
    font-family: "Comfortaa", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-size: 1em;
    border-radius: 0px 60px 0px 60px;
    box-shadow: -6px 6px 15px #E8D79B;
    padding: 10px;
    margin-bottom: 30px;
    color: #20314D;
}

.title_experience{
    color: #20314D;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 2em;
}

.deco_formation{
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    font-size: clamp(1rem, 5vw, 10rem);
    line-height: 1;
}

.paragraphe_formation{
    flex: 1;
    margin :0;
    padding: 0;
    line-height: 1.25;
}

/* css des parties */
.partie_gauche{
    background-color: #20314D;
    color: #E8D79B;
    padding: 15px;
    width: 25%;
    display: block;
}

.partie_gauche > p{
    text-align: justify;
}

.partie_droite{
    flex-direction: row;
    width: 75%;
}

.partie_haut_droite{
    background-color: #E8D79B;
    color: #20314D;
    padding: 10px;
}

.presentation{
    display: flex;
    text-align: justify;
}

.partie_bas_droite{
    color: #20314D;
    padding: 20px;
}

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

.formation{
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 13px;
}

footer{
    background-color: #20314D;
    color: #E8D79B;
    padding: 7px;
}

/* css des liens */

.lien_partie_gauche{
    color: white;
    font-style: italic;
    font-size: 1em;
    font-family: "Bricolage Grotesque", sans-serif;
}

.lien_partie_haut_droite{
    color:#20314D;
    font-style: italic;
    font-family: "Bricolage Grotesque", sans-serif;
}

.lien_partie_haut_droite:visited{
    color:#20314D;
    font-style: italic;
    font-family: "Bricolage Grotesque", sans-serif;
}
a:hover{
    opacity: 0.5;
}

.lien_partie_gauche:visited{
    color: white;
    font-family: "Bricolage Grotesque", sans-serif;
}

.lien_footer, .lien_footer:visited{
    color: white;
    text-decoration: none;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.5em;
}

/* css des images */
.dessin_reconversion_wrapper {
    width: 75%;
    margin:auto;
}

.dessin_reconversion{
    width: 100%;
    height: auto;
    margin: auto;
}

.dessin_cv{
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 10px;
    object-fit: contain;
}

.img_projets_wrapper{
    width: 20%;
    height: auto;
    padding:20px;
    background-color: #E8D79B;
    box-shadow: -6px 6px 15px #20314D;
    border-radius: 10px 10px 10px 10px;
    margin: 25px;
}

.img_projets{
    width: 100%;
    height: auto;
    margin: auto;
}

/* css responsive */
@media screen and (max-width: 1200px) {

/* Insérez vos propriétés CSS ici, avec vos sélecteurs*/

}
@media screen and (max-width: 576px) and (orientation: portrait){
    main{
        flex-direction: column;
    }
    .partie_gauche, .partie_droite{
        width: 100%;
        height: auto;
        margin: auto;
        box-sizing: border-box;
    }

    p{
        padding: 10px;
    }

    .presentation{
        flex-direction: column;
    }

    .dessin_cv, .dessin_reconversion{
        display: block;
        margin: auto;
    }

    .dessin_reconversion{
        width: 100%;
        height: auto;
        margin: auto;
        max-width: 200px;
    }

    .img_projets_wrapper {
        width: 100%;
        padding: 10px;
    }
}