/* Style général */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background-image: url(conception-plexus-moderne-3d-communications-reseau-techno-moderne.jpg);
}

/* En-tête */
header {
   
    color: white;
    text-align: center;
    padding: 20px 0;
    background-image: url(conception-plexus-moderne-3d-communications-reseau-techno-moderne.jpg);
}
/* Style pour la source */
.bloc-1 {
    text-align: center;
    margin-top: 10px;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    color: #fff; /* Changer la couleur pour un meilleur effet néon */
    text-shadow: 
        0 0 5px #0f1413,    /* Couleur principale (cyan) */
        0 0 10px #0f1413,   /* Couleur principale (cyan) */
        0 0 20px #0f1413,   /* Couleur principale (cyan) */
        0 0 40px #0f1413,   /* Couleur principale (cyan) */
        0 0 80px #454692,   /* Couleur secondaire (bleu) */
        0 0 120px #454692;  /* Couleur secondaire (bleu) */
    font-weight: bold; /* Rendre le texte gras pour un effet plus prononcé */
}
.p{
    text-align: center;
}

header h1 {
    margin: 0;
    
}

/* Barre de menu */
nav .menu {
    display: flex;
    justify-content: center;
    background-color: black;
    padding: 10px 0;
    margin: 0;
    list-style: none;
}

nav .menu li {
    margin: 0 15px;
}

nav .menu li a {
    text-decoration: none;
    color: white;
    background-color: white;
    color: black;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav .menu li a:hover {
    background-color: #ddd;
}

/* Sections */
section {
    padding: 40px 20px;
}

.section-blue {
    background-color: #e6f2ff;
    color: black;
}

.section-white {
    background-color: white;
    color: black;
}

/* Style général pour la frise chronologique verticale */
.timeline-vertical {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.timeline-vertical h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
}

.timeline-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.timeline-item {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: 80%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.timeline-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.timeline-item h3 {
    color: #0056b3;
    margin-bottom: 10px;
}

.timeline-item p {
    margin: 5px 0;
    color: #555;
}

.timeline-item a {
    color: blue;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.timeline-item a:hover {
    color: darkblue;
    text-decoration: underline;
}
.timeline-container-1 {
    margin-left: 500px;
    background-color: rgb(29, 219, 86);
    border: 1px solid #11c948;
    border-radius: 10px;
   
    width: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s; /* Décale les blocs vers la droite */
    /* margin-right: 50px; Pour déplacer vers la gauche */
}
.timeline-container-2 {
    margin-right: 500px; 
    background-color: rgb(18, 36, 194);
    border: 1px solid #1613e4;
    border-radius: 10px;

    width: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;/* Décale les blocs vers la droite */
    /* margin-right: 50px; Pour déplacer vers la gauche */
}
.timeline-container-3 {
    margin-left: 500px; 
    background-color: rgb(129, 31, 31);
    border: 1px solid #811616;
    border-radius: 10px;
   
    width: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;/* Décale les blocs vers la droite */
    /* margin-right: 50px; Pour déplacer vers la gauche */
}
.timeline-container-4 {
    margin-right: 500px; 
    background-color: rgb(160, 7, 160);
    border: 1px solid #c011b7;
    border-radius: 10px;
   
    width: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;/* Décale les blocs vers la droite */
    /* margin-right: 50px; Pour déplacer vers la gauche */
    
}
.timeline-item.left {
    transform: translateX(-50px); /* Décale vers la gauche */
}

.timeline-item.right {
    transform: translateX(50px); /* Décale vers la droite */
}


/* Boutons */
.buttons {
    text-align: center;
    margin-top: 20px;
}

.btn {
    background-color: #0056b3;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #003d80;
}

/* Skills et Certifications */
.skills-container, .certifications-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.skill-item, .certification-item {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    width: 150px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.skill-item:hover, .certification-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.skill-item img, .certification-item img {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.certification-item p a {
    color: blue;
    text-decoration: none;
}

.certification-item p a:hover {
    text-decoration: underline;
}

/* Pied de page */
footer {
    background-color: #003d80;
    color: white;
    text-align: center;
    padding: 10px 0;
}
/* TItre */
.titre {
    text-align: center;
}
/* Style général pour les boutons de scroll */
.scroll-button {
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1a73e8; /* Bleu */
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Position spécifique des boutons */
#scroll-top {
    bottom: 110px;
    right: 20px;
}

#scroll-bottom {
    bottom: 50px;
    right: 20px;
}

/* Effet au survol */
.scroll-button:hover {
    background-color: #0b5ed7; /* Bleu plus foncé */
    transform: scale(1.1); /* Agrandissement */
}

#backButton {
    padding: 10px 20px;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#backButton:hover {
    background-color: #45a049;
}
.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;
}
/* Styles pour les boutons de défilement */
.scroll-button {
    position: fixed; /* Position fixe pour rester visible lors du défilement */
    right: 20px; /* Position à droite */
    background-color: #007bff; /* Couleur bleue */
    color: white; /* Texte blanc */
    border: none; /* Pas de bordure */
    border-radius: 50%; /* Forme ronde */
    width: 40px; /* Largeur */
    height: 40px; /* Hauteur */
    font-size: 20px; /* Taille de la flèche */
    cursor: pointer; /* Curseur pointer */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre douce */
    transition: background-color 0.3s, transform 0.3s; /* Animation fluide */
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-button:hover {
    background-color: #0056b3; /* Changement de couleur au survol */
    transform: scale(1.1); /* Effet de zoom au survol */
}

#scroll-top {
    top: 20px; /* Position en haut à droite */
}

#scroll-bottom {
    bottom: 20px; /* Position en bas à droite */
}
/* Styles pour le bouton Retour */
.back-button {
    position: fixed; /* Position fixe pour rester visible lors du défilement */
    top: 20px; /* Position en haut */
    left: 10px; /* Déplacé plus à gauche */
    background-color: #80dfff; /* Bleu clair */
    color: white; /* Texte blanc */
    border: none; /* Pas de bordure */
    border-radius: 5px; /* Coins arrondis */
    padding: 10px 15px; /* Espacement intérieur */
    font-size: 16px; /* Taille de la police */
    cursor: pointer; /* Curseur pointer */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre douce */
    transition: background-color 0.3s, transform 0.3s; /* Animation fluide */
    z-index: 1000; /* S'assurer qu'il est au-dessus des autres éléments */
}

.back-button:hover {
    background-color: #66b3ff; /* Changement de couleur au survol (bleu légèrement plus foncé) */
    transform: scale(1.05); /* Effet de zoom au survol */
}