/* Formatage globale de la page */
:root {
    --main-font: Poppins, sans-serif;
    --second-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --base-font-size: 1rem;
    --main-text-color: #ffffff;
    --secondary-text-color: #000000;
    --third-text-color: #164fac;
    --text-hover-color: #5581cc;
    --dark-text-color: rgba(0, 0, 0, 0.799);
    --dark-primary-color: rgba(0, 0, 0, 0.195);
    --dark-secondary-color: rgba(0, 0, 0, 0.088);
    --dark-third-color: rgba(0, 0, 0, 0.519);
    --red-color: rgba(255, 0, 0, 0.711);
    --logo-font: system-ui, -apple-system, sans-serif;
}
button:active {
    animation: fade-out 0.3s ease forwards;
}

@keyframes fade-out {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0.5;
        transform: scale(0.95);
    }
}
* {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
    /* Pour cacher la barre de défilement */
    scrollbar-width: none; /* firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}
/* Pour cacher la barre de défilement pour les navigateurs WebKit(modernes) */
::-webkit-scrollbar {
    width: 0; /* Pour cacher la barre de défilement verticale */
    height: 0; /* Pour cacher la barre de défilement horizontale */
}
html {
    font-size: var(--base-font-size);
    font-family: var(--main-font);
}
body {
    min-height: 100vh;
    min-width: 100vw;
    display: flex;
    flex-direction: column;
}

/*-------------------------------------------------------------*/
/* Index.html */
/*-------------------------------------------------------------*/

 /* Personnalisation du header */
.index-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-position: center;
    background-size: cover;
    position: relative;
    width: 100%;
    height: 100%; /* Occupe toute la hauteur de la fenêtre */
    overflow: hidden; /* Évite les débordements */
}
/* Arrière-plan flou avec ::before */
.index-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/pexels-googledeepmind-17483870.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(10px); /* Intensité du flou */
    z-index: -1; /* Place derrière le contenu */
}
 /* Personnalisation du header-main-container */
.header-main-container {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 4%;
    margin-bottom: 30px;
}
.header-main-container > .pre-intro {
    display: flex;
    height: 350px;
    width: 100%;
    margin-right: auto;
}
#canvas {
    margin-top: 2.5%;
	display: block;
}
.header-main-container > .pre-intro .margin {
    width: 0px;
    height: 0px;
    margin-left: 10%;
}
.header-main-container > .pre-intro .author-portrait {
    align-self: flex-start;
    padding-bottom: 50px;
    height: 280px;
    width: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    overflow: hidden;
    margin: 50px 0px 0px 50px;
    border: 2px dotted var(--dark-primary-color);
}
.header-main-container > .pre-intro .author-info {
    align-self: center;
    margin: auto auto auto 30px;
}
.header-main-container .author-info > p:first-child {
    font-size: 1.7rem;
    line-height: 40px;
    color: var(--dark-text-color);
}
.header-main-container .author-info > p:first-child img {
    width: 35px;
    height: 35px;
    
    }
