:root {
    --primary-color: #0054FF;
    --secondary-color: #FFFFFF;
    --background-color: #222121;
    --text-color: white;
}

@font-face {
    font-family: "Shrimp";
    src: url("../assets/fonts/SHRIMP.ttf");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: "Agrandir";
    src: url("../assets/fonts/Agrandir/Agrandir-Regular.otf");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: var(--background-color);
    color: var(--text-color);
    scroll-behavior: smooth;
    overflow-x: hidden; /* Masquer la barre de défilement horizontale */
}
  
h1, h2, h3, h4 {
    font-weight: normal; /* Pour enlever le gras par défaut */;
}

/* Appliquer une opacité de 0 à tous les éléments qui ne sont pas la vidéo */
.background-video .menu,
.background-video .presentation {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

/* Lorsque la classe 'loaded' est ajoutée à la div parent '.background-video', appliquer une opacité de 1 pour afficher progressivement les éléments */
.background-video.loaded .menu,
.background-video.loaded .presentation {
    opacity: 1;
}

/* Ajouter une règle pour désactiver le scroll lorsque la classe 'disable-scroll' est présente */
.disable-scroll {
    overflow: hidden;
}

.back-to-top {
    position: fixed;
    cursor: pointer;
    bottom: 2%;
    right: 2%;
    padding: 0;
    border-radius: 50%;
    text-decoration: none;
    /* background: var(--background-color) 0% 0% no-repeat padding-box; */
    background: var(--primary-color) 0% 0% no-repeat padding-box;
    width: 40px;
    height: 40px;
    /* border: 2px solid var(--primary-color); */
    /* display: flex; */
    display: none;
    justify-content: center;
    align-items: center;
}

.back-to-top svg {
    /* transform: rotate(-45deg); */
    transform: rotate(-135deg);
    width: 50%;
    height: 50%;
}

.back-to-top.visible {
    display: flex; /* Affiche le bouton quand la classe 'visible' est ajoutée */
}

.background-video {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.background-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.background-video .video {
    opacity: 0.5;
}

.menu {
    position: relative;
    top: -5%;
    left: 2%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    box-sizing: border-box;
    z-index: 1; /* Pour s'assurer que le menu est au-dessus de la vidéo */
    color: white; /* Pour changer la couleur du texte du menu */
}

.logo {
    font-size: 24px; /* Taille de la police pour le logo */
    font-family: 'Shrimp', sans-serif;
    font-weight: normal;
}

.menu-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.menu-items li {
    margin-left: 35px;
    font-family: 'Agrandir', sans-serif;
    letter-spacing: 1px;
}

.menu-items li a {
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s, color 0.3s;
}

.menu .menu-items li:last-child a {
    border: 2px solid;
    border-radius: 29px;
    border-color: var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    padding-top: 15px;
    background: linear-gradient(to top, #0054FF 50%, transparent 50%);
    background-size: 100% 200%;
    background-position: left top;
    transition: background-position 0.3s, color 0.3s;
}

.menu .menu-items li:last-child a:hover {
    /* background-color: #0054FF; */
    background-position: left bottom;
    color: white;
}

.menu-items-no-button {
    position: relative; /* Ajout de position relative */
}

.menu-items-no-button:after {    
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    background: #fff;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
    top: 110%;
    /* left: 0; */
  }

.menu-items-no-button:hover:after { 
    width: 100%; 
    left: 0; 
}

.burger-menu {
    display: none;
}

.mobile-menu {
    display: none;
}

/* .centered-video {
    position: absolute;
    transform: translate(325%, 60%);
    z-index: 2;
    width: 252px;
    height: 252px;
    max-width: 252px;
    max-height: 252px;
    mix-blend-mode:lighten;
    opacity: 1;
} */

.centered-video {
    position: absolute;
    z-index: 2;
    width: 50%;
    height: auto;
    max-width: 252px;
    max-height: 252px;
    mix-blend-mode: lighten;
    opacity: 1;
    display: block;
    margin: 20vh 42.5vw;
}

.memoji-video {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 252px;
    height: 252px;
    mix-blend-mode: lighten;
    opacity: 1;
    z-index: 2;
}

.presentation {
    text-align: center; /* Centrer le texte horizontalement */
    max-width: 600px; /* Largeur maximale de la présentation */
    margin: 0 auto; /* Centrer la présentation horizontalement */
    padding: 20px; /* Espacement intérieur */
    z-index: 1; /* Pour s'assurer que la présentation est au-dessus de la vidéo */
    position: relative;
}

.presentation h1 {
    font-family: 'Shrimp', sans-serif;
    font-size: 80px;
    margin-top: 0;
}

.presentation h2, p, a {
    font-family: 'Agrandir', sans-serif;
    letter-spacing: 1px;
}

.presentation h1, p {
    color: white;
}

.presentation h2, a {
    color: #0054FF;
}

.discover-button {
    border: 2px solid;
    border-radius: 29px;
    text-decoration: none;
    padding: 12px 30px;
    padding-top: 15px;
    font-size: 16px;
    margin-top: 20px;
    display: inline-block;
    /* background: radial-gradient(circle, #0054FF 30%, transparent 30%); */
    background: linear-gradient(to top, #0054FF 50%, transparent 50%);
    background-size: 100% 200%;
    background-position: left top;
    transition: background-position 0.3s, color 0.3s;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.discover-button:hover {
    background-position: left bottom; /* Nouvelle position du dégradé au survol */
    /* background-color: #0054FF; */
    color: var(--secondary-color);
}

.presentation h2 {
    font-size: 25px;
}

.presentation p {
    font-size: 18px;
}

#about-me {
    margin-top: 8%;
    display: flex;
}

.photo-container {
    position: relative;
    flex: 0 0 auto;
    margin-right: 10%;
    margin-left: 10%;
    height: auto;
    max-width: 100%;
}

.photo {
    position: relative;
    display: inline-block;
}

/* .cv-link {
    position: absolute;
    bottom: 3%;
    right: 3%;
    color: white;
    padding: 2% 2%;
    border-radius: 50%;
    text-decoration: none;
    background: #FFFFFF 0% 0% no-repeat padding-box;
} */

.cv-link {
    position: absolute;
    bottom: 5%;
    right: 5%;
    color: white;
    padding: 0; /* Remove padding to prevent extra space */
    border-radius: 50%;
    text-decoration: none;
    /* background: #FFFFFF 0% 0% no-repeat padding-box; */
    background: linear-gradient(to top, #0054FF 50%, white 50%);
    background-size: 100% 200%;
    background-position: left top;
    transition: background-position 0.3s, color 0.3s;
    width: 50px; /* Set a fixed width for the circle */
    height: 50px; /* Set a fixed height for the circle */
}
  
.cv-link img {
    object-fit: none; /* Scales the image to cover the entire circle */
    width: 100%; /* Ensures the image fills the entire width of the circle */
    height: 100%; /* Ensures the image fills the entire height of the circle */
    border-radius: 50%; /* Inherits the border-radius from the .cv-link class to create a circular image */
}
  
.cv-link svg {
    object-fit: none;
    width: 40%;
    height: 40%;
    display: block;
    margin: auto;
    margin-top: 27.5%;
}

.cv-text {
    position: absolute;
    bottom: 5%;
    left: 5%;
    color: #0054FF;
    background-color: white;
    cursor: pointer;
    padding: 2% 5%;
    padding-top: 3%;
    border-radius: 29px;
    font-family: 'Agrandir', sans-serif;
    background: linear-gradient(to top, #0054FF 50%, white 50%);
    background-size: 100% 200%;
    background-position: left top;
    transition: background-position 0.3s, color 0.3s;
}

.cv-text:hover, .cv-link:hover {
    background-position: left bottom;
    background-color: var(--secondary-color);
    color: var(--secondary-color);
}

.cv-link:hover svg path, .cv-link:hover rect, .cv-link:hover {
    fill: var(--secondary-color);
}

.description {
    flex: 1; /* La description prendra l'espace restant */
    margin-top: 2%;
    color: white;
    font-family: 'Agrandir', sans-serif;
    letter-spacing: 1px;
}

/* Pour aligner chaque élément de la description les uns en dessous des autres */
.description h2,
.description h3,
.description p,
.description .signature-memoji {
    margin-top: 0; /* Réinitialisation de la marge supérieure */
    margin-bottom: 10px; /* Espacement entre chaque élément */
}

.title {
    font-size: 20px;
    border: 1px solid white;
    padding: 5px 15px;
    border-radius: 29px;
    display: inline-block;
    color: white;
    font-family: 'Agrandir', sans-serif;
    letter-spacing: 1px;
}

/* .description .subtitle {
    margin-top: 1%;
} */

.subtitle {
    font-size: 60px;
    /* font-weight: bold; */
    font-family: Shrimp, sans-serif;
    color: white;
}

.description p {
    max-width: 50%;
    margin-top: 5%;
    margin-bottom: 4%;
}

.signature-memoji {
    display: flex;
    align-items: center; /* Aligne les éléments verticalement */
}

.signature-memoji-text {
    margin-left: 2%; /* Ajoute un espacement plus grand entre l'image et le texte */
    margin-top: 4%;
    width: 100%;
}

.signature-memoji-text p {
    opacity: 0.5;
    font-size: 14px;
}

.signature-memoji-text h3 {
    margin-bottom: -5%; /* Réduit l'espacement entre le titre h3 et le paragraphe */
    font-size: 18px;
}

#skills {
    text-align: center; /* Centrer le texte horizontalement */
    margin: 13% auto; /* Centrer le div horizontalement */
}

#skills .subtitle {
    margin-top: 0; /* Espacement entre le titre et les éléments suivants */
}

#skills p {
    max-width: 30%; /* Largeur maximale du paragraphe */
    margin: -1% auto; /* Centrer le paragraphe horizontalement */
    margin-bottom: 2%; /* Espacement entre le paragraphe et les éléments suivants */
    font-family: 'Agrandir', sans-serif;
    font-weight: normal;
    letter-spacing: 1px;
}

.skills-container,
.tools-container {
    display: flex; /* Utilisation de flexbox */
    justify-content: center; /* Centrer les éléments horizontalement */
    flex-wrap: wrap; /* Permettre le retour à la ligne des éléments */
}

.skills-container {
    text-align: center; /* Centrer le texte horizontalement */
    flex-direction: column; /* Affiche les éléments en colonne */
    align-items: center; /* Centre les éléments horizontalement */
}

.skills-container-first-row,
.skills-container-second-row {
    display: flex;
    gap: 1%; /* Espacement fixe entre les éléments */
    margin-bottom: 0%; /* Ajoute un espace entre les lignes */
    justify-content: center; /* Centre les éléments horizontalement */
}

.skills-container span,
.tools-container img {
    margin: 1%; /* Espacement entre les éléments */
}

.skills-container span {
    padding: 10px 20px; /* Espacement intérieur */
    padding-top: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1); /* Bordure de 2px solide bleue */
    border-radius: 10px; /* Coins arrondis */
    color: white; /* Couleur du texte */
    background: #FFFFFF 0% 0% no-repeat padding-box;
    background-color: rgba(255, 255, 255, 0.1); /* Couleur de fond avec opacité de 0.1 */
    font-family: 'Agrandir', sans-serif; /* Police de caractères */
    text-align: center;
    letter-spacing: 1px;
}

.tools-container img {
    margin-top: 3%;
}

#projects .title, #projects p {
    letter-spacing: 1px;
}

#projects .subtitle {
    margin-top: 0; /* Espacement entre le titre et les éléments suivants */
}

