body {
  margin: 0; 
  padding: 0; 
  font-family: Arial, sans-serif;
  background-color: #FFDAB9;
}

header, footer {
  background-color: white;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

header {
  position: relative;
  z-index: 1100;
}

footer {
  position: relative;
    z-index: 1100;
    background: #FFF; /* Exemple de style de fond pour le footer */
    padding: 10px 0px; /* Exemple de style de padding pour le footer */
    text-align: center; /* Centrer le contenu du footer */
}

.content-container, .logo-container {
  max-width: 800px;
  margin: 20px auto;
  padding: 10px;
  text-align: center;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

li {
  list-style: none;
}

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

h1 {
  background-color: white;
  color: #000000;
  text-align: center;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  padding-left: 20px;
}

.retour img {
  width: 50px;
  height: auto;
}

.main-content {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  padding: 30px;
  text-align: justify;
}

.logo {
  align-items: center;
  padding-top: 20px;
  text-align: center;
}

.logo img {
  margin: 10px auto 20px;
}

.logo_republique {
  width: 100px;
  height: 100px;
}

.logo_ars {
  width: 150px;
  padding-left: 15px;
}


.menu-icon {
  font-size: 24px;
  cursor: pointer;
  margin-right: 10px;
}

.image{
  max-width: 100px;
  height: auto;
}

.menu {
  list-style: none;
  padding: 0;
}

.menu-item {
  margin-bottom: 10px;
}

.submenu {
  list-style: none;
  padding: 0 0 0 20px;
  display: none;
}

.menu-item a {
  text-decoration: none;
  display: block;
  padding: 10px;
  background: #f0f0f0;
  color: #333;
}

.menu-item a:hover {
  background: #e0e0e0;
}

.submenu li a {
  background: #fff;
}

.submenu li a:hover {
  background: #f9f9f9;
}

.image {
  max-width: 100px;
  height: auto;
}
.sous-titre{
  font-size: 22px;
}

.text-container {
    flex: 1;
    min-width: 200px;
    font-size: 22px;
}

.image-container {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 5%;
}

@media only screen and (max-width:750px) {
  h1 {
    font-size: 18px;
  }
  .image {
    max-width: 100px;
    height: auto;
  }
  
}


/**/

.main-content-submenu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 20px;
}

.main-content-submenu .button {
  flex: 1 1 calc(20% - 20px); /* Ajustement pour grand écran, 5 éléments par ligne */
  max-width: calc(20% - 20px);
  box-sizing: border-box;
}

.main-content-submenu .button a {
  display: block;
  padding: 15px 25px;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.main-content-submenu .button a:hover {
  background-color: #f0f0f0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* styles.css ou styles_habillage.css */
.main-content-submenu .button.active a {
  background-color: #006CB6;
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.main-content-submenu .button.active a:hover {
  background-color: #005090;
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}


@media screen and (min-width: 1024px) and (max-width: 1199px) {
  .main-content-submenu .button {
    flex: 1 1 calc(25% - 20px); /* Ajustement pour écran moyen, 4 éléments par ligne */
    max-width: calc(25% - 20px);
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .main-content-submenu .button {
    flex: 1 1 calc(33.333% - 20px); /* Ajustement pour écran intermédiaire, 3 éléments par ligne */
    max-width: calc(33.333% - 20px);
  }
}

@media screen and (min-width: 480px) and (max-width: 767px) {
  .main-content-submenu .button {
    flex: 1 1 calc(50% - 20px); /* Ajustement pour écran petit, 2 éléments par ligne */
    max-width: calc(50% - 20px);
  }
  .text-container {
    flex: 1;
    min-width: 200px;
    font-size: 22px;
    max-width: 80%;
    margin-right: 2%;
}
}

@media screen and (max-width: 479px) {
  .main-content-submenu .button {
    flex: 1 1 100%; /* Ajustement pour très petit écran, 1 élément par ligne */
    max-width: 100%;
  }
  .text-container {
    flex: 1;
    min-width: 200px;
    font-size: 22px;
    max-width: 80%;
    margin-right: 2%;
}
}
/* Media Queries for text sections */
@media screen and (max-width: 900px) {
  h1, h2 {
      margin: 0 20px 0 10px !important;
      font-size: 1.25em !important;
  }
  .image-container {
      width: 25%;
      display: flex;
      justify-content: center;
      align-items: center;
  }
  h1 {
      font-size: 18px !important;
      max-width: 80%;
  }
  .container{
      text-align: left;
  }
}

@media screen and (max-width: 400px) {
  h2 {
      margin: 0 20px 0 10px !important;
      font-size: 1.25em !important;
  }
  .image-container {
      width: 25%;
      display: flex;
      justify-content: center;
      align-items: center;
  }
  .container{
      text-align: left;;
  }
  h1 {
    font-size: 18px !important;
    max-width: 80%;
  }

}
@media screen and (max-width: 350px) {
  h2 {
    margin: 0 20px 0 10px !important;
    font-size: 1.25em !important;
  }
  .image-container {
      width: 25%;
      display: flex;
      justify-content: center;
      align-items: center;
  }
  .container{
      text-align: left;;
  }
  h1 {
    font-size: 18px !important;
    max-width: 80%;
  }
  .illustration{
    width: 40px !important;
    padding-right: 10px;
  }
}

.illustration{
  width: 40px !important;
  padding-right: 10px;
}

.retour .icon{
  margin-right:  0px !important;
}

