body {
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

/* Header */

header {
    position: fixed;
    padding: 0px;
    background-color: #333333;
    width: 100%;
    height: 75px;
    align-items: center;
    display: flex;
    z-index: 5;
}

.nom {
    font-size: 24px;
    color: #FAFAFA;
    display: inline-block;
    margin: 10px 40px;
}

.nom:hover {
    text-decoration: underline;
}


nav a {
    margin: 10px 35px;
    padding: 7px 15px;
    border: 2px solid #FAFAFA;
    color: #FAFAFA;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
}

nav a:hover {
    box-shadow: 0px 0px 8px #FAFAFA;
}

nav {
    display: inline-block;
}

/* Premier bloc */

.test {
    height: 100vh;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 85%, rgba(255, 255, 255, 1) 97%), url('img/fond.jpg') no-repeat center center / cover;
}

.first-bloc {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* Opacité */
    background-color: rgba(255, 255, 255, 0.1);
    /* Partie floue */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.first-bloc h1 {
    margin: 10px;
    padding: 10px;
    font-size: 40px;
    color: #FAFAFA;
    text-shadow:
        -1px -1px 0 #000,
        /* Ombre en haut à gauche */
        1px -1px 0 #000,
        /* Ombre en haut à droite */
        -1px 1px 0 #000,
        /* Ombre en bas à gauche */
        1px 1px 0 #000;
    /* Ombre en bas à droite */
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    /* Ajustez cette valeur pour positionner l'icône verticalement */
    left: 50%;
    transform: translateX(-50%);
    /* Centre horizontalement l'icône */
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    /* Indique que c'est un élément interactif (même si ce n'est qu'un indicateur visuel) */
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid #FAFAFA;
    /* Couleur de la flèche, modifiez si vous voulez une autre couleur */
    border-right: 2px solid #FAFAFA;
    /* Couleur de la flèche */
    transform: rotate(45deg);
    /* Fait pivoter les carrés pour former une flèche */
    margin: -5px 0;
    /* Superpose les spans pour une forme de flèche continue */
    animation: scroll-down 1.5s infinite;
    /* Applique l'animation de défilement */
}

.scroll-indicator span:nth-child(2) {
    animation-delay: 0.2s;
    /* Décalage pour un effet d'animation en cascade */
}

.scroll-indicator span:nth-child(3) {
    animation-delay: 0.4s;
    /* Décalage supplémentaire */
}

@keyframes scroll-down {
    0% {
        opacity: 0;
        transform: rotate(45deg) translateY(0px);
        /* Commence 20px au-dessus de la position normale, et est transparent */
    }

    50% {
        opacity: 1;
        transform: rotate(45deg) translateY(0);
        /* Arrive à la position normale, et est totalement opaque */
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translateY(0px);
        /* Se déplace 20px en dessous de la position normale, et redevient transparent */
    }
}

/* Bloc présentation */

/* Bloc présentation */
.div-presentation {
    padding: 0px 45px 50px 45px;
    display: flex;
    flex-direction: column;
    /* La section reste organisée en colonne (titre en haut, contenu en dessous) */
    border-bottom: 1px solid #000;
}

.presentation-content {
    display: flex;
    justify-content: flex-start;
    /* Aligne le contenu à gauche */
    align-items: stretch;
    gap: 50px;
    flex-wrap: wrap;
}

.presentation-groupetext {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex: 2;
    order: 2;
}

.intro-and-about-me {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
    /* Espace entre la photo/intro et "A propos de moi" */
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.a-propos-de-moi {
    order: 1;
    flex: 1;
    /* Prend l'espace disponible */
}

.a-propos-de-moi a {
    text-decoration: none;
    color: #0026fc;
}

.a-propos-de-moi,
.projet-avenir {
    border: #333333 solid 1px;
    border-radius: 8px;
    padding: 10px 30px;
    margin: 10px 0;
    text-align: justify;
    width: 100%;
    box-sizing: border-box;
    /* S'assure que le padding et la bordure sont inclus dans la largeur */
}

.social-links {
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    order: 1;
}

.social-links a {
    color: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.social-links a:hover i {
    transform: scale(1.2);
    /* Agrandit légèrement l'icône au survol */
    transition: transform 0.3s ease;
    /* Ajoute une transition douce à l'agrandissement */
}

.presentation-intro {
    display: flex;
    /* Mise en page en ligne */
    align-items: center;
    /* Centrer verticalement */
    gap: 20px;
    /* Espacement entre la photo et le texte */
    margin-bottom: 20px;
    /* Espace sous cette section */
    order: 2;
}

.profile-picture {
    width: 200px;
    height: auto;
    border-radius: 50%;
    /* Pour la rendre ronde */
    object-fit: cover;
    /* Pour bien remplir le cercle */
    border: 2px solid #333333;
}

.a-propos-de-moi h3,
.projet-avenir h3 {
    text-align: center;
}


/* Projets */

.div-projets {
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    border-bottom: #333333 solid 1px
}

.projets {
    display: flex;
    vertical-align: top;
    justify-content: center;
    align-content: center;
}

.projets img {
    display: flex;
    width: 130px;
    height: 130px;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.tp-manager,
.au-fil-des-contes,
.portfolio {
    margin: 10px 30px;
    padding: 15px;
    border: #cecece solid 1px;
    border-radius: 8px;
    text-align: justify;
    width: auto;
    max-width: 25%;
    flex-wrap: wrap;
    transition: transform 0.3s;
}

.logo {
    display: flex;
    justify-content: center;
    margin: auto;
}

.projet-description {
    text-align: justify;
}

.titre-projet {
    text-align: center;
}

/* Langages */

.div-langages {
    padding: 30px 30px 0px 30px;
    display: flex;
    flex-direction: column;
}

.langages {
    padding: 10px 30px;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-wrap: wrap;
}

.langages img {
    width: 250px;
    height: 300px;
    object-fit: contain;
}

.langages p {
    font-size: 16px;
    font-weight: 600;
}

.langage {
    display: flex;
    padding: 10px 35px;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    transition: transform 0.3s;
}

.langage:hover {
    transform: scale(1.1);
}


/* Compétences */

.tableau-synthese {
    padding: 150px 45px 45px 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
}

.tableau-synthese-img {
    width: 900px;
    object-fit: contain;
}

.telecharger-tableau {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 600;
}

.telecharger-tableau a {
    padding: 7px 15px;
    margin-bottom: 30px;
    text-decoration: none;
    font-size: 20px;
    color: #FAFAFA;
    background-color: #333333;
    border-radius: 20px;
}

.telecharger-tableau a:hover {
    text-decoration: underline;
}

/* Veille technologique */

.texte-veille {
    padding: 150px 150px;
    display: flex;
    justify-content: center;
    align-items: left;
    text-align: justify;
    flex-direction: column;
    font-size: 18px;
}

.texte-veille h3 {
    font-size: 26px;
    text-align: left;
}