@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

/****Icones***/

@font-face {
  font-family: "Bison";
  src: local("Bison"),
    url("font/Bison-Bold.ttf")
}

body {
  background-color: #99999;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbeQaKxFAEB6EN+cYN6xD7RYGpXpNndMmZgM5Dcs3YSNFDHUo2LGfZuukSWyUYirJAdYbF3MfqEKmjM+I2EfhA94iG3L7uKrR+GdWD73ydlIB+6hgref1QTlmgmbM3/LeX5GI1Ux1RWpgxpLuZ2+I+IjzZ8wqE4nilvQdkUdfhzI5QDWy+kw5Wgg2pGpeEVeCCA7b85BO3F9DzxB3cdqvBzWcmzbyMiqhzuYqtHRVG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AcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==);  
} 

h1 {
  font-family: Bison, sans-serif;
}

p {
  font-family: Montserrat, sans-serif;
}

/***Loader***/
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.8);
    transition: transform 0.5s ease-in-out; /* Ajoutez une transition pour l'animation */
    transform: translateY(0); /* Commence en bas de l'écran */
}

.loaded {
    transform: translateY(-100%); /* Translate l'overlay vers le haut */
}


    .progress-text {
        font-size: 40px;
    }


/***Particles Background

.parent-div-particles-js {
  position: relative;
  overflow: hidden;
}

.particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
    pointer-events: none;

}  ***/


/***old color : (-45deg, #3D5467, #DB5461, #3D5467, #DB5461)
                (-45deg, #CE2D4F, #6461A0, #314CB6, #0A81D1, #D1D5DE) 
                linear-gradient(-45deg, #EDF2F4, #EF233C, #D90429);
                linear-gradient(-45deg, #EF233C, #D90429);
                https://coolors.co/palette/2b2d42-8d99ae-edf2f4-ef233c-d90429 

                ***/