.header-main-container  .author-info > p:first-child span {
    color: var(--third-text-color);
    font-weight: bold;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.3rem;
}
.header-main-container .author-info >  p:nth-child(2) {
    font-size: 1.1rem;
    color: var(--dark-text-color);
}
.header-main-container .author-info > div {
    display: flex;
    justify-content: flex-start;
}
.header-main-container .author-info div:last-child p {
    font-size: 1.2rem;
    color: var(--dark-text-color);
    margin: 10px 50px 0px 0px;
    line-height: 18px;
}
.header-main-container .author-info div:last-child span {
    font-size: 0.7rem;
    color: var(--dark-third-color);
}
.header-main-container > .author-portrait img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.header-main-container > .header-main-intro {
    display: flex;
    padding: 10px;
    width: 100%;
    font-size: 1.2rem;
    align-self: flex-start;
    margin: 0px 30px 0px 10px;
}
.header-main-container > .header-main-intro .intro {
    display: flex;
    max-width: 50%;
    font-family: var(--main-font);
    color: var(--dark-text-color);
    line-height: 1.4rem;
    font-size: 1.1rem;
    margin: 0px auto 0px 5px;
}
.header-main-container > .header-main-intro .socials {
    align-self: center;
    height: fit-content;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    background-color: var(--dark-secondary-color );
    border-radius: 20px;
}
.header-main-container > .header-main-intro .socials > a {
    color: var(--third-text-color);
    text-decoration: none;
    line-height: 55px;
}
.header-main-container > .header-main-intro .socials > a:first-child {
    color: var(--third-text-color);
}
.header-main-container > .header-main-intro .socials > a:nth-child(2) {
    color: rgb(0, 0, 0, 0.8);
}
.header-main-container > .header-main-intro .socials > a:nth-child(3) {
    color: rgb(0, 153, 255);
}
.header-main-container > .header-main-intro .socials > a:first-child:hover {
    color: rgba(22, 80, 172, 0.599);
}
.header-main-container > .header-main-intro .socials > a:nth-child(2):hover {
    color: rgba(0, 0, 0, 0.593);
}
.header-main-container > .header-main-intro .socials > a:nth-child(3):hover {
    color: rgba(0, 140, 255, 0.595);
}

.header-main-container > .header-main-intro .name {
    font-weight: bold;
    font-style: italic;
    color: var(--third-text-color);
}
.header-main-intro .intro{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.header-main-intro > .quote-container {
    display: flex;
    flex-direction: row;
    margin: 10px 10px 10px 0px;
    font-size: 1.1rem;
    font-family: var(--main-font);
    width: 40%;
}
.header-main-intro > .quote-container .vertical-quote-line {
    width:10px;
    height: 70%;
    background-color: var(--dark-primary-color);
    margin: 0px;
    border-radius: 10px;
}
.header-main-intro > .quote-container > .quote {
    display: flex;
    flex-direction: column;
    color: rgb(0, 0, 0, 0.5);
    font-family: var(--main-font);
}
.header-main-intro > .quote-container .quote-icon  i {
    font-size: 1.4rem;
    margin: 10px 0px 0px 40px;
    color: rgb(0, 0, 0, 0.6);
}
.header-main-intro > .quote-container > .quote blockquote {
    padding: 0px auto;
    margin: 10px 40px;
}
.header-main-intro > .quote-container > .quote p {
    margin: 0px 40px;
    font-weight: bold;
    align-self: self-end;
    color: rgb(0, 0, 0, 0.6);
}
/* Personnalisation du main */
main {
    background-color: var(--main-text-color);
    width: 100%;
    padding: 20px;
}
.main-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    align-self: flex-start;
    width: 100%;
    padding: 0px;
}
.main-container > h2 {
    color: var(--dark-text-color);
    margin: 30px 0px 5px 0px;
}
.main-container p:nth-child(3) {
    color: var(--dark-text-color);
    line-height: 1.2rem;
    margin-top: 2px;
}

.btn-projects-generic {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px;
    max-width: 80%;
    margin: 20px 0px 0px 0px;
}
.btn-projects-generic a {
    flex: 1;
    color: var(--third-text-color);
    text-decoration: none;
    padding: 15px;
}
.main-container .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(255, 255, 255);
    color: var(--third-text-color);
    border: 1px solid var(--third-text-color);
    font-size: 1rem;
    border-radius: 30px;
    height: 38px;
    margin: 6px 10px 6px 0px;
    overflow: unset;
}
.btn svg {
    margin-right: 8px;
    font-size: 1rem;
    color: var(--third-text-color);
    cursor: pointer;
}
.btn svg:hover circle {
    .btn {
        background: rgb(233, 236, 239);
    }
    fill: rgb(224, 227, 230)
}
.main-container .btn:hover {
    background: rgb(233, 236, 239);
    color: var(--text-hover-color);
    border: 1px solid var(--text-hover-color);
    font-size: 1rem;
    border-radius: 30px;
    height: 38px;
    margin: 6px 10px 6px 0px;
    cursor: pointer;
}
.main-container .categories > span {
    color: var(--dark-text-color);
}
.main-container > .categories {
    color: var(--dark-text-color);
}
.main-container > .more {
    font-size: 1rem;
    color: var(--dark-text-color);
    margin: 10px 0px 20px 0px;
    line-height: 1.3rem;
    width: 90%;
}
.main-container h3 {
    margin-left: 1px;
    margin-top: 20px;
}
.projects-container {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Deux colonnes égales */
    grid-gap: 20px; /* Espacement entre les projets */
}
.projects-container > .pros-container {
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    overflow: hidden;
    width: 100%;  
    height: 360px;
    background-color: var(--dark-secondary-color);
    border-radius: 15px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}
