/* Tiffany MASSON */
/* couleurs :  */
/* 
#edcfd4 durty pink backgrund 
#D7BCC0 pink titre selecteur couleur
#ffb0bd pink titre css 

*/

/* poolices */
@import url("https://fonts.googleapis.com/css2?family=Asap&family=Roboto:ital,wght@0,500;0,900;1,500&display=swap");

/* reinitialisation */
*, *:after, *:before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*********************************************************************/
/* elements communs */
html {
    background: #f2f2f2;
}
body {
    font-family: 'Dancing Script', Arial;
    font-size: 16px;
}
h1 {
    /*font-family: Arial;
    color: #8B6C42;*/
}
h2 {
    /*font-family: 'Dancing Script', Arial;
    color: #fff;*/
}
ul {
    list-style: none;
}
.margin-general {    
    max-width: 960px;
    width: 100%;
    margin: 0 auto;    
    min-height: 40vh;
}


a {
    color: inherit;
    text-decoration: none;
}

a:visited {
    color: inherit;
    text-decoration: none;
}

/*********************************************************************/
/* Header */
/*header titre*/
.header {
    display: block;
    height: 100%;

    background-image: url("../images/illustre.png");
    background-position: right;
    background-size: cover;
    background-attachment: fixed;
    /*border-radius: 0% 0% 70% 0% / 137%;
    border: none;*/   
    
    filter: grayscale(65%);
    /*filter: blur(5px);**/
}


.header-contain{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
    min-height: 100px;
    height: 10vh;
    align-content: start;
    background-color: rgba(242, 242, 242, 0.5);
    padding-top: 10px;
    align-items: center;
    box-shadow: 0px 0px 20px 20px rgba(242, 242, 242, 0.5);
}

.header-logo-titre {
    display: flex;
    width: 50%;
    justify-content: left;
    align-items: center;
    padding-left : 5%;
}
/*.header-logo{ width: 80px;    height: 80px;}*/
.header-logo-titre a h1 { 
    padding-left : 5px; 
    color: #000000; 
    text-shadow: 0px 0px 1px white;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: rgb(255 255 255);
}
.header-PF-acc{transition: transform .5s;}
.header-logo-titre:hover .header-PF-acc {transform: scale(1.05);}

/*header menu*/
#nav-portable {display: none;}
.header-nav {
    display: flex;
    justify-content: right;
    flex-direction: row;
    justify-items: end;

    text-align: right;
    padding: /*30px*/0 5% 0 0;
    width: 50%;
    text-transform: uppercase;
}
.header-nav-ul {  
    display: flex;
    justify-self: end;
    margin: 0 1rem;
}
.header-nav-li {    
    width: 100%;    
    /*position: relative;*/
    text-align: right;
}
.header-nav-li:first-of-type { padding-right: 40px;}
.header-nav-li a {    
    font-size: 1.5em;  
    color: /*#000000*/ #ffb0bd;
    font-weight: bold; 
    background-color: transparent;   
    -webkit-text-stroke-width: 0.8px;
    -webkit-text-stroke-color: rgb(0, 0, 0);
}

.header-nav-li:hover a {  
    color: #5c482b; 
    font-weight: bolder; 
    text-shadow:  0px 0px 10px rgba(255, 255, 255, 0.6);
}

/* header p2 */
.header-fond{
    width: 100%;
    height: 70vh;
    margin-top: 20px;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-fond-titre{
    font-family: Impact, fantasy; 
    font-size: 100px;
    font-weight: 600;
    letter-spacing: 5px;
    
    /*vertical-align: middle;*/
    padding-top: 111px;
    height: 100%;
    color: #ffb0bd;

    /* bordures */    
    -webkit-text-stroke-width: 0.8px;
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.849);
}



.separation-header {
    height: 12px;
    border: 0;
    box-shadow: inset 0 12px 12px -12px rgba(0, 0, 0, 0.5);
}

/*********************************************************************/
/* Main contain */ 
.main-contain { padding: 30px 0;}
.sous-main div.margin-general{padding: 30px 0 60px ;}


/*     service    */
.services {text-align: center;}
#h1-services{transition: opacity 3s ease-out; }
#div-services{transition: opacity 1s ease-out; }

.services-h1{
    height: 100%;
    margin: 30px 0 50px 0;     
}

.services-contenu{
    display: block;
    width: 100%;
    text-align: center;
    padding-bottom: 50px;
}
.services-detail, .services-detail-PF{
    display: inline-block;
    margin: 1rem;
    width: 285px;
    max-width: 285px;
    height: 200px;
    text-align: center;
}
.services-detail img, .services-detail-PF img{
    max-width: 175px;
}


