body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
}



header {
    background-color: #3498db;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}


.entete{
    padding: 5px;
    text-align: center;

}

h2 {
  font-size: 21px;
}

h3 {
  font-size: 20px;
  margin: 1rem;
  margin-top: 50px;
}

/** --Debut-- Armoirie de la République**/
/*#logo1 {
    margin-left: 940px;
    padding: 35%;
    height: 200px;
    
}*/
/*@media screen and (max-width: 1500px ) {
    .logo1 {
        margin-top: -26%;
        width: 45%;
        margin-left: 55%;
    }

    #logo1 {
        margin-top: 22%;
        width: 45%;
        margin-left: 55%;
    }

    .logo {
        margin-top: 10%;
        width: 45%;
        margin-right: 55%;
    }

    #logo {
        margin-top: -20%;
        width: 45%;
        margin-right: 55%;
    }
    /*body{
        width: 100%;
    }
}*/

/*.logo1{
      margin-top: 10px;
      width: 10px;
      height: 10px;
}*/

@media screen and (max-width: 1500px){
     .logo1 {
        margin-top: -26%;
        width: 45%;
        margin-left: 55%;
    }

    #logo1 {
        margin-top: 18%;
        width: 45%;
        margin-left: 55%;
    }
}

@media screen and (max-width: 1500px){
     .logo {
        margin-top: 10%;
        width: 45%;
        margin-right: 55%;
    }

    #logo {
        margin-top: -20%;
        width: 45%;
        margin-right: 55%;
    }
}
/** --Fin-- Armoirie de la République **/

/************** nav (Menu)*****************************************************/
nav {
    background-color: #3498db;
    padding: 1em;
    border-radius: 8px;
    margin-top: 20px;
}
nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

/***** Pour éliminer le soulinement des liens****/
nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s ease;
}
/***** Pour éliminer le soulinement des liens fin ****/


/****** Pour le survolement du texte **************/
nav ul li a:hover {
    color: #ff4081;
}
/****** Pour le survolement du texte fin **************/

/************** nav (Menu) fin ***************************************************/


/************* Tous les cartes indivuduelle début ********************************/

  .card {
    min-width: 300px;
    height: 400px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
  }
  
  .card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
  }


  /*********** Section des reseaux sociaux ***********************************/

.carte .reseau img{
  width: 40px;
  border-radius: 50%;
  margin: 3px 3px;
  transition: background 0.5s;
}

.carte .reseau .img:hover{
  background: rgb(240, 90, 195);
}

footer .carte .reseau .img a{
  font-size: 20px;
  margin: 10px auto;
  max-width: 330px;
}

footer.carte .reseau .img {
  width: 40px;
  margin: 2px 2px;
  transition: background 0.5s;
}

footer .carte .reseau .img :hover{
  transform: scale(1.2);
}

/*********** Section des reseaux sociaux fin ***********************************/

.bouton{
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  background: #fff;
  color: rgb(226, 59, 184);
  padding: 10px 30px;
  border-radius: 30px;
  margin: 0px 0 0px;
}

/************* Carte Individuelle Pour Agent INRSSH Fin ******************************/

/******------- Les fléches de filement début --------------------***************/

.container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
}
/******------- Les fléches de filement fin --------------------***************/

/******------- Permet d'Afficher les cartes côte à côte début --------------------***************/

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.arrow:hover {
  background-color: rgba(0,0,0,0.7);
}
.arrow-left {
  left: 10px;
}
.arrow-right {
  right: 10px;
}
.arrow::before {
  content: '';
  width: 10px;
  height: 10px;
  border-top: 2px solid white;
  border-right: 2px solid white;
  transform: rotate(45deg);
}
.arrow-left::before {
  transform: rotate(-135deg);
}
/******------- Permet d'Afficher les cartes côte à côte fin --------------------***************/
 
/******------- Permet de créer la marge entre les cartes début --------------------***************/

.card {
    flex: 0 0 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    margin: 0 10px;
    text-align: center;
    transition: transform 0.3s ease;
}


/******------- Permet de creer la marge entre les cartes fin --------------------***************/
  
.card:hover {
    transform: translateY(-5px);
}
 
/******------- Cercle de la photo début --------------------***************/
.photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid #3498db;
}
/******------- Cercle de la photo fin --------------------***************/
  
.name {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
}
  .function {
    color: #777;
    margin-bottom: 15px;
  }
  .social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
  }
  .social-icon {
    width: 30px;
    height: 30px;
    fill: #3498db;
    transition: fill 0.3s ease;
  }
  .social-icon:hover {
    fill: #2980b9;
  }
  .email-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  .email-btn:hover {
    background-color: #2980b9;
  }
  
/************* Tous les cartes indivuduelle fin ********************************/


  
/************* Footer (Peid de Page)********************************/

footer {
    background-color: #3498db;
    color: white; 
    text-align: center;
    padding: 0em;
    border-radius: 8px;
    margin-top: 20px;
  
}

footer a:-webkit-any-link{
    color: black;
}

/******************* Section réseaux sociaux *************************/

footer img a{
    font-size: 20px;
    margin: 10px auto;
    max-width: 330px;
}

footer img{
    width: 55px;
    margin: 2px 2px;
    transition: background 0.5s;
}

footer img:hover{
    transform: scale(1.2);
}

/******************* Section réseaux sociaux fin ****************/

/************* Footer (Peid de Page) Fin *************************************************/