.pros-container.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.projects-container > .pros-container > .pros {
    overflow: unset;
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    align-items: flex-start;
    padding: 10px 10px 0px 10px;
    width: 100%;
    height: 235px;
}
.pros > div:nth-child(1) {
    width: 35%;
    max-width: 250px;
    border-radius: 15px;
    padding: 0px 5px 5px 5px;
}
.pros > div:nth-child(1) > h2 {
    text-wrap: nowrap;
    text-overflow: ellipsis;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-text-color);
}
.pros > div:nth-child(1) > img {
    width: 200px;
    max-width: 200px;
    height: 200px;
    max-height: 200px;
    border-radius: 15px;
    margin: 0px;
    padding: 4px;
    background-color: transparent;
    border: 1px solid var(--dark-primary-color);
}
.pros > .highlights {
    width: 80%;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 2.5px 0px 0px 15px;
}
.pros > .highlights > h3 {
    margin: 0px 0px 5px 0px;
    padding-bottom: 5px;
    font-weight: bold;
    font-size: 1.2rem;
    font-family: var(--second-font);
    color: var(--dark-text-color);
}
.highlights {
    padding: 0px;
    font-family: Arial, sans-serif;
}
.highlights ul {
    overflow-y: hidden;
    list-style: disc inside;
    padding-left: 2px;
    margin-bottom: 0px;
}
.highlights li {
    line-height: 25px;
    font-size: 1rem;
    color: var(--dark-text-color);
}
.highlights p, .pros-tag {
    margin: 17px 0px 5px 15px;
    font-size: 1rem;
    color: var(--dark-third-color);
}
.pros-tag {
    position: absolute;
    bottom: 60px;
}
.pros-details {
    position: absolute;
    bottom: 0px;
    height: auto;
    width: 90%;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0px 10px 15px 15px;
    cursor: pointer;
    gap: 10px;
}
.pros-details > div {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px 15px 0px 0px;
    height: 40px;
    width: fit-content;
    max-width: 29.5%;
    padding: 0px 10px;
    background-color: var(--main-text-color);
    border-radius: 8px;
    border: 1.5px solid var(--dark-primary-color);
}
.pros-details > div:hover {
    background: rgb(233, 236, 239);
}
.pros-details > div img {
    width: 25px;
    height: 25px;
    margin: 0px 10px 0px 5px;
}
.pros-details a {
    text-decoration: none;
    color: var(--dark-text-color);
    font-size: 1rem;
}
.show-more {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    font-family: var(--base-font-size);
    margin-top: 40px;
    color: var(--dark-third-color);
    border: 1px solid var(--dark-secondary-color);
    border-radius: 20px;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 20px;
    max-width: fit-content;
    height: 35px;
}
.show-more:hover {
    background-color: rgb(242, 243, 245);
}
.other-projects {
    margin-top: 30px;
    width: 100%;
}
/* Style pour les liens les autres projets */
.other-projects h2 {
    font-size: 1.5rem;
    font-family: var(--main-font);
    color: var(--dark-text-color);
    margin: 0px auto 10px auto;
}
.other-projects p {
    line-height: 20px;
    font-size: 1rem;
    font-family: var(--main-font);
    color: var(--dark-text-color);
    margin: 10px auto 15px auto;
}
.other-projects .accordion {
    width: 100%;
    border: 1px solid var(--dark-primary-color);
    border-radius: 5px;
    background: #fff;
}
.accordion-item {
    border-bottom: 1px solid var(--dark-primary-color);
}
.accordion-header {
    padding: 15px;
    background: var(--dark-secondary-color);
    color: var(--third-text-color);
    cursor: pointer;
    font-size: 16px;
    text-align: left;
    border: none;
    width: 100%;
    outline: none;
    display: block;
    transition: background 0.3s;
}
.accordion-header:hover {
    background: rgb(233, 236, 239);
}

