

@font-face {
    font-family: 'Akira Outline';
    src: url('./font/akira-outline.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Akira Super Bold';
    src: url('./font/akira-superbold.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}


@font-face {
    font-family: 'Akira';
    src: url('./font/Akira.otf') format('opentype');
    font-weight: 800; /* Super Bold */
    font-style: normal;
}


#smooth-content {
    overflow: visible;
    width: 100%;

}

*{
    margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html{
    scroll-behavior: smooth;
    overscroll-behavior: contain;
}


body {
    font-family: 'Montserrat', sans-serif;
    font-family: 'Lemon/Milk', sans-serif;
    font-family: 'Roboto Condensed', sans-serif;
    font-family: 'Source Code Pro', monospace;
    font-family: 'Roboto', sans-serif;
    /* background-color: #282828; */
    margin: 0px;
    padding: 0px;
    /* scroll-behavior: smooth; */
    scroll-behavior: smooth;
    transition: transform 0.35s ease-in;
    overflow-x: hidden; /* Empêche la barre de défilement horizontale */
    user-select: none;
    font-family: 'Montserrat', sans-serif;
    background-color: #181818;

    
}

h2 {
    font-size: clamp(1.8rem, 4.5vw, 3.5rem);
}

h3 {
    font-size: clamp(1.6rem, 4vw, 3rem);
}

h4 {
    font-size: clamp(1.4rem, 3.5vw, 2.5rem);
}

p {
    font-size: clamp(1rem, 2vw, 1.5rem); /* Texte fluide mais lisible */
}



/* Curseur avec contour gris plus grand */
.custom-cursor {
    position: fixed;
    width: 30px;  /* Taille du contour autour du curseur de base */
    height: 30px;
    background-color: transparent;
    border: 2px solid #777; /* Couleur du contour (gris) */
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.15s ease-out; /* Transition douce pour suivre le curseur */
    z-index: 999; /* Le contour est sous le curseur de base */
}

#myVideo {
    position: fixed;
    margin: 0px;
    z-index: -1;
    width: 100%;
    max-width: 100%;
    top: -50px;
    object-fit: cover;
    filter: blur(1.5rem);
}

/* #playPauseBtn {
    position: absolute;
    top: 110px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

#playPauseBtn i {
    color: white;
    font-size: 24px;
}
 */





.kanit-thin {
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-style: normal;
  }




/* -----------------------NEW NAV------------------------------------ */
nav {
    width: max-content;
    height: auto;
    position: fixed;
    top: 50%;
    left: 3%;
    transform: translateY(-50%);
    background: #10090f69;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.385) 0px 5px 15px;
    z-index: 100;
    display: flex;
    flex-direction: row;
    align-items: start;
    transition: all 0.4s ease; /* Transition sur la largeur */
    
}



nav ul {
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 9px 3px 9px 15px;
}

nav ul li {
    transition: 0.4s;
    font-family: 'akira', sans-serif;
    background: #080508;
    margin: 2px 0px;
    border-radius: 9px;
}



nav ul li a {
    padding: 11px 7px;
    display: flex;
    justify-content: left;
    align-items: center;
    text-decoration: none;        
    
}

nav ul li a img {
   width: 30px;
   fill: #DDDDDD;
   margin:  0px 4px 0px 4px;
}


nav ul li a p {
    color: #DDDDDD;
    font-family: 'Akira';
    font-size: 1.2rem;
    padding: 0px 7px;
    transition: opacity 0.3s ease-in-out;
}




nav ul li:hover {
    background-color: #ffffff4c;
}

#arrow{
    width: 37px;
    position: relative;
    top: 18.5px;
    margin: 0px -7px;
    transition: transform 0.2s ease-in-out, top 0.2s ease-in-out;
    will-change: transform, top; /* Optimisation pour éviter les conflits */
    cursor: pointer;
}


#arrow:hover {
    transform: scale(1.25); /* Légère augmentation au survol */
    
}

#arrow:active {
    transform: scale(0.9); /* Réduction légère au clic */
}


nav {
    width: 95px; /* Taille réduite de la nav au repos */
    overflow: hidden; /* Cache le contenu hors limites */
    transition: width 0.4s ease-in-out; /* Animation fluide */
}

