/* Style de base */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url(conception-plexus-moderne-3d-communications-reseau-techno-moderne.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

header {
    background-color: #333;
    color: white;
    padding: 1rem;
    text-align: center;
}

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

nav ul li {
    display: inline;
    margin: 0 15px;
}

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

/* Info section (Nb de personnes et temps passé) */
.info-section {
    float: right;
    margin-top: -2.5rem; /* Aligne la section avec le menu de navigation */
    color: #aaa;
}

.info-section p {
    margin: 0;
    font-size: 0.9rem;
    color: white;
}

/* Section entreprise */
main {
    padding: 20px;
}


footer {
    text-align: center;
    padding: 1rem;
    background-color: #333;
    color: white;
}
h1 {
    background-image: url(conception-plexus-moderne-3d-communications-reseau-techno-moderne.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Footer */
footer {
    background-color: #0073e6;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: auto;
}
h2{
    text-align: center;
}

.resume{
    text-align: center;
    color: #f5f5f5;
}
.resume-1{
    
    color: #4f09f3;
}


.interactive-image {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.interactive-image:hover {
    transform: scale(1.1); /* Agrandit l'image légèrement au survol */
}
/* Compétences et Soft Skills peut etre a supprimer*/
.competence-container, .soft-skills-container, .certification-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.competence-item, .soft-skill-item, .certification-item {
    width: 120px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    perspective: 1000px; /* Pour l'effet de rotation */
}

.competence-item img, .soft-skill-item img, .certification-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.competence-item p, .soft-skill-item p, .certification-item p {
    margin-top: 5px;
    font-weight: bold;
}
/* Style pour la section compétences */
.skills {
    padding: 20px;
    margin-top: 30px;
    background-color: #e0f7fa;
    width: 100%;
    box-sizing: border-box;
}

.skills-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.skill-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
    transition: transform 0.3s ease;
}

.skill-item img {
    width: 200px;
    height: 105px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.skill-item p {
    margin-top: 10px;
    font-size: 1rem;
    color: #0073e6;
}

/* Effet d'interaction sur les images */
.skill-item:hover img {
    transform: scale(1.1);
}

.skill-item:hover {
    transform: translateY(-5px);
}
/* Style pour la section certifications */
.text{
    color: #000708;
}
.text-2{
    color: #000708;
}
.text-1{
    color: #feffff;
}
.btn {
    background-color: #005bb5;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}
/* From Uiverse.io by andrew-demchenk0 */ 
.rating:not(:checked) > input {
    position: absolute;
    appearance: none;
  }
  
  .rating:not(:checked) > label {
    float: right;
    cursor: pointer;
    font-size: 30px;
    color: #666;
  }
  
  .rating:not(:checked) > label:before {
    content: '★';
  }
  
  .rating > input:checked + label:hover,
  .rating > input:checked + label:hover ~ label,
  .rating > input:checked ~ label:hover,
  .rating > input:checked ~ label:hover ~ label,
  .rating > label:hover ~ input:checked ~ label {
    color: #e58e09;
  }
  
  .rating:not(:checked) > label:hover,
  .rating:not(:checked) > label:hover ~ label {
    color: #ff9e0b;
  }
  
  .rating > input:checked ~ label {
    color: #ffa723;
  }
  #backButton {
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: #007BFF; /* Bleu */
    color: white;
    border: none;
    border-radius: 5px; /* Bord arrondi */
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

#backButton:hover {
    background-color: #0056b3; /* Couleur légèrement plus foncée au survol */
}

  
  /* Blocs d'information */
.info-blocs {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-top: 40px;
    margin-left: 221px; /* Ajout pour décaler les blocs vers la droite */
}

.info-bloc {
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 40px;
    width: calc(33% - 20px); /* Pour 3 blocs alignés */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-right: auto;
    width: 60%; /* Ajustez la largeur selon vos besoins */
}

.info-bloc h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

.info-bloc p {
    margin: 0.5rem 0 0;
}

.info-bloc ul {
    padding-left: 20px; /* Indente la liste */
    margin: 10px 0;
}

.info-bloc li {
    margin-bottom: 5px;
    line-height: 1.5;
}

.info-bloc {
    margin: 25px;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}
.menu {
    display: flex;
    justify-content: space-around;
    background-color: #333; 
    padding: 10px;
    color: #fff;
}
/* menu */
.menu {
    text-align: center;
    margin-bottom: 20px;
}

.menu a {
    margin-right: 10px;
}


.menu {
    text-align: center;
    margin-bottom: 20px;
}

.menu a {
    margin-right: 10px;
}
/* Menu */
.menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.menu a {
    text-decoration: none;
    color: #333;
    padding: 10px 20px;
    background-color: #f1f1f1;
    border-radius: 5px;
}

.menu a:hover {
    background-color: #ddd;
}
.menu {
    text-align: center;
    margin-bottom: 20px;
}

.menu a {
    margin-right: 10px;
}


.menu {
    text-align: center;
    margin-bottom: 20px;
}

.menu a {
    margin-right: 10px;
}
/* Conteneur pour le titre et l'image */
.title-container {
    display: flex; /* Utilise Flexbox pour aligner les éléments */
    align-items: center; /* Centre verticalement les éléments */
    gap: 50px; /* Espace entre le titre et l'image */
}

/* Style pour l'image à côté du titre */
.title-image {
    width: 150px; /* Taille de l'image */
    height: auto; /* Conserve les proportions */
    border-radius: 5px; /* Bords arrondis */
}