/* ================ Base Styles ====================*/

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 700;
  margin-top: 0;
}

a {
  color: #333;
  text-decoration: none;
}


/* ================ Navbar ====================*/

.navbar {
  background-color: #fff;
  padding: 1rem;
  border-bottom: 1px solid #ccc;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
}

.navbar-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  margin: 0;
}

.nav-item {
  padding: 0 1rem;
}

.nav-link {
  font-weight: bold;
  font-size: 1.2rem;
}

.nav-link:hover {
  color: #aaa;
}

/* ================ Header ====================*/

header {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.header-content {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  border-radius: 10px;
}

.name {
  font-size: 3rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

.title {
  font-size: 2rem;
  margin: 0;
}

#presentation img {
  float: left;
  margin-right: 2rem;
}

#presentation h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

#presentation p {
  font-size: 1.5rem;
  line-height: 2rem;
  margin-bottom: 2rem;
  text-align: justify;
}

.photo-frame {

  padding: 10px;
}

.presentation-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-top: 0;
}

.presentation-text p {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  margin: 5px;
}


@media only screen and (max-width: 768px) {
  .card {
    width: 90%;
  }

 
  /* Réduction de la taille des liens de la nav-bar */
  .navbar-nav li a {
    font-size: 11px !important;
    padding-top: 4px;
    padding-bottom: 4px;
  }

.presentation-text h2 {
  font-size: 20px !important;
}

.presentation-text p {
  font-size: 16px !important;
}
  
}


.card {
  margin: 0 auto;
  width: 75%;
  max-width: 900px; /* facultatif : pour limiter la largeur maximale */
  background-color: #D1F0C9;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.card-icon {
  font-size: 30px;
  color: #444;
  text-align: center;
  margin-bottom: 10px;
}

.card-content h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.card-content p {
  font-size: 18px;
  line-height: 1.5;
}

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

.card2 {
  width: 75%;
  margin: 0 auto;
  background-color: #f2f2f2;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card2-title {
  margin-top: 0;
  text-align: center;
  font-size: 24px;
}

.card2-body {
  margin-bottom: 0;
}

ul {
  margin-top: 0;
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

p {
  margin-top: 0;
}



/* Carte en relief */
.contact-card {
  position: relative;
  display: inline-block;
  margin: 20px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.3);
  background: #fff;
  color: #333;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}
.contact-card:hover {
  box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.4);
  transform: translateY(-5px);
}

.contact-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}

#contact h2 {
  text-align: center;
}

.contact-card h3 {
  margin-bottom: 10px;
}

.contact-card p {
  margin-bottom: 5px;
}

.contact-card:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: #fff;
  transform: skewX(45deg);
  z-index: -1;
}

#contact .row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}



.floating-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #4CAF50;
  color: white;
  border-radius: 50px;
  font-size: 16px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  z-index: 100;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.25);
}

.floating-button:hover {
  background-color: #3e8e41;
}



.footer {
  background-color: #f8f9fa;
  padding: 30px 0;
}

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