


h2 {
    margin-bottom: 20px;
}

/* Welcome page */

.full-screen-image {
    background-image: url('/img/index/leve-soleil.JPG');
    height: 100lvh;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items:center;
    /* font-style: italic; */

}

h1{
    transform: translatey(-60%);
    text-shadow: #fff 1px 1px 10px;
}


.leafSeparator-Container{
    overflow: hidden;
}

.separator-leaf {
    position: relative  ;
    background-image: url('/img/index/peacoke-line-coupé.webp');
    background-repeat: repeat;
    background-size: contain;
    height: 55px;
    transform: translate(0, -10px);
}

.separator-leaf::before {
    content: '';
    position: absolute;
    top: 0;
    left: -40px; 
    width: 110vw;
    height: 55px;
    background-image: url('/img/index/peacoke-line-coupé.webp');
    background-repeat: repeat;
    background-size: contain;
    z-index: -1; 
}



/* Lamp section */

.lamp-section {
    padding: 60px 0 8vw;
    width: 100%;
    background-color: white;
    text-align: center;
}

.lamp-section h2{
    margin-bottom: 60px;
}

.lamp-section .grid-container {
    display: grid;
    grid-template-columns: repeat(5, 16vw);
    grid-template-rows: repeat(4, 12vw);
    grid-gap: 10px;
}

@keyframes changeBackground {
    0%, 35% { opacity: 0; }
    35%, 55% { opacity: 1; }
    55%, 80%{opacity: 1;}
    80%, 100% { opacity: 0; }
}

.lamp-section .grid-item {
    background-color: #ddd;
    background-position: center;
    background-size: cover;
    position: relative;
}

.lamp-section .grid-item::before{
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    -webkit-transition: background-image 1s ease-in-out;
    -moz-transition: background-image 1s ease-in-out;
    -o-transition: background-image 1s ease-in-out;
    animation: changeBackground 15s ease-in-out infinite;
    background-position: center;
    background-size: cover;
    opacity: 0;
}

.lamp-section .grid-item.big { grid-area: auto / auto / span 2 / span 2; }
.lamp-section .grid-item.large { grid-area: auto / auto / span 1 / span 2; }
.lamp-section .grid-item.small { grid-area: auto / auto / span 1 / span 1; }
.lamp-section .grid-item.haut { grid-area: auto / auto / span 2 / span 1; }

.lamp-section .item1 { background-image: url('/img/index/Nos_lampes/disco_DA_off.webp'); }
.lamp-section .item1::before {background-image: url('/img/index/Nos_lampes/disco_DA_ON.webp'); animation-delay: 2s;}
.lamp-section .item2 { background-image: url('/img/index/Nos_lampes/line2_all.webp'); }
.lamp-section .item2::before {background-image: url('/img/index/Nos_lampes/line_all.webp');animation-delay: 4s;}
.lamp-section .item5 { background-image: url('/img/index/Nos_lampes/fleurie_burreau_off.jpg'); }
.lamp-section .item4 { background-image: url('/img/index/Nos_lampes/mushBlue_barBurreau_off.JPG'); }
.lamp-section .item3 { background-image: url('/img/index/Nos_lampes/hypno_DA_ON.JPG'); }
.lamp-section .item3::before {background-image: url('/img/index/Nos_lampes/hypno_da_off.JPG');animation-delay: 6s;}
.lamp-section .item6 { background-image: url('/img/index/Nos_lampes/alveole.webp'); }
.lamp-section .item7 { background-image: url('/img/index/Nos_lampes/White_hypno_office.webp'); }
.lamp-section .item8 { background-image: url('/img/index/Nos_lampes/notordered_DA_on.webp'); }
.lamp-section .item8::before {background-image: url('/img/index/Nos_lampes/notordered_DA_off.webp');}

@keyframes bg-annimation {
    0% {
        background-size: 100% 100%;
        background-position: center;
    }
    25% {
        background-size: 200% 200%; /* Ajustez la taille de zoom selon vos besoins */
        background-position: left center; /* Déplacez l'image en arrière-plan */
    }
    50%{
        background-position:  center 30%; /* Déplacez l'image en arrière-plan */
        background-size: 200% 200%;
    }
    60%{
        background-position:  center top;
        background-size: 200% 200%; 
    }
    75%{
        background-position:  right top;
        background-size: 200% 200%; 
    }
    100%{
        background-size: 100% 100%;
        background-position: center;
    }
}