.accordion-content {
    padding: 0px;
    display: none; /* Caché par défaut */
    background: white;
    font-size: 1.1rem;
}
.accordion-content button {
    background: none;
    border: none;
    color: var(--dark-text-color);
    font-size: 0.9rem;
    cursor: pointer;
    text-align: left;
    width: 100%;
    padding: 15px 10px;
    margin: 5px 0;
    background-color: var(--dark-secondary-color);
    border-radius: 5px;
}
.accordion-content button:hover {
    background: rgb(233, 236, 239);
    color: var(--text-hover-color);
}
.active + .accordion-content {
    display: flex;
    padding: 10px;
    display: flex;
    flex-direction: column
}
/* Style pour les liens les projets de demonstration */
.demonstration-projects {
    margin-top: 25px;
}
.demonstration-projects h2 {
    font-size: 1.5rem;
    font-family: var(--main-font);
    color: var(--dark-text-color);
    margin: 0px auto 0px auto;
}
.demonstration-projects p {
    line-height: 20px;
    font-size: 1rem;
    font-family: var(--main-font);
    color: var(--dark-text-color);
    margin: 5px auto 10px auto;
}
.demonstration-projects ul {
    list-style: disc inside;
    padding-left: 20px;
    line-height: 1.5;
    margin: 0;
}
.important-note {
    font-size: 1rem;
    color: var(--dark-text-color);
    margin: 10px 0;
}
.view-project-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--third-text-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    margin-top: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.view-project-btn:hover {
    background-color: var(--text-hover-color);
    color: var(--main-text-color);
}
/* Styles pour l'arrière-plan */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    justify-content: center;
    align-items: center;
}

/* Fenêtre modale */
.modal {
    background: white;
    width: 50%;
    max-width: 600px;
    padding: 0px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease-in-out;
}

/* Animation d'apparition */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Titre */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 15px 0px 15px 10px;
    font-family: var(--main-font);
    color: var(--dark-text-color);
}
.modal-header > img {
    width: 15px;
    height: 15px;
    margin-right: 15px;
}
.modal-header > img:hover {
    cursor: pointer;
    transform: scale(1.5);
    transition: transform 0.3s ease-in-out;
}

/* Contenu */
.modal-content {
    font-size: 1rem;
    line-height: 1.5;
    margin: 10px;
    font-family: var(--main-font);
    color: var(--dark-text-color);
}
.modal-content > ul {
    list-style: disc inside;
    margin-left: 20px;
    line-height: 30px;
}
/* Lignes horizontales - Ajustement pour atteindre les extrémités */
hr {
    border: none;
    border-top: 1px solid #ccc;
    width: 100%;
    margin: 0; /* Supprime les marges pour toucher les bords */
}

/* Pied de page */
.modal-footer {
    display: flex;
    justify-self: flex-end;
}

/* Bouton */
.modal-footer button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 10px;
    border: none;
    background: #ddd;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    height: 35px;
    width: 110px;
}
.modal-footer button > p {
    color: var(--third-text-color);
    font-family: var(--main-font);
    font-size: 1.2rem;
    margin: 0px;
}
.modal-footer button > svg {
    width: 20px;
    height: 20px;
    margin: 0px;
}
.modal-footer button > svg:hover {
    transform: scale(1.2);
    transition: transform 0.3s ease-in-out;
}
.modal-footer button:hover {
    background: #ccc;
}
.big-modal-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999999;
    overflow-y: hidden;
}
.big-modal-overlay.show { 
    display: flex; 
}
.big-modal-content {
    background: var(--main-text-color); 
    border-radius: 10px; 
    padding: 32px; 
    max-width: fit-content; 
    width: 65vw;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45); 
    position: relative;
    max-height: 90vh; 
    overflow: auto;
}
.big-modal-content h2 {
    font-size: 1.4rem; 
    font-weight: bold; 
    color: var(--dark-text-color);
    margin-bottom: 5px;
}
.big-modal-content p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--dark-text-color);
}
.big-modal-content .download-link a {
    color: var(--third-text-color);
    text-decoration: none;
}
.big-modal-close {
    position: absolute; 
    top: 18px; 
    right: 20px; 
    font-size: 40px; 
    color: #ffffffa2; 
    cursor: pointer; 
    background: rgba(0, 0, 0, 0.506); 
    border-radius: 50%; 
    width: 48px; 
    height: 48px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    z-index: 999999999;
}
/* -------------------------------------------------- */
/* about.html */
/* -------------------------------------------------- */

