:root{
    font-size: 15px;
    line-height: 20px;
}

/*______________________________________*/
/*       DÉGRADÉ COLORÉ ANIMÉ           */
/*______________________________________*/


body{
    background-color:#c8f7da;
    font-family: 'LS-VG5000regular', sans-serif;
    margin: 0;
    padding: 0;
}
html{
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    overflow-x: hidden;
    height: 100vh;
    width: 100%;
}

.maintenance{
    height : auto;
    width: auto;
    display: inline-block;
    font-size : 1em;
    top : 0;
    position : fixed;
    z-index: 10;
    background: radial-gradient(lightgray, yellow);
    border-radius: 30px;
    padding-left:10px;
    padding-right: 10px;
    line-height: 20pt;
}

/*_________LETTRAGE PURLE PAW____________________*/

#lettrage{
position: relative;
  width: 40%;
  background-image: url("../../assets/files/Lettrage.svg");
  margin-left: auto;
  background-repeat: no-repeat;
  margin-right: auto;
  margin-bottom: 91px;
}


svg #lettrage {
  transition: 200ms;
  transition-timing-function: ease-in-out;
  -webkit-transition: 200ms;
  -webkit-transition-timing-function: ease-in-out;
}

.bouncing-img{
  height: 200px;
  width: 200px;
  animation: bounce 5s ease-in-out;
    animation-iteration-count: infinite;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-30px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

/*___ HYPERLIENS _____*/

a {
  color: black;
  border-bottom: 1px dotted;
  text-decoration: none;
  word-wrap: break-word;
}

a:hover {
    background-color: orange;
    transition: .5s;
    color: black;
    -webkit-text-fill-color: black;
}

/*_________SCROLL SECTION____________________*/

.scroller {
    height: auto;
}

section{
    width:97vw;
}

/*_________GRILLE FLEX___________________*/
.gridbox{
    width: 97vw;
    display:flex;
    flex-wrap:wrap;
    padding: 5% 0 5% 0;
    justify-content: center;
}


.container{
    /* Centrer les scroller sections */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    color:black;
}




/*______ÉLÉMENT DU FLEX / COLONNE__________*/

.box{
    width:6%;
    min-width: 81px; /* limite les chevauchements des mots */
    position:relative;
    display:block;
    transition:  0.5s;
    margin : 10px;
}
.box:hover{
    cursor:pointer;
}


.box::before{
  content:"";
  width: 0;
  height: 4px;
  position: absolute;
  transition: all 0.2s linear;
  background: black;

}

.box:hover::before{
  width: 100%;
    left: 0;
}

.box::before{
  left: 50%;
  top: -10px;
  transition-duration: 0.4s;
}


.type_projet{
    font-family: 'Courier New', Courier, monospace;
    text-transform: uppercase;
    font-size: 0.7em;
    letter-spacing: 0.1em;
    line-height: 1.2em;
}

.texte{
    width: 100%;
    max-width: 400px;
    overflow-wrap: break-word;
    hyphens: auto;
    hyphenate-character: '⤵';
}

.textecache{
    display: none;
    width: 100%;
    max-width: 400px;
    overflow-wrap: break-word;
    hyphens: auto;
    hyphenate-character: '⤵';
}



/*______IMAGE D'ENTÊTE _____________________*/
/*($url à encoder via php)*/
.image2{
  display:block;
  width :100%; 
  background-size: contain;
  background-repeat: no-repeat;
  background-position:center;
  opacity:1;
  filter: grayscale(0.2) contrast(50) hue-rotate(40deg);
}



/*_______ AJOUT DU SCRIPT ouverture des boxs au clic */
.box.open {
    /*__supprime les effets _*/
    color:initial;
    transition: 2s;
    flex: 40%;
    max-width: 800px;
  }
  /*__ Adaptation de la grille en hover __*/
  .box.open > .image, .box.open > .image2 {
    mix-blend-mode:normal;
    filter:none;
    opacity: 1;
    transition: all 0.5s ease-out;
  }
        .box.open > .textecache{
            display: block;
        }

/*______PAGE - A PROPOS _____________________*/

.portrait {
    position: relative;
    width: 100vw;
    height: 300vh;    
    background-size: cover;
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: top;
    background-repeat: no-repeat;
}

.apropos{
    position:absolute;
      -webkit-text-fill-color: white;
    font-size: 1.5em;
    text-align: center;
    color: #fff;
    padding: 100vh 5% 20vh 5%;
    width: 90%;
    height: fit-content;  
}
    .apropos-texte {
      width: 60vw;
      margin: auto;
    }

     .apropos-texte p {
       line-height: 1.22em;
        }
    .apropos-texte h2 {
       line-height: 1.21em;
        }

     /* Hide scrollbar for Chrome, Safari and Opera */
    .apropos::-webkit-scrollbar, .parallax::-webkit-scrollbar {
      display: none;
    }

    /* Hide scrollbar for IE, Edge and Firefox */
    .apropos, .parallax {
      -ms-overflow-style: none;  /* IE and Edge */
      scrollbar-width: none;  /* Firefox */
    } 


        .parallax {
          perspective: 1px;
          height: 100vh;
          width: 100vw;
          overflow-x: hidden;
          overflow-y: auto;
        }
        .parallax__layer {
          position: absolute;
          top: 0;
          right: 0;
          bottom: 0;
          left: 0;
        }
        .parallax__layer--base {
            transform: translateZ(0);
        }
        .parallax__layer--back {
            transform: translateZ(-1px) scale(2);
        }



        /* honey pot */
        .seca {
            opacity: 0;
            position: absolute;
            top: 0;
            left: 0;
            height: 0;
            width: 0;
            z-index: -1;
         }

/*___________________*/

pre {
  width: 100%;
  overflow: hidden;
  padding: 15vh 0;
  text-align: left;
}

.apropos p{
    padding: 0px;
}

.legal{
    font-size:1em;
    text-align: center;
    padding: 20px;
}

/*__ Formulaire d'inscription à l'infolettre ___*/


.fieldwrapper {
    padding: 0.5em 0;
  }

    input, button, textarea {
        border: 2px dotted white;
        border-radius: 5px;
        background-color: transparent;
        height: 1.5em;
        font-size: 1.5em;
        font-family: 'LS-VG5000regular', sans-serif;
        color: white;
        width: 70%;
    }

    input:focus,  textarea:focus , button:focus {
      background-color: white;
        color: black;
        -webkit-text-fill-color: black;
    } 

    button {
        background-color:#c8f7da;
        border: 2px solid black;
        font-family: 'LS-VG5000regular', sans-serif;
        height: auto;
        padding: 0.2em;
        font-size: 1.5em;
        color: black;
        -webkit-text-fill-color: black;
        cursor:pointer;
    }

    button:hover{
         background-color:orange;
        transition: .5s;
    }

    input:focus-visible {
        outline: none;
    }
    .asterisk {
        font-variant-position: super;
      }


/*______________________________________*/
/*          GALERIE POPOSTER            */
/*______________________________________*/


.carousel {
  width: 600px;
  height: 90vh;
  margin-left: auto;
  margin-right: auto;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  top:30px;
}
  
  &:hover .controls {
    opacity: 1;
  }
  
  .controls {
    opacity: 0;
    display: flex;
    position: absolute;
    left: 0;
    justify-content: space-between;
    width: 100%;
    z-index: 99999;
    transition: all ease 0.5s;
  margin-top:50%; }
    
  .control {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  opacity: 1;
  transition: ease .3s;
  cursor: pointer;
  color: indianred;
  font-size: 27px;
  border: lightpink 5px solid;
    }
      
  &:hover {
    opacity: 1;
    }

    .slides {
      position: absolute;
      display: flex;
      height: 100%;
      transition: 1s ease-in-out all;
    }
      
   .slide {
       /* min-width: 100%;
        min-height: 250px; */
        width: 600px;
    } 

  .slide img{
        width: 90%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;
    } 

/*______FOOTER - PIED _____________________*/

#pied{
  display: flex;
  position: fixed;
  bottom: 0;
  justify-content: space-around;
  width:96%;
  padding: 0 2%;
    height: fit-content;
    z-index: 3;
}

