@media screen and (max-width: 780px) {
/* ???
    * {
        box-sizing: border-box;
    }
*/
    /* passer body (et tous les élements de largeur fixe) en largeur automatique */
    
    body {
        width: auto;
        margin: 0;
        padding: 0;
    }
    
    /* fixer une largeur maximale de 100% aux éléments potentiellement problématiques */
    
    img,
    table,
    td,
    blockquote,
    code,
    pre,
    textarea,
    input,
    iframe,
    object,
    embed,
    video {
        max-width: 100%;
    }
    
    /* conserver le ratio des images */
    
    img {
        height: auto;
    }
    
    /* gestion des mots longs */
    
    textarea,
    table,
    td,
    th,
    code,
    pre,
    samp {
        -webkit-hyphens: auto; /* césure propre */
        -moz-hyphens: auto;
        hyphens: auto;
        word-wrap: break-word; /* passage à la ligne forcé */
    }
    
    code,
    pre,
    samp {
        white-space: pre-wrap; /* passage à la ligne spécifique pour les éléments à châsse fixe */
    }
    
    /* passer à une seule colonne (à appliquer aux éléments multi-colonnes) */
    /*
    .element1,
    .element2 {
        float: none;
        width: auto;
    }
    */
    
    /* masquer les éléments superflus */
    .hide_mobile {
        display: none !important;
    }
    
    /* un message personnalisé */
    body:before {
        content: "Version mobile du site";
        display: block;
        text-align: center;
        font-style: italic;
        color: #777;
    }
    
    /* réduire de façon harmonieuse toutes les tailles de polices en orientation paysage (car buggée sur les périphériques iPhone et iPad) */
    @media (max-device-width:768px) and (orientation:landscape) {
        html {
            -webkit-text-size-adjust: 100%;
            -ms-text-size-adjust: 100%;
        }
    }




/* FEUILLE DE SITE HÉRITÉ DE style.css */

@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,600);
@import url(http://fonts.googleapis.com/css?family=Roboto:400,100,300,500,700);
@import url(http://fonts.googleapis.com/css?family=Volkhov:400italic);
@import url(https://fonts.googleapis.com/css?family=Lobster);

html {
    scroll-behavior: smooth;
}

/*-- Déclaration des variables couleur --*/
html {
    --coulBackground: #fefefa;
    --coulPrincipale: #1d3354;
    --coulExperience: #467599;
    --coulFormation: #78bedc;
    --coulSkills: #12130f;
    --coulContrast: #d64045;
}

/*-- Commin Css --*/
body {
    font-family: 'Open Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    padding: 0;
    margin: 0;
}

h2,h3,h4,h5,h6 {
    font-family: 'Roboto', sans-serif;
}
h1 {
    font-family: 'Lobster';
    font-size: 55px;
    color: #fff;
    text-shadow: 0 2px 5px #324b49;
    line-height: 70px;
    font-weight: 400;
    margin-top: 0;
}
h2 {
    font-size: 30px;
    font-weight: 800;
    text-transform: uppercase;
}
h6 {
    font-size: 12px;
    font-weight: 400;
    color: var(--couleurPrincipale);
}
p {
    font-size: 20px;
    font-weight: 300;
}
ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
a,a:active,a:focus,a:active {
    text-decoration: none;
}
a {
    color: var(--couleurSecondaire);
}
a:hover {
    color: #000;
}
.section-title {
    margin-bottom: 20px;
}
.section-title h2 {
    text-transform: uppercase;
    font-size: 28px;
    font-weight: 600;
}
.section-title p{
    font-family: 'Volkhov', serif;
    font-style: italic;
    color: #fff;
    line-height: 30px;
    font-size: 22px;
}
.txt p{
    font-size: 18px;
}
.section-title2 {
    font-family: 'Volkhov', serif;
    font-style: italic;
    color: #fff;
    line-height: 30px;
}
#contact .adress-block {
    font-family: Volkhov;
    font-size: 22px;
    color: #949494;
}

/*-- Header Start --*/
header {
    position: fixed;
    top: 0;
    z-index: 2;
    background: var(--coulBackground);
    padding: 5px 0 0 0;
    text-align: right;
    height: 40px;
    width: 100%;
    box-shadow: 0 1px 12px rgba(0,0,0,0.8);
}
header img{
    float: left;
    padding-left: 20px;
    padding-top: 2px;
    width: 160px;
    max-width: 50%;
    height: auto;
}
header .navbar {
    margin-bottom: 0px;
    border: 0px;
}
header .navbar-default {
    background: none;
    border: 0px;
}
header .navbar-default .navbar-nav {
    padding-top: 10px;
}
#menu_icon {
    display: inline-block;
    margin-right: 20px;
    background: url(../img/menu_icon_1220.svg) center no-repeat;
    width: 34px;
    height: 35px;
    }
    
a:hover#menu_icon {
    opacity: 0.5;
    }
    
 header .navbar-default ul {
     display: none;
     position: absolute;
     padding: 20px;
     background: #fff;
     border: 3px solid #aaa;
     right: 20px;
     top: 45px;
     width: 50%;
     border-radius: 50px 0 50px 5px;
}
header .navbar-default li {
    display:table;
    text-align: center;
    width: 100%;
    padding: 10px 0;
    margin: 0;
    }