@keyframes bg-minizoom {
    0% {
        background-size: 100% 100%;
        background-position: center;
    }
    50% {
    background-size: 150% 150%; /* Ajustez la taille de zoom selon vos besoins */
    background-position: 70% top; /* Déplacez l'image en arrière-plan */
    }
    100% {
    background-size: 100% 100%;
    background-position: center;
}
}

.lamp-section .bg-minizoom{
    animation: bg-minizoom 20s infinite alternate;
}

.lamp-section .btn {
    margin : 40px 0 0 0;  
}

/* Notre histoire */

.notre-histoire {
    width: 100%;
    background-color: var(--vert);
    position: relative;
}

.notre-histoire h2,
.notre-histoire p{
    margin-bottom: 30px;
}

.peacoke{
    background-image: url('/img/index/peacoke.webp') ;
    background-size: auto 100%;
    background-repeat:no-repeat;
    width: 20%;
    height: 600px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.notre-histoire-container{
    width: 80%;
    left: 0;
}

.notre-histoire .horizontalFlexContainer > div {

    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
}

.notre-histoire .horizontalFlexContainer > div #team-img {
    width: 100%;
    margin-top: 20px;
}

/* Nos produits */

.nos-produits {
    padding: 5%
}

.nos-produits h2{
    margin-bottom: 60px;
}

.nos-produits .produits-couleurs{
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}
.nos-produits .produits-couleurs img{
    width: 40%;
}
    

.nos-produits .img-couleur-left{
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
    transition: 3s 1s;
    animation: noiretblanc 12s ease-in-out infinite;
}

.nos-produits .img-couleur-right{
transform: scaleX(-1);
clip-path: polygon(0 0, 70% 0, 100% 100%, 0 100%);
animation: blancetnoir 12s ease-in-out infinite;

}

@keyframes noiretblanc {
  0%, 10% {filter: grayscale(100%);}
  10%, 50% { filter: grayscale(0%) }
  50%, 60%{filter: grayscale(0%)}
  60%, 100% { filter: grayscale(100%)}
}
@keyframes blancetnoir {
  0%, 10% {filter: grayscale(0%);}
  10%, 50% { filter: grayscale(100%) }
  50%, 60%{filter: grayscale(100%)}
  60%, 100% { filter: grayscale(0%)}
}

.nos-produits .produits-couleurs p{
    font-size: 2rem;
    text-align: center;
}
.nos-produits  p span{
    color: red;
}
  
/* Ligne Fleurie */

.produits-onoff{
    width: 80%;
    padding: 10px 0;
    background-color: black;
    color: var(--clair);
    font-style: italic;
    position: relative;
    margin: auto;
}

.produits-onoff p { 
font-size: 2rem; 
margin: 30px 5%;
}

.produits-onoff p:nth-of-type(2){
    text-align: right;
    display: block;
}

@keyframes vibration {
    0%, 100% { transform: translateX(0); }
    0.5%, 1.5%, 2.5%, 3.5%, 4.5% { transform: translateX(-5px); }
    1%, 2%, 3%, 4% { transform: translateX(5px); }
}


.produits-onoff_Img img{
    position: relative;        
    animation-iteration-count: infinite;
    animation: vibration 5s linear 2s infinite;
}


.produits-onoff .invisible-btns{
    position: absolute;
    z-index: 2;
    left: 0;
    width: 100%;
    height: 100%;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 2%;
    padding-bottom: 5%;
}

.produits-onoff .invisible-btn{
    display: inline-block;
    width: 12.5%;
    height: 40%;
    margin: 2%;
    opacity: 0;
}


    /* QuESTIONS */

.questions {
    background: url('/img/index/notordered2-office-dark-on.JPG');
    background-size: 100% auto;
    background-repeat: no-repeat;
    color: var(--clair);
 
    
}

.questions .horizontalFlexContainer{
    width: 75%;
}

.questions .contained-right{
    width: 40% ;
}

.questions .contained-left{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgb(238, 238, 238, 0.2);
    width: 60%;
    max-width: 500px;
    padding: 5% 2% 0 2%;
}

.questions .contained-left > h1,
.questions .contained-left > .btn{
    margin: 30px 0;
}

/* PEACOKE FEATHER */

