*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
    scroll-behavior: [ auto | smooth ];
    text-decoration: none;
    
}


header{
    position: fixed;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    z-index: 1;
    padding-top: 300px;
}
header .navbar ul.navbar-nav{
    margin-left: 10%;
}

/*************Js style pour le header**************/

header.sticky{
    padding: 20px ;
    box-shadow: 0px 5px 20px rgba(145, 28, 28, 0.5);
}
header.sticky .logo{
    color: #f1ebeb;
}
header.sticky .navbar li a{
    color: white;
}
header.sticky li a:hover{
    color: rgb(251, 125, 0);
}

header.sticky .navbar .dropdown li a{
    color: #f0e9e9;
}

/*****************Premiere section************/
.banniere{ 
  position : relative;
   width : 100%;
    min-height: 100vh;
    display: flex;
    padding: 0;
    justify-content: center;
    align-items: center;
}
.banniere .contenu{
    max-width: 100%;
    width: 98%;
    text-align: center;
    padding: 0px;
    position: relative;
    margin: 0;
}
.banniere .contenu .btn:hover{
   transform: scale(1.2);
   transition: 0.4s ease-in-out;
   color: rgb(234, 232, 229);
   background-color: rgb(251, 125, 0);
}

.animation-section {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: changeBackground 40s infinite;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}


@keyframes changeBackground {
    0% {
        background-image: url("Background-pictures/1.jpg");
    }
    20% {
        background-image: url("images1/28.jpg");
    }
    40% {
        background-image: url("Background-pictures/3U8A0855.jpg");
    }
    60% {
        background-image: url("https://nezasafaris.com/wp-content/uploads/2021/03/kigali-convention-centre-summit.jpg");
    }
    80%, 100% {
      background-image: url("Background-pictures/6.jpg");
  }
}

.text1{
  color: white;
  font-size: 60px;
  background-color: rgba(2, 2, 22, 0.185);
  width: 25vw;
}

.text2{
  color: white;
  font-size: 23px;
  background-color: #0f0f6d21;
  width: 40vh;
}
/* customiser la video  */

.content_sect3
{
   display: flex;
   flex-direction: row;
   justify-content: space-between;
   flex-wrap: wrap;
   width: 100%;
   align-items: center;
   text-align: center;
}
.content_sect3 .text_center
{
   font-weight: bold;
   color: #818181;
   margin-bottom: 30px;
   text-transform: uppercase;
}

.content_sect3 .video1 video
{
   width: 100%;
}



.text_bottom p
{
   color: gray;
}

.text_bottom a{
  
   color: #002;
   text-decoration: none;
 }
.text_bottom .text_bottom_up
{
   padding-top: 0px;
   padding-bottom: 10px;
   background-color: bla;
}
.text_bottom_down
{
   font-size: smaller;
}

.footer{
    background-color: black; padding: 40px; 
}
.footer .container .row{
    color: white;
      }
      .footer .container .row a{
      color: orangered;
      text-decoration: none;
      }
      .footer .container .row a:hover{
      color: orange;
      }
      .footer .container .row .copyright1{
      text-align: center;
      justify-content: center;
      color: whitesmoke;
}

/*small devices*/

@media (max-width: 990px) {
    .navbar{
        background-color: rgba(19, 19, 18, 0.769) !important;
        height: auto;
        }

    header.sticky{
            padding: 0;
        }
    header.sticky .navbar li a{
            color: black;
        }
        header a.nav-link {
        color: black;
        }
        .navbar .row .col-1 a{
        color: white;
        display: none;
    }

    .banniere{
            min-height: 50vh;
        }
        .whatFor{
            font-size: 3vw;
          }
          .consultationBtn{
            width: 60vw;
            align-self: center;
          }
          .homephoto{
            display: block;
          }
          .contenu .text1{ 
            font-size: 2em;
            background-color:rgba(0, 0, 34, 0.336);
            width: 80vw;
            color:rgba(255, 250, 250, 0.932);
          }
          .contenu .text2{
            font-size: 10px;
            background-color:rgba(0, 0, 34, 0.336);
            width: 70vw;
            color:rgba(255, 250, 250, 0.932);
          }
          
          
          

}
.navbar{
  background-color: #141313bd;
}