/*    presentation   */
.presentation {
   /* background-color: #edcfd4;*/
    background: linear-gradient(157deg, #edcfd4, #bec3ff85);
    padding: 1% 0 2% 0 ;
}
#div-presentation{transition: opacity 1s ease-out; }
.presentation-contain{
    display: flex;
    flex-direction: row;
}
.div-contain{
    display: block;
    width: 50%;
}
.h1-contain {
    font-size: 50px;
    text-align: center;
    background-image: linear-gradient(to left, #ffb0bd, #bec3ff);    
    -webkit-background-clip: text;
    background-clip: text;     
    background-size: 200%;
    background-position: 0%;
    animation: mouvement-couleur 5s infinite alternate-reverse;
    color: transparent;

    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: rgba(0, 0, 0, 0.849);

    padding: 30px 0;
}
.div-contain h2 {   
    font-weight: 400;
    letter-spacing: 2px;
}
.p-contain{   
    text-align: justify;
    margin-top: 16px;
    line-height: 23px;
}
.icone-diplo{
    width: 100px;
}
.presentation-contain aside {
    display: flex;
    width: 50%;    
    padding-left: 12%;
}
#diplom1, #diplom2, #diplom3{
    display: flex;
    flex-direction: column;
    text-align: center;
    font-family: "Courier New";
    font-weight: bold;
    line-height: 14px;
    font-size: 12px;
}
#diplom1{
    position: relative;
    top: 40px;
    transform: rotate(-30deg);
}
#diplom3{
    position: relative;
    top: 40px;
    transform: rotate(30deg);
}




/*    Contact   */

#div-contact{transition: opacity 1s ease-out; }

.form-main {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: 1fr 1fr 1fr 3fr 1fr; 
    gap: 10px 10px; 
    grid-template-areas: 
        "nom entreprise"
        "email email"
        "sujet sujet"
        "message message"
        ". bouton"; 
}
.form-main div {
    width: 100%;
    height: 100%;
}

.form-nom { grid-area: nom;}
.form-entreprise { grid-area: entreprise; }
.form-email { grid-area: email; }
.form-sujet { grid-area: sujet; }
.form-message { grid-area: message; }
.form-bouton{ grid-area: bouton; }

#form-bouton {
    text-align: center;
    cursor: pointer;   
}

.form-input {     
    display: block;
    width: 100%;
    height: 50px;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 4px;
    
    box-shadow: none;
    padding: 5px;
}
#subject option, 
#subject,
.form-input{
    color: grey;
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
}
.form-textarea{
    height: 200px;
    padding: 10px 5px;
}

/************* portfolio *************/

.main-contain-PF {padding: 0 0 30px 0;}
.sous-main-PF { margin-top: -12px;}

.PF-OL{padding-top: 50px;}

#PF-OL a, #PF-OL span,
#div-PF-HL a, #div-PF-HL span{    
    border: #000000 solid 2px;
    border-radius: 30px;
    /*cursor: pointer;*/
}
#PF-OL a h3 , #PF-OL span h3 ,
#div-PF-HL a h3, #div-PF-HL span h3 {
    text-align: center;
    z-index: 1;
    opacity: 1;
    /*margin-top: -107px;*/
    transition: opacity 1s ease-out; 
}

#PF-OL a:hover::before, #PF-OL span:hover::before,
#div-PF-HL a:hover::before, #div-PF-HL span:hover::before {opacity: 1;}
#PF-OL a:hover h3, #PF-OL span:hover h3,
#div-PF-HL a:hover h3, #div-PF-HL span:hover h3{opacity: 0;}


#PF-SPA::before, #PF-Desya::before,#prochainement-OL::before, #prochainement-HL::before  {
    display: block;

    background-size: cover;
    background-position: center;
    border-radius: 30px;

    content: "";
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: -1;
    transition: opacity 1s ease-out; 
}
/*SPA*/
#PF-SPA::before {background-image: url("../images/miniature-PF-SPA.jpg");}
#PF-SPA h3 {
position: relative;
bottom: 100px; }

/*DESYA*/
#PF-Desya::before {background-image: url("../images/miniature-PF-Desya.jpg");}
#PF-Desya h3 {
position: relative;
bottom: 100px; }

/* prochainement*/
#prochainement-OL::before, #prochainement-HL::before { background-image: url("../images/prochainement.gif");} 
#prochainement-OL h3, #prochainement-HL h3 {
    position: relative;
    bottom: 100px; }

/* ***** */
#h1-PF-HL {opacity: 0;}

#PF-OL,
#h1-PF-HL, 
#div-PF-HL{transition: opacity 3s ease-out; }


/*********************************************************************/
#retour-en-haut:before {
    content: '';
    pointer-events: none;
}


#retour-en-haut{
    display: block;
    opacity: 0;
    width: 50px;
    height: 50px;
    position: fixed;
    right: 20px;
    bottom: 78px;

    background-size: cover;
    background-image:  url("../images/up-arrow.svg");
    transition: opacity 1s ease-out;
}



/*********************************************************************/
/* Footer */

#footer{transition: opacity 0.5s ease-out; }
.footer{   
    padding: 15px 10px 10px 10px; 
    background-color: #edcfd4;
}
.mentions-legales {
    width: 100%;
    padding: 5%;
    border-collapse: collapse;
}
.mentions-legales thead tr th {text-align: left; padding: 0 4%;}
.mentions-legales-table-body tr td {
    width: 25%;
    padding: 1% 4% 0 4%;
}
.mentions-legales-table-body tr td:last-of-type {width: 10%;}

