/* Reset some default styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   
}

/* Conteneur de la bande d'annonce */
.navbar0 {
    margin: 0;
    padding: 0;
  }
  .containerz  {
    background-color: #1d3557;
    padding: 5px 0;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    border-bottom: 2px solid #457b9d;
}

 /* Section contenant les boîtes */
 

  /* Première boîte (boîte rose) */
  .box1 {
    width: 125px;
    height: 99%;
    position: relative; /* Position relative pour l'animation */
    margin-left: 30%;
    text-align: center;
    align-items: center;
  }

  /* Deuxième boîte (boîte bleue élargie) */
     /* Rendre la mise en page responsive */
  @media (max-width: 780px) {
      .containerz {
    display: flex;
    justify-content: space-between; /* Espacement entre les boîtes */
    height: 50px; /* Hauteur de la section */
          
    flex-wrap: nowrap; /* Permet aux éléments de se réorganiser sur les petits écrans */
  }

    .box1{
      min-width: 90px;
      margin-left: 3%;
           }
          
     
     /* Conteneur de texte */
         #text-container {
            overflow: hidden;
      font-size: 11px; /* Réduire la taille de police sur les petits écrans */
      padding: 4px;
      
    }
    #announcement {
        
        width: 45%;
        height: 50px;
        overflow: hidden;
        position: relative;
        display: flex;
        align-items: center;
      }
  
      /* Animation de texte apparaissant lettre par lettre */
      @keyframes typing {
        from {
          width: 0;
        }
        to {
          width: 100%;
        }
      }
  }

  /* Boîte contenant les titres */
  .box {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
  }

  .titles-container {
    width: 100%;
    height: 100%;
    transition: transform 1s ease-in-out;
    
  }

  .title {
    width: 100%;
    height: 50px; /* Hauteur des titres */
    display: flex;
    text-align: center;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
  }

  .title-1 {
    background-color: #ff2600; /* Couleur rouge */
  }

  .title-2 {
    background-color: #ffffff; /* Couleur bleue */
  }

  .body3 {
        font-family: Arial, sans-serif;
       color: rgb(255, 255, 255);
        width: 520px;
        margin-right: 670px;
      }
  
      /* Zone de texte avec une hauteur fixe */
      #announcement {
        width: 100%;
        height: 50px;
        overflow: hidden;
        position: relative;
                  display: flex;
                  align-items: center;
      }
  
      /* Conteneur de texte */
      .typing-container {
        font-family: 'Courier New', monospace;
        font-size: 20px;
        white-space: nowrap;
        display: inline-block;
                  border-right: 4px solid white; /* Simule le curseur de saisie */
      }

/* Navbar 2*/

        /* Navbar */
        .navbar {
            background-color: rgb(200, 185, 188);
            border-bottom: 2px solid rgb(226, 166, 0);
            color: #fff;
            padding: 10px;
            display: grid;
            grid-template-columns: 1fr auto 1fr; /* Trois sections : gauche, centre, droite */
            align-items: center;
            position: fixed;
    top: 50px;
            left: 0;
            width: 100%;
            z-index: 1000;
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
        }

        .navbar img {
            width: 90px; /* Taille par défaut du logo */
            height: auto;
            justify-self: center; /* Centre le logo */
        }

        .navbar p {
            font-size: 16px;
            color:  rgb(5, 41, 96);
            margin: 0;
            white-space: nowrap; /* Empêche le passage à la ligne */
            overflow: hidden;
            text-overflow: ellipsis; /* Tronque le texte si trop long */
        }


        .dropdown {
            justify-self: end; /* Aligne le menu à droite */
        }

       /* Contenu principal du menu déroulant */
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #444;
    color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
    padding: 20px;
    z-index: 1;
    text-align: center;
    border-radius: 8px;
}
.dropdown-content p{
    color: #fff;
}

/* Bouton principal */
.btn {
    background-color: #555;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #666;
}

/* Boîte Useful Tools */
.useful-tools {
    margin-top: 15px;
    text-align: center;
}