#pied:hover{
    height: fit-content;
    background-color: #c8f7da;
}

.infos{
    visibility: hidden;
    height: 0;
    display: block;
    overflow: clip;
    transition: visibility 2s ease;
}

#pied:hover > .orteils > .infos{
    visibility: visible;
    height: auto;
    display: block;
    overflow: visible;
}

.orteils{
    width: 15%;
}

@media screen and (min-width: 749px) and (max-width: 1080px){ 
    
    .parallax{
        background-color:#4A3B20;
    }    
    .portrait{
        height: 285vh;
    }
    pre{
        padding: 3vh 0;
    }


    .texte{
        display: none;
    }
    .box.open > .texte{
        display: block;
    }
}



@media screen and (min-width: 541px) and (max-width: 748px){ 
    

    #lettrage{ 
        top: 15%;
        background-image: url("../../assets/files/portrait-svg-logo_studioPP.svg");
        position: relative;
        width: 100%;
        background-position: center;
    }

    
    .container{
        /* Rajoute du bord en bas pour le pied */
        padding-bottom: 15em;
    }
    
    .gridbox {
      width: 100%;
      display: block;
      padding-bottom: 10vh;
    }
    
    .box{
        background-clip: none; 
        position:relative;
        display:block;
        height: auto;
        width:97%;
        flex:2;
        transition:  0.5s;
        padding : 10px;
        margin:0;
        mix-blend-mode:normal;
    }
    
    .image2{
        width : 100%;
        mix-blend-mode:normal;
        filter: none;
        height:auto;
    }
    
    .portrait{
        height: 200vh;
    }
    
    .apropos{
        font-size: 1.3em;
        padding: 50vh 5% 20vh 5%;
    }
        .apropos-texte {
          width: auto;
        }
    
    .orteils {
      width: 100%;
    }
    
    
    
    /* Page à propos - Adaptation photographie mobile */
    .parallax{
        background-color:#4A3B20;
      }  
        
    .portrait.parallax__layer.parallax__layer--back{
        background-image: url("../../assets/files/1022/000072_edit.jpg");
    }
    

    
    pre {}

    /*__ Formulaire d'inscription à l'infolettre ___*/

    input {
        height: 1em;
        font-size: 1em;
    }

    input[type=button], input[type=submit], input[type=reset] {
        height: 1.7em;
        font-size: 1em;
    }


} /* Fin media queries tablettes */


