/* #########  Styles de la section  #########*/
.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

.list-group-item-custom {
  margin: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(5, 169, 156, 0.1);
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 20px;
  width: 300px;
}

.socials {
  display: inline-block;
  color: #1d457b;
}

.socials a {
  display: inline;
  color: #1d457b;
}

/* #########  Styles body, en-tetes, paragraphes...Mise en page  #########*/

.custom-h1 {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.custom-h2,
.custom-h3 {
  padding-top: 14px;
  color: rgba(11, 171, 158, 0.966);
  font-size: 19px;
  margin: 10px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
}

.custom-h4 {
  color: #1d457b;
  font-size: 17px;
  margin: 10px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
}

.custom-h5 {
  color: #083066;
  font-size: 15px;
  margin: 10px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
}

.custom-p {
  font-size: 1rem;
  line-height: 1.5;
}

p {
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: justify;
}

footer p a {
  color: #ffffff;
  text-decoration: none;
}

footer p a:hover {
  text-decoration: underline;
}

body {
  padding-top: 45px;
  min-height: 100vh;
  margin-left: 100px;
  margin-right: 100px;
}

a {
  color: #428fdd;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* #########  Styles de la barre de navigation  #########*/
/* Barre de Navigation */
.navbar-nav {
  font-weight: bold;
  display: flex;
  justify-content: space-around;
  background-color: #fff;
  padding: 5px 10px;
  padding-bottom: 5px;
  border-radius: 20px;
  margin-bottom: 50px;
  box-shadow: 0 10px 15px rgba(5, 169, 156, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar-toggler {
  border: none;
  font-size: 1.25em;
}

.navbar-toggler:focus,
.btn-close:focus {
  box-shadow: none;
  outline: none;
}

.nav-link {
  color: #83818c;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
  padding: 10px 20px;

}

.nav-link:hover,
.nav-link.active {
  color: black;
}


@media (min-width: 991px) {
  .nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: rgba(13, 238, 219, 0.966);
    visibility: hidden;
    transition: 0.3s ease-in-out;
  }

  .nav-link:hover::before,
  .nav-link.nav-link.active::before {
    width: 100%;
    visibility: visible;

  }
}

/* . #####  Adaptativite ecran ############ */
@media (max-width: 768px) {
  .background {
    min-height: 30vh;
  }

  body {
    font-size: calc(1.525rem + 3.3vw);
  }
}