/* Styles globaux */
body::before {
  display: block;
  content: '';
  height: 60px;
}

html {
  position: relative;
  min-height: 100%;
  padding-bottom: 160px;
}

body {
  margin-bottom: 160px;
}

/* Map */
#map {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

/* Lignes horizontales */
hr {
  border: none;
  border-top: 3px double #333;
  color: #333;
  overflow: visible;
  text-align: center;
  height: 5px;
}

hr::after {
  background: #fff;
  content: '§';
  padding: 0 4px;
  position: relative;
  top: -13px;
}

/* Footer */
footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 160px;
}

/* Navbar */
.navbar.second-navbar {
  margin-top: 65px;
  z-index: 1;
}

/* Sections de visibilité */
.visibility-section {
  font-family: 'Helvetica', 'Arial', sans-serif;
}

.visibility-text h2 {
  font-size: 2rem;
  font-weight: 700;
}

.visibility-text p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Contact 
.contact-section {
  background-color: #343a40;
  color: #f8f9fa;
  font-family: 'Arial', sans-serif;
} */

.contact-heading {
  font-size: 2rem;
  font-weight: 700;
}

.contact-list {
  font-size: 1rem;
}

.contact-list li {
  padding: 10px;
}

.contact-form-fieldset {
  border-color: #6c757d;
}

.contact-form-legend {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Cartes */
.card {
  border: none;
  border-radius: 0.375rem;
}

/*.card-body {
  background-color: #ffffff;
  border-radius: 0.375rem;
}*/

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.card-text {
  font-size: 1rem;
}


.times-new-roman {
      font-family: 'Times New Roman', Times, serif;
    }
.text-justify {
      text-align: justify;
    }


.card-img-top {
  max-width: 250px;
  max-height: 300px;
  object-fit: cover;
}

/* Tableaux */
.table thead th {
  background-color: #f8f9fa;
  color: #343a40;
}

.table tbody tr {
  background-color: #ffffff;
}

.table tbody tr:nth-of-type(even) {
  background-color: #f2f2f2;
}

.table td {
  vertical-align: middle;
}

/* Texte coloré */
.text-dark {
  color: #212529 !important;
}

.text-primary {
  color: #0d6efd !important;
}

.text-success {
  color: #198754 !important;
}

.text-secondary {
  color: #6c757d !important;
}

.text-info {
  color: #0dcaf0 !important;
}

.text-warning {
  color: #ffc107 !important;
}

/* Mise en page */
.container {
  padding: 0 15px;
}

/*.bg-light {
  background-color: #f8f9fa !important;
}*/

.p-4 {
  padding: 1.5rem;
}

.rounded {
  border-radius: 0.5rem;
}

.shadow {
  box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1.5rem;
}

.me-2 {
  margin-right: 0.5rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.my-5 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

/* Sections spécifiques */
.my-custom-container {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.my-custom-heading {
  text-align: center;
  color: #0d6efd;
  margin-bottom: 1.5rem;
}

.my-custom-card {
  background-color: #f8f9fa;
}

.my-custom-title {
  color: #198754;
  font-size: 1.25rem;
}

.my-custom-details ul {
  padding-left: 0;
  list-style: none;
  font-size: 1.25rem;
}

.my-custom-list li {
  margin-bottom: 0.5rem;
}

/* Objectifs */
.my-custom-objectifs-container {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.my-custom-list {
  padding-left: 0;
  list-style: none;
}

.my-custom-list-item {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
}

/* Styles pour le bloc contact_info */
fieldset {
    border-color: #6c757d; /* Couleur de la bordure */
}

legend {
    font-size: 1.5rem; /* Taille du texte pour le titre */
    font-weight: 700; /* Gras pour le titre */
    color: #212529; /* Couleur sombre pour le titre */
}

/* Adaptation pour les écrans de tailles différentes */
@media (max-width: 768px) {
    .w-md-75 {
        width: 100% !important; /* Pleine largeur pour les petits écrans */
    }
}

@media (max-width: 576px) {
    .fs-4 {
        font-size: 1.25rem; /* Taille du texte réduite pour les très petits écrans */
    }
    .btn {
        font-size: 0.875rem; /* Taille du texte du bouton réduite pour les petits écrans */
    }
}



/* Formulaire d'inscription */
.form {
  max-width: 100%;
}
form .form-label,
form .form-control::placeholder,
form .form-text,
form .form-check-label {
    font-weight: bold;  /* Texte en gras */
    font-style: italic;  /* Texte en italique */
}


@media (min-width: 768px) {
  .news-input {
    width: 50%;
  }
}

@media (max-width: 576px) {
  .navbar-brand img {
    max-height: 30px;
  }

  .navbar-nav .nav-link {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .contact-heading {
    font-size: 1.5rem;
  }

  .contact-list {
    font-size: 0.9rem;
  }

  .contact-form-legend {
    font-size: 1.2rem;
  }

  .card-title {
    font-size: 1rem;
  }

  .card-text {
    font-size: 0.875rem;
  }

  .container {
    padding: 0 10px;
  }

  .col-lg-8 {
    max-width: 100%;
  }
}


@media (max-width: 767.98px) {
    .container-fluid-sm {
        width: 100% !important;
        max-width: 100% !important;
        padding-right: var(--bs-gutter-x, 0.75rem);
        padding-left: var(--bs-gutter-x, 0.75rem);
    }
}

@media (min-width: 768px) {
    .container-fluid-sm {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container-fluid-sm {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container-fluid-sm {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container-fluid-sm {
        max-width: 1320px;
    }
}
