html{
    margin: 0;
    padding: 0;
    width: 100vw;
    overflow-x: hidden;
}

img {
    width: auto;
    height: auto;
    max-width: 100%;

}

#img {
    display: flex;
    width: auto;
    height: auto;
    max-width: 100%;
    margin-right: 10vw;

}

@font-face {
    font-family: "Montserrat";
    src: url("../Montserrat.ttf") format("ttf");
    font-display: swap;
}

body {
    font-family: Arial, sans-serif;
    position: relative;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    background: url('../Images/Fond.webp') no-repeat center center/cover;
    background-attachment: fixed; /* Ajout de cette ligne pour fixer le fond */
    background-repeat: repeat; 

    font-family: "Montserrat", serif;
    color: #C4C4C4;
    
}

#h1-titre{
    color: #C46200;
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    font-family: "Montserrat", serif;
    margin: 40px;

}

a, a:link, a:visited {
    text-decoration: none !important;
    color: inherit !important;
}

#trait-horizontal{
    width: 90vw;
    height: 2px;
    margin-bottom: 20px;
    background-color: #C4C4C4;
    display: flex;
}

.menu-button {
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(34, 34, 34, 0.0);
    color: #C46200;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 38px;
    border-radius: 5px;
    z-index: 1000;

}
.menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: #222;
    color: #C46200;
    padding: 20px;
    transition: left 0.3s ease-in-out;
    z-index: 999;

}
.menu-button:hover {
    color: #ffb266 ;

}

.menu.active {
    left: 0;
}
.menu ul {
    margin-top: 35%;
    list-style: none;
    padding: 0;
}
.menu li {
    width: max-content;
    margin: 20px 0;
    cursor: pointer;
    font-family: "Montserrat", serif;
    font-weight: bolder;
    text-decoration: none;
    cursor: pointer;
}
.menu li:hover {

    color: #ffb266;
    font-family: "Montserrat", serif;

}

.menu li {
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* Animation d'apparition */
.menu.active li {
    opacity: 1;
    transform: translateX(0);
}

/* Ajout du délai progressif */
.menu.active li:nth-child(1) { transition-delay: 0.1s; }
.menu.active li:nth-child(2) { transition-delay: 0.2s; }
.menu.active li:nth-child(3) { transition-delay: 0.3s; }
.menu.active li:nth-child(4) { transition-delay: 0.4s; }
.menu.active li:nth-child(5) { transition-delay: 0.5s; }
.menu.active li:nth-child(6) { transition-delay: 0.6s; }
.menu.active li:nth-child(7) { transition-delay: 0.7s; }



/* ----- ANIMATION UNDERLINE ----- */
.menu li::after {
    content: "";
    position: absolute;
    bottom: -5px; /* Distance sous le texte */
    left: 50%;
    width: 0%;
    height: 3px;
    background-color: #ffb266; /* Couleur du trait */
    transition: width 0.2s ease-in-out, left 0.2s ease-in-out;
}

/* Effet au survol */
.menu li:hover::after {
    width: 100%;
    left: 0;
}






        
/* Animation d'apparition */
#menu-pc.active li {
    opacity: 1;
    transform: translateX(0);
}

/* Ajout du délai progressif */
#menu-pc.active li:nth-child(1) { transition-delay: 0.1s; }
#menu-pc.active li:nth-child(2) { transition-delay: 0.2s; }
#menu-pc.active li:nth-child(3) { transition-delay: 0.3s; }
#menu-pc.active li:nth-child(4) { transition-delay: 0.4s; }
#menu-pc.active li:nth-child(5) { transition-delay: 0.5s; }
#menu-pc.active li:nth-child(6) { transition-delay: 0.6s; }

/* ----- ANIMATION UNDERLINE ----- */
#menu-pc li::after {
    content: "";
    position: absolute;
    bottom: -5px; /* Distance sous le texte */
    left: 50%;
    width: 0%;
    height: 3px;
    background-color: #ffb266; /* Couleur du trait */
    transition: width 0.2s ease-in-out, left 0.2s ease-in-out;
}

/* Effet au survol */
#menu-pc li:hover::after {
    width: 100%;
    left: 0;
}

#header-pc li{

    color: #C4C4C4;
    text-decoration: none;
    list-style-type: none;
    display: flex;
    position: relative;
    margin: 2vw;
    font-size: 17px;
    font-family: "Montserrat", serif;
    font-weight: 600;
    color: #C46200;
    width: max-content;
    cursor: pointer;

}

#header-pc li:hover{
    color: #ffb266;
    font-family: "Montserrat", serif;
}

#header-pc ul{

    display: flex;
    position: relative;
    align-items: center;
    margin-top: 2vh;
}