nav.expanded {
    width: 254px; /* Largeur de la nav une fois ouverte */
    background: #10090fce;
    transition: 0.3s ease;

}

nav ul li p {
    opacity: 0; /* Cache le texte */
    transition: opacity 0.3s ease-in-out;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    display: none;
}

nav.expanded ul li p {
    opacity: 1; /* Affiche le texte */
    width: auto;
    display: block;
}


nav ul li {
    transition: transform 0.2s ease-in-out;
}

nav ul li:hover {
    transform: scale(1.05); /* Légère augmentation au survol */
}

nav ul li:active {
    transform: scale(0.95); /* Réduction légère au clic */
}


/* --------------------------------Accueil--------------------------------------------------- */
.accueil{
    /* background-image: url(img/fond1.png); */
    background-size: cover;
    height: 100vh;
    color: rgb(221, 221, 221);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}



 .txac{
    padding-top: 30px;
    z-index: 2;
  

 }

#portfolio{
    font-weight: 300;
    font-size: 90px;
    text-align: center;
    margin: 0px;
    font-family: 'Akira';

    
    


}


#sujet{
    font-weight: 300;
    font-size: 2em;
    letter-spacing: 1px;
    text-align: center;
    font-family: "Kanit", sans-serif;
    font-weight: 500;
}

.but{
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    padding-top: 40px;
    
}

.but button{
    margin: 10px 15px;
}

.bouton-principal {
    background-color: #e754e7;
    border: 2px solid #e754e7;
    color: white;
    padding: 13px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.bouton-principal:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 10px rgba(231, 84, 231, 0.4);
}

.bouton-principal:active {
    transform: scale(0.95);
}

/* Bouton secondaire : Me contacter */
.bouton-secondaire {
    background-color: transparent;
    border: 2px solid #e754e7;
    color: #e754e7;
    padding: 13px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.bouton-secondaire:hover {
    background-color: #e754e7;
    color: white;
    transform: scale(1.05);
}

.bouton-secondaire:active {
    transform: scale(0.95);
}

/* Style des liens à l'intérieur des boutons */
.bouton-principal a,
.bouton-secondaire a {
    text-decoration: none;
    color: inherit;
}



.scr{
    display: flex;
    justify-content: center;
    margin-top: 5%;
}

.scr img{
    transition: .5s;
}


.scr button{
    background-color: transparent;
    border: none;
    transition: .5s;
}




.scr img:hover{
    transform: scale(1.2);
}

.scr img:active{
    transform: scale(0.93);
}

.scr img{
    width: 10%;
    

    box-shadow: 0px 0px 30px 5px rgba(231, 84, 231, 0.37);

border-radius: 100%;

}

.scr button{
    animation: 1s infinite beat;
    animation-name: beat;
    animation-duration: 1.5s;
    animation-timing-function: ease;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-direction: normal;
    animation-fill-mode: none;
    animation-play-state: running;
}

@keyframes beat {
    0%, 100% {
        transform: scale(1);
    }
    
    50% {
        transform: scale(1.1);
    }
}

#moi{
    position: absolute;
    width: 30%;
    bottom: 0;
    right: 10%;
    
    filter: contrast(150%);
    
}



/* --------------------------------Me--------------------------------------------------- */



.profil{
    display: flex;
    flex-direction: row;
    background-color: #1f1f1f ;
    padding-top: 120px;
    padding: 120px 15% 120px 15%;
    height: 100vh;
}

.gauche{
    width: 40%;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.gauche img{
    width: 41%;
     
}


.droite{
    width: 60%;
    color: rgb(207, 207, 207);
    margin: auto auto 10vh auto;

}


.droite h2{
    font-family: 'lemonmilk', sans-serif;
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);

}

.droite h3{
    font-size: clamp(1.4rem, 1.5vw, 1.7rem);


}



.droite h4 span{
    font-weight: 600;
    font-size: clamp(1.4rem, 3.5vw, 2.5rem);
}

.droite h4{
    width: 85%;
    font-size: clamp(1.4rem, 3.5vw, 2.5rem);
}

#redn{
    color: #e754e7;    
}