.useful-btn {
    background-color: #007BFF;
    color: white;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.useful-btn:hover {
    background-color: #0056b3;
}

/* Liens dans Useful Tools */
.useful-links {
    display: none;
    margin-top: 10px;
}

.useful-link {
    display: block;
    text-decoration: none;
    background-color: #f4f4f4;
    color: #333;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
        /* Responsive */
        @media (max-width: 768px) {
            .navbar {
                grid-template-columns: 1fr auto 1fr; /* Garde les trois sections */
                padding: 5px;
            }

            .navbar img {
                width: 70px; /* Réduit la taille du logo */
            }

            .navbar p {
                font-size: 12px; /* Réduit la taille de la date */
                text-align: left;
            }

            .btn {
                font-size: 12px; /* Réduit la taille des boutons */
                padding: 5px 10px;
            }
        }










/* Navbar 
.navbar {
    min-width: 100%;
    background-color: rgba(255, 192, 203, 0.7);  Couleur rose avec transparence 
    color: black;
    padding: 10px;
    z-index: 999;
    border-bottom: 2px solid rgb(226, 166, 0); /* Bordure noire *
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 50px;
}

.navbar a {
    color: #333;
    text-decoration: none;
    font-size: 1em;
    margin: 0 10px;
    
    
}

.navbar img {
    height: 40px;
}

.navbar .nav-links {
    display: flex;
}
*/
/* Conteneur violet avec défilement */
/* Conteneur violet avec défilement */
.conteneur-violet {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 99.9%; /* Prend presque toute la largeur disponible par défaut */
    height: 190px; /* Hauteur par défaut */
    overflow: hidden;
    border: 1px solid rgb(196, 196, 196); /* Bordure noire */
    margin-top: 110px; /* Espace entre la navbar et le conteneur violet */
    margin-left: auto; /* Centrer horizontalement */
    margin-right: auto; /* Centrer horizontalement */
    box-sizing: border-box; /* Assurer un comportement cohérent */
}

@media (min-width: 1024px) {
    .conteneur-violet {
        width: calc(66.67% - 30px); /* Correspond à la largeur ajustée de .body2 */
        margin-right: 25%; /* Laisser de la place pour les grands titres */
    }
}

/* Sur les écrans d'ordinateur et tablettes */
@media (min-width: 768px) {
    .conteneur-violet {
        width: 66.67%; /* Prend 2/3 de la largeur de l'écran */
        height: 350px; /* Hauteur de 350px */
    }
}





/* .text-content {
    position: absolute; /* Position absolue par rapport au conteneur 
    color: white; /* Couleur du texte 
    text-align: center; /* Centre le texte 
    z-index: 1; /* Assure que le texte est au-dessus des images 
} */

/* Slider avec défilement horizontal */
.slider {
    display: flex;
    min-width: 100%;
    height: 100%; /* Assurez-vous que cela correspond à la taille de votre conteneur */
    animation: slide 30s linear infinite;
}

/* Chaque slide prend toute la largeur et hauteur du conteneur */
.slide {
    min-width: 100%; /* Chaque slide prend 100% de la largeur du conteneur parent */
   min-height: 100%;
    overflow: hidden;
    background-size: cover; /* Couvre tout le conteneur */
    background-position: center;
    background-repeat: no-repeat;
}

/* Styles pour les images */
/* Styles pour les images */
.slide img {
    width: 100%; /* Prend toute la largeur de son conteneur */
    height: 100%; /* Prend toute la hauteur de son conteneur */
    object-fit: cover; /* L'image couvre entièrement le conteneur sans se déformer */
}


/* Animation pour faire défiler chaque slide */
@keyframes slide {
    0% { transform: translateX(0); }
    11% { transform: translateX(0); }
    12% { transform: translateX(-100%); }
    22% { transform: translateX(-100%); }
    23% { transform: translateX(-200%); }
    33% { transform: translateX(-200%); }
    34% { transform: translateX(-300%); }
    44% { transform: translateX(-300%); }
    45% { transform: translateX(-400%); }
    55% { transform: translateX(-400%); }
    56% { transform: translateX(-500%); }
    66% { transform: translateX(-500%); }
    67% { transform: translateX(-600%); }
    77% { transform: translateX(-600%); }
    78% { transform: translateX(-700%); }
    88% { transform: translateX(-700%); }
    89% { transform: translateX(-800%); }
    100% { transform: translateX(-800%); }
}

/**************************************************************************************************************ddddddddddddddddddddddddddddddddddddd**************************************************/

/**************************************************************************************/
/* Popup Style */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999; /* S'assurer que le popup soit au-dessus du contenu */
}

.popup-content {
    background-color: #ff879d;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 80%;
    position: relative;
}

.popup-content h3 {
    margin-bottom: 20px;
    font-size: 1.5em;
}

.popup-content p {
    font-size: 1.1em;
    margin: 10px 0;
}

.popup-content a {
    color: #0078ff;
    text-decoration: none;
    font-weight: bold;
}

.popup-content a:hover {
    text-decoration: underline;
}

/* Bouton de fermeture */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2em;
    color: #333;
    cursor: pointer;
    z-index: 10000; /* S'assurer que la croix soit au-dessus de tout */
}

.close-btn:hover {
    color: #d9534f; /* Change la couleur du bouton de fermeture au survol */
}

 /* Media Query pour les écrans de petite taille */
 @media (max-width: 480px) {
    .popup-content {
        width: 90%; /* Augmente la largeur du popup pour les petits écrans */
        padding: 15px; /* Réduit le padding pour s'adapter aux petits écrans */
    }

    .popup-content h3 {
        font-size: 1.2em; /* Réduit la taille du titre */
    }

    .popup-content p {
        font-size: 1em; /* Réduit la taille des paragraphes */
    }

    .close-btn {
        font-size: 1.5em; /* Réduit la taille de la croix de fermeture */
        top: 5px; /* Ajuste la position du bouton de fermeture */
        right: 5px;
    }
}
/************************************************************************************************/

/* Bouton contact */
.contact-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #0078ff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.contact-button:hover {
    background-color: #005bb5;
}

/* Responsivité */
@media (max-width: 1024px) {
    .profile-list {
        grid-template-columns: repeat(2, 1fr); /* 2x2 pour les tablettes */
    }
}
.section-container,h1{
    font-size: 26px;
 }
.courseint{
    font-size: 26px;
 }

@media (max-width: 480px) {
    .profile-list {
        grid-template-columns: 1fr; /* 1x1 pour les smartphones */
    }
    .profile-card {
        padding: 15px;
        text-align: left;
    }
    .profile-photo {
        width: 80px;
        height: 80px;
    }
    .section-container,h1{
        font-size: 18px;
     }
     .coursint{
        font-size: 18px;
     }
}

/* Styles pour couleurs et effets de survol */
.profile-card:nth-child(1) {
    background-color: #fce4ec;
}
.profile-card:nth-child(2) {
    background-color: #e3f2fd;
}
.profile-card:nth-child(3) {
    background-color: #e8f5e9;
}
.profile-card:nth-child(4) {
    background-color: #fff9c4;
}
.profile-card:nth-child(5) {
    background-color: #fff3e0;
}
.profile-card:nth-child(6) {
    background-color: #e1f5fe;
}

/* Variations d'effets de survol */
.profile-card:nth-child(1):hover {
    transform: scale(1.05) rotate(10deg);
}
.profile-card:nth-child(2):hover {
    transform: scale(1.1) rotate(-10deg);
}
.profile-card:nth-child(3):hover {
    transform: scale(1.1) rotate(15deg);
}
.profile-card:nth-child(4):hover {
    transform: scale(1.05) rotate(-5deg);
}
.profile-card:nth-child(5):hover {
    transform: scale(1.05) rotate(5deg);
}
.profile-card:nth-child(6):hover {
    transform: scale(1.1) rotate(0deg);
}