header .col-md-12:hover ul {
        display: block;
    }

/*-- Contenu du Site hors header et footer --*/

#contenuSite {
    width: 100%;
}


/*-- Presentation --*/
#presentation {
    background-color: var(--coulPrincipale);
    width: 100%;
    height: auto;
    min-height: 100vh;
    padding-top: 10vh;
    line-height: normal;
}
#presentation .container {
    text-align: center;
    margin: auto;
}

/*-- Logo intro --*/

.name {
    width: 70%;
    min-width: 300px;
    margin: auto;
}
    
#fusee {
    display: inline-flex;
    width: 16%;
    height: auto;
    margin-top: -5%;
}
    
/*-- Fin Logo intro --*/

#presentation .row1 {
    margin-bottom: 50px;
}
#presentation .row2 {
    padding: 0 20%;
    color: var(--coulBackground);
    margin-bottom: 30px;
}

#presentation .esperluette {
    color: var(--coulFormation);
    font-size: 0.6em;
    font-style: italic;
}

    
    
/*-- Work / Savoir-faire --*/
#work {
    color: #fff;
    width: 100%;
    background-color: var(--coulBackground);
    background: url("../img/img_test.jpg") no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    display: flex;
}

#work .container {
    display: flex;
    padding: 0;
}

#work p, #work h2 {
    color: var(--coulSkills);
}

#work .row {
    margin-left: 3vw;
    width: 95%;
    padding-bottom: 20px;
}
#work p {
    padding-left: 3vw;
    padding-right: 3vw;
}
    
#work img {
    padding-top: 2em;
    height: 6em; 
}

#work .modules {
    width: 90%;
    text-align: center;
    height: auto;
    display: block;
    margin: auto;
}

#work .module {
    display: inline-block;
    position: relative;
    vertical-align: top;    
}

#module1,#module2,#module3,#module4,#module5 {
    width: 100%;
}

#moduleIco {
    padding-top: 20px;
    margin-bottom: -10px;
}

#moduleTxtIntro {
    text-align: center;
}
#moduleTxt {
    text-align: justify;
    white-space: pre-wrap;    
    }
    
    
    
/*-- Soft skills --*/
#skills {
    width: 100%;
    overflow: auto;
    position: relative;
    display: flex;
    background: var(--coulSkills);
    padding-bottom: 0px;
    padding-top: 2vh;
}

#skills h2 {
    color: var(--coulContrast);
}

#skills .container {
    width: 100%;
    padding: 10px 0 0 3vw;
}

#skills .container li {
    width: 10%;
    position: relative;
    float: left;
    padding-right: 3%;
    padding-bottom: 10px;
}

#skills .skillsBloc {
    display: inline-block;
    height: 120px;
    width: auto;
    vertical-align: bottom;
    margin: auto;
}

