@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    font-family: 'Poppins', sans-serif;
}

:root {
    --color: #0b001a;
    --color1: #1a003d;
    --color2: #4600b0;
    --color3: #6313ff;
    --color4: #b1a8ff;
    --color5: #e5e4ff;
}


main {
    background-color: var(--color1);

}

main .nav {
    /* background-color: var(--color1) !important; */
    padding: 10px 10%;
    z-index: 3;
    backdrop-filter: blur(4px) saturate(180%);
    -webkit-backdrop-filter: blur(4px) saturate(180%);
}


header {
    /* height: 100vh; */
    padding: 30px 10%;
    /* position: fixed; */
    /* background-color: red; */

}


#navbar-example2 .active {
    background-color: var(--color4) !important;
    background: none !important;
    color: var(--color5) !important;
    border: 1px solid rgba(177, 168, 255, 0.2);
}

.my-header-div {
    padding-bottom: 100px;
    gap: 30px;
    padding: 20px 0px;
    background-repeat: no-repeat;
    background-position-y: 100px;
    /* background-color: red; */
}




.presentation-div {
    color: white;
    
}



strong {

    color: var(--color4);
    font-size: 45px;
}



.my-name-svg {
    line-height: 0px;
    height: 50px;

}

.my-name-svg text {
	animation: stroke 5s infinite alternate;
	stroke-width: 2;
	stroke: #365FA0;
    /* height: 20px; */
    padding: 0px !important;
    margin: 0px !important;
}

@keyframes stroke {
	0%   {
		fill: rgba(72,138,204,0); stroke: var(--color4);
		stroke-dashoffset: 25%; stroke-dasharray: 0 50%; stroke-width: 2;
	}
	70%  {fill: rgba(72,138,204,0); stroke: var(--color4); }
	80%  {fill: rgba(72,138,204,0); stroke: var(--color4); stroke-width: 3; }
	100% {
		fill: var(--color4); stroke: rgba(54,95,160,0);
		stroke-dashoffset: -25%; stroke-dasharray: 50% 0; stroke-width: 0;
	}
}

.presentation-header-img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background-size: cover;
    border: 2px solid var(--color4);
}


.hire-me-btn {
    background-color: var(--color2) !important;
    /* color: var(--color1); */
    color: white !important;
    font-weight: bold;
    box-shadow: 0px 6px 13px 0px rgba(0, 0, 0, 0.51);
    transition: 0.3s all ease;

}

.hire-me-btn:hover {
    background-color: var(--color3) !important;
    box-shadow: 0px 13px 13px 0px rgba(0, 0, 0, 0.51);
    transition: 0.3s all ease;

}

.call-me-btn {
    border: 2px solid var(--color4) !important;
    color: var(--color4) !important;
    font-weight: bold;
    box-shadow: 0px 6px 13px 0px rgba(0, 0, 0, 0.51);
    transition: 0.3s all ease;

}


.call-me-btn:hover {
    background-color: var(--color3) !important;
    box-shadow: 0px 13px 13px 0px rgba(0, 0, 0, 0.51);
    color: white !important;
    border: 2px solid var(--color3) !important;
    transition: 0.3s all ease;
}


.header-main-picture {
    height: 400px;
    min-width: 350px;
    border-radius: 5px;
}

.firt-box {
    transform: rotate(-10deg) translateX(-20px);
    height: 400px;
    min-width: 350px;
    background-size: cover;
    border-radius: 5px;
animation: customAni 60s ease 0s infinite normal forwards;
}


.header-main-picture, .firt-box {
    border: 1px solid var(--color4);
    backdrop-filter: blur(4px) saturate(180%);
    -webkit-backdrop-filter: blur(4px) saturate(180%);
    box-shadow: 0px 6px 13px 0px rgba(0, 0, 0, 0.51);

    
}




.social-links,.flex-center {
    display: flex;
    align-items: center;
    gap: 30px;
  }


  .flex-center {
    justify-content: center;
    gap: unset;
  }
  
  .social-btn {
    cursor: pointer;
    height: 50px;
    width: 50px;
    font-family: 'Titillium Web', sans-serif;
    color: var(--color4);
    border-radius: 25px;
    box-shadow: 0px 10px 10px rgba(0,0,0,0.1);
    background: var(--color1);
    border: 1px solid var(--color4);
    border: 2px solid rgba(177, 168, 255, 0.2);
    transition: 0.3s;
    justify-content: center;
    font-size: 12px;

  }
  
  .social-btn svg {
    height: 24px;
    width: 24px;
  }
  
  .social-btn span {
    width: 0px;
    overflow: hidden;
    transition: 0.3s;
    text-align: center;
    margin-left: 5px;
  }
  
  .social-btn:hover {
    width: 200px;
    border-radius: 25px;
    text-decoration: none;
    color: var(--color4);
  }
  
  .social-btn:hover span {
    padding: 2px;
    width: 80px;
  }
  
  #twitter svg {
    fill: #1da1f2;
    fill: white;
  }
  
  #linkedin svg {
    fill: #0e76a8;
    fill: white;

  }
  
  #github {
    fill: #333;
    fill: white;

  }
  