#red{
    color: #e754e7;
    
}


.droite h4{
    font-weight: 200;
    font-size: 3vh;
}


.bouton{
    background-color: #e754e7;
    border: solid transparent;
    color: white;
    padding: 13px 16px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border-radius: 16px;
    text-decoration: none;
    transition: .5s;
    text-decoration: none;
    margin: 5%;
    
}

.bouton:hover{
    transform: scale(0.93);


}

.bouton:active{
    transform: scale(1.1);
}

.bouton a{
    text-decoration: none;
    color: white;

}


/* --------------------------------partie 2 --------------------------- */
.partie2 {
    position: relative;
    width: 100%;

    overflow: hidden;
    z-index: 1;
    
    background-color: #2c003f00; /* Légèrement plus clair que le fond principal */
   
}

.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    filter: blur(80px);
}

.light-circle {
    position: absolute;
    background: radial-gradient(circle, rgba(231, 84, 231, 0.842), rgba(231, 84, 231, 0.1)); /* Couleur mise à jour */
    border-radius: 50%;
    opacity: 0.7;
    animation: floatAnimation 10s infinite alternate ease-in-out;
}

@keyframes floatAnimation {
    0% { transform: translate(0px, 0px) scale(0.8) rotate(0deg); }
    25% { transform: translate(calc(-5% + 10px), calc(5% - 10px)) scale(1.2) rotate(5deg); }
    50% { transform: translate(calc(5% - 10px), calc(-5% + 10px)) scale(1.5) rotate(-5deg); }
    75% { transform: translate(calc(-5% + 5px), calc(5% - 5px)) scale(1.3) rotate(3deg); }
    100% { transform: translate(0px, 0px) scale(1) rotate(0deg); }
}


/* Exemple de contenu à l'intérieur de la partie2 */
.content-partie2 {
    text-align: center;
    color: white;
}

/* ------------------------------projets---------------------------------- */



.projets{
    /* background-color: #282828;  */
    padding-top: 200px;
}

.projets h2{
    text-align: center;
    color: rgb(207, 207, 207);
    font-size: 50px;
    margin-bottom: 0%;
    font-family: 'Akira';

}

/* Container du carrousel */
.custom-carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 43%;
    margin: auto;
    padding-top: 100px;
  }

  .custom-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .custom-item {
    width: calc(33.33% - 10px);
    margin: 5px;
    overflow: hidden;
    position: relative;
  }

  .custom-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
  }

  .custom-item:hover img {
    transform: scale(1.1);
  }

  /* Popup Styling avec animation */
  .custom-popup {
    display: none;
    position: fixed;
    z-index: 9;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease-out;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .custom-popup-content {
    position: relative;
    margin: 10% auto;
    width: 80%;
    max-width: 800px;
    height: 70vh;
    max-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #17171766;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  }

  .custom-popup img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  /* Flèches de navigation */
  .custom-prev, .custom-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: #d0d0d0;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 10px;
    background: rgba(85, 85, 85, 0.7);
    cursor: pointer;
  }

  .custom-prev { left: 10px; }
  .custom-next { right: 10px; }

  .custom-prev:hover, .custom-next:hover {
    background: rgb(223, 223, 223);
    color: #181818;
  }
  .custom-prev:active, .custom-next:active {
    background: #181818;
    color: rgb(223, 223, 223);
  }

  /* Bouton de fermeture */
  .custom-close {
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 50px;
    cursor: pointer;
    color: #fff;
    transition: 0.3s;
  }

  .custom-close:hover {
    color: #ff4500;
}


/* --------------------------------Comp--------------------------------------------------- */

  


#comp{
    /* background: linear-gradient(180deg, rgba(38,38,38,1) 0%, rgb(0, 0, 0) 27%);  */
    /* background-color: #282828; */
    color: #8f8f8f;
    margin: 0;
    padding-top: 300px;
    padding-bottom: 300px;

    
}




#comp h2{
    text-align: center;
    color: #e754e7;
    font-size: 50px;
    margin-bottom: 0%;
    font-family: 'Akira';

}

.lignebl{
    background-color: #e754e7;
    width: 23em;
    height: 5px;
    margin: 0px auto;
    
    
}


