@import url('https://fonts.cdnfonts.com/css/momcake');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --blanc: #ffffff;
    --gris: #B0B0B0;
    --noirt: rgba(0, 0, 0, 0.5);
    --rouge: #7e0000;
    --bleu-france: #0055A4;  /* Bleu du drapeau */
    --blanc-france: #ffffff; /* Blanc du drapeau */
    --rouge-france: #EF4135; /* Rouge du drapeau */
    --bleu-francet: rgba(0, 85, 164, 0.7);  /* Bleu du drapeau */
    --blanc-francet: rgba(255, 255, 255, 0.7); /* Blanc du drapeau */
    --rouge-francet: rgba(239, 65, 53, 0.7); /* Rouge du drapeau */
    --noir: #272727;
    --linear1 : #3B3945;
    --linear2 : #1A191E ;
}

.container {
    color: var(--blanc) !important;
}

/* Vidéo de fond */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(1.8); /* Ajuste la luminosité (1 = normal, >1 = plus lumineux) */
}

/* Style des liens de la navbar */
.nav-link {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    position: relative;
    color: var(--gris); /* Couleur grise par défaut pour tous les éléments */
    font-size: 1.2rem; /* Taille de police */
    transition: color 0.3s, opacity 0.3s; /* Transition pour la couleur du texte */
}

/* Lorsqu'un élément est actif, afficher la couleur blanche */
.nav-link.active {
    color: var(--blanc) !important; /* Couleur blanche pour l'élément actif */
}

/* Soulignage sous les liens */
.nav-link::after {
    content: '';
    position: absolute;
    left: 50%; /* Positionne au centre */
    bottom: 0px; /* Ajuste l'espacement sous le texte */
    width: 70%;
    height: 5px; /* Contrôle l'épaisseur du surlignage */
    background: linear-gradient(
            to right,
            var(--linear1) 0%,
            var(--linear2) 100%
    ); /* Couleur du soulignement */
    border-radius: 15px;
    transform: translateX(-50%); /* Ajuste pour centrer exactement */
    opacity: 0; /* Le soulignage est invisible par défaut */
    transition: opacity 0.3s; /* Transition douce pour l'apparition */
}

/* Affiche le soulignage pour l'élément actif */
.nav-link.active::after {
    opacity: 1; /* Le soulignage est visible pour l'élément actif */
}

/* Affiche le soulignage au survol */
.nav-link:hover::after {
    opacity: 1; /* Affiche le soulignage au survol */
}

/* Lors du survol, changer la couleur du texte en blanc */
.nav-link:hover {
    color: var(--blanc); /* Le texte devient blanc au survol */
}

/* Style pour le texte avec fond */
.textbg {
    padding-bottom: 10px;
    font-size: 3em;
    font-weight: 600;
}

/* Style pour le bouton de notification */
.bouton-notif {
    font-size: 22px;
    font-weight: 600;
    border-radius: 4px !important;
    text-decoration: none;
    transition-duration: .4s;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

/* Style pour les éléments de la navbar */
.navbar-nav {
    padding: 0.5rem 2rem;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

/* Couleur du texte du brand */
.navbar-brand {
    color: var(--blanc) !important;
}

/* Espacement entre les éléments de la navbar */
.navbar-nav li {
    margin-right: 0.5rem; /* Espacement entre chaque élément de la liste */
}

.navbar-toggler {
    border-color: var(--blanc); /* Bordure blanche */
}

.navbar-toggler-icon {
    filter: invert(1); /* Inversion de la couleur en blanc */
}

.btn{
background: linear-gradient(
            to right,
            var(--linear1) 0%,
            var(--linear2) 100%
    );
    color: var(--blanc);
    font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;

    text-decoration: none;
}
a {
    color: var(--blanc) !important;
    text-decoration: none !important;
}

.bouton-notif {
    background-color: var(--noirt);
    border-radius: .5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
    color: var(--blanc);
    display: flex;
    flex-direction: column;
    font-size: 22px;
    font-weight: 600;
    justify-content: center;
    margin-top: 1vw;
    padding: 8px 50px;
    text-align: center;
    text-decoration: none;
    transition-duration: .4s;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
}
.bouton-notif:hover {
    background: linear-gradient(90deg, var(--bleu-france) 54%, var(--blanc-france) 54%, var(--blanc-france) 84%, var(--rouge-france) 84%);
    color: var(--noir);
    border-color: var(--blanc);
    transform: translateY(-10px); /* Déplace le bouton vers le haut */
}

.navbar-brand {
    background: linear-gradient(90deg, var(--bleu-france) 53%, var(--blanc-france) 53%, var(--blanc-france) 83%, var(--rouge-france) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; /* Rend le texte transparent pour laisser apparaître le gradient */
    font-weight: bold; /* Ajout d'un effet gras pour un meilleur rendu */
    font-size: 24px; /* Taille ajustable selon tes besoins */
    text-decoration: none; /* Supprime le soulignement */
}

.navbar-brand:hover {
    opacity: 0.8; /* Effet au survol pour une légère atténuation */
}


/* Styles des notifications */
.notifications-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.notification {
    background: var(--bleu-france);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease-in-out;
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.patchnote-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.patchnote-item {
    width: 300px;
    background: #222;
    color: #fff;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.patchnote-item img {
    width: 100%;
    border-radius: 10px;
}

.patchnote-item h3 {
    margin: 10px 0;
}

.patchnote-item small {
    color: #aaa;
}

.footer {
    position: fixed;
    display: flex;
    justify-content: center; /* Centre les éléments horizontalement */
    align-items: center; /* Centre verticalement */
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.5);
    color: #fff;
    padding: 10px ;
    font-size: 14px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.42);
}

.footer-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%); /* Centre exactement le texte */
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap; /* Empêche le texte de se couper */
}
.telephone{
    display: none;
}