/* Styles généraux pour le body principal */
.body2 {
    font-family: 'Roboto', sans-serif;
    margin: 0 auto; /* Centrer horizontalement */
    box-sizing: border-box;
    width: 100%; /* Par défaut, prend toute la largeur */
   /* border: solid 5px red;*/
}

@media (min-width: 768px) {
    .body2 {
        width: 66.67%; /* Prend 2/3 de la largeur */
    }
}

@media (min-width: 1024px) {
    .body2 {
        margin-right: 25%; /* Laisser de la place pour les grands titres à droite */
    }
}
/* Header Section */
.header-section {
    text-align: center;
    background-color: #fffae1;
    padding: 20px 0px;
    background: url('../media/princip.JPG') no-repeat center center;
    background-size: cover;
    color: #333;
}

.header-section img {
    height: 80px;
    margin-bottom: 15px;
}

.header-section h2 {
    font-size: 24px;
    margin-top: 20px;
    color: bisque;
}
/* Section contenant les raccourcis de navigation */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333; /* Couleur de fond de la barre de navigation */
    padding: 10px 0;
    z-index: 1000; /* Assurez-vous que la barre soit au-dessus du contenu */
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optionnel : ajoute une ombre sous la barre */
}
/* Style des boutons de navigation */
.nav-button {
    background-color: #28c135;
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

/* Effet au survol */
.nav-button:hover {
    background-color: #e04e3f;
    transform: scale(1.1);  /* Légère augmentation de la taille au survol */
}

/* Effet de focus (pour l'accessibilité) */
.nav-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 92, 71, 0.5);
}

#part .buttonn {
    display: inline-block;
    text-decoration: none;
    background-color: #4CAF50; /* Couleur de fond */
    color: white; /* Couleur du texte */
    padding: 15px 30px; /* Espace autour du texte */
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Ombre élégante */
    transition: all 0.3s ease; /* Transition douce pour le hover */
    font-size: 1.5rem; /* Taille du texte */
    font-weight: bold; /* Texte en gras */
    text-align: center; /* Centrer le texte */
}
.buttonn h1 {
    margin: 0; /* Supprime la marge par défaut du <h1> */
    font-size: inherit; /* Hérite de la taille définie dans le parent */
}

.buttonn:hover {
    background-color: #740000; /* Couleur plus foncée au survol */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3); /* Augmente l'ombre */
}

.buttonn:active {
    background-color: #3e8e41; /* Couleur encore plus foncée au clic */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); /* Réduit l'ombre au clic */
    transform: translateY(2px); /* Effet d'enfoncement */
}
/*-----------------------RACCOURCI-----------------------------*/
.raccourci {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 50px;
}
.raccourci a {
    display: inline-block;
    margin: 10px 20px;
    padding: 15px 25px;
    text-decoration: none;
    color: white;
    background-color: #3e8e41;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s;
}
.raccourci a:hover {
    background-color: #0056b3;
}
/* Media Query pour les smartphones */
@media screen and (max-width: 768px) {
    .raccourci {
        margin: 20px;
        display: flex;
        flex-direction: row; /* Force l'alignement horizontal */
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding: 10px 0;
    }

    .raccourci a {
        margin: 0; /* Supprime les marges sur mobile */
        flex: 0 0 auto;
        white-space: nowrap;
        min-width: max-content; /* Assure que le contenu ne soit pas coupé */
    }
}
/*----------------------------------------------------*/
/*----------------------------------------------------*/
/* Styles pour la section Crypto News */
.disclamer{
    color: rgba(140, 140, 140, 0.93); 
    font-style: italic;
    margin: 7px; 
    background-color: #28293e;
}
@media (max-width: 780px) {
    .disclamer{
        font-size: 7px;
    }
}
.crypto-section {
    min-width: 98%;
    padding: 20px;
    background-color: #28293e;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-title {
    
    font-size: 36px;
    color: #ff5c47;
    margin: 10px 0 20px;
}

.meta-info {
    font-size: 14px;
    color: #ccc;
}

.tags {
    margin: 10px 0;
}

.tag {
    display: inline-block;
    background-color: #444;
    color: #fff;
    padding: 5px 10px;
    margin-right: 10px;
    border-radius: 5px;
    font-size: 13px;
}

.article-intro {
    font-size: 28px;
    color: #e5e5e5;
    margin-top: 20px;
}

.advertisement-section {
    
    margin-top: 20px;
    padding: 10px 15px;
    text-align: center;
    background-color: #ff5c47;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.advertisement-section h2 {
    font-size: 18px;
    margin-bottom: 8px;
}

.advertisement-section p {
    font-size: 13px;
    margin-bottom: 10px;
}