.skills {
    text-align: center;
    padding: 50px 0;
    color: #dadada;
    display: flex;
    justify-content: center;

}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 60%;
}

.skill {
    background-color: #202020;
    border-radius: 10px;
    margin: 10px;
    padding: 20px;
    padding-bottom: 15px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    width: 15%;
}

.skill:hover {
    transform: scale(1.05);
}

.skill img {
    width: 50px;
    height: 50px;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 8;
    color: #dadada;
}

.popup-content {
    background: #333;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    animation: pop 0.3s ease-in-out;
}

@keyframes pop {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* ----------------------------------------------Contact----------------------------------------------------------- */

.contact{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Section contact */
.contact-section {
    width: 80%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #10090f94;
    padding: 50px;
    border-radius: 20px;
}

/* Partie gauche - Contenu texte */
.contact-content {
    width: 50%;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.contact-title {
    font-family: 'Akira Super Bold', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.contact-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400; /* Semibold */
    font-size: 1.3rem;
    color: #ddd;
    margin-bottom: 20px;
}

.contact-btn {
    display: inline-block;
    font-family: 'Akira', sans-serif;
    font-size: 0.9rem;
    padding: 10px 20px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    width: max-content;
}

.contact-btn:hover {
    background: #fff;
    color: #333;
}

/* Partie droite - Formulaire */


.contact-form {
    width: 40%;
    height: 100%;
    background: rgba(0, 0, 0, 0.37); /* Fond du formulaire avec opacité de 56% */
    padding: 25px 25px;
    border-radius: 15px;
    text-align: center;
}

.contact-back{
    background: rgb(231,155,231);
    background: linear-gradient(0deg, rgba(231,155,231,0.43) 0%, rgba(231,147,231,0.43) 50%, rgba(244,244,244,0.43) 100%); 
    border-radius: 7px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.form-title {
    font-family: 'Akira', sans-serif;
    font-size: 1.9rem;
    color: #fff;
    margin-bottom: 5%;
}

form {
    padding: 0px 15%;
    border-radius: 10px;
    
}

form h3{
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Semibold */
    font-size: 0.7rem;
    color: #ddd;
    text-align: start;
    margin: 10px 0px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: solid 2px #a8a8a8;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

textarea {
    height: 40%;
}

.submit-btn {
    font-family: 'Akira', sans-serif;
    font-size: 1rem;
    background: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    margin: 10% auto;
    border: 2px solid #131313;

}

.submit-btn:hover {
    background: #dddddd1c;
    border: 2px solid #fff;
    color: #fff;

}








/* ----------------------------------------------footer----------------------------------------------------------- */

/* Définition des tailles de titres */
footer h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
}

footer h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #ddd;
}

footer h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ddd;
}

footer h4 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ccc;
}

footer h5 {
    font-size: 1rem;
    font-weight: normal;
    color: #bbb;
}

footer p{
    font-size: 0.9rem;
}


/* Styles du footer */
footer {
    background: #111111cb;
    color: #ddd;
    padding: 40px 0;
    border-top: 1px solid #222;

}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: start;
    max-width: 75%;
    margin: 0 auto;

}

.footer-logo {
    max-width: 39%;
    text-align: left;
}
.footer-logo h3{
    margin-bottom: 10px;
}

.footer-logo img {
    width: 80px;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 5%;
    margin-top: 25px;
}

.social-icons i {
    font-size: 3rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 1rem;
    transition: 0.3s;
}

.footer-links{
    width: 15%;

}

.fa-brands:hover{
    color: #d6d6d6c5;

}
/* 
.fa-instagram{
    transition: 0.2s;
    background: #d0d0d0;
    background-clip: border-box;
  background-clip: text;
}

.fa-instagram:hover{
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    background-clip: border-box;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: 0.3s;

}

.fa-linkedin-in:hover{
    color: #0a66c2;
    transition: 0.3s;

}

.fa-behance:hover{
    color: #191919;
    text-shadow:  0 0 10px #ffffff, 0 0 15px #ffffff50, 0 0 20px #ffffff48;       
    transition: 0.3s;
 
}

.fa-youtube:hover{
    color: #ff0033;
}

  */


