.grid {
  --gap: 1em;
  --columns: 3;
  max-width: 80%;
    margin: 0  0  0 20%;
  
  display: column;
  columns: var(--columns);
  gap: 20px;
}

.grid > * {
  break-inside: auto;
  margin-bottom: 38px;
}


 


.menu{
    display: none;
}

@supports (grid-template-rows: masonry) {
  .grid {
    display: grid;
    grid-template-columns: repeat(var(--columns), 1fr);
    grid-template-rows: masonry;
    grid-auto-flow: dense;
    /* align-tracks: stretch; */
  }
    
   

  .grid > * {
    margin-bottom: 0em;
  }
}

.featured {
  grid-column: span 2;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}



.flow > * + * {
  margin-top: var(--flow-space, var(--spacer));
}

body {
  min-height: 100vh;
  font-size: 1em;
  line-height: 1.6;
 
    margin: 40px;
    
    font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 575;
  font-style: normal;
}




img {
  max-width: 100%;
}

.grande{
    width: 200%;
}

.grid img:hover{
    opacity: 60%;
    cursor: pointer;
}

.logo{
    max-width: 15%;
    position: fixed;
    top: 30px;
    left: 50px;
}

.contacts{
    position: fixed;
    left: 40px;
    bottom: 20px;
    max-width: 18%;
    align-content: center;
    text-align: center;
    
    color: #1b7254;
}

.slider img{
    max-width: 70%;
    max-height: 100%;
    margin: auto auto;
    display: none;
}

img.active1{
    display: block;
}

.btn-off{
    display: block;
    width: 25px;
    
    position: fixed;
    top: 40px;
    right: 40px;
    
    z-index: 4;
}

.btn-off:hover{
    opacity: 50%;
}

.btn-left:hover{
    opacity: 50%;
}

.btn-right:hover{
    opacity: 50%;
}

.visible{
    display: block;
}

.respoinv{
    font-size: 10pt;
}

.aproposgrid{
        max-width: 50%;
    margin: 0  0  0 20%;
     color: #1b7254;
     font-size: 15pt;
    }




.slider{
    position: relative;
    width: 80%;
    margin-left: 20%;
    height: 90vh;
    display: inline-block;
    justify-content: space-around;
    align-content: center;
}

.btn-right{
    position: absolute;
    top: 45vh;
    right: 7%;
    display: block;
    width: 60px;
    height: 60px;
    background-image: url(img/flechedroite.png);
    background-size: contain;
background-repeat: no-repeat;
        
}

.btn-left{
    position: absolute;
    top: 45vh;
    left: 7%;
    display: block;
    width: 60px;
    height: 60px;
    background-image: url(img/flechegauche.png);
    background-size: contain;
background-repeat: no-repeat;
}


.imgcontact, .imgabout{
    width: 35%;
    display: block;
    margin: 0 auto;
    margin-bottom: 10px;
}

.imgshop{
    width: 23%;
    display: block;
    margin: 0 auto;
    margin-top: 10px;
}

.imgshop:hover{
    opacity: 50%;
}

.respomenu{
    display: none;
    color: #1b7254;
}



/* RESPONSIVE */

@media only screen and (max-width: 950px){
   
    .respoinv{
        display: none;
    }
    
    .slider{
        display: block;
    }

    
    .btn-off{
        display: none;
    }
    
    .imgcontact, .imgabout{
    width: 20%;
    display: block;
    margin: 0 auto;
    margin-bottom: 10px;
}

.imgshop{
    width: 13%;
    display: block;
    margin: 0 auto;
    margin-top: 10px;
}
    
    
    .croix{
        position: absolute;
        top: 40px;
        right: 40px;
        width: 30px;
        z-index: 6;
    }
    
    .btn-left, .btn-right{
        display: none;
    }
    
    .slider img{
        display: block;
        margin-bottom: 20px;
        max-width: 100%;
    }
    
    .respomenu {
    display: none; /* Par défaut caché */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;;
    background-color: white;
    z-index: 100; /* Priorité élevée */
    text-align: center;
}
    
   

.respomenu.visible {
    display: block;
}
    
    .respoinfos{
        width: 90%;
        margin: 20px auto;
        margin-top: 40px;
    }
    
    
    .menu{
        display: block;
        position: fixed;
        top: 40px;
        right: 40px;
        width: 50px;
        z-index: 9;
    }
    
    .logo{
        position: relative;
        top: 0;
        left: 0;
        max-width: 35%;
        display: block;
        justify-content: center;
        margin: 0 auto;
    }
    
    .slider{
        width: 100%;
    margin-left: 0;
        height: 95vh;
    }
    
    .grid{
        --columns: 1;margin-left: 0;
        max-width: 100%;
        margin-top: 30px;
    }
    
    
.aproposgrid{
        max-width: 80%;
    margin: 0  0  0 10%;
     color: #1b7254;
     font-size: 13pt;
    }
    
}
@media only screen and (max-width: 600px){
   
    
    .imgcontact, .imgabout{
    width: 35%;
    display: block;
    margin: 0 auto;
    margin-bottom: 10px;
}

.imgshop{
    width: 23%;
    display: block;
    margin: 0 auto;
    margin-top: 10px;
}
    
    .logo{
        position: relative;
        top: 0;
        left: 0;
        max-width: 60%;
        display: block;
        justify-content: center;
        margin: 0 auto;
    }
    
    
.aproposgrid{
        max-width: 90%;
    margin: 0  0  0 5%;
     color: #1b7254;
     font-size: 11pt;
    }
   
}

