* {
  margin: 0;
  padding: 0;
  font-family: "Times New Roman", Times, serif;
}

.sticky-top {
  background-color: #ffffff;
}
.text-cl {
  color: #00377d;
}
.custom-btn {
  background-color: #00377d;
  color: #ffffff;
}


.custom-i {
  color: #00377d;
  font-size: 70px;
}

.carousel-indicators {
  bottom: 21%;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  margin-bottom: 10px !important;
}

.carousel-indicators button {
  width: 15px !important;
  height: 15px !important;
  border-radius: 50%;
  border: 1px solid #ffffff2f !important;
  outline: 2px solid #ffffff !important;
}

.carousel-indicators .active {
  background-color: #00377d;
  outline: none !important;
}
section {
  overflow: hidden;
}

.resized {
  margin-left: 80px;
  margin-right: 80px;
}
#section {
  overflow: hidden;
  position: relative;
  height: 100%;
}
.contains {
  width: 100%;
}
#carouselExampleIndicators {
  position: relative;
}
.carousel-item img {
  height: 92vh;
}
.section {
  margin-top: 10px;
}
/*cercle*/

.circle {
  position: absolute;
  width: 90px;
  margin: auto;
  height: 90px;
  border-radius: 50%;
  background-color: #00377d;
  top: 84vh;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle a {
  text-decoration: none;
  color: white;
  font-size: 1.5vh;
  animation: bounce 1.5s ease-in-out infinite alternate;
}
@keyframes bounce {
  0% {
    transform: translateY(-10%);
  }
  100% {
    transform: translateY(15%);
  }
}
#carouselExampleIndicators::after,
#carouselExampleIndicators::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  bottom: 0;
  z-index: 1;
}

#carouselExampleIndicators::after {
  right: 0;
  top: calc(100% - 15vh); /* Hauteur adaptative */
  border-top: 15vh solid transparent; /* Hauteur du triangle */
  border-bottom: 5vh solid transparent;
  border-right: 100vw solid #ffffff; /* Largeur de l'écran et couleur du triangle */
}

.carousel-caption {
  position: absolute;
  top: 55%;
  left: 39%;
  transform: translate(-50%, -50%);
  text-align: left;
  color: #ffffff; /* Couleur du texte */
}
.carousel-caption h5 {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.5em;
  font-family: "Times New Roman", Times, serif;
  font-size: 3.5rem;
  font-weight: 300;
}
.carousel-caption p {
  margin-bottom: 2em;
  font-weight: 100;
  font-family: "Times New Roman", Times, serif;
  font-weight: 300;
  font-size: 0.9vw;
}

.sliderWrap {
  height: 100px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.sliderWrap::before,
.sliderWrap::after {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  content: "";
  height: 100px;
  position: absolute;
  width: 200px;
  z-index: 2;
}

.sliderWrap::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.sliderWrap::before {
  left: 0;
  top: 0;
}

.slide-track {
  display: flex;
  width: fit-content;
  animation: scroll 25s linear infinite;
  white-space: nowrap;
  overflow: hidden;
}

.slides {
  height: 100px;
  width: 250px;
  flex: 0 0 auto; /* Pour s'assurer que les slides gardent leur taille */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(calc(-250px * 0));
  } /* Première image (temps de pause) */
  25% {
    transform: translateX(calc(-250px * 1));
  } /* Seconde image */
  45% {
    transform: translateX(calc(-250px * 1));
  } /* Deuxième image (temps de pause) */
  50% {
    transform: translateX(calc(-250px * 2));
  } /* Troisième image */
  70% {
    transform: translateX(calc(-250px * 2));
  } /* Troisième image (temps de pause) */
  75% {
    transform: translateX(calc(-250px * 3));
  } /* Quatrième image */
  95% {
    transform: translateX(calc(-250px * 3));
  } /* Quatrième image (temps de pause) */
  100% {
    transform: translateX(calc(-250px * 4));
  } /* Cinquième image */
}

.rigthleft {
  opacity: 0;
  margin-left: 50%;
  transition: all 1s ease;
}

.removeRightLeft {
  opacity: 1;
  margin-left: 0%;
  transition: all 1s ease;
}

.leftrigth {
  opacity: 0;
  margin-right: 50%;
  transition: all 1s ease;
}

.removeLeftrigth {
  opacity: 1;
  margin-right: 0%;
  transition: all 1s ease;
}

/*card*/
.custom-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease-in-out;
}

.custom-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-body {
  padding: 20px;
}

.card-title {
  font-size: 1.5em;
  color: #333;
  margin-bottom: 10px;
}

.card-text {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 15px;
}

.btn-custom {
  background-color: #00377d;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  font-size: 1.2em;
  transition: background-color 0.3s ease-in-out;
}

.btn-custom:hover {
  background-color: #d64b10;
}

/*affichage au scroll*/

/*image log*/
.img-logo {
  width: 55px;
}

/*apropos*/
.row-apropos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
}

@media screen and (max-width: 700px) {
  .row-apropos {
    grid-template-columns: repeat(1, 1fr);
  }
}