#Icone-cookie:hover { cursor: help;}
#Icone-cookie:hover #cookies {    
    display: block;
    position: fixed;
    border: #000000 solid 2px;
    bottom: 43px;
    right: 92px;
    background: rgba(248, 248, 248, 0.8);
    width: 250px;
    height: auto;
    text-align: justify;
    padding: 13px;
    font-size: small;
}
#cookies {
    display: none;
}
#footer-phone {display: none;}

/*********************************************************************/
/* Animation */
/* header-fond-titre */
@keyframes mouvement-couleur{
    to{
      background-position: 100%;
    }
  }


/*********************************************************************/
/* Responsive design */
/* 800px = 50rem Tablette*/
@media screen and (max-width: 60rem) {
    .header-fond-titre {
        text-align: center;
        font-size: 70px;
    }
    .header-logo-titre a h1 {-webkit-text-stroke-color: rgb(0, 0, 0);}
    .header-nav-li a {color: #000000;}
    .presentation-contain aside {
        padding-left: 0;
        flex-direction: column;
        align-items: center;
    }
    .div-contain {
        width: 70%;
        margin: 0 40px;
    }

    #diplom1, #diplom2, #diplom3 {    
        top: 0;
        transform: rotate(0deg);
    }
} 

/* 480px = 30rem Mobile*/
@media screen and (max-width: 30rem) {
    
    .header-contain {justify-content: center;}

    .header-nav {padding: 0; width: auto;}
    .header-nav-ul {flex-direction: column;}

    .header-nav-li:first-of-type { padding-right: 0px;}
    .header-nav-li {text-align: center; padding-top: 5px ;}
    .header-nav-li a {font-size: 20px; color: #000000;}

    .header-fond-titre {font-size: 50px;}

    .div-contain {width: 100%; padding: 0 30px;}

    .h1-contain, .header-fond-titre {font-size: 35px;}
    .h1-contain {width: 70%;}

    .h1-contain {color: #00000000; margin: 0 auto;}

    .services-detail {margin: 50px 0; width: auto; height: auto;}
    .services-detail-PF {width: 200px;}
    
    .form-main {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 3fr 1fr;
        grid-template-areas:
            "nom" 
            "entreprise"
            "email"
            "sujet"
            "message"
            "bouton";
    }

    .form-main div, .services-contenu {padding: 0 5px;}

    .presentation-contain aside, .mentions-legales, #header-contain-acc { display: none;}

    

    /***********************  MENU  ***********************/
    #nav-portable{display: block;}
    
    #nav {
            display : block; /*affichage block*/
            /*position : fixed;*/
            top: 0px;
            left: 0px;
            z-index : 2; /*premier plan*/
            -webkit-user-select: none;
            user-select: none;
        }        
        #nav input { /*  checkbox invisible  */
            display: block;
            position: absolute; 
            cursor: pointer; 
            width: 40px; /* zone clicable */
            height: 32px;
            left: 10px; 
            opacity: 0; /* cache */
            z-index: 3; /* au dessus du hamburger */
            -webkit-touch-callout: none;
        }
        
        #nav span { /*  visuel hamburger  */
            display: block;
            width: 33px;
            height: 4px;
            top: 10px;
            left: 10px;
            margin-bottom: 5px;
            position: relative; 	  
            background: #ffb0bd;
            border-radius: 3px; 
            z-index: 2;  
            transform-origin: 4px 0px;
          
            transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                        background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                        opacity 0.55s ease;
        }        
        #nav span:first-child {
              transform-origin: 0% 0%;
        }        
        #nav span:nth-last-child(2) { 
              transform-origin: 0% 100%;
        }        
        #nav input:checked ~ span {  /* transforme l hamburger en croix */
            opacity: 1;
            transform: rotate(45deg) translate(-2px, -1px);
        }        
        #nav input:checked ~ span:nth-last-child(3) {
            opacity: 0;
            transform: rotate(0deg) scale(0.2, 0.2);
        }        
        #nav input:checked ~ span:nth-last-child(2) {
            transform: rotate(-45deg) translate(0, -1px);
        }
        
        
        #idmenu { /*  position ouvert */
            position: fixed;
            width : 140px; 
            top: 40px;
            background: #ffb0bd;
            -webkit-font-smoothing: antialiased;
            border-radius: 10px;
          
            transform-origin: 0% 0%;
            transform: translate(-100%, 0);
            transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        }
        
        #idmenu li {
            font-size: 130%;
            text-align : left;
            line-height: 1;
            padding: 10px 5px;
            text-align: center;
        }     
        #idmenu li:hover { color: #ffffff;}   
        #nav input:checked ~ ul {transform: none;}  
    /* end of nav-portable */


    #footer-phone {display: flex; flex-direction: column; font-size: 15px;}
    #footer-phone div {margin-top: 40px;}
    #footer-phone div h1 {font-size: 18px;}

}