@media screen and (min-device-width: 200px) and (max-width: 540px) {
    
    body {
    font-size: 1em;
    }
    
   
    .container{
        color: black;
        -webkit-text-fill-color: black;
        /*
        width: 100%;
        background-image: url("../../assets/files/NeonLea5.gif");
        -webkit-background-clip: text;
        background-clip: text; */
    }
    
    
    .scroller{
        width: 100%;
        scroll-snap-align: none;
    }
    
    section{
        width: auto;
    }
    
    #lettrage{
        top: 15%;
        background-image: url("../../assets/files/portrait-svg-logo_studioPP.svg");
        background-position: center;
        position: relative;
        width: 90%;
        height: 100vh;
    }

    
    .gridbox {
        width: 97%;
        display: block;
        padding-bottom: 10vh;
    }
    
    .box{
        mix-blend-mode: normal;
        position: relative;
        display: block;
        height: auto;
        width: 100%;
        flex: 2;
        padding: 10px;
        margin: 0;
    }
    
    .image2{
        width : 100%;
        mix-blend-mode:normal;
        filter: none;
        height:auto;
    }


        /* Page à propos - Parallax et Adaptation photographie mobile */
    
    .parallax{
        background-color:#4A3B20;
    }
    
    .parallax__layer--back{
        background-image: url("../../assets/files/1022/000072_edit_protraits_prog-for-website.jpg") !important; 
        transform: none;
    }
    
    .portrait{
        padding-left: 350px;
    }
    .apropos-texte {
        width: 90%;
        font-size: 0.7em;
    }
      /*__ Formulaire d'inscription à l'infolettre ___*/

    input {
        height: 1em;
        font-size: 1em;
    }

    input[type=button], input[type=submit], input[type=reset] {
        height: 1.7em;
        font-size: 1em;
    }

    pre{
        display: none;
    }

    #pied {
        background-color:  #c8f7da;
        justify-content: flex-start;
        flex-direction: row;
        width: 100%;
        padding: 0 5%;
    }
    
    #pied:hover {
        background-color: #c8f7da;
        display: flex;
        flex-direction: column;
        width: 90%;
        padding: 0 5%;
    }
    
    .orteils {
        width: 100%;
    }

} /* End mobile / Iphone media queries */