.social-icons i:hover {
    transform: scale(1.1);
    /* color: #e754e7; */
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 5px;
    
}

.footer-links ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    justify-content: left;
    align-items: center;
    font-weight: 700;
}
.footer-links ul li a img{
    margin: 0px 10px;
}


.footer-links ul li a:hover {
    color: #4a90e2;
}

.footer-contact p {
    margin: 5px 0;
}

.footer-contact a {
    color: #4a90e2;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 0.5rem;
    border-top: 1px solid #222;
    padding-top: 15px;
}

.footer-bottom a {
    color: #4a90e2;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}



/* --------------------------------------------------------------------------------------------RESPONSIVE-------------------------------------------------------------------------------------------- */


@media all and (max-width: 992px) {
    #myVideo {
        position: fixed;
        top: 0;
        height: 100vh; /* Utiliser la largeur de la vue comme hauteur après rotation */
    }



/* Curseur avec contour gris plus grand */
.custom-cursor {
    display: none;
    position: fixed;
    width: 30px;  /* Taille du contour autour du curseur de base */
    height: 30px;
    background-color: transparent;
    border: 2px solid #777; /* Couleur du contour (gris) */
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.15s ease-out; /* Transition douce pour suivre le curseur */
    z-index: 999; /* Le contour est sous le curseur de base */
}

/* --------------------------------nav --------------------------------*/


nav {
    width: max-content;
    height: max-content;
    position: fixed;
    top: 87%;
    left: 50%;
    transform: translateX(-50%);
    background: #10090f69;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.385) 0px 5px 15px;
    display: flex;
    flex-direction: row;
    align-items: start;
    transition: all 0.4s ease;
    z-index: 100;
}




nav ul {
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 9px 15px 9px 15px;
}

nav ul li {
    transition: 0.4s;
    font-family: 'akira', sans-serif;
    background: #080508;
    margin: 0px 2px;
    border-radius: 9px;
    width: fit-content;
    padding: 0px;
}



nav ul li a {
    padding: 11px 7px;
    display: flex;
    justify-content: left;
    align-items: center;
    text-decoration: none;
    margin: 0px;    
    
}

nav ul li a img {
   width: 30px;
   fill: #DDDDDD;
   margin:  0px 4px 0px 4px;
}


nav ul li a p {
    color: #DDDDDD;
    font-family: 'Akira';
    font-size: 1.2rem;
    padding: 0px 7px;
    transition: opacity 0.3s ease-in-out;
    display: none;
}




nav ul li:hover {
    background-color: #080508;
}
nav ul li:active {
    background-color: #ffffff4c;
}


#arrow{
    width: 37px;
    position: relative;
    top: 18px;
    margin: 0px -7px;
    transition: transform 0.2s ease-in-out, top 0.3s ease-in-out;
    will-change: transform, top; /* Optimisation pour éviter les conflits */
    cursor: pointer;
    display: none;
}


#arrow:hover {
    transform: scale(1.25); /* Légère augmentation au survol */
    
}

#arrow:active {
    transform: scale(0.9); /* Réduction légère au clic */
}




nav.expanded {
    width: 254px; /* Largeur de la nav une fois ouverte */
}

nav ul li p {
    opacity: 0; /* Cache le texte */
    transition: opacity 0.3s ease-in-out;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    display: none;
}

nav.expanded ul li p {
    opacity: 1; /* Affiche le texte */
    width: auto;
    display: block;
}


nav ul li {
    transition: transform 0.2s ease-in-out;
}

nav ul li:hover {
    transform: scale(1.05); /* Légère augmentation au survol */
}

nav ul li:active {
    transform: scale(0.95); /* Réduction légère au clic */
}






/* --------------------------------Accueil--------------------------------------------------- */
.accueil{
    /* background-image: url(img/fond1.png); */
    opacity: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    color: rgb(221, 221, 221);
    display: flex;
    flex-direction: column;
    vertical-align: middle;
    
}



 .txac{
    padding-top: 30px;
    z-index: 2;
  

 }