.picoke-single-feather{
    background-image: url('/img/index/peacoke-single-feather.webp') ;
    background-size:  100% auto;
    background-repeat:no-repeat;
    width: 150px;
    height: 450px;
    position: absolute;
    bottom: -350px;
    left: -150px;
}

@media (max-width: 1100px) {

    /* Notre Histoire */

    h1{
        transform: translatey(-300px);
        color: white;
        text-shadow: #000 1px 1px 10px;
    }
    
    
    .notre-histoire .horizontalFlexContainer {
    flex-direction: column;
    }

    .peacoke{
    bottom: 10%;
    }


    .notre-histoire .horizontalFlexContainer > div {
    width: 100%;
    }

    .notre-histoire-container{
    margin: auto;
    width: 100%;
    }

    .notre-histoire .horizontalFlexContainer > div:nth-child(2){
    padding-top: 0;
    }

    .notre-histoire .horizontalFlexContainer > div img {
    margin-top: 0;
    width: 80%;
    }

    /* Nos produits */

    
    .nos-produits .produits-couleurs > p {
        font-size: 1.6rem;
    }
    
    .nos-produits h2 {
      margin-bottom: 0;
    }
    
    .produits-onoff{
      width: 98vw;
      transform: translateX(-5%);
      color: black;
      background-color: #fff;

    }

    .produits-onoff p {
    font-size: 1.5rem;
    }

    .produits-onoff .container{
    overflow: unset; 
    }


    .produits-onoff_Img img{
        animation: none
    }
    
    .produits-onoff_Img{
    width: 100vw ;
    }

    #onOffImg{
    width: 100vw;
    }

    /* Questions */

    .questions .contained-left{
    width: 80%;
    font-size: 1.5vw;
    
    }

    .questions .contained-left > h2,
    .questions .contained-left > .btn{
    margin: 3vw 0;
    }

    @media(min-height: 700px){

        .full-screen-image{
            background: url(/img/index/tablette-hero.webp) center center / cover no-repeat  ;
        }
    }
    
}

@media (max-width: 480px) {

    h1{
        transform: translatey(-100px);
        color: white;
        text-shadow: #000 1px 1px 10px;
        font-size: 8vw;
        text-align: left;
        margin-right: 80px;
    }

    .full-screen-image {
        background: url(/img/index/Mobile-hero.webp) center center / cover no-repeat  ;
        height: 70vh;
        max-height: 800px;
    }

    /* LAMP section */

    .lamp-section {
    padding: 15px;
    }

    .lamp-section h2 {
        margin-bottom: 40px;
    }

    .lamp-section .grid-container {
    grid-template-columns: repeat(2, 40vw);
    grid-template-rows: repeat(4, 30vw);

    }

    .lamp-section .grid-item.big,
    .lamp-section .grid-item.large,
    .lamp-section .grid-item.small,
    .lamp-section .grid-item.haut{
    grid-area: auto / auto / span 1 / span 1; 
    }

    .lamp-section .item1{
    display: none;
    }

    .lamp-section .item4 {
    background-repeat: no-repeat;
    background-size: auto 100% !important;
    grid-area: auto / auto / span 1 / span 2 !important; 
    }

    .lamp-section .btn {
        margin : 20px 0 0 0;  
    }

    /* Notre histoire */

    .peacoke{
      display: none;
    }
    
    .notre-histoire .horizontalFlexContainer > div img {
      width: 100% ;
    }

    .notre-histoire p {
        text-align: justify;
    }

    /* Nos produits */

    .nos-produits{
      padding-bottom: 0;

    }

    .nos-produits .produits-couleurs img {
      width: 50%;
    }

    .nos-produits h2 {
        margin-bottom: 0 ;
    }

    .nos-produits > p{
        font-size: 1.2rem;
        text-align: center;
        font-style: italic;
        display: block;
        margin-bottom: 10px !important;
    }

        
    .produits-onoff{
        width: 100vw;
    }

    .produits-onoff p {
        font-size: 1rem;
        }
    

    /* Questions */

    .questions {
        background: url('/img/index/leve-soleil.JPG') center center /cover;
    }

    .questions .contained-left{
        width: 100%;
        color: #000;
        text-align: center;
        background: none;
        font-size: 1rem;
    }

    .questions .contained-left > h2 {
        margin: 0 0 20px 0;
    }

    .questions .contained-left > .btn{
        margin: 20px 0;
    }

    .questions .contained-left>div:last-child{
        margin: 0 0 20px 0;
    }

}

  






