@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* FONTS */

 @font-face {
    font-family: 'DynaPuff';
    src: url('../css/fonts/DynaPuff/DynaPuff-Regular.ttf') format('woff2');
    font-weight: normal;
    font-style: normal;
}

h1,h2,h3,.hoverMenu,.police-perso,.btnPanier,.carousel-link span {
    font-family: 'DynaPuff', cursive !important;
}

.carousel-link span {
    font-size: medium;
}

body, .card{
color: #724b31;
font-size: larger;
font-weight: 400;

}
body {
    margin: 0;
    padding: 0;
    padding-top: 100px; /* Ajustez cette valeur en fonction de la hauteur de votre nav */
}

/* Style de la navbar */
.navBar {
    position: fixed;
    display: block;
    top: 0;
    width: 100%;
    background-color: #efeeec;
    color: white;
    transition: top 0.3s;
    z-index: 500;
   
}

.nav-hidden {
    top: -130px;
     /* Ajustez cette valeur en fonction de la hauteur de votre nav */
}

.fadeInElement {
    animation: fadeIn 0.5s ease-in-out;
}

.fadeOutElement {
    animation: fadeOut 0.5s ease forwards;
}

.bg-site {
    background-color: #efeeec;
}

.site-footer {
    position: absolute;
    bottom: auto;
    width: 100%;
    background-color: #b3aa92;
    color: #fff;
    padding: 20px;

}

.site-footer a {
    color: white;
}

.noLink a,
.noLink,
span.noLink {
    text-decoration: none !important;
    color: #906741;
}

.hoverMenu:hover {
    background-color: #d5c08b;
    border-radius: 20px;
    padding: 5px;
}

.hoverMenu {
    margin: 10px;
    padding: 5px;

}

.imgNav {
    margin: 10px;
    padding: 5px;
}

/* Background-Accueil */
.accueil {
    background-image: url('../image/bannierre.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
}


/* Style pour les petits écrans (mobile) */
@media (max-width: 768px) {
    body {
        background-size: cover; /* L'image couvre toute la zone visible */
        background-position: center top; /* Positionne l'image en haut au centre */
    }
}


.connexionbg {
    background-image: url('../image/connexionBg.png');
    background-repeat: no-repeat;
    background-size: cover;

}

.cookiePresentation {
    background-image: url('../image/bg/2.png');
    background-repeat: no-repeat;
    background-size: cover;

}

.a_savoir {
    background-image: url('../image/bg/2.png');
    background-repeat: no-repeat;
    background-size: cover;

}

.apropos {
    background-image: url('../image/bg/2.png');
    background-repeat: no-repeat;
    background-size: cover;
}


/* TEXT */
.uderline {
    text-decoration: underline;
    font-weight: 600;
}

p {
    text-align: justify;
}

.boxRs {
    width: 120px;
    height: 50px;
    position: fixed;
    opacity: 58%;
    bottom: 0px;
    right: 0px;
    background-color: #b3aa92;
    justify-content: center;
}

.boxRs:hover {
    opacity: 100%;
}


.boxCookiePanier {
    border-radius: 50px;
    border: #906741 solid 0.1px;
    width: 150px;
    height: 150px;
    perspective: 5000px;
    cursor: pointer;
}

.boxCookiePanierCommande {
    border-radius: 50px;
    border: #906741 solid 0.1px;
    width: 50px;
    height: 50px;
    perspective: 5000px;
    cursor: pointer;
}

.content-card {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 50px;
    transition: all 0.15s ease-out;
}

.content-card img {
    width: 100%;
    height: 100%;

}

.btnPanier {
    display: inline-block;
    width: 90%;
    padding: 10px 20px;
    border: 2px solid #906741;
    border-radius: 20px;
    text-align: center;
    color: white;
    font-weight: 500;
    text-decoration: none !important;
    background-color: #d5c08b;

}
.btnPanier.disabled {
    background-color: #d5c08b; /* Un peu plus gris */
    color: #e0e0e0; /* Texte légèrement grisé */
    border-color: #a8997c; /* Bordure grisée */
    opacity: 0.8; /* Rendre le bouton semi-transparent */
    pointer-events: none; /* Désactiver les interactions */
    cursor: not-allowed; /* Changer le curseur pour montrer que le bouton est désactivé */
}

.btnPanier:hover {
    border: 3px solid #906741;
}

.borderBox {
    border: 2px #906741 solid;
    border-radius: 10px;
}


@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}



