*{
    box-sizing: border-box
}
:root {
    --color1: #D89584;
    --color2: #F4F4F4;
}

body {
    margin: 0px;

}

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

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;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 42px;
    margin-top: 10px;
    margin-bottom: 0px;
}

div.cover p {
    color: lightgrey;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 0px;

}

div.cover p:first-child {
    margin-bottom: 0px
}

div.cover-contact {

    position: absolute;
    top: 16px;
    left: 10px;
    border-left: 4px solid var(--color1);
    padding: 8px;

}

div.cover-contact p :hover {
    color: var(--color1);
}

div.cover-contact p {
    text-align: left;
    color: white;
    overflow: auto;
}

div.cover-contact a {
    color: white;
    font-size: 14px;
    
}

.btn a {
    color: var(--color1);
    border: 2px solid var(--color1);
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 10px;
    background-color: #00000040;
    display: inline-block;
    font-size: 14px;
    margin-top: 20px;


}

.btn a:hover {
    color: white;
    border: 2px solid white;
}

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

}

div.section-grise1 {

    background: url(triangle2white.svg) no-repeat center bottom -1px/100%;
    background-color: var(--color2);
    padding-bottom: 100px;


}

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

}

div.section-grise3 {
    background: url(triangle1.svg) no-repeat center top -1px/100%;   
    padding-top: 70px;

}


h2{
    text-align: center;
    font-size: 34px;
    margin-top: 0px;
    background-image: linear-gradient(to right,
    #373737, #c0b283);
    background-clip: text;
    color: transparent;
    
}

div.separateur{
    border-top: #979797 solid 2px;
    width: 150px;
    height: 1px;
    position: relative;
    left: 50%;
    margin-left: -75px;
    
    
     
}
div.section-grise1 p {
    font-size: 22px;
    color: #656565;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    

}
.col40{
    width: 40%;
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    
}
.col60{
    width: 60%;
    
}
.float-right{
    float: right;
}
div.texte-avec-ligne-verticale{
    margin: 0;
    
    
}
div.texte-avec-ligne-verticale {
    
    border-left: 4px solid var(--color1);
    padding-left: 8px;
    height: 50px;
    display: inline-block;
}
div.texte-avec-ligne-verticale p{
    margin-top: 0;
}
div.barre-vertical{
    height: 50px;
    width: 4px;
    background-color: var(--color1);
    margin-right:8px ;
}
.col-porfolio{
    width: 49%;
}
div.frame{
    margin: 30px 10px;
    padding: 20px 30px;
    background: white;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
 p.frame-title {
    text-align: center;
    font-size: 30px;
    margin-top: 5px;
    margin-bottom: 20px;
    
}
div.frame img{
    width: 100px;
}
   /* STYLE PAGE 2 COMPETENCES */

.portfolio-header{
    height: 90px;
    background: black;
    
}
.portfolio-header .btn{

    display: inline;  
}

h1.portfolio{
    color: black;
    font-size: 46px;
    line-height: 1;
    padding-left: 8px;
}

.portfolio-back{
    color: var(--color1);
    margin-left: -10px ;
}
image.porfolio-image-centrer{
    background-color: black;

    
}
div.porfolio-image-centre{
    margin: 30px 50px;
    padding: 20px 30px;
    border: solid ;
    margin-left: auto;
    margin-right: auto;


}
img.portfolio{
    width: 70%;
    max-width: 550px;
    border-radius: 10px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

/* RESPONISVE DESIGN : MOBILE */

@media only screen and (max-width: 768px) {
    
    img.cover-profile {
        height: 90px;
        position: relative;
        left: 50%;
        margin-left: -50px;
        margin-top: 75px;
    }
    
    h1 { 
        font-size: 25px;
        margin-top: 10px;
        margin-bottom: 0px;
    }
    
    div.cover p {
            
        margin-top: 2px;
        font-size: 13px;
        margin-bottom: 0px;
    
    }
        
    .section {
        padding-left: 20px;
        padding-right: 20px;
           
    }
        
    div.section-grise1 {
        padding-bottom: 40px;
    }
    h2 {
        font-size: 30px;
    }

        
    .col40 {
        width: 100%;
        
    }

    .col60 {
        width: 100%;
        margin-top: 30px;
        
    }
       
    .col-porfolio {
        width: 100%;
        margin-bottom: 20px;
    }
        

    div.frame {
        margin: 0px;
        padding: 0px;
        background: white;
        margin-bottom: 10px;
        box-shadow: none; 
    }

    iframe {
        height: 200px;
    }

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

    }

    div.frame img {
        width: 90px;
    }
    
}
