@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css?family=Muli:400,700&display=swap');
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}
nav {
    background-color: #FFFAFA;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border-bottom: 5px solid rgb(17, 17, 17);
    padding-top: 20px;
}
nav h1 {
    color: #2a2a2a;
    font-family: 'Playfair Display', sans-serif;
    font-size: 30px;
    position: relative;
    top: -7px;
}
nav .onglets {
    margin-top: 3px;
    margin-left: 300px;
    position: relative;
    top: -10px;
    cursor: pointer;
}
nav .onglets a {
    text-decoration: none;
    color: #000;
    margin-right: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #000;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url('images/img8.jpg');
    background-size: cover;
    color: #fff;
    padding: 50px;
}

header h1 {
    text-align: center;
}

header h4 {
    margin-top: 20px;
    text-align: center;
    border-bottom: 1px solid #fff;
}

header button {
    margin-top: 20px;
    display: block;
    margin: 20px auto 0;
    font-size: 20px;
    color: #fff;
    padding: 10px 20px;
    background:#2a2a2a;
    outline: none;
    border: none;
    cursor: pointer;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 3px rgb(17, 17, 17);
}

header button a {
    color: #fff;
    text-decoration: none;
}

header button:hover {
    transform: scale(1.05);
}

@media screen and (max-width:680px) {
    nav .onglets {
        margin-left: 0px;
        margin-bottom: 20px;
    }
    nav .onglets a {
        margin-right: 3px;
    }
}

.img-galerie {
    width: 80%;
    margin: 100px auto 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit , minmax(250px , 1fr));
    grid-gap: 1em;
}

.img-galerie img {
    width: 100%;
}

.full-img {
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    visibility: hidden;
}

.full-img img {
    width: 90%;
    max-width: 500px;
    margin-top: 2rem;
}

.description {
    text-align: center;
    position: relative;
    top: 40px;
}

.description h4 {
    font-weight: bold;
}

.prestation {
    margin: 20px;
}

.prestation p {
    font-size: 16px;
}

.prestations {
    margin-left: 20px;
}

.prestations p {
    font-size: 14px;
}

.nous-contacter {
    margin: 20px;
}

.nous-contacter h4 {
    padding-top: 20px;
}

.nous-contacter p {
    margin-top: 20px;

}

.formulaire1 {
    margin: 20px;
    background-color: rgb(47,79,79);
    color: white;
    width: 80%;
    height: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 20px;
}

#avis-form {
    max-width: 400px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  #avis-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
  }
  
  #avis-form input[type="text"],
  #avis-form textarea {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
  }
  
  #avis-form button[type="submit"] {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    font-size: 16px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
  }
  
  #avis-form button[type="submit"]:hover {
    background-color: #45a049;
  }
  
  #avis-liste {
    margin-top: 20px;
  }
  
  .avis {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .avis:last-child {
    margin-bottom: 0;
  }
  
  .avis h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
  }
  
  .avis p {
    margin: 0;
    font-size: 14px;
    color: #666;
  }
  

@media only screen and (max-width: 680px) {
    .avis {
        height: 50%;
        width: 50%;
    }
}

.avis-slider {
    position: relative;
    top: 50px;
}

.avis-slider .container-avis {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.items-avis {
    padding-bottom: 60px;
}

.avis-slider .items-avis {
    display: flex;
    align-items: center;
    width: fit-content;
    animation: carouselAnim 60s infinite alternate linear;
}

.avis-slider .entry-avis {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    width: 300px;
    background: white;
    margin: 1em;
    padding: .5em;
    border-radius: 10px;
    box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.05);
}

.avis-slider p {
    text-align: center;
    padding: 1em;
}

.avis-slider p.name {
    font-weight: bold;
}

@keyframes carouselAnim {
    from {
            transform: translate(0,0);
    }
    to {
        transform: translate(calc(-100% + (5*300px)));
    }
}

@media only screen and (max-width: 768px) {
    .avis-slider .items-avis {
        animation: carouselAnim 30s infinite alternate linear;
    }

@keyframes carouselAnim {
    from {
         transform: translate(0,0);
    }
    to {
        transform: translate(calc(-100% + (2*300px)));
    }
}

.avis-slider .faders-avis {
    width: 100%;
    position: absolute;
    height: 100%;
}

.avis-slider .left-avis .right-avis {
    background: linear-gradient(to right, rgba(245,245,245,1) 0%,rgba(255,255,255,0) 100%);
    width: 20%;
    height: 100%;
    position: absolute;
    z-index: 200;
}

.avis-slider .right-avis {
    right: 0;
    background: linear-gradient(to left rgba(245,245,245,1) 0% rgba(255,255,255,0));
}
}

footer {
    position: absolute;
    height: 100px;
    background-color: #FFFAFA;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    border-top:4px solid #2a2a2a;
    padding-top: 20px;
}

.footer-speciale {
    position: absolute;
    bottom: 0;
}

.footer-regroupe {
    display: flex;
    justify-content: space-evenly;
    text-align: center;
}

.footer-partie3 a {
    color:rgb(17, 17, 17);
    text-decoration: none;
    border-bottom: 1px solid #000;
    cursor: pointer;
}

.footer-partie4 {
    text-align: center;
}

@media screen and (max-width:680px) {
    .footer-regroupe {
        height: 100px;
        background-color: #FFFAFA;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .footer-partie4 {
        background-color: #FFFAFA;
        padding-top: 9px;
    }
}

/* Styles CSS pour le formulaire */
.formulaire-mail form {
    width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .formulaire-mail label {
    font-weight: bold;
  }
  
  input[type="text"],
  input[type="email"],
  textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
  }
  
  .formulaire-mail textarea {
    height: 120px;
  }
  
  .formulaire-mail button[type="submit"] {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #4caf50;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
  }
  
  .formulaire-mail button[type="submit"]:hover {
    background-color: #45a049;
  }
  