#projects p {
    font-family: 'Agrandir', sans-serif;
    max-width: 40%;
    margin-bottom: 5%;
}

#projects .title, #projects .subtitle, #projects p {
    margin-left: 10%;
}

.project {
    position: relative;
    display: inline-block;
    overflow: hidden;
    flex: 0 0 auto;
    margin-right: 1%;
    border-radius: 55px;
    transition: all 0.3s ease;
}

.project img {
    position: relative;
    transition: all 1s ease;
}

.project img:hover {
    transform: scale(1.1);
}

/* .project-link {
    position: absolute;
    bottom: 3%;
    right: 3%;
    color: white;
    padding: 2% 2%;
    border-radius: 50%;
    text-decoration: none;
    background: #FFFFFF 0% 0% no-repeat padding-box;
} */

.project-link {
    position: absolute;
    bottom: 3%;
    right: 3%;
    color: white;
    padding: 0; /* Remove padding to prevent extra space */
    border-radius: 50%;
    text-decoration: none;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    width: 50px; /* Set a fixed width for the circle */
    height: 50px; /* Set a fixed height for the circle */
    display: flex; /* Make the element a flex container */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
}

.project-link i {
    font-size: 200%; /* Increase the font size to your desired value */
}

.project-name {
    position: absolute;
    bottom: 3%;
    left: 3%;
    color: #0054FF;
    background-color: white;
    padding: 1% 3%;
    padding-top: 1.5%;
    border-radius: 29px;
    font-family: 'Agrandir', sans-serif;
    background: linear-gradient(to top, #0054FF 50%, white 50%);
    background-size: 100% 200%;
    background-position: left top;
    transition: background-position 0.3s, color 0.3s;
}

.project-container {
    display: flex; /* Utiliser flexbox pour aligner les projets horizontalement */
    overflow-x: hidden; /* Masquer la barre de défilement horizontale */
    white-space: nowrap; /* Empêcher le saut de ligne des éléments enfants */
    -webkit-overflow-scrolling: touch; /* Amélioration de défilement pour les appareils mobiles */
    height: 100%; /* Hauteur maximale de la section des projets */
    cursor: grab;
    padding: 10%;
}

.project:hover .project-name {
    background-position: left bottom;
    background-color: var(--secondary-color);
    color: var(--secondary-color);
    font-size: 15px;
    bottom: 3.25%;
    left: 4%;
    transform: scale(1.1);
}

/* #contact {
    margin-left: 10%;
    color: white;
} */

#contact .contact {
    font-family: 'Agrandir', sans-serif;
    font-size: 220px;
    margin-bottom: 1%;
    line-height: 1;
}

