:root {
    --h-header : 150px;
}

@font-face {
    font-family: painterz;
    src: url(Painterz.ttf);
    font-display: swap;
}

@font-face {
    font-family: 'Gill Sans Heavy';
    src: url(Gill\ Sans\ Heavy.otf);
    font-display: swap;
}

@font-face {
    font-family: 'Gill Sans MT';
    src: url(Gill\ Sans\ Medium.otf);
    font-display: swap;
}

body{
    background-image: url(img/fondmain.webp);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    margin: 0;
}

main{
    max-width: 1350px;
    margin: 0 auto;
    position: relative;
    top: var(--h-header);
}

h1{
    font-family: 'Gill Sans Heavy', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
    font-size: 30px;
    letter-spacing: 3px;
    color: black;
}

h2{
    font-family: 'Gill Sans Heavy', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 25px;
    font-weight: bolder;
    text-align: center;
}

h3{
    font-family: 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
}

p{
    font-family: 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
    text-align: center;
    font-weight: 500;
}

img{
    max-width: 100%;
    height: auto;
    padding: 20px;
    box-sizing: border-box;
}

.cta {
    position: fixed;
    top: 250px; /* Ajustez selon les besoins */
    left: 5px; /* Ajustez selon les besoins */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 130px;    
}
.cta img:hover {
    font-size: 2em; /* Taille initiale de l'icône */
    transition: transform 0.3s ease-in-out; /* Ajoute une transition pour un effet fluide */
    transform: scale(1.3);
}
.cta img{
    padding: 0;
}

.divimg{
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.divimg img{
    padding: 0;
}
.divimg img:hover {
    font-size: 2em; /* Taille initiale de l'icône */
    transition: transform 0.3s ease-in-out; /* Ajoute une transition pour un effet fluide */
    transform: scale(1.05);
}

.despe{
    display: flex;
    justify-content:space-between;
    background-color: rgba(255, 255, 255, 0.500);
}

.despe > div:first-child {
    padding: 50px;
}

div{
    max-width: 100%;
    background-position: center;
}

.materiel{
    max-width: 100%;
    margin: 30px;
}
.materiel div{
    max-width: 100%;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.500);
    flex-wrap: wrap;
    justify-content: center;
}
.materiel img{
        max-width: 500px;
        /*height: 500px;*/
        width: 100%;
}
.materiel h3{
    max-width: 500px;
    width: 100%;
}
.iconesgalerie img{
    max-width: 300px;
    align-items: center;
    transition: transform 0.3s ease-in-out;
}

.iconesgalerie {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 200px;
    margin-bottom: 350px;
}

.iconesgalerie img:hover {
    font-size: 2em; /* Taille initiale de l'icône */
    transition: transform 0.3s ease-in-out; /* Ajoute une transition pour un effet fluide */
    transform: scale(1.3);
}

.menu {
    display: none;
    position: absolute;
    top: 80px;
    right: 0;
    width: 50px;
    height: 50px;
    box-sizing: initial;
}

nav>ul{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    position: relative;
}

nav a {
    text-decoration: none;
    font-family: 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    transition: all .5s;
    font-weight: bolder;
    font-size: 20px;
    display: inline-block;
    padding: 20px 50px;
    color: black;

}

nav > ul ul {
    display: none;
    list-style: none;
    flex-direction: column;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.500);
}

nav > ul > li:hover > ul {
    display: flex;
}

nav > ul > li > a {
    color: rgb(238, 16, 120);
}

nav a:hover {
    color: rgb(0, 0, 0);
    font-size: 1.5em;
    font-weight: bold;
}

.reseaux img {
    max-width: 180px
}

.reseaux{
    display: flex;
    justify-content:space-around;
    background-color: rgba(255, 255, 255, 0.500);
    background-size:initial
}    

.reseaux h3{
    font-size: 25px;
    padding: 10px;
}


.reseaux img:hover {
    font-size: 2em; /* Taille initiale de l'icône */
    transition: transform 0.3s ease-in-out; /* Ajoute une transition pour un effet fluide */
    transform: scale(1.3);
}
.mentions {
    display:block;
    background-color: rgba(255, 255, 255, 0.500);
}

.mentions li{
    list-style: none;
    font-family: 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
    text-align: center;
    font-weight: 500;
}

@media all and (max-width: 550px) {
    .reseaux {
        display: block;
    }
    .reseaux img{
        max-width: 150px;
        align-items: center;
    }
    .reseaux div:last-child{
        display: flex;
        justify-content: center;
    }
    .reseaux h3{
        font-size: 20px;
    }
    h1{
        font-size: 20px;
    }
    .cta {
        max-width: 80px;
    }
}

@media all and (max-width: 1130px) {
    .menu {
        display: block;
    }
    .show {
        display: block;
    }

    nav > ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 150px;
        /* left: 50%;
        transform: translateX(-50%); */
        right: 0;
        background-color: rgba(255, 255, 255, 0.800);
        margin: 0;
    }
    nav > ul ul {
        display: block;
        position: relative;
    }
    .nomobile{
        display: none;
    }
}

