* {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    
}

html {
    scroll-behavior: smooth;
  }


body{
    
    margin: 10%;
    margin-top: 60px;
    background-color: #12061F;
    color: white; 
    margin-bottom: 0;

}

nav{
    display: flex;
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5vh;
    min-height: 30px;
    background-color: #1A0B2E;
    z-index: 2; 
    align-items:center;
    justify-content:left;
    
    
}

nav > div {
    margin-left:30px ;
}



nav > div > span{
    padding: 1vh;
    border-radius: 5%;

}

nav > div:hover > span{
    background-color: rgba(255, 255, 255, 0.1);

}


nav > div > span > a{
   color: white;
   text-decoration: none;

}








/* Style du conteneur */
.dropdown {
    position: relative;
    display: inline-block;
  }
  
  /* Le menu caché par défaut */
  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%);
    background-color: #251C31;
    min-width: 220px;
    z-index: 10;
    border-radius: 5px;
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    flex-direction: column;
  }
  
  /* Lien dans le menu */
  .dropdown-menu a {
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    border-radius: 40px;
  }
  
  .dropdown-menu a:hover {
    background-color: #3b2c4d;
  }
  
  /* Affiche le menu quand on survole "Projet" */
  .dropdown:hover .dropdown-menu {
    display: flex;
  }




#projet{
    margin-bottom: 200px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 200px;
    

    
}
#projet > div{
    position: relative;

    
}


body > span{
    position: relative;
    font-size: 30px;
    font-weight: bold;
    
}

#projet .flou{
    display: flex;
    justify-content: center;
    align-items: center;
    height: fit-content;
    flex-direction: column;
    z-index: 1;
    position: absolute;
    top:40%;
    left: 50%;
    border-radius: 1vw;
    border-width: 1px;
    border-color: black;
    border-style:solid;
    backdrop-filter: blur(6px);
    background-color: rgba(0, 0, 0, 0.2);
}

#projet .droite .flou{
    left: 0%;
    right: 50%;
}

#projet .flou > span{
    font-size: 2vw;
    margin-top: 2vw;
}

#projet .flou > p{
    padding: 3vw;
    font-size: 1.5vw;
}

#projet > div > div > div{
    position: relative;
    height: 30vw;
    aspect-ratio: 16/9;
    width: auto;
    background-color: #2B0A3A;
    border-radius: 0%;
    overflow: hidden;
    border-radius:0 calc(0.95*1vw) 0 1vw ;
}

#projet .droite > div > div{
    
    margin-left: auto;
    border-radius: calc(0.95*1vw) 0 1vw 0;
}

#projet img{
    position: absolute;
    height:95%;
    width:95%;    
    bottom: 0;
    border-radius:0 1vw 0 0 ;
    
}

#projet .droite img{
    right: 0;
    border-radius: 1vw 0 0 0 ;
}


#compétence > div{
    text-align: center;
    margin-bottom: 60px;
}

#compétence > div:nth-of-type(1){
    margin-top: 60px;
}

#compétence > span{
    font-size: 30px;
    font-weight: bold;
    
}

#compétence > div > span{
    font-weight: bold;
}

#compétence > div > div{
    gap: 100px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#compétence > div > div > div{
    height: 110px;
    width: 110px;
    min-height: 110px;
    min-width: 110px;
    display: flex;
    background-color: #251C31;
    justify-content:center;
    align-items: center;
    flex-direction: column;
    
    border-radius: 50%;

   
    
}

#compétence > div > div > div > span{
    font-size: 15px;
    
 
}

#compétence > div > div > div > img{
    height: 60%;
    width: auto;
    
 
}



.glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(30deg);
    width: 45%;
    height: 160%;
    border-radius: 50% / 50%;
    background-color: rgba(138, 43, 226, 0.4); /* violet clair */
    filter: blur(40px); /* diffuse l’ensemble de l’ovale */
    z-index: 0;
    pointer-events: none;
}












/* page projet numéro 1 */

#detail-projet {
    margin-top: 80px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

#detail-projet h1 {
    text-align: center;
    font-size: 3em;
    margin: 60px 0 40px 0;
}



.projet-detail-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* centre verticalement */
    min-height: 80vh; /* espace suffisant pour centrer sans coller au footer */
    gap: 40px;
    text-align: center;
    margin-top: 40px;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}


.image-container img {
    width: 80%;
    max-width: 900px;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.3s ease;
  }
  
  .image-container img:hover {
    animation: zoomBounce 0.7s ease forwards;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
  }

  @keyframes zoomBounce {
    0% {
      transform: scale(1);
    }
    40% {
      transform: scale(1.05);
    }
    
    100% {
      transform: scale(1.02);
    }
  }

.description {
    max-width: 900px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    margin-bottom: 100px;
}

.description h2 {
    font-size: 1.8em;
    margin-top: 20px;
    color: #b68dff;
}

.description p, .description ul {
    font-size: 1.2em;
    line-height: 1.6em;
    margin-top: 10px;
}

