*{
    box-sizing: border-box;
}

:root {
    --color1: #d89584;
    --color2:#F4F4F4;
    --color3:#979797;
}
body {
    margin: 0;
    font-family: Arial;
    line-height: 1.6;
}
.avertissement{
    color: red;
    size: 40px;
}

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

div.cover {
    background:url(cover_overlay.png) no-repeat center/100% 100%,url(cover.jpg) no-repeat center/cover;
    height: 360px;
    position: relative;/* pour que position absolue fonctionne dans div cover contact
    ne fait rien dans mon cas*/
}
img.cover-profile {
    height: 100px;
    position: relative;
    left: 50%;
    margin-left: -50px;
    margin-right: 50px;
}
h1{
    color: white;
    text-align: center;
    font-size: 42px;
    margin-top: 10px;
    margin-bottom: 0px;
}

h2{
    text-align: center;
    font-size: 34;
    margin-top: 0;
}

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


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

a.contact_button:hover{
    color: white;
    border: 3px solid white;
}
p.style_contact{
    display: inline-block var(--color1);

            
}

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

div.section-grise1{
background: url(triangle2white.svg) no-repeat center bottom /100%;
background-color: var(--color2);
padding-bottom: 70px;
/*position: relative;*/
}
div.section-grise2{
background: url(triangle1white.svg) no-repeat center top /100%;
background-color: var(--color2);
padding-top: 80px;
}
.ex1{
    text-align: center;
    font-size: 22px;
        
    }
div.separateur{
    
   background-color:var(--color3);
   margin: auto;
   height: 1px;
   width: 120px;
    
}
img.col-contenu{
    width: 40%;
}
div.col-contenu{
    width: 60%;
    padding-left: 16px;
}
.float-right{
    float: right;
    
}
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-verticale{
    height: 50px;
    width: 4px;
    background-color: var(--color1);
    margin-right: 8px;
}
.col-portfolio{
    width: 47%;
}
div.fin{
    border: 3px solid rgb(75, 15, 228);
    box-shadow: 1px 2px 9px 0 #000; 
    display: inline-block;
    height: 90%;
    width: 80%;
    margin-left: 10%;
    margin-top: 5%;
    margin-bottom: 5%;
    
}
.ff{
    max-height: 150px;
    position: relative;
    bottom: 40px;
}   


h3{
    text-align: center;
    font-size: 30px;
    margin-top: 15px;
    margin-bottom: 15px;
}
.table-fin{
    
    width: 100%;
    height: 150px;
   
}
.barre-ajust{
    display: inline-block;
    height: 50px;
    width: 100%;
    border-left: 4px solid var(--color1);
    

   
}
.para-fin{
    display: inline-table;
    max-height:50px ;
    margin: 0;
   
}
   
.phrase_fin{
    display: inline-block;
    position: relative;
    bottom: 30px;
        
}
/* PORTFOLIO*/
.portfolio-header{
    height: 90px;
    width: 100%;
    background:url(cover.jpg) no-repeat center/cover;
    position: relative;
   /*background-color: #000;*/

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

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

}
a.portfolio-back{
    color: var(--color1);
    margin-left: -10px;
    
}
.image_projet1{
    width: 70%;
    max-width: 475px;
    
}
.display-mobile{
    display: none;
}

/*responsive designe*/
@media only screen and (max-width: 767px) {
    img.cover-profile {
        height: 90px;
        margin-top: 75px;
    }
    h1{
        font-size: 38px;
        margin-top: 6px;
        margin-bottom: 0px;
    }
    div.cover p{
               
        margin-top: 2px;
        font-size: 13px;
    }
    .section{
        padding-left: 20px;
        padding-right: 20px;
        
        }
        
        div.section-grise1{
            padding-bottom: 40px;
        
        }
        h2{
            
            font-size: 30;
           
        }
        .col-portfolio{
            width: 100%;
        }
        
        div.texte-avec-ligne-verticale{
          
            padding-left: 8px;
            height: 50px;
           
        }
        .float-right{
            float: left;
            width: 100%;
            
        }
        img.col-contenu{
            width: 100%;
        }
        div.col-contenu{
            width: 100%;
            padding-left: 0px;
            margin-top: 20px;
            
        }
        div.fin{
            
            box-shadow: none;
             margin: 0px;
             padding: 0px;
              border: none;        
            margin-left: 10%;
         
           
           
            
        }
        iframe{
            width: 100%;
            border: none;
            height: 320px;
           
        }
        .ff{
            max-height: 70px;
            position: relative;
            bottom: 60px;
        } 
        h3{
            text-align: center;
            font-size: 30px;
            /*margin-top: 15px;
            margin-bottom: 15px;*/
            margin: 0px;
        }
        .table-fin{
    
            width: 100%;
            height: 200px;
           
        }
        div.section-grise2{
            
            padding-top: 40px;
            }
        .display-mobile{
            display: block;
        }
        .image_projet1{
            width: 100%;
        }
    
}
