html {
  font-family: inter, sans-serif;
}

h1,
h2 {
  text-align: center;
  margin-bottom: 30px !important;
}

/* HEADER & MENU */
.headerRect {
  width: 100%;
  height: 100px;
  background-color: #3c3d42;
  color: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.textConsult {
  width: 275px;
}

.headerLink {
  display: flex;
}

.menu {
  width: 100%;
  height: 75px;
  background-color: #ffdada;
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: sticky;
}

.menu > a {
  text-decoration: none;
  color: black;
}

.menu > a:hover {
  color: #3c3d42;
  text-decoration: underline;
  font-weight: bold;
}

/* FOOTER */
.footerRect {
  width: 100%;
  height: 350px;
  background-color: #3c3d42;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.instagram,
.doctolib,
.linkedin {
  width: 30px;
}

.instagram,
.linkedin {
  margin-right: 15px;
}

.mobile-menu-icon,
.mobile-menu {
  display: none;
}

/* Responsive part */
@media screen and (min-width: 1024px) {
  /* Desktop */
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  /* Tablet */
}

@media screen and (max-width: 767px) {

  p {
    font-size: 80% !important;
  }

  /* Mobile */
  .headerRect {
    display: none;
  }

  .menu > a {
    display: none !important;
  }

  .mobile-menu-icon {
    display: block;
    text-align: center;
    padding: 10px;
  }

  .mobile-menu-icon i {
    font-size: 24px;
    color: black;
    cursor: pointer;
  }

  .mobile-menu {
    display: none;
  }

  .mobile-menu > a:hover {
    color: #3c3d42;
    text-decoration: underline;
    font-weight: bold;
  }

  .mobile-menu-closed {
    display: none;
    overflow: hidden; /* Assurez-vous de cacher le débordement */
    animation: slideUp 0.5s ease;
  }

  .mobile-menu-open {
    display: block;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 999;
    text-align: center;
    max-height: 200px;
    animation: slideDown 0.5s ease;
  }

  .mobile-menu a {
    display: block;
    color: black;
    text-decoration: none;
    padding: 10px 0;
  }
}

/* Animations */
@keyframes slideDown {
  from {
    max-height: 0;
  }
  to {
    max-height: 200px;
  }
}

@keyframes slideUp {
  from {
    max-height: 200px;
  }
  to {
    max-height: 0;
  }
}