/* Section principale */
.about-section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 30px;
}
.about-body {
    position: relative;
    min-height: 100vh;
    z-index: 0;
}
.about-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/pexels-googledeepmind-17483870.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(30px); /* Intensité du flou */
    z-index: -1; /* Place derrière le contenu */
}
/* Conteneur principal */
.about-content {
    margin-top: 100px;
    display: flex;
    border-radius: 12px;
    position: relative;
}
.certificates {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.certificates > .certi-container {
    display: flex;
    flex-direction: row;
    max-width: 80%;
    flex-wrap: wrap;
}
.certi-container > div {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1rem;
    border: 1px solid var(--dark-primary-color);
    border-radius: 20px;
    height: 40px;
    padding: 0px 20px;
    color: var(--dark-text-color);
    margin-right: 15px;
}
.certi-container span, .forma-container span {
    margin: 0px 10px;
    background-color: var(--dark-primary-color);
    width: 1px;
    height: 80%;
    border-radius: 50%;
}
.certi-container strong, .forma-container strong{
    margin: 0 auto;
    white-space: nowrap;     
    overflow: hidden;  
    text-overflow: ellipsis;
}
.certi-container i, .forma-container i{
    margin: 0;
    white-space: nowrap;     
    overflow: hidden;  
    text-overflow: ellipsis;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}
.certi-container i:hover,
.forma-container i:hover {
    color: var(--dark-third-color);
    cursor: pointer;
}


/* Contenu du texte */
.text-container {
    padding-left: 0px;
    display: flex;
    flex-direction: column;
}

.title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--dark-text-color);
}

.subtitle {
    font-size: 1.2rem;
    color:var(--dark-text-color);
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
}

.description {
    font-size: 1rem;
    line-height: 1.3;
    color: var(--dark-text-color);
}
.text-container ul {
    list-style: disc inside;
    padding-left: 20px;
    line-height: 30px;
    margin-bottom:10px;
}
.hr-line {
    border: none;
    border-top: 1px solid var(--dark-primary-color);
    margin: 10px 0px;
}
.info {
    display: flex;
}
.info > div {
    flex: 1;
    margin-right: 20px;
}

.info p {
    font-size: 1rem;
    margin: 5px 0;
    color: var(--dark-text-color);
}
.info a {
    text-decoration: none;
    color: var(--third-text-color);
    cursor: pointer;
}
/* Responsivité */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
        text-align: center;
    }

    .text-container {
        padding-left: 0;
        margin: 0 20px;
    }
}

/* -------------------------------------------------- */
/* skills.html */
/* -------------------------------------------------- */


.skills-container {
    position: relative;
    min-height: 100vh; /* garantit que ::before couvre la page */
    z-index: 0;
    width: 100%;
    top: 60px;
    margin: auto;
    padding: 40px 40px 15px 40px;
    box-sizing: border-box;
}
.skills-body {
    position: relative;
    min-height: 100vh; /* garantit que ::before couvre la page */
    z-index: 0;
}
.skills-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/pexels-googledeepmind-17483870.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(20px); /* Intensité du flou */
    z-index: -1; /* Place derrière le contenu */
}

.skills-container > div:nth-child(7), div:nth-child(8) {
    margin-bottom: 0px;
    padding-bottom: 0%;
}
.skills-container > div:last-child {
    margin-left: 0px;
    margin-right: 100%;
    margin: 30px 0px 20px 0px;
}
.skills-title {
    color: var(--dark-text-color);
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0px 0 15px 0;
    width: fit-content;
}
.skills-description {
    color: var(--dark-text-color);
    font-size: 1rem;
    margin: auto;
    margin-bottom: 30px;
    text-align: left;
}

