* {
    max-width: 100vw;
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    
}
body {
    color: white;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: scroll ;
    font-weight: bolder;
}

header{
    z-index: 9;
    width: 100vw;
    margin-bottom: 150px;
}

.navbar {
    margin: 20px 2vw 100px;
    display: flex;
    font-size: 25px;
    z-index: 9;

    
}

.navbar a {
    text-decoration: none;;
}

.navbar ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
.navbar ul li {
    margin: 0 20px;
    font-size: 20px;
    color: white !important;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    
}

.text-info {
    color: rgb(0, 170, 255) !important;
}

.navbar ul li a{
    text-decoration: none;
    color: rgb(0, 170, 255) !important;
    
}

.navbar ul li a:hover {
    color: #ffffff !important;
    transform: scale(1.1);
}

.burger {
    display: none;
    position: absolute;
    top: 0;
    right: 20px;
}

.croix {
    display: none;
    position: absolute;
    right: 20px ;
    top: 0;
}


.logo {
    font-size: 30px;
    color: white;
    font-weight: bolder;
    margin-left: 2vw;
}
.logo:hover {
    transform: scale(1.1);
}





@media screen and (max-width: 900px) {

    .navbar {
        padding: 0;
        z-index: 10;
        margin: 0;
        
    }
    

    .navlinks {
        top: 0;
        left: 0;
        position: absolute;
        background-color: rgba(255, 255, 255, 0.37);
        backdrop-filter: blur(20px);
        width: 100vw;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: -100%;
        transition: all 0.5s ease;;
    }

    .mobile-menu {
        margin-left: 0;
    }

    .navlinks ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .burger {
        display: block;
        cursor: pointer;
    }

    .burger:hover {
        color: #ffffff;
    }

    .burger.open {
        display: none;
    }

    .croix.close {
        display: block;
    }

    .navbar .navlinks ul li {
        margin: 25px 0;
        font-size: 1.2em;
    }
    
}


hr:not([size]) {
    width: 50px;
    height: 5px;
    color: #ee5b73;
    margin: auto;
    opacity: 1;
}

#titre {
    color: white;
    font-size: 50px;
    text-align: center;
    margin-top: 20px;
    /* height: 70vh; */
    margin-bottom: 30vh;
}

#Presentation {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    /* height: 80vh; */
    font-size: 20px;
    z-index: 9;
    padding: 30px;
}

#Portfolio {
    color: white;
    height: 100vh;
    background-color: transparent !important;
    
}

#Portfolio span {
    color: white;
    font-size: 50px;
    text-align: center;
    top: 5px;
    left: 5px;
    margin-bottom: 10%;
}


#formation {
    height: 75vh;
    color: black;
    background-color: white;
    z-index: 9;
}

#CV {
    overflow:hidden !important;
    color: white;
    /* height: 30vh; */
    font-size: 30px;
    margin-top: 5vw;
    margin-bottom: 5vw;
}

#contact {
    /* background-color: rgb(255, 255, 255); */
    color: white !important;
    padding: 20px;
    /* height: 100vh; */
    z-index: 9;
}   

.att {
    max-height: 640px;
    max-width: 360px;
    padding: 5px;
}

#footer {
    padding: 5px;
    padding: 10 px;
    height: 10vh;
    z-index: 9;
}

#footer span{
    font-size: 20px;
    color: white;
    z-index: 9;
}

ion-icon {
    font-size: 75px;
    justify-content: center !important;
    align-items: center !important;
    display: flex !important;
  }

#contact span {
    color: rgb(255, 255, 255) !important;
    font-size: 50px;
    text-align: center;
    top: 5px;
    left: 5px;
    margin-bottom: 10%;
    
}

#contact input {
    background-color: rgb(41, 41, 46);
}

#contact textarea {
    background-color: rgb(41, 41, 46);
}

#contact input::placeholder {
    color: white !important;
}

#contact textarea::placeholder {
    color: white !important;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #2f2e2e; /* Optionnel : ajoute un fond noir */
    /* z-index: -1; */
  }

  #titre, #Portfolio, #Presentation, #formation, #CV, #contact {
    position: relative; /* Nécessaire pour que le z-index fonctionne */
    margin-left: 5vw;
    margin-right: 5vw;
}

.emph {
  position: relative;
  width: 100vh; 
  border-bottom: 3px solid #00aaff;
  box-sizing: border-box;
  animation: drawLine 4s linear infinite;
}
.emph:before {
  content: "";
  position: absolute;
  left: calc(100% + 14px);
  bottom: -6px;
  width: 16px;
  height: 100px;
  border-radius: 20px 20px 50px 50px;
  background-repeat: no-repeat;
  background-image: linear-gradient(#00aaff 6px, transparent 0),
    linear-gradient(45deg, rgba(0, 0, 0, 0.02) 49%, white 51%),
    linear-gradient(315deg, rgba(0, 0, 0, 0.02) 49%, white 51%),
    linear-gradient( to bottom, #ffffff 10%, #00aaff 10%, #00aaff 90%, #ffffff 90% );
  background-size: 3px 3px, 8px 8px, 8px 8px, 16px 88px;
  background-position: center bottom, left 88px, right 88px, left top;
  transform: rotate(25deg);
  animation: pencilRot 4s linear infinite;
}

@keyframes drawLine {
  0%, 100% { width: 0px }
  45%, 55% { width: 70vh }
}

@keyframes pencilRot {
  0%, 45% {
    bottom: -6px;
    left: calc(100% + 14px);
    transform: rotate(25deg);
  }
  55%,
  100% {
    bottom: -12px;
    left: calc(100% + 16px);
    transform: rotate(220deg);
  }
}

#contact input,
#contact textarea {
    color: white; /* Couleur du texte saisi */
    background-color: rgb(41, 41, 46); /* déjà défini, on le garde */
}

#contact input::placeholder,
#contact textarea::placeholder {
    color: white; /* Couleur du placeholder */
}