body {

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

#accueil {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}


.slide.active {
  opacity: 1;
}


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: 25px;
}

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

/*#logo {
    padding-right: -955px;
    padding: 35px;
    height: 225px;
}


.logo{
    margin-top: 10px; 
    width: 10px;
    height: 10px;
}*/
/** --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 {
    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;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff4081;
}

.content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-top: 0px;
}

.main-content, .sidebar {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.news-item {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.news-item:last-child {
    border-bottom: none;
}


  
.btn {
    display: inline-block;
    background-color: #ff4081;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #f50057;
}

.dg-section{
    display: flex;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    /*gap: 20px;*/
    justify-items: space-around;
    margin-top: 20px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    
  }

section img{
    width: 27%;
    border-radius: 90px;
    padding: 10px;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}


.hero-content {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 10px;
}

.section {
    padding: 3rem 2rem;
}

/**************** Section nos domaines de recherche **************************************************/
.grid-Domaines {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
  
.card-Socio{
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card-Socio:hover {
    transform: translateY(-5px);
}

.card-Anthro{
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card-Anthro:hover {
    transform: translateY(-5px);
}

.card-Psycho{
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card-Psycho:hover {
    transform: translateY(-5px);
}

.card-Histo{
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card-Histo:hover {
    transform: translateY(-5px);
}
/********** Section nos domaines de recherche FIN ****************************************************/

.btn {
    display: inline-block;
    background-color: #1a3c6e;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #2c5ca6;
}


/******************* Slider et bouton fléché image *************************************/

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
  
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
}
  
.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
  
.slider-btn-left {
    left: 10px;
}
  
.slider-btn-right {
    right: 10px;
}
  
  
.card-content {
    padding: 20px;
}
  
.card h3 {
    margin-top: 0;
}
  
.card p {
    color: #666;
}

/******************* Slider et bouton fléché image 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 ****************/

/******************* Bouton de contact DG début ****************/

button {
    display: inline-block;
    background: #3498db;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  
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);
}
/******************* Bouton de contact DG fin ****************/

/******************* Section reservée pour le respontive ****************/
/*@media screen and (max-width: 1500px) {  
    .logo {
        width: 90%;}

    #logo1 {
        width: 90%;
    }
    body {
        width: 100%;
    }
}*/
/************* Footer (Peid de Page) Fin *************************************************/




  