header{
    background: linear-gradient(to bottom, #ffffff00 0%, #ffffff 100%);
    margin: 0;
    padding: 0;
    height: var(--h-header);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 999;
}

.logo{
    height: 200px;
}

footer{
    margin-top: 300px;
    margin-left: 10%;
    margin-right: 10%;
   
    ul{
        display: flex;
        justify-content:space-evenly;
        width: 80%;
        text-align: center;
        list-style-type: none;
        padding: 0;
        margin: 0;
        position: absolute;
        top: 50%;
        left: 50%; /* Ajustez la position horizontale selon vos besoins */
        transform: translate(-50%, -50%);
        z-index: 1;
    }
    li{
        list-style: none;
    }
    a{
        font-size: 25px;
        text-decoration: none;
        color: rgb(255, 255, 255);
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        transition: all .5s;
    }
    a:hover{
         font-size: 130%;
        font-weight: bold;
    }
}

.pinceau{
    height: auto;
    width: 100%;
    display: block;
}
.container{
    position: relative;
}

@media all and (max-width: 800px){
    section > ul 
    a{
        font-size: 15px;
    }
    a:hover{
        font-weight: bold;
    }
}
@media all and (max-width: 600px){
    h1{
        font-size: 20px;
    }
    h2{
        font-size: 15px;
    }
}
/* slider  */
/* Styles pour le conteneur du slider */
.slider-container {
    position: relative;
    /* height via javascript  */
}

/* Styles pour les images du slider */
.slider-image {
    /* Positionne les images les unes sur les autres */
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    transition: opacity 3s ease; /* Transition douce entre les changements d'image */
}

.slider-container, .slider-image {             
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    height: auto;
}
       
/* Style pour les boutons précédent et suivant */
.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 10px;
    background-color: #f8326d9f;
    color: #fff;
    border: none;
    outline: none;
}

.slider-button.prev {
    left: 0;
}

.slider-button.next {
    right: 0;
}

.beer-slider {
    display: inline-block;
    position: relative;
    overflow: hidden; }
    .beer-slider *, .beer-slider:before, .beer-slider:after,
    .beer-slider *:before,
    .beer-slider *:after {
      box-sizing: border-box; }
    .beer-slider img, .beer-slider svg {
      vertical-align: bottom; }
    .beer-slider > * {
      height: 100%; }
    .beer-slider > img {
      max-width: 100%;
      height: auto; }
  
  .beer-reveal {
    position: absolute;
    left: 0;
    top: 0;
    right: 50%;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.35s; }
    .beer-reveal > :first-child {
      width: 200%;
      max-width: none;
      height: 100%; }
    .beer-reveal > img:first-child {
      height: auto; }
  

  .beer-range {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    height: 100%;
    margin: 0;
    left: -1px;
    width: calc(100% + 2px);
    cursor: pointer;
    -webkit-appearance: slider-horizontal !important;
    -moz-appearance: none;
    opacity: 0;
    -ms-touch-action: auto;
    touch-action: auto; }
    .beer-range::-webkit-slider-thumb {
      -webkit-appearance: none;
      height: 300vh; }
    .beer-range::-moz-range-thumb {
      -webkit-appearance: none;
      height: 300vh; }
    .beer-range::-ms-tooltip {
      display: none; }

  .beer-handle {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    color: #000;
    background: rgba(255, 255, 255, 0.5);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0);
    transition: background 0.3s, box-shadow 0.3s, opacity 0.5s 0.25s; }

    .beer-reveal {
        border-right: 3px solid white;
    }
    .beer-handle:before, .beer-handle:after {
      content: '';
      position: absolute;
      width: 10px;
      height: 10px;
      top: 50%;
      border-top: solid 2px;
      border-left: solid 2px;
      transform-origin: 0 0; }
    .beer-handle:before {
      left: 10px;
      transform: rotate(-45deg); }
    .beer-handle:after {
      right: 0;
      transform: rotate(135deg); }
  
  .beer-range:focus ~ .beer-handle {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.4); }
  
  .beer-slider[data-beer-label]:after,
  .beer-reveal[data-beer-label]:after {
    content: attr(data-beer-label);
    position: absolute;
    top: 1.5rem;
    line-height: 1;
    padding: 0.5rem;
    border-radius: 0.125rem;
    background: rgba(255, 255, 255, 0.75); }
  
  .beer-slider[data-beer-label]:after {
    right: 1.5rem; }
  
  .beer-reveal[data-beer-label]:after {
    left: 1.5rem; }
  
  .beer-slider[data-beer-label=""]:after,
  .beer-reveal[data-beer-label=""]:after {
    content: none; }
  
  .beer-ready .beer-reveal, .beer-ready .beer-handle {
    opacity: 1; }
  

  .imgslider{
    display: flex;
    justify-content: center;
  }  

    .tarifs-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        justify-content: center;
        padding: 20px;
      }
      
      .tarif {
        border: 1px solid #ccc;
        padding: 20px;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.500)
       
      }
      
      .price {
        font-size: 1.2em;
        color: #ff004c;
        margin-bottom: 15px;
        font-weight: bolder;
      }
      
      ul {
        list-style-type: none;
        padding: 0;
      }
      
      ul li {
        margin-bottom: 8px;
        font-size: 20px;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
      }
   
      
    .contact {
        max-width: 600px;
        margin: 50px auto;
        background-color: #ffffffc2;
        padding: 20px;
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .contact-form {
        display: grid;
        grid-gap: 10px;
    }
    
    label {
        font-weight: bold;
        font-family: 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }
    
    input, textarea {
        width: 100%;
        padding: 10px;
        margin-top: 5px;
        margin-bottom: 10px;
        box-sizing: border-box;
        border: 1px solid #ccc;
        border-radius: 3px;
        font-family: 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }
    
    input[type="submit"] {
        background-color: #4caf50;
        color: #fff;
        cursor: pointer;
        font-size: 20px;
        padding: 10px;
        border: none;
        border-radius: 3px;
        font-family: 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }
    
    input[type="submit"]:hover {
        background-color: #ffbb00;
    }