.advertisement-section a {
    display: inline-block;
    background-color: #fff;
    color: #ff5c47;
    text-decoration: none;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.advertisement-section a:hover {
    background-color: #ffccb8;
    color: #ff4020;
}

.placeholder-image {
    margin: 20px auto;
    
    border-radius: 10px;
    width: 100%;
    max-width: 800px;
    height: auto; /* Hauteur du conteneur */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Remplit le conteneur sans déformer l'image */
}
.social-icons2{
    display: flex;              /* Utilise Flexbox pour centrer */
  justify-content: center;    /* Centre les icônes horizontalement */
  gap: 30px;                  /* Espace entre les icônes */
 
}
.social-icons2 a{
    text-decoration: none;      /* Supprime le soulignement */
    color: #919191;                /* Couleur par défaut des icônes */
    font-size: 48px;            /* Taille des icônes */
    display: inline-block;      /* Assure un bon comportement des icônes */
    transition: transform 0.3s ease, color 0.3s ease; /* Animation fluide */
}
.social-icons2 a:hover{
    transform: scale(1.4);      /* Agrandit l'icône au survol */
  color: #007bff;             /* Change la couleur au survol */
}
/* Ajout d'effets spécifiques par réseau (optionnel) */
.social-icons2 a:hover .fa-twitter {
    color: #1da1f2; /* Couleur officielle de Twitter */
  }
  .social-icons2 a:hover .fa-facebook {
    color: #3b5998; /* Couleur officielle de Facebook */
  }
  .social-icons2 a:hover .fa-instagram {
    color: #e4405f; /* Couleur officielle d'Instagram */
  }
  .social-icons2 a:hover .fa-linkedin {
    color: #0077b5; /* Couleur officielle de LinkedIn */
  }
/* Nouveau style pour le sous-titre supplémentaire */
.sub-title {
    font-size: 36px;
    color: #ff5c47;
    background: #b2b2b245;
    border-left: solid #0fff13;
    
}

.sub-section {
    font-size: 30px;
    color: #e5e5e5;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .placeholder-image{
        margin: 10px auto;
    }
    .social-icons2 a{
        
        font-size: 24px;            /* Taille des icônes */
        
    }
    .crypto-section {
        padding: 15px;
    }

    .article-title {
        font-size: 20px;
    }

    .meta-info {
        font-size: 12px;
    }

    .tag {
        font-size: 12px;
        padding: 4px 8px;
    }
    .advertisement-section {
        min-width: 98%;
        height: 75px;
        margin-top: 20px;
        padding: 5px 10px;
        text-align: center;
        background-color: #ff5c47;
        color: #fff;
        border-radius: 4px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
    
    .advertisement-section h2 {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .advertisement-section p {
        font-size: 10px;
        margin-bottom: 10px;
    }
   
    .advertisement-section a{
        
                padding: 1px 8px;
    }


    .article-intro {
        font-size: 14px;
    }
    
    .advertisement-section h2 {
        font-size: 16px;
    }

    .advertisement-section p {
        font-size: 12px;
    }

    .advertisement-section a {
        font-size: 12px;
        padding: 6px 10px;
    }

    /* Styles pour les sous-titres et la section */
    .sub-title {
        font-size: 20px;
        margin-top: 25px;
    }

    .sub-section {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .crypto-section {
        padding: 10px;
    }

    .article-title {
        font-size: 18px;
    }

    .meta-info {
        font-size: 11px;
    }

    .tag {
        font-size: 11px;
        padding: 3px 6px;
    }

    .article-intro {
        font-size: 13px;
    }

    .breadcrumb a {
        font-size: 12px;
    }

    .advertisement-section h2 {
        font-size: 14px;
    }

    .advertisement-section p {
        font-size: 11px;
    }

    .advertisement-section a {
        font-size: 11px;
        padding: 5px 8px;
    }

    /* Styles pour les sous-titres et la section */
    .sub-title {
        font-size: 18px;
        margin-top: 20px;
    }

    .sub-section {
        font-size: 15px;
    }
}

/*---------------------------------------------------- Section des services -----------------------------------------------*/

/* Section sombre avec texte clair */
.dark-section {
    padding: 60px 20px;
    background: url(../media/fff.jpg) fixed;
    color: #f4f4f4; /* Texte clair */
    
}

/* En-tête de la section */
.services-header {
    margin-bottom: 40px;
}

.services-title {
    text-align: center;
    font-size: 46px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

.services-intro {
    font-size: 28px;
    color: #cccccc;
    min-width:90%;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

/* Grille pour les services */
.services-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes fixes pour les grands écrans */
    justify-content: center;
}

/* Boîte individuelle pour chaque service */
.service-item {
    background: #5b5555e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(209, 1, 1, 0.9);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    min-height: 350px; /* Ajustement de la hauteur totale */
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgb(19, 255, 2);
}

/* Partie visuelle (images ou couleurs distinctes) */
.service-visual {
    height: 200px; /* Augmentation de la hauteur */
    width: 100%;
}
/* Détails de chaque service */
.service-details {
    padding: 15px;
    text-align: left;
    font-size: 16px;
    color: #f4f4f4;
}

.service-details p:first-child {
    font-weight: bold;
    margin-bottom: 10px;
}

.service-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #cccccc;
}

/* Responsivité */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes pour les tablettes */
    }
}
@media (max-width: 780px) {
    .services-intro {
            font-size: 11px;
            text-align: center;
            }
    .services-title{
        font-size: 26px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes pour les tablettes */
        
    }
    /* Boîte individuelle pour chaque service */
.service-item {
    background: #5b5555e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(209, 1, 1, 0.9);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    min-height: 150px; /* Ajustement de la hauteur totale */
    min-width: 180px;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgb(19, 255, 2);
}
/* Détails de chaque service */
.service-details {
    padding: 5px;
    text-align: left;
    font-size: 10px;
    color: #f4f4f4;
}

.service-details p:first-child {
    font-weight: bold;
    margin-bottom: 10px;
}

.service-desc {
    font-size: 10px;
    line-height: 1.5;
    color: #cccccc;
}
    
}
/* Partie visuelle (images ou couleurs distinctes) */
.service-visual {
    height: 100px; /* Augmentation de la hauteur */
    width: 100%;
}
 /* Conteneur principal */
 .cta-container {
    width: 98%;
    margin: auto;
    text-align: center;
}

/* Bouton principal */
.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff8e1; /* Couleur d'arrière-plan */
    color: #333333;
    padding: 20px 15px;
    border-radius: 50px;
    position: relative;
    width: 98%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    cursor: pointer;
    border: 5px solid #4caf50; /* Bordure verte */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 30px;
}

/* Effet lumineux sur les bordures */
.cta-button::before {
    content: "";
    position: absolute;
    inset: -2px; /* Légèrement à l'extérieur pour inclure les bordures */
    border-radius: 50px;
    background: linear-gradient(45deg, rgba(255, 152, 0, 1), rgba(255, 152, 0, 0.5), rgba(255, 152, 0, 1));
    z-index: -1; /* Derrière le bouton */
    animation: lightEffect 2s linear infinite;
}