#contact {
    margin-left: 10%;
    color: white;
    display: flex;
    flex-direction: column; /* Affichage en colonne */
    letter-spacing: 1px;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%; /* Largeur du conteneur parent */
    margin-top: 20px;
    margin-bottom: 10%;
}

.contact-info-description {
    flex: 0 0 calc(50% - 10px); /* Calcul de la largeur - 10px pour compenser le margin-right */
    margin-right: 30%; /* Espacement entre la description et la ligne */
}

.contact-info-container {
    flex: 0 0 calc(50% - 10px); /* Calcul de la largeur - 10px pour compenser le margin-right */
    margin-left: 1%; /* Espacement entre la ligne et le conteneur d'informations */
    font-size: 18px;
}

.contact-info-container a {
    text-decoration: none;
}

.contact-info-container p {
    margin-bottom: -2%;
}

.vertical-line {
    width: 1px; /* Largeur de la ligne */
    height: 100%; /* Hauteur de la ligne */
    background-color: white; /* Couleur de la ligne */
    margin: 0 20px; /* Espacement autour de la ligne */
}

.contact-links {
    display: flex; /* Afficher les éléments en ligne */
    align-items: center; /* Aligner les éléments verticalement */
    margin-top: 5%;
}

/* .contact-img {
    margin-top: 3%;
    margin-right: 5%;
    border: 2px solid white;
    border-radius: 50%;
    padding: 10px 15px;
} */

