:root{
    --color1: #db9584;  
    --color2: #f4f4f4; 
}


/* Les descendants de rang impair sont stylés avec une couleur     */
.table-portfolio tbody:nth-child(odd)  { background-color : #CED4E5; }
/* Les descendants de rang pair sont stylés avec une autre couleur */
.table-portfolio tbody:nth-child(even) { background-color : #E8EBF5; }
.table-portfolio th { background-color : #557CBA; padding:0.7em; }
.table-portfolio td { padding:0.5em; }



body{
    margin: 0;
    font-family: Arial;
    line-height: 1.5;
}

iframe{
    width: 100%;
    border: none;
    height: 350px;
}

div.cover{
    background: url(cover_overlay.png)no-repeat center/100% 100%, url(cover.jpg) no-repeat center/cover;
    height: 360px;
    position: relative;
    
}
img.cover-profile{
    height: 100px;
    position: relative;
    left: 50%;
    margin-left: -50px;
    margin-top: 50px;
    

}
h1{
    color: white;
    text-align: center;
    font-size: 42px;
    margin-left: 10px;
    margin-bottom: 0px;
}
div.cover p {
    color: lightgray;
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
    
}
div.cover-contact {
    /*background-color: #FF000080;*/
    position: absolute;
    top: 10px;
    left: 10px;
    border-left: 4px solid var(--color1);
    padding-left: 8px;

    
}
div.cover-contact p{
text-align: left;
margin-top: 0;
margin-bottom: 0;


}
div.cover-contact p:first-child{
    margin-bottom: 14px;

}
div.cover-contact a{
color: white;
font-size: 14px;
}
a.bouton {
    color: var(--color1);
    border: 3px solid var(--color1);
    padding: 8px 20px;
    text-decoration: none;
    background-color: #00000040;
    display: inline-block;
    margin-top: 18px;
    font-size: 14px;
    
}
a.bouton:hover {
    color: white;
    border: 3px solid white;

}
.section{
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 30px;
    padding-bottom: 30px;
    overflow: auto;

}
div.section-section-grise1{
    background: url(triangle2white.svg) no-repeat center bottom -1px/100%;
    background-color: var(--color2);
    padding-top: 30px;
    padding-bottom: 80px;
}

div.section-section-grise2{
    background: url(triangle1white.svg) no-repeat center top/100%;
    background-color: var(--color2);
    padding-top: 30px;
    padding-top: 80px;
}
*{
    box-sizing: border-box;
}



h2{
    text-align: center;
    font-size: 34px;
    margin-top: 0;
}
div.barre{
    background-color: #979797;
    height: 1px;
    width: 100px;
    text-align: center;
    
    margin-left: auto;
    margin-right: auto;

}
div.section-section-grise1 p{
    font-size: 22px;
    color: #656565;
    text-align: center;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

img.col-contenu{
    width: 40%;
    height: 200px;
    width: 150px;
}

div.col-contenu{
    width: 60%;
    padding-left: 16px;
   
}
.float_right{
    float: right;
}

div.texte-avec-ligne-verticale{
    margin-top: 0;
    border-left: 3px solid var(--color1);
    padding-left: 8px;
    height: 50px;
    display:inline-block;
}

div.texte-avec-ligne-verticale p{
    margin-top: 0;
}

div.barre-verticale{
    height: 50px;
    width: 4px;
    background-color: var(--color1);
    margin-right: 8px;
}

.col-portfolio {
width: 47%;
}

div.frame{
    margin: 30px 50px;
    padding: 20px 30px;
    background-color: white ;
    box-shadow: 0px 0px 8px 8px rgba(0, 0, 0, 0.1);
}

div.frame img{
    width: 100px;
}

p.frame-title{
    font-size: 30px;
    margin-top: 5px;
    margin-bottom: 20px;
    text-align: center;
}

/* Portfolio */

.portflio-header{
    height: 90px;
    background: url(header.jpg)no-repeat center;
    position: relative;
}

.portflio-header-title{
    color: white;
    font-size: 26px;
    font-weight: bold;
    padding-top: 4px;
    padding-left: 8px;
}

a.bouton-portfolio{
    position: absolute;
     right: 20px;
      top: 5px;
}


h1.portfolio {
    font-size: 46px;
    color: black;
    line-height: 1;
    padding-top: 5px;
}
h2.portfolio {
    font-size: 26px;
    color: black;
    font-weight: normal;
    margin-bottom: 0;
}

a.portfolio-back{
    color: var(--color1);
    margin-left: -10px;
}

img.portfolio {
    width: 70%;
    max-width: 550px;
}

.display-mobile{
    display: none;
}
/* responsive design : mobile */

@media only screen and (max-width: 768px) {
 
    img.cover-profile{
        height: 90px; 
        margin-top: 75px;
        
    
    }
    h1{
        
        font-size: 20px;
        margin-left: 6px;
        margin-bottom: 0px;
    }
    div.cover p {
        
        margin-top: 2px;
        font-size: 13px;
        
    }

    .section{
        padding-left: 20px;
        padding-right: 20px;
       
    
    }
    div.section-section-grise1{
        background: url(triangle2white.svg) no-repeat center bottom -1px/100%;
        background-color: var(--color2);
        
        padding-bottom: 40px;
    }

    .col40{
        width: 100%;
        height: 200px;
        
    }
    
    .col60{
        width: 100%;
       
    }
    
    h2{
        font-size: 30px;
    }
    .col-portfolio {
        width: 100%;
        margin-bottom: 20px;
    }
    img.col-contenu{
        width: 100%;
        
    }
    
    div.col-contenu{
        width: 100%;
        padding-left: 0px;
        margin-top: 20px;
       
    }
    div.frame{
        margin: 0px 0px;
        padding: 0px 0px;
        
        box-shadow: none;
    }
    div.frame img{
        width: 70px;
    }
    iframe{
        
        height: 450px;
    }
    /*Portfolio-Mobile*/
    .portflio-header-title{
       
        font-size: 15px;
        
        padding-top: 8px;
        padding-left: 8px;
    }

    a.bouton-portfolio{
        
         right: 20px;
          top: 5px;
    }
    a.bouton {
        
        padding: 7px 15px;
        
        margin-top: 22px;
        font-size: 12px;
        
    }

    h1.portfolio {
        font-size: 40px;
        
    }
    h2.portfolio {
        font-size: 22px;
        
    }
    img.portfolio {
        width: 100%;
        
    }
    .display-mobile{
        display: block;
    }
}