.description ul {
    list-style: square inside;
}







  /* Animation de fade + montée */
@keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
}
  
  /* Appliqué à chaque bloc projet */
  .projet-anim {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

#Prenom{
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0s;
    margin-bottom: 200px;
    margin-top: 200px;
}

#Prenom h1{
    font-size: 50px;
    text-align: center;

}

#Prenom h2{
    font-size: 40px;
    text-align: center;
    margin-top: 100px;

}


  
  /* Délais progressifs pour l’effet en cascade */
  .projet-anim:nth-child(1) {
    animation-delay: 0.2s;
}
  .projet-anim:nth-child(2) {
    animation-delay: 0.5s;
}
  .projet-anim:nth-child(3) {
    animation-delay: 0.8s;
}
.projet-anim:nth-child(4) {
    animation-delay: 1.1s;
}
.projet-anim:nth-child(5) {
    animation-delay: 1.4s;
}
.projet-anim:nth-child(6) {
    animation-delay: 1.7s;
}
.projet-anim:nth-child(7) {
    animation-delay: 2s;
}

.techno-images{
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cont-img{
    height: 80px;
    width: 80px;
    min-height: 80px;
    min-width: 80px;
    display: flex;
    background-color: #251C31;
    justify-content:center;
    align-items: center;
    flex-direction: column;
    border-radius: 50%;
}

.tech-icon{
    height: 60%;
    
}

.btn-projet {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #8f4fff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.btn-projet:hover {
  background-color: #a16cfd;
}




/* === PAGE À PROPOS === */

.apropos-container {
  margin-top: 100px;
  padding: 60px 20px;
  color: white;
  background: linear-gradient(to bottom, #12061F, #1d0e2d);
 
  display: flex;
  flex-direction: column;
  align-items: center;
}

.apropos-titre {
  font-size: 3em;
  text-align: center;
  margin-bottom: 40px;
}

.apropos-section {
  max-width: 800px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(8px);
  font-size: 1.2em;
  line-height: 1.8em;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.03);
  transition: transform 0.3s;
}

.apropos-section:hover {
  transform: scale(1.01);
}

.apropos-section p {
  margin-bottom: 20px;
}








/* contact*/



.contacte-div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 100px;
    color: black;
    
}

.contacte-main {
    width: 800px;
    background-color: white;
    height: 600px;
    margin-top: 187px;
    border-radius: 20px;
}

.contact-h1 {
    margin-left: 4.5%;
    margin-top: 40px;
}

.hr-contacte {
    width: 90%;
    height: 2.5px;
    margin-top: 5px;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
    background-color: #730FC3;
    border: #730FC3;
}

.form-conteur {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contacte-form {
    width: 90%;
    height: 90%;
}

.form-box {
    display: flex;
    gap: 60px;
}

.signup-btn {
    flex-direction: column;
}

.login-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.create-button {
    background-color: transparent;
    border: solid 2px #730FC3;
    padding: 15px;
    color: #730FC3;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    min-width: 234px;
}

.box-login {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 40px;
}

.contact-div-renseignement {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    gap: 5px;
}

.contact-div-renseignement:last-child {
    margin-bottom: 0;
}


.div-rensseignement {
    flex-grow: 1;
}

.div-message {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 5px;
    max-width: 337px;
}

input[type=text],
input[type=password] {
    width: 87%;
    height: 40px;
    padding-left: 43px;
}

input:invalid {
    border: 2px solid red;
}

.img-contact-input {
    background-position: left;
    background-position-x: 8px;
    background-repeat: no-repeat;
}

.img-nom {
    background-image: url('Image/24.png');
    background-size: 22px;
}

.img-email {
    background-image: url('Image/23.png');
    background-size: 25px;
}

.img-mdp {
    background-image: url('Image/25.png');
    background-size: 27px;
    background-position-x: 8px;
}


.contact-textarea {
    height: 100%;
    max-width: 337px;
    max-height: 255px;
    min-width: 337px;
    min-height: 255px;
}

.div-btn-envoie {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    margin-bottom: 40px;
}

.btn-envoie {
    padding: 15px;
    background-color: #730FC3;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    min-width: 234px;
}

@media(max-width:612px) {

    .contacte-main {
        width: 400px;
        background-color: white;
        height: 900px;
    }

    .form-box {
        flex-direction: column;
    }

    .div-message {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        gap: 5px;
        max-width: 360px;
    }

    .contact-textarea {
        height: 100%;
        max-width: 360px;
        max-height: 259px;
        min-width: 360px;
        min-height: 259px;
    }


}

.reseau {
    display: flex;
    gap: 20px;
}

.reseau img {
    width: 40px;
}






.footer-contact {
    left: 0;
    height: 200px;
    width: 100%;
    position: absolute;
    background-color: #1A0B2E;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.footer-contact p {
  text-decoration: none;
}

.footer-contact a {
  color: #007BFF;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}