*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    letter-spacing: 2px;
    
}
html{
    font-family: Poppins;
}

header{
    width: 100%;
    height: 100vh;
    background-color:#090119;
}
.accueil{
    
    width: 100%;
    height: 100vh;
    text-align: center;
    color: #fff;
    display : flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    letter-spacing: 2px;   
}
.accueil h1{
    font-size: 3rem;
    margin: 5px;
}
.accueil p{
    font-size: 1.5em;
    margin: 3px;
}
.nom{
    position: relative;
}
.para{
    position: relative;
}
.para2{
    position: relative;
}
.navbar {
    background-color: #090119;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 80px;
    height: 80px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
  }
  
  .logo {
    position: relative;
    font-size: 1.8em;
    color: white;
    font-weight: bold;
    letter-spacing: 3px;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
  }
  
  .nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1.7em;
    transition: color 0.3s;
  }
  
  .nav-links li a:hover {
    color: #ccc;
  }
  
  .hamburger {
      position: relative;
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }
  
  .hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
  }
  
  /* Mobile styles */
  @media screen and (max-width: 768px) {
    .hamburger {
      display: flex;
    }
  
    .nav-links {
      position: absolute;
      top: 80px;
      right: 0;
      background-color: #090119;
      flex-direction: column;
      width: 100%;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
    }
  
    .nav-links.open {
      max-height: 300px;
      padding: 20px 0;
    }
  
    .nav-links li {
      text-align: center;
      margin: 10px 0;
    }
  }
.exp{
    text-align: center;
    height: auto;
    padding: 120px 120px 0 120px;
    color: white;
    background: linear-gradient(to bottom,#090119,black);

}

.exp h1{
    font-size: 2.5em;
    letter-spacing: 2px;
    color: white;
}
.forma{
    text-align: right;
    margin-top: 60px;
    display: flex;
    align-items: center;
}
.forma h2{
    font-size: 2.5em;
    letter-spacing: 5px;
}
.forma_list{
    text-align: right;
}
.forma_list li{
    font-size: 2em;
    list-style-position: inside;
    list-style: none;
    padding: 10px;
}
.ville{
    font-size: 1.2em;
    padding: 10px;
}
.date{
    font-style: italic;
    font-size: 0.8em;
    padding: 10px;
}
.skill{
    background: linear-gradient(to bottom,black,#090119);
    display: flex;
    flex-direction: column;
    padding: 120px 120px 0 120px;

}


.liste_skill {
    text-align: right;
    color: #fff;
    display: flex;
    align-items: center;
}
.liste_skill h1{
    font-size: 2.5em;
    letter-spacing: 5px;
}
.liste{
    color: #fff;
}
.liste li{
    list-style: none;
    font-size: 2em;
    padding: 10px;
}
.liste p{
    font-size: 1.4em;
    padding: 10px;
}

.imgcomp{
    transform: scale(1.2);
}


.ligne{
    background-color: #fff;
    height: 2px;
    flex-grow: 1;
    margin: 30px;
}
.contact{
    background: linear-gradient(to bottom,#090119,#120230);
    color: #fff;
    text-align: center;
    padding: 120px;
}
.grid{
    display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 800px;
  margin: auto;
}
.contact h1{
    font-size: 2.5em;
    letter-spacing: 5px;
    margin-bottom:20px ;
}
.mail img{
    height: 100px;
    padding: 10px;
}
.link img{
    height: 100px;
    padding: 10px;
}
.text{
    font-size: 1.4em;
    padding: 10px;
}
.mail{
    text-align: center;
    grid-area: "mail";
    padding: 40px;
}
.link{
    text-align: center;
    grid-area: "link";
    border-left: 2px #fff solid ;
    padding: 40px;
    
}
footer{
    background-color: #120230;
    height: 50px;
    color: #fff;
    text-align: center;
}
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #090119;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
  }
  
#loader img{
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}
#content{
    display: none;
    overflow: hidden;
}
.btnnav{
    position: relative;
}
.para_propos a{
    color: #fff;
}
.para_propos a:hover{
    color: #838181;
}
  
@keyframes spin {
    0%{
        transform: rotate(0deg);
    }
    50%{
        transform: rotate(180deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
@media screen and (max-width: 900px) {
    .grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  
    .link {
      border-left: none;
      border-top: 2px solid #fff;
      padding-top: 40px;
    }
  }

@media screen and (max-width:750px){
    .exp{
        padding: 80px 60px 0 60px ;
    }
    .skill{
        padding: 80px 60px 0 60px ;
    }
    .contact{
        padding: 60px 60px 0 60px ;
    }
    
}
@media screen and (max-width:550px){
    .exp{
        padding: 80px 40px 0 40px ;
    }
    .skill{
        padding: 80px 40px 0 40px ;
    }
    .contact{
        padding: 40px 40px 0 40px ;
    }
    body{
        font-size: 12px;
    }
    .imgcomp{
        display: none;
    }
    .mail{
        padding: 10px;

    }
    .link{
        padding: 10px;
    }
}
.hiddenbas {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}
  

.hiddendroite {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 1s ease;
}
  

.hiddengauche {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 1s ease;
}
  
.show {
    opacity: 1;
    transform: translate(0,0);
}