h2 {
  margin-bottom: 30px;
}



.halfscreen_img{
    position: relative;
    width: 100%;
    height: 400px;
    background: url('/img/acheter-produits/discoPsychoChambre.JPG') no-repeat center;
    background-size: 100% auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
        z-index: -2;

}

.halfscreen_img::before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0, 0.5);
    z-index: -1;
}


/* LISTE PRODUITS */

.list-products .container{
    width: 90%;
}

.list-products .grid-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    grid-auto-rows: auto; /* Les lignes ont une hauteur qui s'adapte au contenu */
    gap: 25px;
    width: 100%;
    padding: 10vw;
}

  .list-products .grid-item {
    width: 100%; 
    aspect-ratio: 1 / 1; 
    background-color: #eee;
    position: relative;
    transition: 1s;
  }

  .list-products .grid-item .imgLamp{
    position: absolute;
    top: 0 ;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
  }

  .list-products .grid-item .imgLamp1:hover{
    opacity:0;
  }

  .list-products .grid-item .lampName {
    color: #fff;
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    background: rgb(51, 51, 51, 0.5);
    font-size: 1.5vw;
    padding: 1vw;
  }

  /* NOS PRODUITS */

  .Nos-Produits {
    background-color: var(--vert);
    height: 400px;
    padding: 100px 40px;
  }

  .Nos-Produits .horizontalFlexContainer > div {
    width: 50%;
    height: 100%;
  }

  .Nos-Produits .horizontalFlexContainer{
    width: 90%;
  }

  .flex-right{
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .Nos-Produits .horizontalFlexContainer img{
    height: 100%;
    width: auto;
    aspect-ratio: 1 / 1; 
  }

  /* Nos services */

  .nos-services{
    padding: 5vw;
    color: #fff;
    background: url(/img/acheter-produits/darkLampBg.png);
    background-size: 100% auto;
    background-position : 100% 80%;
    background-repeat: no-repeat;
  }
  .descriptionServices {
    width: 60%;
    background: rgb(238, 238, 238, 0.1);
    padding: 20px;
  }

  .nos-services .grid-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    grid-gap: 10px;
  }

  .nos-services .grid-item{
    border: #fff solid 1px;
    padding: 10px;
    background: rgb(51, 51, 51, 0.3);
  }




@media (max-width: 480px) {

  .halfscreen_img{
    background-size: auto 100%;
  }
  
  .list-products .grid-container{
    grid-template-columns: repeat(2, 1fr); 
    padding: 20px;
  }
  
  .Nos-Produits {
    background : url(/img/acheter-produits/fait-main.jpg) center center /cover;
    height: unset;
    padding: 50px 40px;
    position: relative;
    text-shadow: #fff 1px 1px 7px;
    font-size: 1.3rem;
    z-index: -2;
  }

   .Nos-Produits p{
    text-align: justify;
  }
  
  .Nos-Produits::before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: rgb(255, 255, 255, 0.6);
    top: 0;
    left: 0;
    z-index: -1;
  }
  .Nos-Produits .horizontalFlexContainer > div {
    width: 100%;
  }

  .list-products .grid-item .lampName {
    font-size: 1rem;
    padding: 1vw;
  }
  
  .nos-services{
    padding: 10px;
    background-size: auto 100%;

  }
  
  .descriptionServices {
    width: 100%;
  }

  .nos-services .item2 {
    grid-row: 3;
    grid-column: 1  ;
  }


} 