#header-pc {
    display: flex;
    justify-content: center; /* Centre les éléments horizontalement */
    width: 100%; /* Assure que le header prend toute la largeur */
    align-items: center; /* Centre verticalement également */
}



#logo-header{
    max-width: 170px;
    
}

footer{
    
    width: 100vw;
    margin-top: 20px;
    position: relative;
    display: block;
    justify-content: center;
    align-items: center;
    display: grid;
    place-items: center;
}

#ligne-footer{
    width: 2px;
    height: 30vh;
    background-color: #C4C4C4; 
    margin-left: 300px; 
    margin-right: 300px; 
}

#colonne-footer{
    display: flex;
    margin-bottom: 30px;
    justify-content: center;
    align-items: center;
    
}

#h4-contact{
    color: #C4C4C4;
    font-family: "Montserrat", serif;
    font-weight:bold;
    font-size: 27px;
    margin-bottom: 40px;
    margin-top: 40px;

}



#p-réseaux{
    color: #C4C4C4;
    font-family: "Montserrat", serif;
    font-weight:500;
    font-size: 15px;
}

#icone-footer{
    max-width: 35px;

}

#logo-footer{
    max-width: 120px;
}

#réseaux-tel{
    display: none;
}

#header-footer{
    display: none;
}

#p-copy{
    display: block;
}

#p-copy-tel{
    display: none;
}

#header-pc{
    display: flex;
}

#header-tel{
    display: none;
}

#h2-contact{
    color: #C4C4C4;
    margin-bottom: 2vw;
    margin-left: 5vw;
    font-family: "Montserrat", serif;


}





#PHOTOS-profil{
    display: flex;
    margin-left: 8vw;
    margin-right: 5vw;
    width: 17vw;
    height: 17vw;
    border-radius: 10px;
}

#texte{
    width: 50vw;
    font-family: "Montserrat", serif;

}

#ligne1{
    display: flex;
    justify-content: center;
    align-items: center;
}

#h2-competence-contact{
    margin-top: 10vh;
    margin-bottom: 5vh;

    color: #C4C4C4;
    font-size: 40px;
    font-weight: 500;
    font-family: "Montserrat", serif;


}

#centrage-texte{
    display: flex;
    justify-content: center;
    align-items: center;
}

#gauche-texte{
    display: flex;
    justify-content: center;
    align-items: left;
}

#p-contact{
    color: #C4C4C4;
    font-family: "Montserrat", serif;
    align-items: center;
    font-size: 20px;
    margin-left: 5vw;

}

#p-contact-2{
    color: #C4C4C4;
    font-size: 20px;
    font-weight: 300;
    text-align:justify;
    margin-left: 15vw;
    margin-right: 15vw;
    font-family: "Montserrat", serif;
    margin-bottom: 40px;

}



#ligne2{
    margin-bottom: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#ul-contact{
    color: #C4C4C4;
    font-size: 20px;
    font-weight: 250;
    text-align: left;
    margin-left: 20vw;
    font-family: "Montserrat", serif;

}

li{
    margin-bottom: 10px;
}

#img-skills{
    width: 15vw;
    height: 15vw;
    margin-right: 20vw;
    margin-left: 10vw;
    margin-bottom: 5vh;


}

#centrage{
        display: flex;
    justify-content: center;
    align-items: center;
}

.skills-container {
    width: 80%;
    max-width: 600px;
}

.skill {
    margin: 25px 0;
}

.skill-name {
    font-size: 1.2em;
    margin-bottom: 12px;
    font-weight: 300;
    font-family: "Montserrat", serif;

}

.skill-bar {
    height: 22px;
    background: #1a1a1a;
    border-radius: 11px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    width: 0;
    border-radius: 11px;
    transition: width 1.5s ease-in-out;
    position: relative;
    animation: pulseOpacity 2s ease-in-out infinite;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.0));
    animation: glow 2s linear infinite;
}