.skills-container {
    color: var(--dark-text-color);
    font-size: 1rem;
    margin: auto;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px; /* Ajout d'un plus grand espacement entre les colonnes */
}
.skill-category {
    width: 48%; /* Ajustement pour laisser plus d'espace entre les colonnes */
    text-align: left;
    display: inline-block;
    vertical-align: top;
    padding-bottom: 30px; /* Espacement supplémentaire entre les catégories */
}
.category {
    display: flex;
    margin-top: 15px;
}
.category .vertical-bar {
    width: 8px;
    border-radius: 25px;
    margin-right: 20px;
    background-color: var(--dark-secondary-color);
}
.skills-content {
    margin-top: auto;
    flex-direction: column;
    width: 100%;
    padding: 10px;
    color: var(--dark-text-color);
}

.skill-category h2 {
    color: var(--dark-text-color);
    font-size: 1.2rem;
    font-weight: bold;
    font-family: var(--base-font-size);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.skill-category p {
    color: var(--dark-text-color);
    font-size: 1rem;
}

.skill {
    display: flex;
    align-items: center;
    line-height: 35px; /* Augmenter l'espacement entre les skills */
    font-size: 1rem;

}
.skill span {
    flex: 1;
    text-align: left;
    font-weight: bold;
    color: var(--dark-text-color);
}

.percentage {
    margin-left: 10px;
    font-weight: bold;
    color: var(--third-text-color);
}

.bar {
    flex: 3;
    height: 10px;
    background: var(--dark-secondary-color);
    border-radius: 10px;
    overflow: hidden;
    margin-left: 15px;
    position: relative;
}

.progress {
    height: 100%;
    background: var(--third-text-color);
    border-radius: 10px;
    width: 0;
    transition: width 1s ease-in-out;
}

@keyframes fillBar {
    from {
        width: 0;
    }
}

.progress {
    animation: fillBar 1s forwards;
}

.adds-skills-category {
    margin: 50px 30px;
}
.adds-skill {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.adds-skill > div {
    white-space: nowrap; /* Empêche la coupure des mots */
    border: 1px solid var(--dark-primary-color);
    border-radius: 25px;
    padding: 10px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-text-color);
}
.adds-skill div {
    padding: 0px 15px;
}



/* ==========================================================*/
/* RESPONSIVE DESIGN */
/* ==========================================================*/

@media screen and (max-width: 1790px) {
    #canvas {
        margin-top: 5%; 
    }
}
/* Tablettes et petits écrans (jusqu'à 1320px) */
@media screen and (max-width: 1200px) {
    .header-main-container {
        margin-top: 10%;

    }
    #canvas, .header-main-container > .header-main-intro .socials {
        display: none;
        background-color: transparent;
    }
    .header-main-intro > .quote-container {
        width: 80%;
        margin-top: 0px;
    }
    .header-main-container > .pre-intro {
        flex-direction: row;
        height: auto;
        align-items: center;
    }

    .header-main-container > .pre-intro .author-portrait {
        margin: 20px 25px 20px 50px;
    }

    .header-main-container > .pre-intro .author-info {
        margin: 10px 25px;
        text-align: center;
    }

    .header-main-container > .header-main-intro {
        flex-direction: column;
        align-items: center;
    }

    .header-main-container > .header-main-intro .intro {
        max-width: 90%;
        margin: 20px auto;
        text-align: center;
    }

    .header-main-container > .header-main-intro .socials {
        flex-direction: row;
        margin: 20px auto;
        padding: 10px 20px;
    }

    .header-main-container > .header-main-intro .socials > a {
        margin: 0 15px;
    }

    .projects-container {
        grid-template-columns: 1fr;
    }

    .pros > div:nth-child(1) {
        width: 45%;
    }

    .pros-details {
        width: 100%;
        flex-wrap: wrap;
    }

    .pros-details > div {
        width: 45%;
        margin: 5px;
    }
}
@media screen and (max-width: 900px) {
    .header-main-container > .pre-intro {
        padding-top: 10%;
    }
}