/* Animation de la lumière */
@keyframes lightEffect {
    0% {
        background-position: 200% 0%;
    }
    100% {
        background-position: -200% 100%;
    }
}

/* Effet au survol */
.cta-button:hover {
    transform: scale(1.05); /* Zoom */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); /* Ombre */
}

/* Logo dans le bouton */
.cta-logo {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ff9800;
    border-radius: 50%;
}

/* Image dans le logo */
.cta-logo img {
    max-width: 70%;
    height: auto;
}

/* Texte dans le bouton */
.cta-text {
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
}

/* Responsivité */
@media (max-width: 768px) {
    .cta-button {
        padding: 15px 10px;
        font-size: 16px;
        max-width: 100%;
    }
    .cta-logo {
        width: 40px;
        height: 40px;
    }
}





/*************************************************************************************************************/
.crypto-related-section {
    width: 100%;
    padding: 20px;
    background-color: #28293e;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 22px;
    color: #ffffff; /* Améliore la visibilité du texte */
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    height: 400px; /* Ajuste la hauteur */
    width: 100%; /* Prend toute la largeur */
    overflow-y: auto; /* Ajoute un défilement vertical */
}

.card {
    background-size: cover;
    background-repeat: no-repeat;
    padding: 15px;
    border-radius: 10px;
    min-height: 200px;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card1 {
    background-size: cover;
    background-repeat: no-repeat;  /* Évite que l'image se répète */
    padding: 15px;
    border-radius: 10px;
    min-height: 200px;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Effet de transition pour les cartes */
}
.card2 {
    background-size: cover;
    background-repeat: no-repeat;  /* Évite que l'image se répète */
    padding: 15px;
    border-radius: 10px;
    min-height: 200px;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Effet de transition pour les cartes */
}
.card3 {
    background-size: cover;
    background-repeat: no-repeat;  /* Évite que l'image se répète */
    padding: 15px;
    border-radius: 10px;
    min-height: 200px;
    color: #000000;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Effet de transition pour les cartes */
}
.card4 {
    background-size: cover;
    background-repeat: no-repeat;  /* Évite que l'image se répète */
    padding: 15px;
    border-radius: 10px;
    
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Effet de transition pour les cartes */
}
.card1:hover {
    transform: scale(1.05); /* Agrandir légèrement la carte */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Ajouter une ombre légère */
}
.card2:hover {
    transform: scale(1.05); /* Agrandir légèrement la carte */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Ajouter une ombre légère */
}

.card h3 {
font-size: 18px;
margin-bottom: 10px;
}

.card p {
font-size: 14px;
margin-bottom: 10px;
color: #333;
}

.card .tags {
display: flex;
justify-content: center;
gap: 10px;
}

.card .tag {
font-size: 12px;
padding: 5px 8px;
background-color: #444;
color: #fff;
border-radius: 5px;
}
/**/
.card-link1 {
    text-decoration: none; /* Retirer les soulignements des liens */
    display: block; /* Rendre le lien un bloc pour occuper toute la carte */
    
}
.card-link2{
    text-decoration: none; /* Retirer les soulignements des liens */
    display: block; /* Rendre le lien un bloc pour occuper toute la carte */
   
}
.card-link3{
    text-decoration: none; /* Retirer les soulignements des liens */
    display: block; /* Rendre le lien un bloc pour occuper toute la carte */
}

/* Responsive Design */
@media (max-width: 768px) {
    .crypto-related-section .card-container {
        grid-template-columns: 1fr; /* 1x1 grid for smartphones */
        gap: 10px;
    }

    .crypto-related-section .card {
        padding: 10px;
        min-height: 150px;
        font-size: 14px;
    }

    .crypto-related-section .card h3 {
        font-size: 16px;
        padding: 8px;
    }
}

/********************************************************************************************************************************************************/
.news-list-section {
    width: 100%;
    padding: 20px;
    background-color: #28293e;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.news-list-section .section-title {
    color: #ff5c47;
    font-size: 22px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background-color: #28293e;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #fff;
    align-items: stretch; /* Assure une hauteur égale */
    text-decoration: none; /* Supprimer le soulignement du lien */
}

.news-image {
    flex: 0 0 190px; /* Largeur fixe */
    height: 120px; /* Hauteur fixe pour l'image */
    background-size: cover; /* Couvre entièrement la zone */
    background-position: center; /* Centrer l'image */
    border-radius: 8px;
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Espace entre les éléments */
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ff5c47;
}

.news-content .meta-info {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 10px;
}

.news-content .news-description {
    font-size: 14px;
    margin-bottom: 10px;
}

.news-content .tags {
    display: flex;
    gap: 10px;
}

.news-content .tag {
    font-size: 12px;
    padding: 5px 8px;
    background-color: #444;
    color: #fff;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
    }

    .news-image {
        flex: 0 0 auto;
        width: 100%;
        height: 150px; /* Taille fixe en mode mobile */
    }
}



/*****************************************************/

/* Service Wrapper for Label and Link */
.service-wrapper{
    min-width: 25%;
    height: 150px; /* Reduced height */
    position: relative;
}
.service-wrapper img{
    max-width: 100%;
   max-height: 100%;
    border-radius: 10px;
    box-shadow: 4px 8px 2px rgba(0,0,0,0.7);
}


.service-label {
    display: block;
    font-weight: bold;
    padding: 3px;
    text-align: center;
    font-size: 10px;
    height: 37px;
    
}