/* HTML - Rouge */
.skill:nth-child(1) .skill-name {
    text-shadow: 0 0 5px #ea77ff,

}
.skill:nth-child(1) .skill-bar {
    box-shadow:
               0 0 20px #ea77ff;
}
.skill:nth-child(1) .skill-progress {
    background: linear-gradient(90deg, #ea77ff, #f1a0ff);
    box-shadow:
               0 0 20px #ea77ff inset;
}

/* CSS - Bleu */
.skill:nth-child(2) .skill-name {
    text-shadow: 0 0 5px #a64dff,

}
.skill:nth-child(2) .skill-bar {
    box-shadow: 
               0 0 20px #a64dff;
}
.skill:nth-child(2) .skill-progress {
    background: linear-gradient(90deg, #a64dff, #cc99ff);
    box-shadow: 
               0 0 20px #a64dff inset;
}

/* JavaScript - Jaune */
.skill:nth-child(3) .skill-name {
    text-shadow: 0 0 5px #ffbb00,

}
.skill:nth-child(3) .skill-bar {
    box-shadow: 
               0 0 20px #ffbb00;
}
.skill:nth-child(3) .skill-progress {
    background: linear-gradient(90deg, #ffbb00, #ffd45f);
    box-shadow: 
               0 0 20px #ffbb00 inset;
}

/* React - Vert */
.skill:nth-child(4) .skill-name {
    text-shadow: 0 0 5px #33acff,

}
.skill:nth-child(4) .skill-bar {
    box-shadow: 
               0 0 20px #33acff;
}
.skill:nth-child(4) .skill-progress {
    background: linear-gradient(90deg, #33acff, #66c2ff);
    box-shadow: 
               0 0 20px #33acff inset;
}

/* Vue.js - Violet */
.skill:nth-child(5) .skill-name {
    text-shadow: 0 0 5px #ff4d4d,

}
.skill:nth-child(5) .skill-bar {
    box-shadow: 
               0 0 20px #ff4d4d;
}
.skill:nth-child(5) .skill-progress {
    background: linear-gradient(90deg, #ff4d4d, #ff7878);
    box-shadow: 
               0 0 20px #ff4d4d inset;
}


#bouton-me-contacter{
    justify-content: center;
    align-items: center;
    background-color: rgba(34, 34, 34, 0.0);
    border: 4px #C4C4C4 solid;
    font-family: "Montserrat", serif;
    font-weight: 500;
    font-size: 20px;
    margin: 50px;
    width: 180px;
    height: 50px;
    color: #C4C4C4;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

#bouton-me-contacter:hover{
    background-color: #C4C4C4;
    color: #222;
}


#bouton-cv{
    justify-content: center;
    align-items: center;
    background-color: rgba(34, 34, 34, 0.0);
    border: 4px #C4C4C4 solid;
    font-family: "Montserrat", serif;
    font-weight: 500;
    font-size: 20px;
    margin: 50px;
    margin-top: 0;
    width: 250px;
    height: 50px;
    color: #C4C4C4;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

#bouton-cv:hover{
    background-color: #C4C4C4;
    color: #222;
}

@keyframes glow {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

@keyframes pulseOpacity {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}



@media (max-width: 767px) { 

    #texte{
    width: 70vw;
    justify-content: center;
    display: flex;
    flex-direction: column;
    }

#h2-contact{
    display: flex;
    flex-direction: column;
    margin-bottom: 5vw;
    margin-left: 0vw;
    align-items: center;
    justify-content: center;
}
    
#p-contact{
    font-size: 15px;
    margin-left: 0vw;
    width: 300px;

}

#img {
    display: none;
}
    
#avis-clients{
    font-size: 30px;
    margin-top: 20px;
}

#colonne-footer{
    display: none;
}

#competence{
    display: block;
    margin-bottom: 0;
}

#competence1, #competence2, #competence3{
    width: 80vw;
    height: 70vh;
    margin-bottom: 15vh;
}

footer{
    padding-left: 0; /* Reset le padding pour mobile */
    display: block;
    justify-content: left;
    align-items: left;
    text-align: left;
    padding: 20px;  /* Exemple de padding pour le contenu */
}

#trait-horizontal{
    margin-top: 0;

}

#réseaux-tel{
    display: block;
    justify-content: center;    /* Centre le div lui-même horizontalement */
    align-items: center;        /* Centre le div lui-même verticalement */
    position: relative;
    width: 100%;                /* Prend 100% de la largeur de son parent */
    height: 100vh;  
    font-size: 10px;
    margin-top: 10vh;
    margin-bottom: 0;
    height: 20px;
}

#header-footer{
    display: block;
    margin-top: 5vh;
    font-size: 10px;
    font-weight: 400;
    text-align: left;
}

#p-header-footer{
    color: #C4C4C4;
    font-family: "Montserrat", serif;
    font-weight:400;
    font-size: 10px;
    text-align: left;

}

#p-h-f{
    color: #C4C4C4;
    align-items: left;
    font-size: 10px;
    font-weight: 400;
}


#icone-footer{
    max-width: 30px;
    margin-bottom: 20px;
}

#p-copy{
    display: none;
}

#p-copy-tel{
    display: block;
    align-items: center;
    text-align: center;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 20px;
}



#header-pc{
    display: none;
}

#header-tel{
    display: block;
}

#PHOTOS-profil{
    display: none;
    margin-left: 8vw;
    margin-right: 5vw;
    width: 30vw;
    height: 30vw;
    border-radius: 10px;
}

