/* Styles généraux pour tout le site */
body {
    background-color: #ced8a8;
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    width: 80%;
    margin: 0 auto;
}

.header {
    background-color: #000F5B;
    padding: 10px 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-section h1 {
    margin: 0;
}

.center-image {
    width: 200px; /* Ajustez la largeur selon vos besoins */
    height: auto; /* Laissez la hauteur se régler automatiquement en fonction de la largeur */
    display: block; /* Assurez-vous que l'image est affichée comme un bloc */
    margin: 0 auto; /* Centrez l'image horizontalement */
}

.right-section {
    display: flex;
}

.right-section a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
}

.social-links img {
    width: 50px;
    height: 50px;
}

/* Styles spécifiques pour la page d'accueil */
.welcome-section,
.formations-experiences-section,
.competences-section,
.certification-section {
    padding: 20px;
    text-align: center;
    color: #fff;
}

.welcome-section h2,
.formations-experiences-section h2,
.competences-section h2,
.certification-section h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 20px;
}

.welcome-section p {
    font-size: 18px;
    color: #444;
}

.cv-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000F5B;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 16px;
}

/* Styles pour le slider de certification */
.certification-slider {
    position: relative;
    overflow: hidden;
}

.certification-container {
    display: flex;
    transition: transform 0.5s ease;
}

.certification-block {
    flex: 0 0 250px;
    height: 380px;
    padding: 20px;
    box-sizing: border-box;
    margin-right: 20px;
    background-color: #DFDFDF;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.slider-nav button {
    font-size: 24px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
}

.certification-slider img {
    max-width: 100%;
    height: auto;
}

/* Styles pour les compétences */
.competences {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.competence {
    width: 250px;
    height: 380px;
    margin: 20px;
    background-color: #DFDFDF;
    padding: 20px;
    box-sizing: border-box;
}

.competence p {
    font-size: 18px;
    margin-bottom: 10px;
}

.progress-bar {
    height: 20px;
    background-color: #000F5B;
    width: 0; /* La largeur sera définie dynamiquement avec JavaScript */
    border-radius: 5px;
}

/* Styles pour les sections spécifiques */
/* Section de bienvenue */
.welcome-section {
    background-color: #ced8a8; /* Changer la couleur de fond */
    padding: 40px 0; /* Ajuster le padding */
}

/* Section de compétences */
.competences-section {
    background-color: #555; /* Changer la couleur de fond */
    padding: 40px 0; /* Ajuster le padding */
}

/* Section de certification */
.certification-section {
    background-color: #ced8a8; /* Changer la couleur de fond */
    padding: 40px 0; /* Ajuster le padding */
}