/* Tablettes en mode portrait et grands smartphones (jusqu'à 768px) */
@media screen and (max-width: 768px) {
    :root {
        --base-font-size: 0.9rem;
    }

    .header-main-container > .pre-intro .author-portrait {
        height: 220px;
        width: 220px;
    }

    .pros > div:nth-child(1) {
        width: 100%;
        height: auto;
    }

    .pros {
        flex-direction: column;
    }

    .pros > .highlights {
        width: 100%;
        margin: 15px 0;
    }

    .modal {
        width: 90%;
    }

    .about-section {
        padding: 0 15px;
    }

    .certi-container > div {
        width: 100%;
        margin-right: 0;
    }

    .skill-category {
        width: 100%;
    }
}
@media screen and (max-width: 700px) {
    .header-main-container > .pre-intro {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .header-main-container > .pre-intro .author-portrait {
        align-self: center;
        margin: 0;
    }
}

/* Smartphones (jusqu'à 480px) */
@media screen and (max-width: 480px) {
    :root {
        --base-font-size: 0.8rem;
    }

    .header-main-container > .pre-intro .author-portrait {
        height: 180px;
        width: 180px;
    }

    .header-main-container .author-info > p:first-child {
        font-size: 1.4rem;
    }

    .btn-projects-generic {
        max-width: 100%;
    }

    .main-container .btn {
        width: 100%;
        margin: 5px 0;
    }

    .pros-details > div {
        width: 100%;
        margin: 5px 0;
    }

    .show-more {
        width: 100%;
    }

    .skills-container {
        padding: 20px 15px;
    }

    .adds-skill > div {
        width: 100%;
    }

    .skill span {
        font-size: 0.9rem;
    }

    .percentage {
        font-size: 0.9rem;
    }
}

/* Très petits smartphones (jusqu'à 320px) */
@media screen and (max-width: 320px) {
    :root {
        --base-font-size: 0.7rem;
    }

    .header-main-container > .pre-intro .author-portrait {
        height: 150px;
        width: 150px;
    }

    .header-main-container .author-info > p:first-child {
        font-size: 1.2rem;
    }

    .modal-header {
        font-size: 1.2rem;
    }

    .skills-title {
        font-size: 1.5rem;
    }
}

/* Support des écrans à haute résolution */
@media screen and (min-width: 1920px) {
    :root {
        --base-font-size: 1.1rem;
    }

    .container {
        max-width: 1800px;
        margin: 0 auto;
    }

    .projects-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Support pour l'impression */
@media print {
    .header-main-container > .header-main-intro .socials,
    .show-more,
    .modal-overlay,
    .view-project-btn {
        display: none !important;
    }
    .projects-container {
        grid-template-columns: 1fr !important;
    }

    .pros-container {
        page-break-inside: avoid;
    }
}

/* ===================================
   DESKTOP-ONLY LINKS MANAGEMENT
   =================================== */

/* Style pour les liens desktop uniquement */
.desktop-only-link {
    position: relative;
}

/* Sur mobile et tablette, désactiver les liens et changer l'apparence */
@media screen and (max-width: 1023px) {
    .desktop-only-link {
        pointer-events: none;
        opacity: 0.6;
        position: relative;
    }
    
    .desktop-only-link::after {
        content: "📱 Available on Desktop";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 8px 12px;
        border-radius: 6px;
        font-size: 0.8rem;
        font-weight: 500;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 10;
    }
    
    .desktop-only-link:hover::after {
        opacity: 1;
        visibility: visible;
    }
    
    /* Styling spécial pour le bouton Try It */
    .btn1.desktop-only-link {
        cursor: not-allowed;
        filter: grayscale(50%);
    }
    
    .btn1.desktop-only-link:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Sur desktop, comportement normal */
@media screen and (min-width: 1024px) {
    .desktop-only-link {
        pointer-events: auto;
        opacity: 1;
        cursor: pointer;
    }
}