
/* Style général du body */
body {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-top: 40px;   /* Marge en haut */
    margin-bottom: 40px; /* Marge en bas */
    margin-left: 40px;  /* Marge à gauche */
    margin-right: 40px; /* Marge à droite */
    padding: 40;
    background-color: #F0E0D5;
    color: #6084B2;
    line-height: 1.6;
    box-sizing: border-box;
}


/* Style du header */
header {
    background-color: #6084B2;
    color: #F0E0D5;
    padding: 10px 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
    justify-content: space-between;
    display: flex;
    align-items: center;
}


.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 200px;  /* Ajuste la taille selon tes besoins */
    height: auto;
    margin: 0 10px; /* Espacement entre les logos */
}

#logr {
    width: 95px;  /* Ajuste la taille selon tes besoins */
    height: auto;
}

#loge {
    width: 150px;  /* Ajuste la taille selon tes besoins */
    height: auto;
}

#logg {
    width: 90px;  /* Ajuste la taille selon tes besoins */
    height: auto;
    align-items: left;
}

#logn {
    width: 70px;  /* Ajuste la taille selon tes besoins */
    height: auto;
    align-items: right;
}

.title-container {
    flex-grow: 1; /* Permet au titre de rester centré */
    text-align: center;
}

.right .logo {
    margin-left: 10px; /* Espacement pour les logos de droite */
}

.left .logo {
    margin-right: 10px; /* Espacement pour le logo ENSAT à gauche */
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
}

header h2 {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Style du menu de navigation */
nav {
    background-color: #9FB8DC; /* Couleur différente pour séparer le menu */
    padding: 10px 0;
}

.hList {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.menu {
    position: relative;
    padding: 15px 25px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

a {
    text-decoration: none; /* Supprime le soulignement */
    color: inherit; /* Hérite la couleur du texte parent */
}


.menu-title {
    color: #F0E0D5;
    font-size: 1.2rem;
    padding: 10px;
    display: block;
    transition: background 0.3s;
}

.menu-title:hover {
    background-color: #6084B2;
    border-radius: 5px;
}

/* Style des sous-menus (menu déroulant) */
.menu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #9FB8DC;  /* Couleur de fond par défaut */
    list-style-type: none;
    padding: 10px 0;
    margin: 0;
    width: 200px;
    border-radius: 5px;
    z-index: 100;
}

.menu:hover .menu-dropdown {
    display: block;
    transform: translateY(-3px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Style des éléments du sous-menu */
.menu-dropdown li {
    padding: 10px;
    color: #F0E0D5;
    cursor: pointer;
}

.menu-dropdown li:hover {
    background-color:   #6084B2;  /* Changement de couleur au survol */
}

/* Style des contenus d'onglets */
.tab-content {
    display: none;
    padding: 20px;
    background-color: #F0E0D5;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Affichage de l'onglet actif */
.active-content {
    display: block;
}

.bouton-lien {
    background-color: #F0E0D5;
    border: 0.7px solid #8f8f9d;
    border-radius: 5px;
    padding: 3px;
    color:  #6084B2;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif, sans-serif;
    font-size: small;
    text-align: center;
    text-decoration: none;
    cursor: default;
}

.bouton-lien:hover{
    background-color: #6084B23;
    border: 2px solid #333;
    box-shadow: 10px 5px 5px  #6084B2;
    color:#6084B23;
    text-align: center;
    font-size: 22px;
}

.justifie {
    text-align: justify;
}

.graph-container {
    display: flex;
    flex-direction: column; /* Aligner les éléments verticalement */
    align-items: center;    /* Centrer horizontalement */
    text-align: center;     /* Centrer le texte */
    margin-bottom: 20px;    /* Espacement entre les graphiques */
}

.graph-container img {
    transition: transform 0.3s ease-in-out; /* Animation fluide */
}

.graph-container img:hover {
    transform: scale(1.35); /* Agrandit l'image */
    cursor: pointer; /* Change le curseur pour montrer que l'image est interactive */
}


#ima1 {
   width: 50%; 
   max-width: 400px; 
   height: auto; 
   display: block;
   margin-left:50px; 
   margin-right:50px; 
   margin-top:50px; 
   margin-bottom:50px 
   border: 3px solid  #6084B2;
   border-radius: 10px; 
   box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); 
 }


#ima2 {
    width: 50%; 
    max-width: 200px; 
    height: auto; 
    display: block;
    margin: 0 auto;
    border: 3px solid  #6084B2;
    border-radius: 10px; 
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); 
  }
  
#ima3 {
    width: 50%; 
    max-width: 300px; 
    height: auto; 
    display: block;
    margin: 0 auto;
    border: 3px solid #6084B2;
    border-radius: 10px; 
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); 
  }
  
#ima4 {
   width: 100%; 
   max-width: 1000px; 
   height: auto; 
   display: block;
   margin: 0 auto;
   border: 3px solid  #6084B2;
   border-radius: 10px; 
   box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); 
 }
 #ima5 {
     width: 100%; 
     max-width: 350px; 
     height: auto;
     display: block;
     margin: 0 auto;
     border: 3px solid #6084B2;
     border-radius: 10px; 
     box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
   }

/* Footer */
footer {
    text-align: center;
    background-color:  #6084B2;
    color: #F0E0D5;
    padding: 10px;
    margin-top: 20px;
}