#mifoot{
    /* border-style: solid;/*/
    background: #fffae1;
    border-radius: 100px;
     display: flex;
     justify-content: space-between;
     min-width: 100%;
     height: 100px;
     margin-top: 60px;
     
 }
 #mifoot img{
   /* border-style: solid;
    border-color: #000000;/*/
    /*border-style: solid;/*/
    max-height: 80px;
    margin: 10px;
 
}
#mifoot h1{
    font-size: 1em;
    width: 100%;
    padding: 10px;
    margin: 5% 1% 1% 1%;
    color: #000000;
}
/******************************************************************************/

/* Section Carousel */
/* Conteneur principal */
.image-slider {
    border-style: solid;
    height: 100px;
    width: 100%;
    overflow: hidden; /* Cache les images qui débordent à gauche et à droite */
    position: relative;
    background: url('../media/nodes.gif') no-repeat fixed 50% 50%;
    background-size: cover;
    padding: 10px 0;
}

/* Track contenant les images */
.image-track {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    animation: scroll 30s linear infinite; /* Animation infinie */
    animation-play-state: running; /* Animation en cours par défaut */
}

/* Style des images */
.image-track img {
    height: 120px; /* Ajustez la hauteur selon vos besoins */
    margin-right: 20px; /* Espacement entre les images */
    transition: transform 0.3s ease; /* Animation au survol */
}

/* Ajoutez un effet au survol */
.image-track img:hover {
    transform: scale(1.1); /* Agrandit légèrement l'image au survol */
}

/* Animation pour faire défiler les images */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Arrêter l'animation au survol */
.image-slider:hover .image-track {
    animation-play-state: paused; /* Met en pause l'animation lors du survol */
}

/* Assurez-vous que les liens sont sans soulignement */
.image-track a {
    text-decoration: none;
}

/* Ajustement pour les petits écrans */
@media (max-width: 768px) {
    .image-track img {
        height: 80px; /* Réduire la taille des images sur mobile */
    }
}
/***********************************************************************************************

/* Responsive Design */
@media (max-width: 768px) {
    /* 3x3 Grid on Tablets */
    .service-wrapper {
        width: calc(33.333% - 20px);
    }
}
/*@media (max-width: 768px) {
    /* 3x3 Grid on Tablets *
    #mifoot h1 {
        width: calc(33.333% - 20px);
    }
}/*/

@media (max-width: 576px) {
    /* 2x2 Grid on Smartphones */
    .service-wrapper {
        width: calc(33.333%- 20px);
    }
}

/* Section des dons */
#der{
     padding: 60px 20px;
    background: url(../media/fff.jpg) ;
    color: #f4f4f4; /* Texte clair */
    text-align: center;
}
.dodo{
    padding: 20px;
    width: 100%;
}
.donations-section {
    text-align: center;
    background-color: #f1faee; /* Couleur d'arrière-plan douce */
    padding: 20px;
    margin: 0px auto;
    border: 3px solid #457b9d; /* Bordure subtile */
    border-radius: 10px; /* Coins arrondis */
    min-width: 90%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Ombre pour un effet élégant */
}

/* Titre principal */
.donations-section h2 {
    font-size: 1.8rem;
    color: #1d3557; /* Couleur foncée pour le titre */
    margin-bottom: 10px;
}

/* Texte descriptif */
.donations-section p {
    font-size: 1rem;
    color: #333; /* Couleur du texte */
    margin-bottom: 20px;
}

/* Conteneur des options de don */
.donation-options {
    display: flex;
    justify-content: center;
    gap: 30px; /* Espacement entre les options */
}

/* Style de chaque option de don */
.donation-option {
    background-color: #a8dadc; /* Couleur d'arrière-plan différente pour chaque option */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
    max-width: 250px;
}

/* Titre des options */
.donation-option h3 {
    font-size: 1.2rem;
    color: #1d3557;
    margin-bottom: 10px;
}

/* Texte des options */
.donation-option p {
    font-size: 1rem;
    color: #000;
    word-wrap: break-word; /* Permet à l'adresse crypto de s'afficher correctement */
    font-family: monospace; /* Style de police pour l'adresse crypto */
    background-color: #f8f9fa; /* Fond clair pour l'adresse */
    padding: 5px;
    border-radius: 4px;
}



/******************************************************/
/* Styles pour la section des grands titres */
.grands-titres {
    
    position: relative; /* Pour les petits écrans */
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%; /* Prend toute la largeur par défaut */
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box; /* Inclut padding et bordure dans les dimensions */
    overflow: hidden; /* Assure qu'aucun contenu ne déborde */
}

@media (min-width: 1024px) {
    .grands-titres {
        border-radius: 10px; /* Coins arrondis */
        margin-top: 45px;
        position: fixed; /* Fixe la section à droite */
        right: 0; /* Aligne à droite */
        top: 100px; /* Ajuste la hauteur */
        width: 25%; /* Prend 30% de la largeur */
     /* Supprimer les marges inutiles */
        padding: 0; /* Pas de padding externe */
    }
}
@media (max-width: 780px) {
    .grands-titres {
        background: url(../media/fff.jpg) no-repeat fixed 50% 50%;
    }
}
.grands-titres  h1{
    text-align: center;
    color: #f3f4f6;
}

/* Styles pour les boîtes des grands titres */
.boite {
    width: 100%;
    max-width: 600px;
    height: 300px;
    border: 2px solid #ccc;
    border-radius: 12px;
    margin: 0 auto;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative; /* Nécessaire pour positionner le contenu */
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer; 
}

.boite:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

/* Contenu (titre et texte) */
.boite .contenu {
    position: absolute;
    bottom: 0; /* Positionné en bas de la boîte */
    left: 0;
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
    color: white; /* Couleur du texte */
    text-align: center;
    box-sizing: border-box;
}

.boite .contenu h3 {
    margin: 0;
    font-size: 1.5rem;
}

.boite .contenu p {
    margin: 5px 0 0;
    font-size: 1rem;
}