#img-skills{
    margin-left: 8vw;
    margin-right: 15vw;
    width: 40vw;
    height: 40vw;
    border-radius: 10px;
}

#trait-horizontal{
display: none;
}

#p-contact-2{
    color: #C4C4C4;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    margin-left: 10vw;
    margin-right: 10vw;
    font-family: "Montserrat", serif;
    margin-bottom: 30px;

}

#ul-contact{
    color: #C4C4C4;
    font-size: 11px;
    font-weight: 400;
    text-align: left;
    margin-left: 7vw;
    margin-right: 7vw;
    font-family: "Montserrat", serif;
    margin-bottom: 5vh;

}

li{
    margin-bottom: 20px;
}

#ligne2{
    display: block;
    justify-content: center;
    align-items: center;
}

#img-skills-centrage{
    display: flex;
    justify-content: center;
    align-items: center;
}

#h2-competence-contact{
    font-size: 25px;
}

#p-contact-2{
    font-size: 15px;
}

#bouton-me-contacter{
    justify-content: center;
    align-items: center;
    background-color: rgba(34, 34, 34, 0.0);
    border: 3.5px #C4C4C4 solid;
    font-family: "Montserrat", serif;
    font-weight: 600;
    font-size: 14px;
    margin: 50px;
    width: 120px;
    height: 40px;
    color: #C4C4C4;
}

 }

 @media (min-width: 768px) and (max-width: 1045px){    

    #img {
    display: none;
    }
    
    #header-pc{
        display: none;
    }

    #header-tel{
        display: block;
    }






    #avis-clients{
        font-size: 30px;
        margin-top: 20px;
    }
    
    #colonne-footer{
        display: none;
    }
    
    #competence{
        display: block;
        margin-bottom: 0;
    }
    
    #competence1, #competence2, #competence3{
        width: 80vw;
        height: 70vh;
        margin-bottom: 15vh;
    }
    
    footer{
        padding-left: 0; /* Reset le padding pour mobile */
        display: block;
        justify-content: left;
        align-items: left;
        text-align: left;
        padding: 20px;  /* Exemple de padding pour le contenu */
    }
    
    #trait-horizontal{
        margin-top: 0;
    
    }
    
    #réseaux-tel{
        display: block;
        justify-content: center;    /* Centre le div lui-même horizontalement */
        align-items: center;        /* Centre le div lui-même verticalement */
        position: relative;
        width: 100%;                /* Prend 100% de la largeur de son parent */
        height: 100vh;  
        font-size: 10px;
        margin-top: 10vh;
        margin-bottom: 0;
        height: 20px;
    }
    
    #header-footer{
        display: block;
        margin-top: 5vh;
        font-size: 15px;
        font-weight: 400;
        text-align: left;
    }
    
    #p-header-footer{
        color: #C4C4C4;
        font-family: "Montserrat", serif;
        font-weight:400;
        font-size: 15px;
        text-align: left;
    }
    
    #p-h-f{
        color: #C4C4C4;
        align-items: left;
        font-size: 15px;
        font-weight: 400;
    }
 
    
    #icone-footer{
        max-width: 30px;
        margin-bottom: 20px;
    }
    
    #p-copy{
        display: none;
    }
    
    #p-copy-tel{
        display: block;
        align-items: center;
        text-align: center;
        font-weight: 700;
        margin-top: 50px;
        margin-bottom: 20px;
    }


    #PHOTOS-profil{
        margin-left: 8vw;
        margin-right: 5vw;
        width: 25vw;
        height: 25vw;
        border-radius: 10px;
    }

    #img-skills{
        margin-left: 8vw;
        margin-right: 15vw;
        width: 25vw;
        height: 25vw;
        border-radius: 10px;
    }

    #trait-horizontal{
        display: none;
    }


    #p-contact-2{
        color: #C4C4C4;
        font-size: 16px;
        font-weight: 400;
        text-align: center;
        margin-left: 10vw;
        margin-right: 10vw;
        font-family: "Montserrat", serif;
        margin-bottom: 20px;
    
    }
    
    #ul-contact{
        color: #C4C4C4;
        font-size: 13px;
        font-weight: 300;
        text-align: left;
        margin-left: 15vw;
        font-family: "Montserrat", serif;
    
    }

    #h2-competence-contact{
        font-size: 32px;
    }

    #bouton-me-contacter{
        justify-content: center;
        align-items: center;
        background-color: rgba(34, 34, 34, 0.0);
        border: 4px #C4C4C4 solid;
        font-family: "Montserrat", serif;
        font-weight: 500;
        font-size: 17px;
        margin: 50px;
        width: 150px;
        height: 50px;
        color: #C4C4C4;
    }
 


    
     }


     