/* body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
} */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
.cover-image {
  background-image: url("https://images.pexels.com/photos/20733081/pexels-photo-20733081/free-photo-of-gens-personnes-individus-etre-assis.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2");
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
  margin-top: 56px; /* Ajusté pour la navbar */
  position: relative;
}
.cover-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.cover-image > div {
  position: relative;
  z-index: 2;
}
.container-wrapper {
  display: flex;
  margin-top: 56px; /* Ajusté pour la navbar */
}
.sidebar {
  width: 300px;
  background-color: #f8f9fa; /* Couleur de fond du sidebar */
  padding: 20px 15px 0;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  /* height: calc(100vh - 56px); Ajusté pour la navbar */
  overflow-y: auto;
  flex-shrink: 0; /* Empêche le menu de rétrécir */
}
.sidebar ul,
.me-auto ul {
  list-style-type: none; /* Supprime les puces */
  padding-left: 0; /* Supprime le padding par défaut */
}
.sidebar .nav-item,
.me-auto .nav-item {
  background-color: #e2e2e2; /* Couleur de fond pour les éléments de menu */
  margin: 5px 0; /* Espacement entre les éléments */
  border-radius: 5px; /* Coins arrondis */
  /* padding: 0px 10px; */
}
.sidebar .nav-link {
  color: #333;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 10px 15px; /* Espacement interne */
  background-color: transparent; /* Fond transparent pour les liens */
  transition: background-color 0.3s ease; /* Transition fluide */
}
.me-auto .nav-item {
  padding: 0 10px;
}
.me-auto .sub-menu {
  /* color: #333;
  font-weight: 500;
  display: flex;
  align-items: center; */
  padding: 0 30px; /* Espacement interne */
}
.sidebar .nav-link:hover {
  color: #007bff;
  background-color: #c9caca; /* Couleur de fond au survol */
}
.sidebar .sub-menu {
  margin-left: 20px; /* Indentation des sous-menus */
  display: none;
}
.sidebar .sub-menu .nav-link {
  font-weight: 400;
  background-color: transparent; /* Fond transparent pour les sous-liens */
}
.sidebar .sub-menu .nav-link:hover {
  background-color: #c9caca; /* Couleur de fond au survol des sous-liens */
}
.main-content {
  flex-grow: 1; /* Occupe tout l'espace restant */
  margin-left: 15px;
  padding: 0 30px 25px 30px;
  background-color: #f8f9fa;
  /* background-color: #f5f5f5; */
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);

  /* box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); */
}

.event-card {
  transition: all 0.3s ease;
  border: none;
  border-left: 4px solid #0056b3;
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 86, 179, 0.1);
}
.event-img {
  height: 250px;
  object-fit: cover;
}
.consigne {
  background-color: #f8f9fa;
  border-left: 3px solid #ffc107;
}

.speech-container {
  max-width: 800px;
}
.author-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
}
.speech-content {
  position: relative;
}
.opening-quote,
.closing-quote {
  font-size: 5rem;
  color: rgba(0, 86, 179, 0.1);
  line-height: 1;
}
.signature {
  font-family: "Brush Script MT", cursive;
  color: #333;
}

footer {
  background-color: #c9c9c9;
  color: rgb(118, 117, 117);
  padding: 25px 0 10px;
  margin-top: 25px;
  /* text-align: center; */
}

footer .col-lg-3:after {
  content: "";
  width: 1px;
  height: 100%;
  top: 0;
  left: -30px;
  background: #e2e2e2;
  position: absolute;
}

.btn-default.btn1 {
  background: var(--secondary-color);
}

.btn-default.btn1 {
  box-shadow: none;
  text-decoration: none;
  display: inline-block;
  padding: 0 32px;
  font: bold 18px / 52px "Roboto Condensed", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  margin: 0;
  border-radius: 0;
  color: #ffffff;
  background: #e44554;
  text-transform: uppercase;
  float: none;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  -webkit-transition: all 0.25s;
  -o-transition: all 0.25s;
  transition: all 0.25s;
}
.copyright {
  text-align: center;
  padding: 10px;
  background-color: rgb(31, 31, 31);
  color: gray;
}
@media (max-width: 992px) {
  .sidebar {
    display: none; /* Masqué sur les petits écrans */
  }
  .main-content {
    margin-left: 0; /* Le contenu principal occupe toute la largeur */
    padding: 10px;
  }
}

@media (min-width: 1220px) {
  .container {
    padding: 0;
  }
}