/* Rendre la boîte entière cliquable */
.boite a {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Images en arrière-plan */
.boite-rouge {
    background-image: url('../media/n1.jpg');
}

.boite-bleue {
   /* background-image: url('image-bleue.jpg');*/
   background-color: #f8f9fa; /* Fond clair pour l'adresse */
}

.boite-verte {
    /* background-image: url('image-bleue.jpg');*/
    background-color: #f8f9fa; /* Fond clair pour l'adresse */
}

/* Styles pour les écrans plus petits */
@media (max-width: 1024px) {
    .boite {
        width: 95%;
        max-width: 100%;
        margin: 10px auto;
    }
}



/******************************************************/

/* *************FOOTER************** */
/* Style pour le footer */
.site-footer {
    background-color: #28293e;
    color: #fff;
    padding: 40px 0;
    font-size: 16px;
    font-family: Arial, sans-serif;
}

/* Section supérieure du footer */
.footer-top {
    display: flex;
    justify-content: space-between;
    padding: 20px 50px;
    border-bottom: 1px solid #444;
}

/* Logo dans le footer */
.footer-logo .logo {
    max-width: 150px;
    height: auto;
}

/* Section des liens dans le footer */
.footer-links {
    display: flex;
    justify-content: space-between;
    width: 80%;
}

/* Chaque section des liens */
.footer-links-section {
    width: 30%;
}

.footer-links-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-links-section ul {
    list-style: none;
    padding: 0;
}

.footer-links-section ul li {
    margin: 10px 0;
}

.footer-links-section ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-section ul li a:hover {
    color: #0078ff;
}

/* Section Partenaires */
.footer-partners {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap;
    padding: 0 50px;
}

.footer-partners h4 {
    font-size: 18px;
    margin-bottom: 15px;
    width: 100%;
    text-align: center;
    color: #fff;
}

.partner-item {
    width: 22%;
    text-align: center;
    margin-bottom: 20px;
}

.partner-logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.1);
}

.partner-info {
    font-size: 14px;
    color: #ddd;
}

.partner-info p {
    margin: 5px 0;
}

/* Section inférieure du footer */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 15px 50px;
    font-size: 14px;
    align-items: center;
}

/* À gauche : Copyright */
.footer-bottom-left p {
    margin: 0;
}

/* À droite : Liens vers politique de confidentialité et conditions */
.footer-bottom-right a {
    color: #ddd;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.footer-bottom-right a:hover {
    color: #0078ff;
}

/* Icônes des réseaux sociaux */
.social-icons a {
    color: #ddd;
    margin-right: 15px;
    font-size: 24px;
    transition: color 0.3s ease;
}

/* ...existing code... */
@keyframes gradientColors {
    0% { color: #3498db; } /* Blue */
    25% { color: #f1c40f; } /* Yellow */
    50% { color: #e74c3c; } /* Red */
    75% { color: #ecf0f1; } /* White */
    100% { color: #2c3e50; } /* Black */
}

.social-icon {
    margin: 0 15px;
    font-size: 30px;
    animation: gradientColors 5s infinite;
    transition: transform 0.3s, color 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
    color: #3498db;
}
/* ...existing code... */
.social-links {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.social-icon {
    margin: 0 15px;
    font-size: 30px;
    animation: gradientColors 5s infinite;
    transition: transform 0.3s, color 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
    color: #3498db;
}
/* ...existing code... */

/* Responsivité */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .footer-links-section {
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-right a {
        margin-left: 0;
        margin-top: 10px;
    }

    .footer-partners {
        justify-content: center;
    }

    .partner-item {
        width: 45%; /* 2 partenaires par ligne sur petits écrans */
    }
}
.online {
    border: solid pink;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    padding: 3px;
    background-color: #0fff13;
    position: fixed; /* Flottant */
    top: 500px; /* Position initiale */
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Ombre */
    cursor: grab; /* Curseur de déplacement */
    z-index: 3000; /* Toujours au-dessus */
    animation: blink 1.5s infinite;
}

.online:active {
    cursor: grabbing; /* Curseur lors du déplacement */
}

.online i {
    color: #fff; /* Couleur de l'icône */
    font-size: 24px; /* Taille de l'icône */
}
@keyframes blink {
    0%, 100% {
        opacity: 1; /* Complètement visible */
    }
    50% {
        opacity: 0.5; /* Semi-transparent */
    }
}

/**********************************PAGECOURSE*************************************/
/* Header Section */
.cheader-section {
    text-align: center;
    background-color: #fffae1;
    padding: 60px 0px;
    background: url('../media/course.jpg') no-repeat center center;
    background-size: cover;
    color: #333;
}

.cheader-section img {
    height: 80px;
    margin-bottom: 15px;
}

.cheader-section h2 {
    font-size: 24px;
    margin-top: 20px;
    color: bisque;
}

#cpart .buttonn {
    display: inline-block;
    text-decoration: none;
    background-color: #4CAF50; /* Couleur de fond */
    color: white; /* Couleur du texte */
    padding: 15px 30px; /* Espace autour du texte */
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Ombre élégante */
    transition: all 0.3s ease; /* Transition douce pour le hover */
    font-size: 1.5rem; /* Taille du texte */
    font-weight: bold; /* Texte en gras */
    text-align: center; /* Centrer le texte */
}
.cbuttonn h1 {
    margin: 0; /* Supprime la marge par défaut du <h1> */
    font-size: inherit; /* Hérite de la taille définie dans le parent */
}

.cbuttonn:hover {
    background-color: #45a049; /* Couleur plus foncée au survol */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3); /* Augmente l'ombre */
}

.cbuttonn:active {
    background-color: #3e8e41; /* Couleur encore plus foncée au clic */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); /* Réduit l'ombre au clic */
    transform: translateY(2px); /* Effet d'enfoncement */
}


.section-container {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../media/course.jpg') ;
   min-width: 98%;
   padding: 20px;
}

.section-container,h1{
   color: #e1f5fe;
   text-align: center;
}
.coursint{
    color: #e1f5fe;
    text-align: center;
 }

/* Liste des coursiers */
.profile-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
}

/* Carte des coursiers */
.profile-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    overflow: hidden;
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Effet de survol pour les cartes */
.profile-card:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Effet circulaire pour la photo */
.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background-size: cover;
    background-position: center;
    border: 4px solid #0078ff;
    transition: transform 0.3s ease-in-out;
}
.profile-card:hover .profile-photo {
    transform: rotate(360deg);
}

/* Informations du coursier */
.profile-info {
    font-size: 16px;
}
.profile-info h3 {
    margin: 10px 0;
    color: #0078ff;
}
.profile-info p {
    color: #000;
    margin: 5px 0;
}
@media (max-width: 768px) {
    /* Liste des coursiers */
.profile-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
}
       /* Carte des coursiers */
.profile-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    overflow: hidden;
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.3s ease;
    cursor: pointer;
    width: 180px;
}
}


/************************************PAGEWEB******************************************/
/* Header Section */
.wheader-section {
    text-align: center;
    background-color: #fffae1;
    padding: 60px 0px;
    background: url('../media/siteweb.png') no-repeat center center;
    background-size: cover;
    color: #333;
}

.wheader-section img {
    height: 80px;
    margin-bottom: 15px;
}

.wheader-section h2 {
    font-size: 24px;
    margin-top: 20px;
    color: bisque;
}

#wpart .buttonn {
    display: inline-block;
    text-decoration: none;
    background-color: #4CAF50; /* Couleur de fond */
    color: white; /* Couleur du texte */
    padding: 15px 30px; /* Espace autour du texte */
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Ombre élégante */
    transition: all 0.3s ease; /* Transition douce pour le hover */
    font-size: 1.5rem; /* Taille du texte */
    font-weight: bold; /* Texte en gras */
    text-align: center; /* Centrer le texte */
}
.wbuttonn h1 {
    margin: 0; /* Supprime la marge par défaut du <h1> */
    font-size: inherit; /* Hérite de la taille définie dans le parent */
}