#portfolio{
    font-weight: 300;
    font-size: clamp(2rem, 10vw, 5rem);
    text-align: center;
    margin: 0px;
    font-family: 'Akira';

    
    


}

#nom{
    font-weight: 500;
    font-size: 90px;
    text-align: center;
    margin: 0%;
    font-family: 'Akira';

}
#sujet{
    font-weight: 300;
    font-size: clamp(1.5rem, 3vw, 3rem);
    letter-spacing: 1px;
    text-align: center;
    font-family: "Kanit", sans-serif;
    font-weight: 500;
}

.but{
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    padding-top: 40px;
    
}

.but button{
    margin: 10px 15px;
}

.bouton-principal {
    background-color: #e754e7;
    border: 2px solid #e754e7;
    color: white;
    padding: 13px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.bouton-principal:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 10px rgba(231, 84, 231, 0.4);
}

.bouton-principal:active {
    transform: scale(0.95);
}

/* Bouton secondaire : Me contacter */
.bouton-secondaire {
    background-color: transparent;
    border: 2px solid #e754e7;
    color: #e754e7;
    padding: 13px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.bouton-secondaire:hover {
    background-color: #e754e7;
    color: white;
    transform: scale(1.05);
}

.bouton-secondaire:active {
    transform: scale(0.95);
}

/* Style des liens à l'intérieur des boutons */
.bouton-principal a,
.bouton-secondaire a {
    text-decoration: none;
    color: inherit;
}



.scr{
    display: flex;
    justify-content: center;
    margin-top: 20%;
}

.scr img{
    transition: .5s;
}


.scr button{
    background-color: transparent;
    border: none;
    transition: .5s;
}




.scr img:hover{
    transform: scale(1.2);
}

.scr img:active{
    transform: scale(0.93);
}

.scr img{
    width: 10%;
    

    box-shadow: 0px 0px 30px 5px rgba(231, 84, 231, 0.37);

border-radius: 100%;

}

.scr button{
    animation: 1s infinite beat;
    animation-name: beat;
    animation-duration: 1.5s;
    animation-timing-function: ease;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-direction: normal;
    animation-fill-mode: none;
    animation-play-state: running;
}

@keyframes beat {
    0%, 100% {
        transform: scale(1);
    }
    
    50% {
        transform: scale(1);
    }
}

#moi{
    position: absolute;
    width: 30%;
    bottom: 0;
    right: 10%;
    
    filter: contrast(150%);
    
}




/* --------------------------------Me--------------------------------------------------- */



.profil{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #1f1f1f ;
    padding-top: 120px;
    padding: 120px 15% 120px 15%;
    height: 100vh;
}

.gauche{
    width: 100%;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.gauche img{
    width: 41%;
     
}


.droite{
    width: 90%;
    color: rgb(207, 207, 207);
    margin: 0px;
    
}


.droite h2{
    font-family: 'lemonmilk', sans-serif;
    font-size: clamp(0.5rem, 1rem, 2.5rem);

}

.droite h3{
    font-size: clamp(0.7rem, 1rem, 1.2rem);


}



.droite h3 span{
    font-weight: 600;
}

.droite h4{
    width: 85%;
    font-size: clamp(0.5rem, 0.5rem, 2.5rem);
}

#redn{
    color: #e754e7;    
}

#red{
    color: #e754e7;
    
}




.bouton{
    background-color: #e754e7;
    color: white;
    padding: 13px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border-radius: 16px;
    transition: .5s;
    text-decoration: none;
    margin: 10px;
    
}

.bouton:hover{
    transform: scale(1.05);


}

.bouton:active{
    transform: scale(1.1);
}

.bouton a{
    text-decoration: none;
    color: white;

}






/* --------------------------------Comp--------------------------------------------------- */

  


#comp{
    /* background: linear-gradient(180deg, rgba(38,38,38,1) 0%, rgb(0, 0, 0) 27%);  */
    /* background-color: #282828; */
    color: #8f8f8f;
    margin: 0;
    padding-top: 300px;
    padding-bottom: 300px;

    
}




#comp h2{
    text-align: center;
    color: #e754e7;
    font-size: 50px;
    margin-bottom: 0%;
    font-family: 'Akira';

}

