body {
    font-family: 'Lexend', serif;
}


header {
    background: linear-gradient(to right, #00C2F7, #02addc);
}

section {
    padding: 60px 0;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

footer {
    background: #54595C;
}

#about .p-pad {
    padding-bottom: 1em;
}


#about {
    border-radius: 8px;
    padding: 20px;
}

#about h4 {
    color: #343a40;
    /* Gris foncé */
    margin-bottom: 15px;
}

#about ul {
    padding-left: 0;
}

#about li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #495057;
    /* Gris moyen */
}

a {
    color: #00C2F7;
    text-decoration: none;
}

#about a:hover {
    text-decoration: underline;
}

#about .container-interest {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;

}

#about .interest {
    margin-top: 2em;
    display: flex;
    align-items: center;
}

#about .text-center {
    margin-bottom: 1em;
}

@media (min-width: 1048px) {
    #about .container-pad {
        padding-left: 4em;
    }

    #about .interest {
        padding-left: 6em;
        padding-right: 6em;
    }
}

.reseaux-sociaux {
    display: flex;
    justify-content: center;

}

.icon-linkedin {
    width: 2em;
    color: white;
    background-color: #fff;
}


.label-reseaux {
    size: auto;
    justify-content: center;
}


/* Conteneur de la frise */
.timeline {
    position: relative;
    margin: 0 auto;
    padding-left: 20px;
    border-left: 3px solid #00C2F7;
    /* Couleur gris Bootstrap */
}

/* Élément de la frise */
.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 20px;
}

/* Point sur la ligne */
.timeline-dot {
    position: absolute;
    left: -9px;
    top: 10px;
    width: 18px;
    height: 18px;
    background-color: #00C2F7;
    /* Gris Bootstrap */
    border-radius: 50%;
    border: 3px solid #fff;
    z-index: 1;
}

/* Par défaut, le point est visible */
.timeline-dot {
    transition: opacity 0.3s ease;
    opacity: 1;
}

/* Lorsque le contenu de la timeline est survolé */
.timeline-item:hover .timeline-dot {
    opacity: 0;
    /* Rend le point invisible */
}

/* Contenu de l'élément */
.timeline-content {
    background-color: #f8f9fa;
    /* Couleur de fond claire */
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Titres et texte */
.timeline-content h4 {
    font-size: 1.2rem;
    color: #343a40;
    /* Gris foncé */
}

.timeline-content p,
.timeline-content ul {
    margin: 0;
}

.timeline-content:hover {
    transform: scale(1.05);
    /* Agrandit légèrement l'élément */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    /* Ajoute une ombre */
}

/* Indiquer que l'item est cliquable */
.timeline-clickable {
    cursor: pointer;
}

.timeline-clickable:hover {
    background-color: #f1f1f1;
    /* Change la couleur de fond */
}

/* Responsive */
@media (max-width: 768px) {
    .timeline {
        padding-left: 10px;
        border-left: 2px solid #6c757d;
    }

    .timeline-dot {
        left: -7px;
        width: 14px;
        height: 14px;
        border: 2px solid #fff;
    }
}

#education .timeline-dot {
    background-color: #28a745;
    /* Vert pour les formations */
}

#projects .timeline-dot {
    background-color: #ffc107;
    /* Vert pour les formations */
}

#skills {
    padding: 40px 20px;
    border-radius: 8px;
}

#skills h2 {
    color: #343a40;
    margin-bottom: 30px;
}

.skill-category {
    margin-bottom: 40px;
}

.skill-category h3 {
    color: #54595C;
    border-bottom: 2px solid #54595C;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: bold;
}

.progress-wrapper {
    margin-bottom: 20px;
}

.progress {
    height: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    line-height: 20px;
    font-size: 0.85rem;
    color: white;
}

#download-pdf {
    margin-left: 2em;
}

@media print {

    /* Taille de la police pour l'impression */
    body {
        font-size: 12px;
        color: black;
        visibility: visible;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        background-color: white;
    }

    /* Supprimer les éléments inutiles */
    .no-print {
        display: none;
    }

}