#skills .skillsPicto {
    padding-bottom: 15px;
}

#skills .skillsPicto img {
    height: 40px;   
}

#skills .skillsLegende {
    color: var(--coulBackground);
    font-size: 10px;
}


    
/*-- Profil --*/

#profil {
    width: 100%;
    display: block;
    padding: 0;
}

#ExpPro, #Formation {
    display: inline;
    width: 100%;
}

#ExpPro .container {
    padding: 1px 3vw 20px 3vw;
    height: 100%;
    background-color: var(--coulExperience);
}

#Formation .container {
    padding: 1px 3vw 20px 3vw;
    height: 100%;
    background-color: var(--coulFormation);
}

#ExpPro h3,#Formation h3 {
    color: var(--coulBackground);
    margin: 20px 0 5px 0;
}

#ExpPro h4,#Formation h4{
    font-weight: 400;
    font-size: 14px;
    margin: 0;
}
#ExpPro h4{
    color: var(--coulFormation);
}
#Formation h4{
    color: var(--coulExperience);
}
#ExpPro h5,#Formation h5{
    margin: 5px 0;
    font-size: 16px;
}
#ExpPro p,#Formation p{
    margin: 0;
    font-size: 16px;
}



/*-- Portfolio --*/
#portfolio {
    width: 100%;
    background: var(--coulPrincipale);
    overflow: auto;
    position: relative;
    display: flex;
    padding-bottom: 50px;
    z-index: 1;
}
#portfolio .container {
    width: 100%;
}
#portfolio .title h2 {
    text-align: center;
    color: var(--coulBackground);
}


#portfolio .zone_images {
    width: 100%;
    margin: 0 auto;
}


#portfolio ul {
    width: 100%;
    padding-bottom: 2.5%;
}

#portfolio li {
    width: 40%;
    margin: 2.5% 0 0 2.5%;
    position: relative;
    float: left;
}


#portfolio li img {
    filter: grayscale(100%) brightness(0.4);
}

#portfolio li h3 {
    color : var(--coulBackground);
    font-family: Lobster;
    font-weight: 100;
}

#portfolio li hr, #portfolio li p {
    visibility: hidden;
}

#portfolio li .legende {
    z-index: 2;
    height: 95%;
    opacity: 0;
    position: absolute;
    top: 0px;
    left: 10px;
    right: 5px;
    overflow: hidden;
    opacity: 1;
}

#portfolio li img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--coulBackground);
    box-sizing: border-box;
}

#portfolio li:hover img {
    opacity: 0.25;
}


/*-- LIGHTBOX --*/
.lightbox {
    display: none;
    z-index: 999;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
}

.lightbox .container {
    width: 100%;
    height: 100%;
    display: flex;
    text-align: center;
}

.lightbox .container ul {
    margin: auto;
}

.lightbox img {
    max-width: 80%;
    max-height: 70%;
    margin: auto;
    border: 10px solid #f6f6f6;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.5);
}

.lightbox .legende {
    margin-top: 10px;
}

.lightbox:target {
    outline: none;
    display: block;
    color: #fff;
    font-size: 18px;
    font-family: Volkhov;
}

.note {
    font-size: 13px;
    color: var(--coulFormation);
}


/*-- Contact --*/
#contact
{
    width: 100%;
    padding: 0;
    background: var(--coulBackground);
}

#contact h2 {
    color: var(--coulContrast);
}

#contact .container {
    padding: 50px 0 100px 3vw;
}

.carteVisite {
    width: 100%;
    color: var(--coulPrincipale);
    font-size: 25px;
    font-family: 'Volkhov', serif;
    font-style: italic;
    line-height: 40px;
}

.carteVisite a:hover{
    color: var(--coulContrast);
}

.linkedin img {
    height: 30px;
    padding: 30px 0;
}

.QRCode img {
    visibility: hidden;
}
    
    
    
/*-- footer --*/
/*-- masqué dans la version mobile --*/

/*-- fermeture du crochet media --*/    
}