/* Icônes alignées à droite */
.footer .icons {
    display: flex;
    gap: 15px;
    margin-left: auto; /* Les pousse complètement à droite */
}

.footer .icons a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
}




.background-site{
 margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, #3B3945, #1A191E);
  color: #fff;
}

/* Header */
.timeline-header {
  text-align: center;
  margin: 40px 0;
  font-size: 1.2rem;
  font-weight: bold;
  background: linear-gradient(
            to right,
            var(--linear1) 0%,
            var(--linear2) 100%
    );
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.timeline-header i {
  margin-left: 8px;
  font-size: 1.3rem;
}



/* ---- Items ---- */
.timeline {
  position: relative;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 50px 0;
}

/* Ligne centrale */
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  left: 50%;
  width: 4px;
  background: #fff;
  transform: translateX(-50%);
}

/* ---- Items ---- */
.timeline-item {
  width: 50%;
  position: relative;
  margin: 40px 0;
  display: flex;
}

/* ---- Contenu bloc ---- */
.timeline-item .content {
 background: linear-gradient(
            to right,
            var(--linear1) 0%,
            var(--linear2) 100%
    );
  padding: 20px;
  border-radius: 10px;
  color: white;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
  max-width: 350px; /* largeur fixe pour rester propre */
  transition: all 0.3s ease;
}

/* ---- Côté gauche ---- */
.timeline-item.left {
  justify-content: flex-end;   /* positionne le bloc contre la ligne centrale */
  text-align: left;            /* texte aligné à gauche */
  padding-right: 40px;         /* espace avec la ligne */
}

.timeline-item.left .content {
  text-align: left;
  
  
  /* assure le texte aligné à gauche */
}

.timeline-item.left::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 30px;
  height: 2px;
  background: #fff;
  transform: translateY(-50%);
}

/* ---- Côté droit ---- */
.timeline-item.right {
  left: 50%;
  justify-content: flex-start;
  text-align: left;
  padding-left: 40px;
}

.timeline-item.right::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 30px;
  height: 2px;
  background: #fff;
  transform: translateY(-50%);
}

/* ---- Hover ---- */
.timeline-item .content:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}


/* ---- Animation scroll ---- */
.timeline-item,
.timeline-item .content {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

/* Quand la classe .show est ajoutée par le JS */
.timeline-item.show,
.timeline-item.show .content {
  opacity: 1;
  transform: translateY(0);
}

/* Effet légèrement décalé gauche/droite */
.timeline-item.left .content {
  transform: translateX(-50px);
}
.timeline-item.right .content {
  transform: translateX(50px);
}

.timeline-item.left.show .content,
.timeline-item.right.show .content {
  transform: translateX(0);
  opacity: 1;
}

.discord-channel {
  display: inline-block;
  background-color: #5865F2;   /* bleu discord */
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 3px 8px;
  border-radius: 5px;
  font-family: "Whitney", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-decoration: none;
  transition: background 0.2s ease;
}

.discord-channel:hover {
  background-color: #4752C4;   /* bleu foncé au hover */
}

.mt-8 {
    margin-top: 9rem;
}

.bg-dev{
  color: var(--blanc);
  background-color: #d4ab04;

}
.bg-resp{
  background-color: #4379FF;
}

.bg-admin{
  background-color: #FF615C;
}

.bg-modo{
  background-color: #E0B505;
}

.bg-support{
  background-color: #D8913F;
}

.bg-douanier{
  background-color: #172E6B;
}

.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;

}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}


.avatar-anim {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.avatar-anim:hover {
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0px 8px 20px rgba(0,0,0,0.3);
}


@media screen and (max-width: 990px) {
    .navbar {
        text-align: center;
    }

    .navbar a {
        display: block;
        padding: 8px 0; /* Ajuste l'espacement */
    }

    .nav-link::after {
        content: '';
        position: absolute;
        left: 50%; /* Positionne au centre */
        bottom: 0px; /* Ajuste l'espacement sous le texte */
        width: 20%;
        height: 5px; /* Contrôle l'épaisseur du surlignage */
        background: linear-gradient(
            to right,
            var(--linear1) 0%,
            var(--linear2) 100%
    );
        border-radius: 10px;
        transform: translateX(-50%); /* Ajuste pour centrer exactement */
        opacity: 0; /* Le soulignage est invisible par défaut */
        transition: opacity 0.3s; /* Transition douce pour l'apparition */
    }
    body.navbar-open::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--noirt);;
        z-index: 997; /* S'assure que c'est sous la navbar */
        transition: background 0.3s ease-in-out;
    }
}

@media screen and (max-width: 768px) {
.telephone{display: block;}
.ordi{display: none;}
}