@keyframes customAni {
    0%,
    100% {
      transform: rotate(0deg);
      transform-origin: 0 50%;
    }
  
    10% {
      transform: rotate(2deg);
    }
  
    20%,
    40%,
    60% {
      transform: rotate(-4deg);
    }
  
    30%,
    50%,
    70% {
      transform: rotate(4deg);
    }
  
    80% {
      transform: rotate(-2deg);
    }
  
    90% {
      transform: rotate(2deg);
    }
  }
  







/* **************************************************************************************************************
    Partie de à propos
****************************************************************************************************************** */



.about-section {
    background-color: var(--color);
    padding: 50px 10%;
    /* backdrop-filter: ; */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;


}

.about-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-size: cover;
    background-color: var(--color2);
    border: 2px solid var(--color4);
}

.about-section h3 {
    color: var(--color4);
}






/* **************************************************************************************************************
    Partie de Experiences et Formation
****************************************************************************************************************** */


.experience-formation-section {
    background-color: var(--color1);
    padding: 50px 10%;

}



.box-ligne-list-point-div {
    width: 30px;
}

.ligne-list-point-div {
    background-color: var(--color4);
    width: 2px;

}

.list-point-div {
    gap: 250px;
}

.list-point-div span {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: var(--color4);
}

.one-form-exp-element {
    border: 2px solid var(--color4);
    border-radius: 5px;
    color: white;
}

.one-form-exp-element ul {
    list-style-type: disc;
    /* margin-left: 0px !important; */
    padding-left: 20px;

}

.one-form-exp-element ul span {
    color: var(--color5);


}

.element-date {
    color: var(--color4);
}




/* **************************************************************************************************************
    Partie des Compétences
****************************************************************************************************************** */




.skills-section {
    background-color: var(--color);
    padding: 50px 10% !important;

}



.list-skills-box {
    border: 2px solid var(--color4);
    border-radius: 5px;

}

.my-progress-line {
    text-align: start;

}

.my-progress-line h5 {
    color: white;

}




.my-skills-progress-bar {
    background-color: var(--color2) !important;
}
















/* **************************************************************************************************************
    Partie des Projets
****************************************************************************************************************** */


.project-section {
    padding: 50px 10% !important;
    box-sizing: border-box;
    height: 130vh;
}

.sous-project-section1 {
    padding: 20px;
    padding-bottom: 0px;
    /* background-color: red; */
    height: 95% !important;
    backdrop-filter: blur(4px) saturate(180%);
    -webkit-backdrop-filter: blur(4px) saturate(180%);
    box-shadow: 0px 6px 13px 0px rgba(0, 0, 0, 0.51);
    border-radius: 5px;

}

.project-section-mobile {
  display: none;
}

.sous-project-section {
    
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: visible;
    height: 100% !important;
}


.project-section .carousel-inner {
    border-radius: 5px !important;
    overflow: visible;
}

.project-section .carousel-inner img {
    border-radius: 5px !important;
}

.project-section .carousel-item {
    overflow: visible;
}

.project-section .carousel-item .carousel-caption {
    backdrop-filter: blur(4px) saturate(180%);
    -webkit-backdrop-filter: blur(4px) saturate(180%);
    border-radius: 5px !important;
    /* background-color: var(--color1); */
    position: absolute;
    bottom: -180px;
    z-index: 10;
    /* left: 0px; */
}





/* **************************************************************************************************************
    Partie de Contact
****************************************************************************************************************** */


.contact-section {
    padding: 50px 10% !important;
    background-color: var(--color);
    height: 100vh;

}