.btn-number-moin {
    height: 100%;
    border-radius: 15px 0 0 15px;
    border: 2px solid #b3aa92;
    /* Applique une bordure à tous les côtés */
    border-right: none;
    /* Supprime la bordure droite */
}

.btn-number-plus {
    height: 100%;
    border-radius: 0 15px 15px 0;
    border: 2px solid #b3aa92;
    /* Applique une bordure à tous les côtés */
    border-left: none;
    /* Supprime la bordure gauche */
}

.input-number {
    height: max-content;
    border: 2px solid #b3aa92;
    /* Applique une bordure à tous les côtés */
    border-left: none;
    border-right: none;
    background-color: #efeeec;
    text-align: center;
}


/* TABLE BOOTSTRAP */
.tableBootStrapPerso {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #b3aa92;
}

.tableBootStrapPerso th,
.tableBootStrapPerso td {
    background-color: #efeeec !important;
    border: 0px solid #b3aa92;
    border-bottom: 1px solid #b3aa92 !important;

}

.search-input {
    background-color: #efeeec;
    border: 1px solid #b3aa92;
}

.page-link {
    background-color: #efeeec;
    border: 1px solid #b3aa92;
}

.boxCookie {
    border-radius: 50px;
    border: #906741 solid 0.1px;
    width: 300px;
    height: 250px;
    perspective: 5000px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.borderImg img {
    border-radius: 50px;
    border: #906741 solid 0.1px;
    width: 230px;
    height: 180px;
}

.boxPanier {
    width: 150px;
    height: 150px;
    perspective: 5000px;
    cursor: pointer;
}

.boxCookie img,
.boxPanier img {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    transition: opacity 0.5s ease;
}

.boxCookie img.img2,
.boxPanier img.img2 {
    opacity: 0;
}

.boxCookie:hover img.img1,
.boxPanier:hover img.img1 {
    opacity: 0;
}

.boxCookie:hover img.img2,
.boxPanier:hover img.img2 {
    opacity: 1;
}

/* SIDE BAR */

/* Custom styles for the side drawer */
#mySidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    background-color: rgba(145, 106, 70);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    color: white;
}

#mySidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: white;
    display: block;
    transition: 0.3s;
}

#mySidenav a:hover {
    color: #f1f1f1;
}

#mySidenav .closebtn {
    color: white;
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* Opacité à 50% */
    z-index: 100;
}

/* Main content with margin to shift when the drawer is open */
#main {
    transition: margin-left .5s;
    padding: 16px;
}

.logNew {
    z-index: 1;
    position: absolute;
    top: -15px;
    right: 0px;
    width: 50px;
    height: 50px;
}
.logNew img {
    width: 60px;
    height: 60px;
}

/* MODE MOBILE */

@media (max-width: 850px) {
.logNew {
    z-index: 1;
    position: absolute;
    top: -15px;
    right: 0px;
    width: 50px;
    height: 50px;
}
.logNew img {
    width: 45px;
    height: 45px;
}

.btnPanier{
font-size: small;
}
.nav-hidden {
    top: -200px;
     /* Ajustez cette valeur en fonction de la hauteur de votre nav */
}
    .boxCookie {
        border-radius: 50px;
        border: #906741 solid 0.1px;
        width: 150px;
        height: 150px;
        perspective: 5000px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
    }

    .btnPanier {
        display: inline-block;
        width: 90%;
        padding: 10px 20px;
        border: 2px solid #906741;
        border-radius: 20px;
        text-align: center;
        color: white;
        font-weight: 500;
        text-decoration: none !important;
        background-color: #d5c08b;

    }

.borderImg img {
    border-radius: 50px;
    border: #906741 solid 0.1px;
    width: 150px;
    height: 150px;
}
}

@media (max-width: 450px) {
/* Background-Accueil */
.accueil {
    background-image: url('../image/mobile.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 80vh;
}
}