* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    z-index: 2;
}

/*------------------------------Fond animé-------------------------------------*/


.background {
    height: inherit;
    width: max-content;
    display: flex;
    position: absolute;
    flex-direction: column;
    top: -100px;
    left: -200px;
    z-index: 10;
}

.background-row {
    height: inherit;
    width: max-content;
    display: flex;
    flex-wrap: wrap;
}

.forground {
    height: inherit;
    width: max-content;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: -200px;
    left: -200px;
    z-index: 11;

}

.foreground-row {
    height: inherit;
    width: max-content;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.pattern {
    width: 100px;
    height: 100px;
}

/*-------------------------------------------------------------------*/

header {
    position: fixed;
    display: flex;
    width: 100vw;
    height: 80px;
    background-color: #3c2c34;
    z-index: 4;
    color: #FBDDB5;
    justify-content: space-evenly;
    align-items: center;

}

nav ul.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center; /* Centrer les éléments horizontalement */
}

nav ul.menu li {
    display: inline-block; /* Afficher les éléments en ligne */
    margin: 0 20px; /* Ajouter un espacement horizontal entre les éléments */
}

nav ul.menu li a {
    text-decoration: none;
    color: #FBDDB5;
    font-weight: bold;
    font-size: 16px;
}

.logo-header {
    text-align: center;
    width: 100px;
    height: auto;
}

.social {
    display: inherit; /* Afficher les éléments en ligne */

}

.fb {
    background-image: url('images/facebook.svg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 24px;
    height: 24px;
}

.insta {
    background-image: url('images/insta.svg');
    width: 24px;
    height: 24px;
    margin-right: 40px;
}

main {
    position: relative;
    width: 100vw;
    height: 100vh;
    z-index: 0;
}

h1, h3 {
    text-align: center;
    margin: auto 20px;
}


/*-------------------------------------------------------------------*/


.slide {

    width: inherit;
    height: inherit;
    position: relative;
    z-index: 1;
}

.slide-text {
    display: flex;
    justify-content: space-evenly;
    background-color: #DFAF2C;
    /* background-color: #6D7B64; */
    width: inherit;
    height: 100vh;
    z-index: 2;
}

.slide-text .text {
    flex: 0.5;
    margin: auto 0;
    max-width: 560px;
    margin-left: 50px;
}

#logo-main {
    position: relative;
    top: 100px;
    opacity: 0;
}

#logo-main2 {
    position: relative;
    opacity: 0;
}

hr {
    width: 0%;
    border: #534741 solid;
    margin-top: 5px;
    margin-bottom: 20px;
}

.text-content {
    color:#534741;
    position: relative;
    top: -100px;
    opacity: 0;
}

.slide-text .image {
    background-image: url('images/Slides/svg_radio&chaise.svg');
    background-position: center;
    background-repeat: no-repeat;
    flex: 0.5;
    margin: 40px 0;
}

.slide-carousel {
    background-color: #df7d2c;
    overflow: hidden;
    height: 110vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-carousel {
    position: absolute;
    background-image: url("images/fond_valeurs.png");
    background-size: cover;
    width: inherit;
    height: 110vh;
    z-index: 0;
    opacity: 10%;
}

.carousel {
    height: 80%;
    display: grid;
    align-items: center;
}

.carousel-row {
    display: grid;
    gap: 10px;
    grid-auto-flow: column;
    transition: all 0.5s;
    z-index: 5;
}

.carousel-row img {
    height: 190px;
    width: auto;
}

.btn {
    width: 100px;
    height: inherit;
    padding: 10px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background-color: #ffffff6c;
    font-size: 18px;
    z-index: 10;
  }
  .btn:active {
    transform: scale(1.1);
  }
  .btn:hover {
    background-color: #ffffffba;
  }

  .btn-cover {
    width: inherit;
    height: inherit;
    position: absolute;
    display: flex;
    justify-content: space-between;
  }
  
/*-------------------------------------------------------------------*/

.slide-contact {
    /* background-color: #df2c2c; */
    background-color: #FBDDB5;
    display: flex;
    justify-content: space-evenly;
    width: inherit;
    height: 100vh;
}

.contact-container {
    flex: 0.5;
    margin: auto 0;
    max-width: 560px;
    margin-right: 50px;
}

.telephone {
    background-image: url('images/Slides/telephone2.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 600px;
    flex: 0.5;
    margin: 40px 0;
    margin-left: 50px;
}

.slide-contact hr {
    width: 80%;
    margin: auto;
}

.infos {
    color: #534741;
    text-align: center;
}

.map {
    width: 280px;
    /* height: auto; */
    max-height: 400px;
    
}




@media screen and (max-width: 980px) {    

    .slide-text{
        align-items: center;
    }

    .slide-text .image {
        position: absolute;
        flex: 1;
        width: 50vw;
        height: 50vh;
        z-index: 3;
        opacity: 50%;
    }

    .slide-text .text {
        position: absolute;
        flex: 1;
        margin-left: 0;
        z-index: 4;

    }

    .btn-cover {
        align-items: center;
    }

    .btn {
        width: 100px;
        height: 30%;
        padding: 10px;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        background-color: #ffffff6c;
        font-size: 18px;
        z-index: 10;
      }

    .slide-contact{
        flex-direction: column;
        align-items: center;
    }

    .telephone {
        flex: 1;
        width: 50vw;
        height: 50vh;  
        background-image: url('images/Slides/telephone.svg');
        background-size: 150px;
        margin: 0;
    }

    .contact-container {
        margin: 20px;
    }

  }

  @media screen and (max-width: 600px) {
    #logo-main {
        position: relative;
        top: 71px;
        opacity: 0;
    }
    
    #logo-main2 {
        position: relative;
        opacity: 0;
    }

    nav ul.menu li {
        margin: 0 5px; /* Ajouter un espacement horizontal entre les éléments */
    }
    
    nav ul.menu li a {

        font-size: 12px;
    }

    .fb {
        width: 16px;
        height: 16px;
    }

    .insta {
        width: 16px;
        height: 16px;
        margin-right: 5px;
    }

    .btn {
        width: 100px;
        height: 100px;
        padding: 10px;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        background-color: #ffffff6c;
        font-size: 18px;
        z-index: 10;
      }

.carousel-row img {
    height: 130px;
    width: auto;
}
}		