@import url('https://fonts.googleapis.com/css2?family=Londrina+Solid:wght@100;300;400;900&display=swap');

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

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #f5f5f5;
  }
  
::-webkit-scrollbar {
    width: 5px;
    background-color: #f5f5f5;
  }
  
::-webkit-scrollbar-thumb {
    background-color: #e46363;
  }

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 1,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

/* Navbar adjustments */
nav {
    background-color: transparent !important;
}

.logo_top {
    height: 40px;
}


.navbar-brand {
    color: #D32F2F;
    font-family: "Londrina Solid", sans-serif;
}


.titre {
    font-family: "Londrina Solid", sans-serif;
    font-weight: 900;
    font-size: 6em;
    line-height: 0.80;
    color: #000000;
}

.description {
    font-size: 1.4em;
   
    color: #000000;
}

.titre2 {
    font-family: "Londrina Solid", sans-serif;
    font-weight: 900;
    font-size: 2em;
    line-height: 0.80;
}

.description {
font-weight: 400;
}



.navbar-nav .nav-link.active, .navbar-nav .show>.nav-link {
    color: #fff;
}

.nav-link:focus, .nav-link:hover {
    color: #ff0000;
}

.nav-link {
    color: #979797;
    display: flex!important;
}






/* Assurer que le contenu soit au-dessus de l'image */
.navbar.container {
    position: relative;
    z-index: 2;
}


  /* Animation Pulse */
  @keyframes pulse {
    0% {
        transform: scale(1);
        color: #D32F2F; /* Couleur initiale */
    }
    50% {
        transform: scale(1.1); /* Agrandissement léger */
        color: #FF5722; /* Changement de couleur */
    }
    100% {
        transform: scale(1);
        color: #D32F2F; /* Retour à la couleur initiale */
    }
}

/* Style pour l'animation de pulse */
.animate-monde {
    display: inline-block;
    animation: pulse 3s infinite;
    font-weight: bold;
    position: relative; /* Important pour positionner les particules autour */
}

/* Conteneur des particules */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Assurez-vous que les particules sont derrière le texte */
    pointer-events: none; /* Empêche les interactions avec les particules */
}
 /* Limite la taille du conteneur des particules */
 .particles-container {
    position: absolute;
    top: 50%; /* Ajuster selon la position du mot "monde" */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px; /* Ajuste selon la taille du mot "monde" */
    height: 100px; /* Ajuste pour englober le mot "monde" */
    z-index: 0; /* S'assure que les particules sont en dessous du texte */
    pointer-events: none; /* Empêche les interactions */
}

/* Assurer que le texte est au-dessus des particules */
.titre {
    position: relative;
    z-index: 1;
}

.modal {
    backdrop-filter: blur(4px);
}


/* story */

.card-story {
    border-radius: 10px;
    height: 30em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card-story:hover {
    transform: scale(1.05);
}

.card-story img {
    object-fit: cover;
    border-radius: 10px;
    height: 30em;
}

.cart {
    overflow-y: auto;
    max-height: 100vh;
} 

.categories {
    backdrop-filter: blur(10px);
    padding: 10px 0 10px 0;
    background-color: #ffffff6b;
}


  .lign-mob {
    display: none!important;
  }

  .cart-float-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000; /* Make sure the button is on top */
    display: none; /* Hidden by default */
    padding: 15px 20px;
    border-radius: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  }
  


/*page contact*/
/*------------- page de contact--------------------*/
/* CSS pour l'animation du message d'alerte */

.alert-message {
    animation: fadeOut 20s ease forwards;
}

#alertMessage {
    text-align: center;
   
    z-index: 9;
}


/* CSS pour l'animation de fade out */

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        /* Masquer complètement le message */
    }
}

#contForm {
    display: flex;
    justify-content: center;
    align-items: center;
    height: fit-content;
}

#backG {
    align-items: center;
     /* Couleur de fond adaptée */
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.div-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.div-form label {
    margin-bottom: 5px;
    font-weight: 600;
    
}

.div-form input, 
.div-form select, 
.div-form textarea {
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    
    transition: box-shadow 0.3s ease;
}

.div-form input:focus, 
.div-form select:focus, 
.div-form textarea:focus {
    box-shadow: 0 0 5px rgba(255, 49, 49, 0.5);
}

#envoyer {
    background-color: #ff3131;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    
}

#envoyer:hover {
    background-color: #d92d2d;
    cursor: pointer;
}

textarea[name="message"] {
    resize: vertical;
    min-height: 100px;
}

.g-recaptcha {
    margin-top: 20px;
}


  /* Style pour le tumbler switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:checked + .slider:before {
    transform: translateX(26px);
  }
  
  /* Style pour le conteneur du tumbler */
  .tumbler-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
  }
  
  #deliveryModeText {
    font-weight: bold;
  }
  
  /*recapitulatif*/
  .ticket-container {
    background-color: white;
    padding: 20px;
    margin: 30px auto;
    border-radius: 15px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.ticket-header {
    border-bottom: 2px dashed #ccc;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.ticket-items {
    padding-bottom: 15px;
    margin-bottom: 15px;
}

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

.ticket-footer strong {
    font-size: 1.5em;
}

.ticket-title {
    font-weight: bold;
    font-size: 1.4em;
    text-align: center;
    margin-bottom: 10px;
    color: #e74c3c;
}

.item-name {
    font-size: 1.1em;
}

.ticket-info {
    border-bottom: 2px dashed #ccc;
    font-size: 1.1em;
}

.separator {
    border-bottom: 1px dashed #ccc;
    margin: 15px 0;
}

/* Style pour le lien actif */
.active span.nav-label {
    color: #ff3131; /* Couleur du texte de la page active */
}

.active  {
    color: #ff3131; /* Couleur de l'icône de la page active */
}

.icon {
    font-size: 50px;
    margin-bottom: 10px;
}
.bg-personal {
    background-color: #f0f9ff;
}

.card {
    border-radius: 10px;
}
.card-header {
    font-weight: bold;
    font-size: 1.2em;
}

/* Styles pour la mise en page en mosaïque */
.mosaic-item {
    position: relative;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.mosaic-item-nohover {
    position: relative;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.mosaic-item:hover {
    transform: scale(1.03);
}    

/* Afficher uniquement sur les appareils mobiles et tablettes */
@media (max-width: 1024px) {
    .lign-mob {
      display: block!important;
    }

    .inf-bottom {
        padding: 0 20px 0 20px;
    }

    .cart-float-button {
        display: block; /* Show only on small screens */
      }

      .cart {
        position: sticky!important;
        bottom: 0!important;
      }

   
  }