.bg-custom-dark  {
  background: linear-gradient(-45deg, #2B2D42, #8D99AE);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

@keyframes gradient {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

/*****video background****/

header {
  position: relative;
  background-color: black;
  height: 100vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

header .container {
  position: relative;
  z-index: 2;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: 1;
}

/* Media Query for devices withi coarse pointers and no hover functionality */

/* This will use a fallback image instead of a video for devices that commonly do not support the HTML5 video element */

@media (pointer: coarse) and (hover: none) {
  header {
    background: url('') black no-repeat center center scroll;
  }

  header video {display: ;
  }
}


/****Image***/

.masked-image img {
  mask-image: linear-gradient(to bottom, 
    rgba(0, 0, 0, 1) 95%,   /* Opaque jusqu'à 90% */
    rgba(0, 0, 0, 0) 100%   /* Transparent à partir de 90% */
  );
}

/*****Arrow*****/

.arrow {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.arrow span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 5px solid white;
    border-right: 5px solid white;
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 2s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes animate {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

/********Couleur & fix navbar pour navbar*****/

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: transparent;
    border-bottom-color: RGBA(220,53,69);
    border-right-color: transparent;
    border-bottom-width: 3px;
    border-left-color: transparent;
    border-top-color: transparent;
    color: RGBA(220,53,69);
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-bottom-color: RGBA(220,53,69);
    border-top-color: transparent;
    border-right-color: transparent;
    border-left-color: transparent;
    color: RGBA(220,53,69);
    border-bottom-width: 3px;
}

.nav-link {
    display: block;
    color: white;
    text-decoration: none;
}

.bg-nav {
background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(15,15,24,0.39117653897496496) 79%, rgba(0,212,255,0) 100%); 
}

.fade-out-nav {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.fade-in-nav {
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

/*vidéo en mode paysage*/ 

@media screen and (orientation: landscape) and (max-width: 1000px) {
  .ratio-16x9.modal-vid {
    --bs-aspect-ratio: 35%;
  }
}

@media (max-width: 992px) {
  .row.flex-lg-row-reverse {
    flex-direction: column-reverse;
  }
}

/***Background qui-suis-je ?***/

.video-container {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.video-container .container-fluid {
  position: relative;
}

/*****image pofil***/

.col .image-container {
display: flex;
}

.image-container {
display: flex;
justify-content: center;
}

.image-container img {
max-width: 100%;
}

@media (max-width: 991px) {
.image-container img {
max-width: 60%;
}
}

/****button 1****/

#wrapper{
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
}

.my-super-cool-btn{
  position:relative;
  text-decoration:none;
  color:#fff;
  letter-spacing:1px;
  box-sizing:border-box;
}
.my-super-cool-btn span{
  position:relative;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  width:200px;
  height:200px;
}
.my-super-cool-btn span:before{
  content:'';
  width:100%;
  height:100%;
  display:block;
  position:absolute;
  border-radius:100%;
  border: 3px solid #fff;
  box-sizing:border-box;
  transition: all .85s cubic-bezier(0.25, 1, 0.33, 1);
  box-shadow: 0 30px 85px rgba(0,0,0,0.14), 0 15px 35px rgba(0,0,0,0.14);
}

.my-super-cool-btn:hover span:before{
  transform:scale(0.9);
  box-shadow: 0 20px 55px rgba(0,0,0,0.14), 0 15px 35px rgba(0,0,0,0.14);
}

/********Hover effect pour cartes*****/

.hovereffect {
  width: 100%;
  height: 100%;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
}

.hovereffect .overlay {
  position: absolute;
  overflow: hidden;
  width: 80%;
  height: 80%;
  left: 10%;
  top: 10%;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: scale(0,1);
  -ms-transform: scale(0,1);
  transform: scale(0,1);
}

.hovereffect:hover .overlay {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.hovereffect img {
  display: block;
  position: relative;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}

.hovereffect:hover img {
    -webkit-filter: brightness(0.6);
  filter: brightness(0.6);
}

.hovereffect h2 {
  text-transform: uppercase;
  text-align: center;
  position: relative;
  background-color: transparent;
  color: #FFF;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(0,-100%,0);
  transform: translate3d(0,-100%,0);
}

.hovereffect a, .hovereffect p {
  color: #FFF;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(0,100%,0);
  transform: translate3d(0,100%,0);
}

.hovereffect:hover a, .hovereffect:hover p, .hovereffect:hover h2 {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

/* Shine */

.shine {
  position: relative;
  overflow: hidden;
}

.shine:before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 20%;
  height: 120%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-30deg);
    filter: blur(10px); /* Ajout d'un flou aux bords */

  transition: 0.6s;
} 

.shine:hover:before {
  left: 70%;
  background: rgba(255, 255, 255, 0.2);
}

/*******Modal scrolling******/

/* Cacher la barre de défilement */
::-webkit-scrollbar {
  display: none;
}

/* Activer le défilement avec la barre cachée */
.modal-scroll {
  overflow: auto; /* ou overflow: scroll; */
  /* Autres styles d'élément ici */
}

/****vertical Timeline****/

.main,
.timeline > header {
  width: 90%;
  max-width: 69em;
  margin: 0 auto;
}

.timeline > header {
  padding: 2.875em 1.875em 1.875em;
}

.timeline > header h1 {
  font-size: 2.125em;
  line-height: 1.3;
  margin: 0 0 0.6em 0;
  float: left;
  font-weight: 400;
  color: #fff; /* Titres en blanc */
}

.timeline > header > span {
  display: block;
  position: relative;
  z-index: 9998;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  padding: 0 0 0.6em 0.1em;
  color: #fff; /* Textes en blanc */
}

.timeline > header > span span:after {
  width: 30px;
  height: 30px;
  left: -12px;
  font-size: 50%;
  top: -8px;
  position: relative;
}

.timeline > header > span span:hover:before {
  content: attr(data-content);
  text-transform: none;
  text-indent: 0;
  letter-spacing: 0;
  font-weight: 300;
  font-size: 110%;
  padding: 0.8em 1em;
  line-height: 1.2;
  text-align: left;
  left: auto;
  margin-left: 4px;
  position: absolute;
  color: #fff;
  background: #333333; /* Fond sombre pour l'hover */
}

.timeline > header nav {
  float: right;
  text-align: center;
}

.timeline > header nav a {
  display: inline-block;
  position: relative;
  text-align: left;
  width: 2.5em;
  height: 2.5em;
  background: #fff;
  border-radius: 50%;
  margin: 0 0.1em;
  border: 4px solid #333333; /* Cadre sombre */
}

.timeline > header nav a > span {
  display: none;
}

.timeline > header nav a:hover:before {
  content: attr(data-info);
  color: #333333; /* Texte en gris sombre sur hover */
  position: absolute;
  width: 600%;
  top: 120%;
  text-align: right;
  right: 0;
  pointer-events: none;
}

.timeline > header nav a:hover {
  background: #333333; /* Fond sombre au survol */
}

.bp-icon:after {
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  text-align: center;
  color: #333333; /* Icônes en gris sombre */
  -webkit-font-smoothing: antialiased;
}

.timeline > header nav .bp-icon:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  line-height: 2;
  text-indent: 0;
}

.timeline > header nav a:hover:after {
  color: #fff;
}

@media screen and (max-width: 55em) {

  .timeline > header h1,
  .timeline > header nav {
    float: none;
  }

  .timeline > header > span,
  .timeline > header h1 {
    text-align: center;
  }

  .timeline > header nav {
    margin: 0 auto;
  }

  .timeline > header > span {
    text-indent: 30px;
  }
}

.cbp_tmtimeline {
  margin: 30px 0 0 0;
  padding: 0;
  list-style: none;
  position: relative;
} 

/* The line */

.cbp_tmtimeline:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: transparent; /* Couleur sombre pour la ligne */
  left: 20%;
  margin-left: -10px;
}

.cbp_tmtimeline > li {
  position: relative;
}

/* The date/time */

.cbp_tmtimeline > li .cbp_tmtime {
  display: block;
  width: 25%;
  padding-right: 100px;
  position: absolute;
}

.cbp_tmtimeline > li .cbp_tmtime span {
  display: block;
  text-align: right;
}

.cbp_tmtimeline > li .cbp_tmtime span:first-child {
  font-size: 0.9em;
  color: #fff; /* Couleur grise neutre pour la date */
}

.cbp_tmtimeline > li .cbp_tmtime span:last-child {
  font-size: 1.7em;
  color: #fff; /* Titres en blanc */
}

.cbp_tmtimeline > li:nth-child(odd) .cbp_tmtime span:last-child {
  color: #fff; /* Titres en blanc */
}

/* Right content */

.fade-in-animation {
  opacity: 0;
  animation-name: fade-in;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateX(200px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  animation: fade-in 1s ease-out;
}

.cbp_tmtimeline > li .cbp_tmlabel {
  margin: 0 0 15px 25%;
  padding: 2em;
  font-size: 1.2em;
  font-weight: 300;
  line-height: 1.4;
  position: relative;
  border-radius: 10px; /* Arrondissement des angles */
  background: #f8f9fa; /* Fond pour les labels */
}

.cbp_tmtimeline > li .cbp_tmlabel h2 { 
  margin-top: 0px;
  padding: 0 0 10px 0;
  border-bottom: 1px solid #fff; /* Bordure blanche pour les titres */
  color: #fff; /* Titres en blanc */
}

/* The triangle (flèches) */

.cbp_tmtimeline > li .cbp_tmlabel:after {
  right: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-right-color: #212529; /* Couleur de fond de la timeline */
  border-width: 10px;
  top: 10px;
}

.cbp_tmtimeline > li:nth-child(odd) .cbp_tmlabel:after {
  border-right-color: #212529; /* Couleur de fond de la timeline */
}

/* The icons */

.cbp_tmtimeline > li .cbp_tmicon {
  width: 40px;
  height: 40px;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  font-size: 1.4em;
  line-height: 40px;
  -webkit-font-smoothing: antialiased;
  position: absolute;
  background: #333333; /* Icônes en gris sombre */
  box-shadow: none; /* Suppression de la bordure */
  text-align: center;
  left: 20%;
  top: 0;
  margin: 0 0 0 -25px;
  display: inline-block;
}

/* Example Media Queries */

@media screen and (max-width: 65.375em) {

  .cbp_tmtimeline > li .cbp_tmtime span:last-child {
    font-size: 1.3em;
  }
}

@media screen and (max-width: 992px) {
  .cbp_tmtimeline:before {
    display: none;
  }

  .cbp_tmtimeline > li .cbp_tmtime {
    width: 100%;
    position: relative;
    padding: 0 0 20px 0;
  }

  .cbp_tmtimeline > li .cbp_tmtime span {
    text-align: left;
  }

  .cbp_tmtimeline > li .cbp_tmlabel {
    margin: 0 0 30px 0;
    padding: 1em;
    font-weight: 400;
    font-size: 95%;
  }

  .cbp_tmtimeline > li .cbp_tmlabel:after {
    right: auto;
    left: 20px;
    border-right-color: transparent;
    border-bottom-color: #fff; /* Flèches uniformisées en blanc */
    top: -20px;
  }

  .cbp_tmtimeline > li:nth-child(odd) .cbp_tmlabel:after {
    border-right-color: transparent;
  }

  .cbp_tmtimeline > li .cbp_tmicon {
    position: relative;
    float: right;
    left: auto;
    margin: -55px 5px 0 0px;
  } 
}


/****size of element-item isotope dépendant de l'écran***/

.sizescreen {
  width: 25%;
}

/* Styles pour les écrans dont la largeur est comprise entre 500px et 1000px */
@media only screen and (max-width: 930px) and (orientation: landscape) {
  .sizescreen {
    width: 20%;
  }
}

@media only screen and (max-width: 500px) {
  .sizescreen {
      width: 50%;
   }
}