.lignebl{
    background-color: #e754e7;
    width: 23em;
    height: 5px;
    margin: 0px auto;
    
    
}


.skills {
    text-align: center;
    padding: 20px 0;
    color: #dadada;
    display: flex;
    justify-content: center;

}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 80%;
}

.skill {
    background-color: #202020;
    border-radius: 10px;
    margin: 10px;
    padding: 20px;
    padding-bottom: 15px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    width: 15%;
}

.skill:hover {
    transform: scale(1.05);
}

.skill img {
    width: 30px;
    height: 30px;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 8;
    color: #dadada;
}

.popup-content {
    background: #333;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    animation: pop 0.3s ease-in-out;
}

@keyframes pop {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* ----------------------------------------------Contact----------------------------------------------------------- */

.contact{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Section contact */
.contact-section {
    width: 90%;
    height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    background: #10090f94;
    padding: 20px;
    border-radius: 20px;
}

/* Partie gauche - Contenu texte */
.contact-content {
    display: none;
    width: 100%;
    height: 80%;
    flex-direction: column;
    justify-content: space-around;
}

.contact-title {
    font-family: 'Akira Super Bold', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.contact-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400; /* Semibold */
    font-size: 1.3rem;
    color: #ddd;
    margin-bottom: 20px;
}

.contact-btn {
    display: inline-block;
    font-family: 'Akira', sans-serif;
    font-size: 0.9rem;
    padding: 10px 20px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    width: max-content;
}

.contact-btn:hover {
    background: #fff;
    color: #333;
}

/* Partie droite - Formulaire */


.contact-form {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.37); /* Fond du formulaire avec opacité de 56% */
    padding: 25px 25px;
    border-radius: 15px;
    text-align: center;
}

.contact-back{
    background: rgb(231,155,231);
    background: linear-gradient(0deg, rgba(231,155,231,0.43) 0%, rgba(231,147,231,0.43) 50%, rgba(244,244,244,0.43) 100%); 
    border-radius: 7px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.form-title {
    font-family: 'Akira', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 5%;
}

form {
    padding: 0px 15%;
    border-radius: 10px;
    
}

form h3{
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Semibold */
    font-size: 0.7rem;
    color: #ddd;
    text-align: start;
    margin: 10px 0px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: solid 2px #a8a8a8;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

textarea {
    height: 40%;
}

.submit-btn {
    font-family: 'Akira', sans-serif;
    font-size: 1rem;
    background: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    margin: 10% auto;
    border: 2px solid #131313;

}

.submit-btn:hover {
    background: #dddddd1c;
    border: 2px solid #fff;
    color: #fff;

}




/* ----------------------------------------------footer----------------------------------------------------------- */



/* Styles du footer */
footer {
    background: #111111cb;
    color: #ddd;
    padding: 40px 0;
    border-top: 1px solid #222;
    display: flex;
    flex-direction: column;

}

.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: start;
    max-width: 100%;
    margin: 0px;


}

.footer-logo {
    max-width: 39%;
    text-align: left;
}
.footer-logo h3{
    margin-bottom: 10px;
}
.footer-logo p{
    display: none;
}

.footer-logo img {
    width: 80px;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 10%;
    margin-top: 30px;
}

.social-icons i {
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 1rem;
}

.footer-links{
    width: 15%;
    display: none;

}


 


.social-icons i:hover {
    transform: scale(1.1);
    /* color: #e754e7; */
    color: #d0d0d000;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 5px;
    
}

.footer-links ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    justify-content: left;
    align-items: center;
    font-weight: 700;
}
.footer-links ul li a img{
    margin: 0px 10px;
}


.footer-links ul li a:hover {
    color: #4a90e2;
}

.footer-contact{
    text-align: end;
}

.footer-contact p {
    margin: 5px 0;
}

.footer-contact a {
    color: #4a90e2;
    text-decoration: none;
}

.footer-contact span{
    display: none;
}

.footer-bottom {
    width: 90%;
    text-align: center;
    margin: auto;
    font-size: 0.5rem;
    border-top: 1px solid #222;
    padding-top: 15px;
    padding-bottom: 10vh;
}

.footer-bottom a {
    color: #4a90e2;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}




}