.navbar li a:hover{
    color: rgb(251, 125, 0);
    text-decoration: underline;
    font-size: 18px;
    transition: 1s;
    font-weight: 500;
    
}

@keyframes textAnimation {
    0% {
        opacity: 0;
        transform: translateY(30vh);
        transition-property: ease-out;
    }
    50%{
        color: #fb911f;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes textAnimationX {
  0% {
      opacity: 0;
      transform: translateY(-30vh);
      transition-property: ease-in;
  }
  50%{
      color: #fb911f;;
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes btnAnimation {
 
  50%{
      color: #fb911f;;
  }
  60%{
    transform: scale(1.2);
  }
  90%{
    transform: scaleX(1.1);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
      

  }
}
@keyframes coveredAnimation {
  0% {
    opacity: 0;
    transform: translateY(30vh);
    transition-duration: 2s;
}
25%{
    color: #fb911f;

}
50% {
    opacity: 1;
    transform: translateY(-2vh);
}
60%{
  transform: translateY(1vh);
  color: #07071bdd;
}
68%{
  transform: translateY(-1vh);
  color: #fb911f;;
}
75%{
  transform: translateY(5vh);
  font-weight: bolder;
  
}
}




/* images cards for images scollable on evventplaaning */

:root {
    --red: rgba(83, 83, 97, 0.774);
    --darkred: rgb(255, 94, 0);
    --platinum: #e5e5e5;
    --black: #2b2d42;
    --white: #fff;
    --thumb: #edf2f4;
  }
  
  * {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }
  
  body {
    font: 16px / 24px "Rubik", sans-serif;
    color: var(--black);
    background: var(--platinum);
    margin: 50px 0;
  }
  
  .container {
    max-width: 1400px;
    padding: 0 15px;
    margin: 0 auto;
  }
  
  h2 {
    font-size: 32px;
    margin-bottom: 1em;
  }
  
  .cards {
    display: flex;
    padding: 25px 0px;
    list-style: none;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
  }
  
  .card {
    display: flex;
    flex-direction: row;
    flex: 0 0 80%;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 15%);
    scroll-snap-align: start;
    transition: all 0.2s;
  }
  
  .card:not(:last-child) {
    margin-right: 10px;
  }
  
  .card:hover {
    color: var(--white);
    background: #fb911f;
  }
  .card:hover> .card-link-wrapper .card-link{
    background-color: rgba(20, 9, 9, 0.394);
    color: rgb(247, 247, 247);
  }
  
  
  .card .card-title {
    font-size: 10px;
  }
  
  .card .card-content {
    margin: 20px 0;
    max-width: 90%;
  }
  
  .card .card-link-wrapper {
    margin-top: auto;
  }
  
  .card .card-link {
    display: inline-block;
    text-decoration: none;
    color: white;
    background: var(--red);
    padding: 6px 12px;
    border-radius: 8px;
    transition: background 0.2s;
  }
  
  .card:hover .card-link {
    background: var(--darkred);
  }
  
  .cards::-webkit-scrollbar {
    height: 12px;
  }
  
  .cards::-webkit-scrollbar-thumb,
  .cards::-webkit-scrollbar-track {
    border-radius: 92px;
  }
  
  .cards::-webkit-scrollbar-thumb {
    background: var(--darkred);
  }
  
  .cards::-webkit-scrollbar-track {
    background: var(--thumb);
  }
  
  @media (min-width: 500px) {
    .card {
      flex-basis: calc(50% - 10px);
    }
  
    .card:not(:last-child) {
      margin-right: 20px;
    }
  }
  
  @media (min-width: 700px) {
    .card {
      flex-basis: calc(calc(100% / 3) - 20px);
    }
  
    .card:not(:last-child) {
      margin-right: 30px;
    }
  }
  
  @media (min-width: 1100px) {
    .card {
      flex-basis: calc(25% - 30px);
    }
  
    .card:not(:last-child) {
      margin-right: 40px;
    }
  }
  
  
  /* FOOTER STYLES
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .page-footer {
    position: fixed;
    right: 0;
    bottom: 50px;
    display: flex;
    align-items: center;
    padding: 5px;
    z-index: 1;
  }
  
  .page-footer a {
    display: flex;
    margin-left: 4px;
  }

  /* css for scrollable images from plann your events ends here */