.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    margin: 10px 10%;
  }
  
  .message {
    color: rgba(88, 87, 87, 0.822);
    font-size: 14px;
    
  }
  
  .flex {
    display: flex;
    width: 100%;
    gap: 20px;
    justify-content: stretch;
  }
  
  .flex label {
    flex: 1;
  }
  .form label {
    position: relative;
  }
  
  .form label .input {
    width: 100%;
    padding: 10px 10px 20px 10px;
    outline: 0;
    border: 1px solid var(--color4);
    border-radius: 5px;
    background-color: transparent;
    color: white;
  }
  
  .form label .input + span {
    position: absolute;
    left: 10px;
    top: 15px;
    color: grey;
    font-size: 0.9em;
    cursor: text;
    transition: 0.3s ease;
  }
  
  .form label .input:placeholder-shown + span {
    top: 15px;
    font-size: 0.9em;
  }
  
  .form label .input:focus + span,.form label .input:valid + span {
    top: 30px;
    font-size: 0.7em;
    font-weight: 600;
  }
  
  .form label .input:valid + span {
    color: var(--color5);
  }
  
  .input01 {
    width: 100%;
    padding: 10px 10px 20px 10px;
    outline: 0;
    border-radius: 5px;
    border: 1px solid var(--color4);
    background-color: transparent;
    color: white;
  }
  
  .form label .input01 + span {
    position: absolute;
    left: 10px;
    top: 50px;
    color: grey;
    font-size: 0.9em;
    cursor: text;
    transition: 0.3s ease;
  }
  
  .form label .input01:placeholder-shown + span {
    top: 20px;
    font-size: 0.9em;
  }
  
  .form label .input01:focus + span,.form label .input01:valid + span {
    top: 50px;
    font-size: 0.7em;
    font-weight: 600;
  }
  
  .form label .input01:valid + span {
    color: var(--color5);
  }
  
  .fancy {
    background-color: transparent;
    border: 4px solid var(--color4);
    border-radius: 5px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-weight: 390;
    letter-spacing: 2px;
    margin: 0;
    outline: none;
    overflow: visible;
    padding: 8px 30px;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    transition: all 0.3s ease-in-out;
    user-select: none;
    font-size: 13px;
  }
  
  .fancy::before {
    content: " ";
    width: 1.7rem;
    height: 2px;
    background: var(--color4);
    top: 50%;
    left: 1.5em;
    position: absolute;
    transform: translateY(-50%);
    transform: translateX(230%);
    transform-origin: center;
    transition: background 0.3s linear, width 0.3s linear;
  }
  
  .fancy .text {
    font-size: 1.125em;
    line-height: 1.33333em;
    padding-left: 15%;
    display: block;
    text-align: left;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    color: #818181;
    transform: translateX(30%);
    font-weight: bold;
  }
  
  .fancy .top-key {
    height: 4px;
    width: 1.5625rem;
    top: -4px;
    left: 0.625rem;
    position: absolute;
    background: var(--color);
    transition: width 0.5s ease-out, left 0.3s ease-out;
  }
  
  .fancy .bottom-key-1 {
    height: 4px;
    width: 1.5625rem;
    right: 1.875rem;
    bottom: -4px;
    position: absolute;
    background: var(--color);
    transition: width 0.5s ease-out, right 0.3s ease-out;
  }
  
  .fancy .bottom-key-2 {
    height: 4px;
    width: 0.625rem;
    right: 0.625rem;
    bottom: -4px;
    position: absolute;
    background: var(--color);
    transition: width 0.5s ease-out, right 0.3s ease-out;
  }
  
  .fancy:hover {
    color: white;
    background: var(--color1);
  }
  
  .fancy:hover::before {
    width: 1.5rem;
    background: var(--color4);
  }
  
  .fancy:hover .text {
    color: var(--color4);
    padding-left: 13%;
  }
  
  .fancy:hover .top-key {
    left: -2px;
    width: 0px;
  }
  
  .fancy:hover .bottom-key-1,
   .fancy:hover .bottom-key-2 {
    right: 0;
    width: 0;
  }







  footer {
    height: 100px;
    /* background-color: var(--color); */
    color: var(--color4);
  }



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

    .nav-mobile {
        background-color: var(--color);
    }

    .nav-mobile .container-fluid {
        /* backdrop-filter: blur(4px) saturate(180%);
    -webkit-backdrop-filter: blur(4px) saturate(180%); */
    background-color: var(--color);

    }

    #offcanvasDarkNavbar {
        background-color: var(--color1);
    }

 
    strong {
    
        font-size: 25px;
    }
    
    
    .my-name-svg {
        height: 30px;
        width: 100%;
    
    }

    .name-profile-div p {
        font-size: 12px;
    }



    .header-main-picture, .firt-box {
        height: 90vw;
        min-width: 85vw;
    }
    
 
    .presentation-header-img {
        height: 80px;
        width: 80px;

    }

    .element-date {
        font-size: 12px;
    }





.project-section .carousel-item .carousel-caption h5 {
    font-size: 20px;
}

.project-section .carousel-item .carousel-caption p {
    font-size: 10px;
}

.project-section .carousel-item .carousel-caption a {
    font-size: 15px;
}

    .form {

        margin: 10px 0px;
        padding: 0px;
        padding-top: 10px;
      }



      .contact-section {
        height: auto;
    
    }



    .project-section {
      display: none;
      /* visibility: hidden; */
    }

    .project-section-mobile {
      display: block;
      padding: 50px 10% !important;
      /* display: flex;
      flex-direction: column;
      gap: 30px; */
    }

    .sous-project-section-mobile {
      display: flex;
      flex-direction: column;
      gap: 50px;
    }
    

    .sous-project-section-mobile-item {
      /* display: flex;
      flex-direction: column;
      gap: 50px; */
      background-color: var(--color1);
      padding: 20px;
      color: var(--color5);
      border-radius: 5px;
      /* border: 2px solid var(--color4); */
      backdrop-filter: blur(4px) saturate(180%);
      -webkit-backdrop-filter: blur(4px) saturate(180%);
      box-shadow: 0px 6px 13px 0px rgba(0, 0, 0, 0.51);
    }

    .sous-project-section-mobile-item h5 {
      color: var(--color5);
      font-weight: bold;
    }

    .sous-project-section-mobile img {
      border-bottom-right-radius: 0px !important;
      border-bottom-left-radius: 0px !important;
  }
    
   }




  @media (min-width: 768px) { 
    .my-header-div {
        height: 100vh;
    }
    
    

  }