.contact-img {
    margin-top: 1%;
    margin-right: 3%;
    width: 50px;
    height: 50px;
    border: 2px solid white;
    border-radius: 50%;
    padding: 0;
}
  
.contact-img img{
    object-fit: none;
    width: 100%;
    height: 100%; 
    border-radius: 50%;
}

.contact-img svg {
    object-fit: none;
    width: 40%;
    height: 40%;
    display: block;
    margin: auto;
    margin-top: 25%;
}

.contact svg {
    margin-left: 1%;
}

@media (max-width: 768px) {
    .back-to-top {
        display: none; /* Par défaut, le bouton est caché sur mobile */
    }

    /* .back-to-top.visible {
        display: flex;
    } */

    .menu {
        position: absolute;
        top: 5%;
        left: 2%;
        padding: 5px;
        /* display: flex; */
        display: none;
        justify-content: space-between;
        align-items: center;
        width: 95%;
        box-sizing: border-box;
        z-index: 1; /* Pour s'assurer que le menu est au-dessus de la vidéo */
        color: white; /* Pour changer la couleur du texte du menu */
    }
    
    .background-video, .background-video video {
        height: 110%;
    }

    .centered-video {
        position: absolute;
        /* transform: translate(30%, 15%); */
        display: block;
        margin: 5vh 20vw;
        z-index: 2;
        width: 10px;
        height: 10px;
    }

    .logo {
        display: none;
    }

    .menu-items {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center;
        z-index: 6;
    }
    
    .menu-items li {
        margin-bottom: 20px;
    }
    
    .menu-items a {
        text-decoration: none;
        font-size: 18px;
        color: #333;
    }

    .menu-icon-wrapper {
        width: 30px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 6;
    }
        
    .menu-icon {
        position: fixed;
        width: 30px;
        height: 5px;
        background-color: var(--secondary-color);
        top: 3%;
        right: 5%;
    }
        
    .menu-icon::before {
        position: absolute;
        left: 0;
        top: -10px;
        content: '';
        width: 30px;
        height: 5px;
        background-color: var(--secondary-color);
        transition: transform 0.2s ease-in, top 0.2s linear 0.2s;
    }
        
    .menu-icon::after {
        position: absolute;
        left: 0;
        top: 10px;
        content: '';
        width: 30px;
        height: 5px;
        background-color: var(--secondary-color);
        transition: transform 0.2s ease-in, top 0.2s linear 0.2s;
    }
        
    .menu-icon.menu-icon-active {
        background-color: transparent;
        z-index: 7;
    }
        
    .menu-icon.menu-icon-active::before {
        transform: rotate(45deg);
        top: 0;
        transition: top 0.2s linear, transform 0.2s ease-in 0.2s;
    }
        
    .menu-icon.menu-icon-active::after {
        transform: rotate(-45deg);
        top: 0;
        transition: top 0.2s linear, transform 0.2s ease-in 0.2s;
    }
    
    .mobile-menu {
        background-color: var(--background-color);
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        width: 70%;
        display: none;
        transition: all 0.3s ease;
    }

    .mobile-menu.mobile-menu-active {
        display: block;
        z-index: 6;
    }

    .mobile-menu-items {
        margin-top: 50%;
    }

    .mobile-menu-items, .mobile-menu-items a {
        text-decoration: none;
        list-style: none;
    }

    .mobile-menu-items a {
        color: white;
        font-size: 20px;
        margin: 25% 0;
        display: block;
        border-bottom: 1px solid var(--primary-color);
        padding-bottom: 50px;
        transition: background-color 0.3s, color 0.3s;
    }

    .presentation {
        text-align: center; /* Centrer le texte horizontalement */
        max-width: 600px; /* Largeur maximale de la présentation */
        margin: 50% auto; /* Centrer la présentation horizontalement */
        padding: 20px; /* Espacement intérieur */
        z-index: 1; /* Pour s'assurer que la présentation est au-dessus de la vidéo */
        position: relative;
    }
    
    .presentation h1 {
        font-family: 'Shrimp', sans-serif;
        font-size: 50px;
        margin-top: 40%;
    }
    
    .presentation h2, p, a {
        font-family: 'Agrandir', sans-serif;
        letter-spacing: 1px;
    }
    
    .presentation h1, p {
        color: white;
    }
    
    .presentation h2, a {
        color: #0054FF;
    }
    
    .discover-button {
        border: 2px solid;
        border-radius: 29px;
        text-decoration: none;
        padding: 12px 30px;
        padding-top: 15px;
        font-size: 16px;
        margin-top: 20px;
        display: inline-block;
        /* background: radial-gradient(circle, #0054FF 30%, transparent 30%); */
        background: linear-gradient(to top, #0054FF 50%, transparent 50%);
        background-size: 100% 200%;
        background-position: left top;
        transition: background-position 0.3s, color 0.3s;
        border-color: var(--primary-color);
        color: var(--primary-color);
    }

    #about-me {
        flex-direction: column;
        align-items: center;
    }

    .photo-container {
        width: 90%;
        height: 30%;
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 5%; /* Ajoute un espace entre la photo et la description */
    }

    .photo img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Assure que l'image couvre entièrement le conteneur */
    }

    .cv-link {
        bottom: 5%;
        right: 5%;
        width: 45px;
        height: 45px;
    }

    .cv-link img {
        object-fit: none; /* Scales the image to cover the entire circle */
        width: 100%; /* Ensures the image fills the entire width of the circle */
        height: 100%; /* Ensures the image fills the entire height of the circle */
        border-radius: 50%; /* Inherits the border-radius from the .cv-link class to create a circular image */
    }

    .cv-link svg {
        width: 50%;
        height: 50%;
        display: block;
        margin: auto;
        margin-top: 22.5%;
    }

    .cv-text {
        bottom: 5%;
        left: 5%;
        font-size: 15px;
        padding: 2% 6%;
        padding-top: 3.5%;
    }

    .description {
        width: 90%; /* S'assure que la description occupe 90% de la largeur de la page */
        margin-top: 5%; /* Ajoute un espace au-dessus de la description */
        margin-bottom: 5%; /* Ajoute un espace en-dessous de la description */
    }

    .description p {
        max-width: 100%;
        margin-top: 5%;
        margin-bottom: 5%;
    }

    .signature-memoji {
        /* flex-direction: column; */
        align-items: center; /* Centre les éléments horizontalement */
        text-align: center;
    }

    .signature-memoji img {
        margin-bottom: 10px; /* Ajoute un espace entre l'image et le texte */
    }

    .signature-memoji-text {
        margin-left: -30%;
        margin-top: 2%;
        width: 100%;
    }

    .signature-memoji-text h3 {
        /* margin-bottom: 5px; */
        font-size: 16px; /* Ajuste la taille du texte pour les petits écrans */
    }

    .signature-memoji-text p {
        font-size: 12px; /* Ajuste la taille du texte pour les petits écrans */
        margin-left: -1%;
    }

    .title {
        font-size: 16px; /* Ajuste la taille du titre pour les petits écrans */
        padding: 5px 15px;
        padding-top: 7px;
    }

    .subtitle {
        font-size: 24px; /* Ajuste la taille du sous-titre pour les petits écrans */
    }

    #skills {
        margin-top: 0%;
        padding-top: 10%;
        margin-left: 0;
        background-color: #363333;
    }

    #skills p {
        max-width: 90%; /* Élargit le paragraphe sur 90% de la page */
        margin: 0 auto 5% auto; /* Centre le paragraphe horizontalement et ajoute un espace en dessous */
    }

    .skills-container-first-row,
    .skills-container-second-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start; /* Aligne les éléments au début */
        margin: 0 5%;
    }

    .skills-container span {
        flex: 1 0 auto; /* Permet aux éléments de s'étirer pour remplir l'espace disponible */
        margin-bottom: 2%; /* Ajoute un espace entre les compétences */
        margin-right: 1%; /* Ajoute un espace à droite de chaque compétence */
        padding: 10px 15px; /* Espacement intérieur */
        padding-top: 15px;
        box-sizing: border-box; /* Inclut les bordures et le remplissage dans la largeur et la hauteur */
    }

    .tools-container {
        margin-top: 5%;
        padding-bottom: 15%;
    }

    .tools-container img {
        width: 30%; /* Ajuste la largeur des logos */
        margin-top: 1%; /* Espacement entre les logos */
    }

    #contact {
        margin-left: 5%;
    }

    .subtitle {
        font-size: 30px;
    }

    #projects p {
        max-width: 90%;
    }

    .project-container {
        width: 90%;
        height: 70%;
        margin-right: 0;
        margin-left: 0;
        padding: 5%;
    }

    #projects .title, #projects .subtitle, #projects p {
        margin-left: 5%;
    }

    .project {
        width: 80%; /* Ajuste la largeur des projets */
        margin-right: 5%; /* Espacement entre les projets */
        max-height: 100%; /* Ajuste la hauteur maximale des projets */
        height: 100%;
        border-radius: 30px;
    }

    .project img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Assure que l'image couvre entièrement le conteneur */
    }

    .project-name {
        /* padding: 1% 2%;
        font-size: 15px;
        border-radius: 20px; */
        bottom: 5%;
        left: 5%;
        font-size: 15px;
        padding: 2% 6%;
        padding-top: 3.5%;
    }

    .project-link {
        /* width: 35px;
        height: 35px;
        bottom: 2%;
        right: 2%; */
        bottom: 5%;
        right: 5%;
        width: 45px;
        height: 45px;
    }

    .project-link svg {
        width: 40%;
        height: 40%;
        display: block;
        margin: auto;
        margin-top: 30%;
    }

    #contact .contact {
        font-size: 55px;
    }

    .contact svg {
        width: 40px;
        height: 40px;
    }

    .contact-info-description {
        flex: 0 0 90%; /* Largeur de 90% pour la description */
        margin-right: 0; /* Supprime la marge de droite */
        margin-bottom: 5%; /* Espacement entre la description et les autres éléments */
    }

    .contact-info-container {
        flex: 0 0 90%; /* Largeur de 90% pour le conteneur d'informations */
        margin-left: 0; /* Supprime la marge de gauche */
    }

    .contact-info {
        flex-direction: column; /* Affichage en colonne */
        align-items: flex-start; /* Alignement à gauche */
    }

    .vertical-line {
        display: none; /* Masque la ligne verticale sur les téléphones */
    }

    .contact-links {
        margin-top: 5%; /* Espacement entre les liens de contact */
    }

    .email {
        margin-top: 3%;
    }
}