.wbuttonn:hover {
    background-color: #45a049; /* Couleur plus foncée au survol */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3); /* Augmente l'ombre */
}

.wbuttonn:active {
    background-color: #3e8e41; /* Couleur encore plus foncée au clic */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); /* Réduit l'ombre au clic */
    transform: translateY(2px); /* Effet d'enfoncement */
}

/********************************************************************************************DESIGN DES TEXTES*******************************************************************************/
/* Style général */
.text-content {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 18px;
    color: #c5c5c5;
    margin: 2px;
}

/* Texte d'introduction avec un léger effet */
.intro-text {
    font-weight: bold;
    font-size: 1.1em;
    color: #c5c5c5;
}

.intro-text .highlight {
    color: #0078ff;
    font-weight: bold;
    text-transform: uppercase;
}

/* Texte principal */
.main-text {
    margin-top: 20px;
    font-size: 1.1em;
    color: #c5c5c5;
}

.main-text .highlight {
    color: #ff5722;
    font-weight: bold;
}

/* Texte pour les emplois créés */
.jobs {
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #4caf50;
}

.jobs .highlight {
    color: #ff9800;
    font-weight: bold;
}

/* Texte d'impact avec une couleur différente */
.impact {
    margin-top: 20px;
    font-size: 1.1em;
    color: #c5c5c5;
    font-style: italic;
}

/* Source */
.source {
    margin-top: 20px;
    font-size: 1em;
    color: #999;
    text-align: right;
}

/* Effet au survol des éléments de texte */
.text-content p:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Animation pour le texte qui apparaît */
.text-content p {
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}

.text-content p:nth-child(1) {
    animation-delay: 0.5s;
}

.text-content p:nth-child(2) {
    animation-delay: 1s;
}

.text-content p:nth-child(3) {
    animation-delay: 1.5s;
}

.text-content p:nth-child(4) {
    animation-delay: 2s;
}

.text-content p:nth-child(5) {
    animation-delay: 2.5s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
/* Responsivité */
@media (max-width: 768px) {
    /* Style général */
.text-content {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 11px;
    color: #333;
    margin: 2px;
}

/* Texte d'introduction avec un léger effet */
.intro-text {
    font-weight: bold;
    font-size: 1.1em;
    color: #c5c5c5;
}

.intro-text .highlight {
    color: #0078ff;
    font-weight: bold;
    text-transform: uppercase;
}

/* Texte principal */
.main-text {
    margin-top: 20px;
    font-size: 1.1em;
    color: #c5c5c5;
}

.main-text .highlight {
    color: #ff5722;
    font-weight: bold;
}

/* Texte pour les emplois créés */
.jobs {
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #4caf50;
}

.jobs .highlight {
    color: #ff9800;
    font-weight: bold;
}

/* Texte d'impact avec une couleur différente */
.impact {
    margin-top: 20px;
    font-size: 1.1em;
    color: #c5c5c5;
    font-style: italic;
}

/* Source */
.source {
    margin-top: 20px;
    font-size: 1em;
    color: #999;
    text-align: right;
}
}

/* ...existing code... */

.fixed-dialog {
    position: fixed;
    top: 0;
    left: -100%; /* Start off-screen */
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    z-index: 10000;
    transition: left 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.fixed-dialog.show {
    left: 0; /* Slide in */
}

.fixed-dialog .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2em;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    .fixed-dialog {
        width: 33.33%; /* 1/3 width on small screens */
    }
}

@media (min-width: 769px) {
    .fixed-dialog {
        width: 25%; /* 1/4 width on large screens */
    }
}
/* ...existing code... */

/* ...existing code... */
@media (min-width: 1024px) {
    .grands-titres {
        position: fixed; /* Fixe la section à droite */
        right: 0; /* Aligne à droite */
        top: 100px; /* Ajuste la hauteur */
    }
}
/* ...existing code... */
