@font-face{
    font-family: 'Roboregul';
    src: url("fonts/RobotoCondensed-Regular.ttf") format('opentype');
}
@font-face{
    font-family: 'Robobold';
    src: url("fonts/RobotoCondensed-bold.ttf") format('opentype');
}
@font-face{
    font-family: 'Montregul';
    src: url('fonts/Montserrat-regular.ttf');
}
@font-face{
    font-family: 'Montbold';
    src: url('fonts/Montserrat-bold.ttf');
}
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');
:root{
  --primary-bg-color: #1e90ff;
  --primary-color: #ffffff;
}
html{
    scroll-behavior: smooth;
}



/* ------------------------ ------------------------ ------------------------ */
/* ------------------------ */
/* 0A - Curseur**/
/* ------------------------ ------------------------ ------------------------ */
.cursor-outside{
    mix-blend-mode: difference;
    width: 30px;
    height: 30px;
    border: 1px solid white;
}
.cursor-inside{
    mix-blend-mode: normal;
    width: 5px;
    height: 5px;
    background-color: white;
    opacity: 0.4;
    transition: 0.2s ease all;
    color: white;
}
.cursor-outside, .cursor-inside{
    z-index: 10000000;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    position: fixed;
}
.cursor-hover{
    user-select: none;
    cursor: pointer;
}
.cursor-image-preview{
    position: fixed;
    top: 0;
    left: 0;
    aspect-ratio: 16/9;
    width: 500px;
    border-radius: 8px;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, calc(-100% - 15px)) scale(0.8);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 9999;
    transform-origin: bottom center;
}
.cursor-image-preview img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ------------------------ ------------------------ ------------------------ */
/* ------------------------ */
/* 0B - Preloader */
/* ------------------------ ------------------------ ------------------------ */
.preloader{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(10, 10, 10);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 1s ease;
}
.preloader.hide{
      opacity: 0;
      pointer-events: none;
}
.preloader .preloader-line{
    position: relative;
    width: 200px;
    height: 4px;
    background: #ccc;
    border-radius: 2px;
}
.preloader .preloader-dot{
    position: absolute;
    top: -5px;
    left: 0;
    width: 24px;
    height: 12px;
    background: mediumslateblue;
    border-radius: 5px;
    animation: move 2s infinite ease-in-out;
}
@keyframes move{
    0%{ 
        left: 0; 
    }
    50%{
        left: calc(100% - 16px);
    }
    100%{
        left: 0;
    }
}


/* ------------------------ ------------------------ ------------------------ */
/* ------------------------ */
/* 0C - Animation */
/* ------------------------ ------------------------ ------------------------ */
[class^="apparition-"]{
    opacity: 0;
    transition: 1s all ease-out;
}
.apparition-0.scrolled{
    opacity: 1;
}
.apparition-1,
.apparition-2,
.apparition-3,
.apparition-4,
.apparition-5{
    transform: translateY(-100px);
}
.apparition-1.scrolled,
.apparition-2.scrolled,
.apparition-3.scrolled,
.apparition-4.scrolled,
.apparition-5.scrolled{
    transform: translateY(0);
    opacity: 1;
}
.apparition-21,
.apparition-22,
.apparition-23,
.apparition-24{
    transform: translateX(-100px);
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease;
}
.apparition-21.scrolled,
.apparition-22.scrolled,
.apparition-23.scrolled,
.apparition-24.scrolled{
    transform: translateX(0);
    opacity: 1;
}
.apparition-31,
.apparition-32,
.apparition-33,
.apparition-34{
    transform: translateX(100px);
}
.apparition-31.scrolled,
.apparition-32.scrolled,
.apparition-33.scrolled,
.apparition-34.scrolled {
    transform: translateX(0);
    opacity: 1;
}
.apparition-41,
.apparition-42,
.apparition-43,
.apparition-44{
    transform: scale(0);
    opacity: 0;
    transition: 1.5s all ease-out;
}
.apparition-41.scrolled,
.apparition-42.scrolled,
.apparition-43.scrolled,
.apparition-44.scrolled{
    transform: scale(1);
    opacity: 1;
}
.apparition-22 { transition-duration: 1.2s; }
.apparition-23 { transition-duration: 1.4s; }
.apparition-24 { transition-duration: 1.4s; }


/* ------------------------ ------------------------ ------------------------ */
/* ------------------------ */
/* 0D - Main */
/* ------------------------ ------------------------ ------------------------ */
main{
    margin-top: 0;
    position: relative;
}
main#list{
    padding: 0 200px 50px 200px;
    margin-top: 80px;
}
body{
    background-color: #0c0c0c;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    color: white;
    margin: 0;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
}
body.no-scroll{
    overflow: hidden;
    height: 99vh;
}


/* ------------------------ */
/* 0E - Section*/
/* ------------------------ ------------------------ ------------------------ */
section:not(#individual-container){
    position: relative;
    overflow: hidden;
}
.index-section-header {
    margin-bottom: 50px;
    border-top: 1px solid #808080;
    padding: 25px 50px;
}
.index-section-header span:first-child {
    display: flex;
    align-items: center;
    letter-spacing: 2px;
    margin-bottom: 5px;
    color: #808080;
    font-family: Century Gothic;
    font-weight: bold;
    font-size: 1.5em;
    gap: 10px;
}
.index-section-header span:last-child {
    font-size: 8em;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    color: #0b0b0b; 
    -webkit-text-stroke: 2px #808080;
}
.index-section-header span:first-child:before{
    content: "";
    display: inline-block;
    width: 20px;
    height: 1px;
    background-color: #a1a1aa;
}


/* ------------------------ ------------------------ ------------------------ */
/* ------------------------ */
/* 0F - Footer */
/* ------------------------ ------------------------ ------------------------ */
footer{
    padding: 50px 170px;
    background: rgba(0,0,0,.3);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,.08);
}
footer .footer-container{
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
footer .footer-container::before {
    content: "";
    position: absolute;
    height: 1px;
    background: grey;
    width: 40%; 
    top: 50%;
    left: 25%; 
    z-index: 0;
}
footer .footer-network ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}
footer .footer-network li{
    padding: 0 30px;
    box-sizing: border-box;
}
footer .footer-network li:first-child {
    padding-left: 0;
}
footer .footer-network li:last-child{
    padding-right: 0;
}
footer .footer-network li a {
    text-decoration: none;
    color: white;
    transition: 0.3s ease all;
    position: relative;
}
footer .footer-network li a:hover {
    color: mediumslateblue;
}
footer .footer-network li a:hover .footer-arrow {
    transform: translate(3px, -3px);
}
footer .footer-arrow {
    font-size: 2em;
    display: inline-block;
    transform: translate(-2px, 2px);
    transition: all 0.2s ease;
    line-height: 1;
    position: absolute;
    top: -13px;
    left: -30px;
}
footer .footer-copyright {
    display: flex;
    align-items: center;
    position: relative;
}


/* ------------------------ ------------------------ ------------------------ */
/* ------------------------ */
/* 0G - Autres */
/* ------------------------ ------------------------ ------------------------ */
button#up-button{
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    background-color: #3498db;
    color: black;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    pointer-events: none;
}
button#up-button:hover{
    background-color: #2980b9;
    transition: 0.2s ease;
}
button#up-button.show{
    opacity: 1;
    pointer-events: auto;
}





/* ------------------------ ------------------------ ------------------------ */
/* ------------------------ */
/* ------------------------ ------------------------ ------------------------ */
/* ------------------------ */
/* 1A - Navigation FRONT*/
/* ------------------------ ------------------------ ------------------------ */
#nav-front-two{
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px;
    padding: 10px 150px;
    box-sizing: border-box;
    z-index: 999;
    background: rgba(23, 23, 23, .8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.3);
    transition: 0.2s ease;
}
#navigation:has(#nav-back.open) #nav-front-two {
    background: transparent;
}
#nav-front-two.scrolled{
    height: 55px;
    transition: 0.2s ease;
}
#nav-front-two img{
    height: 100%;
}
#nav-front-link{
    position: absolute;
    right: 150px;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.5em;
    color: white;
    cursor: pointer;
    pointer-events: auto;
}
#nav-burger{
    display: flex;
    align-items: center;
    
}
#nav-burger p{
    font-size: 18px;
    font-family: "Montserrat", Arial, Helvetica, sans-serif !important;
    margin-right: 15px;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    user-select: none;
    transition: 0.2s ease;
    transform: translateY(0);
}
#nav-front .mobile-burger{
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.3s ease;
    border-radius: 0.5em;
    box-sizing: border-box;
    display: flex;
    align-content: space-around;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    aspect-ratio: 1/1;
   
}
#nav-front .mobile-burger span{
    display: block;
    width: 30px;
    height: 2px;
    background-color: white;
    transition: transform 0.3s ease;
    margin-bottom: 6px;
}
#nav-burger .mobile-burger span:last-child{
    margin-bottom: 0 !important;
}
#nav-front #nav-burger.open .mobile-burger span:nth-child(1){
    transform: rotate(45deg) translate(6px, 6px);
}
#nav-front #nav-burger.open .mobile-burger span:nth-child(2){
    opacity: 0;
}
#nav-front #nav-burger.open .mobile-burger span:nth-child(3){
    transform: rotate(-45deg) translate(6px, -6px);
}
#nav-front .nav-title a{
    font-weight: bold;
    color: white;
    font-size: 1.5em;
    text-decoration: none;
    pointer-events: all;
}


/* ------------------------ ------------------------ ------------------------ */
/* ------------------------ */
/* 1B - Navigation général*/
/* ------------------------ ------------------------ ------------------------ */
#navigation{
    width: 100%;
}
#nav-back{
    opacity: 0;
    height: 100%;
    top: 0;
    width: 100%;
    position: fixed;
    left: 0px;
    z-index: 100;
    background-color: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    overflow-y: auto;
    overflow-x: hidden;
    transition: 0.4s ease-out;
    box-sizing: border-box;
    scrollbar-width: thin;
    padding: 50px 10%;
    box-sizing: border-box;
    pointer-events: none;
}
#nav-back.open{
    opacity: 1;
    pointer-events: all;
}
#nav-back .nav-one{
    display: flex;
    height: 95%;
    width: 100%;
    align-items: center;
}
#nav-back .nav-one .nav-container:first-child{
    flex-direction: column;
    padding: 0 0 0 0;
    box-sizing: border-box;
    justify-content: space-between;
}
#nav-back .nav-one .nav-container:last-child{
    height: 550px;
}


/* ------------------------ ------------------------ ------------------------ */
/* ------------------------ */
/* 1C - Navigation full - Gauche*/
/* ------------------------ ------------------------ ------------------------ */
#nav-back #nav-deploy{
    height: 100%;
    display: flex;
    align-items: center;
}
#nav-back #nav-deploy ul{
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#nav-back #nav-deploy li{
    list-style: none;
    padding: 20px 0;
    box-sizing: border-box;
    font-size: 4vw;
    font-weight: bold;
    font-family: 'Montbold', Arial, Helvetica, sans-serif;
    display: flex;
}
#nav-back #nav-deploy li a{
   color: grey;
   transition: 0.2s ease;
   text-decoration: none;
}
#nav-back #nav-deploy li:first-child{
    padding-top: 0;
}
#nav-back #nav-deploy li:last-child{
    padding-bottom: 0;
}
#nav-back #nav-deploy a:hover{
    color: white;
    transition: 0.35s ease;
    transform: translateX(15px);
}
#nav-back #postal ul{
    list-style: none;
    padding: 0;
}
#nav-back #postal ul li{
    padding: 5px 0;
    font-size: 1.5em;
    color: grey;
}
#nav-back .nav-double .nav-cv a{
    text-decoration: none;
    color: white;
    padding: 12px 14px;
    box-sizing: border-box;
    margin-right: 20px;
    transition: 0.2s ease all;
    border-radius: 10px;
    font-family: 'Robobold', Arial, Helvetica, sans-serif;
    font-weight: bold;
    background: linear-gradient(0.25turn, rgba(102, 36, 131, 0.9), rgba(41, 35, 92, 0.9));
    background-size: 200% 100%;
    background-position: left center;
}
#nav-back .nav-double .nav-cv a i{
    padding-right: 10px;
    transition: 0.2s ease;
}
#nav-back .nav-double .nav-cv a:hover{
    background-position: right center;
    color: white;
    transition: 0.2s ease all;
}
#nav-back .nav-double .nav-cv a:hover i{
    transform: translateY(-2px);
    transition: 0.2s ease;
}
#nav-back .nav-num{
    font-size: 20pt;
    margin-right: 45px;
    color: mediumslateblue;
    user-select: none;
}
#nav-back #last-projet{
    width: 100%;
}
#nav-back #nav-website-menu{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3em;
    border-bottom: 1px solid rgb(255 255 255 / .1);
    padding-bottom: 15px;
}
#nav-back .nav-double{
    display: flex;
}
#nav-back .nav-language{
    display: none;
}
#nav-back .language-active{
    color: white !important;
    cursor: default !important;
}
#nav-back .nav-language div{
    padding: 12px;
    box-sizing: border-box;
    font-weight: bold;
    user-select: none;
    color: rgb(255 255 255 / .1);
    cursor: pointer;
    transition: 0.2s ease all;
}
#nav-back .nav-language div:not(.language-active):hover{
    color: mediumslateblue;
    transition: 0.2s ease all;
}


/* ------------------------ ------------------------ ------------------------ */
/* ------------------------ */
/* 1D - Navigation full - Droite*/
/* ------------------------ ------------------------ ------------------------ */
#nav-back .nav-container{
    display: flex;
    flex-direction: column;
}
#nav-back .nav-container:first-child{
    width: 75%;
}
#nav-back .nav-container:last-child{
    width: 30%;
    display: flex;
    justify-content: space-between;
}
#nav-back #nav-networks{
    display: flex;
    flex-direction: column;
}
#nav-networks a{
   color: white;
}
#nav-back .nav-icon, .contact-icon{
    padding: 10px;
    box-sizing: border-box;
    margin: 10px;
}
#nav-back .nav-icon i{
    font-size: 1em;
    font-weight: light;
}
#nav-back .nav-icon:hover{
    transform: scale(105%);
    transition: 0.3s ease;
    cursor: pointer;
}
#nav-back .nav-icon:hover i{
    color: white !important;
    transition: 0.3s ease;
}
#nav-back #nav-or p{
    text-align: center;
    position: relative;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2em;
}
#nav-back #nav-or p::before{
    position: absolute;
    content: "";
    height: 1px;
    background: white;
    width: 40%;
    top: 50%;
    left: 0;
}
#nav-back #nav-or p::after{
    position: absolute;
    content: "";
    height: 1px;
    background: white;
    width: 40%;
    top: 50%;
    right: 0;
}
#nav-back #nav-or a{
    display: block;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid white;
    text-align: center;
    transition: 0.3s ease;
    border-radius: 10px;
}
#nav-back #nav-or a:hover{
   background: white;
   color: black;
   transition: 0.3s ease;
}
#nav-back #last-project-container{
    aspect-ratio: 16/9;
    width: 100%;
    background: red;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s ease;
}
#nav-back #last-project-container a{
    display: block;
    height: 100%;
}
#nav-back #last-project-container img{
    width: 100%;
    object-fit: cover;
    transition: 0.3s ease;
}
#nav-back #last-project-container:hover img{
    transform: scale(105%);
    transition: 0.3s ease;
}
#nav-back #last-project-row{
    display: flex;
}
#nav-back #last-projet h4{
    margin-top: 0;
    font-size: 1.2em;
}
#nav-back .nav-lightmode{
    transition: 0.2s ease all;
}
#nav-back .nav-lightmode:hover{
    color: mediumslateblue;
    transition: 0.2s ease all;
}


/* ------------------------ ------------------------ ------------------------ */
/* ------------------------ */
/* 1E - Navigation full - basse*/
/* ------------------------ ------------------------ ------------------------ */
#nav-back .nav-two{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
#nav-back .nav-two ul{
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}
#nav-back .nav-two li{
    padding: 0 30px;
    box-sizing: border-box;
}
#nav-back .nav-two li:first-child{
    padding-left: 0;
}
#nav-back .nav-two li a{
    text-decoration: none;
    color: grey;
    transition: 0.3s ease all;
    position: relative;
    font-size: 1.5em;
    
}
#nav-back .nav-two li a:hover{
    color: mediumslateblue;
}
#nav-back .nav-two li a:hover .footer-arrow{
    transform: translate(3px,-3px);
}
#nav-back .footer-arrow{
    font-size: 2em;
    display: inline-block;
    transform: translate(-2px,2px);
    transition: all 0.2s ease;
    line-height: 1;     
    position: absolute;
    top: -13px;
    left: -30px;   
}
#nav-back .nav-two::before{
    position: absolute;
    content: "";
    height: 1px;
    background: grey;
    width: 25%;
    top: 50%;
    left: 0;
    z-index: 1;
    overflow: hidden;
}
#nav-back .nav-two::after{
    position: absolute;
    content: "";
    height: 1px;
    background: grey;
    width: 25%;
    top: 50%;
    right: 0;
    z-index: 1;
    overflow: hidden;
}


/* ------------------------ ------------------------ ------------------------ */
/* ------------------------ */
/* 1F - Navigation ANIMATION*/
/* ------------------------ ------------------------ ------------------------ */
#nav-deploy li.reveal-1 {
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.5s ease-in-out, transform .5s ease;
}
#nav-deploy li.reveal-1.appear {
  opacity: 1;
  transform: translateY(0);
}
#nav-deploy li.reveal-1:nth-child(1) { transition-delay: 0s; }
#nav-deploy li.reveal-1:nth-child(2) { transition-delay: 0.1s; }
#nav-deploy li.reveal-1:nth-child(3) { transition-delay: 0.2s; }
#nav-deploy li.reveal-1:nth-child(4) { transition-delay: 0.3s; }
#nav-deploy li.reveal-1:nth-child(5) { transition-delay: 0.4s; }
#nav-deploy li.reveal-1 a::before {
  content: "";
  position: absolute;
  height: 15px;
  width: 15px;
  border-radius: 50%;
  bottom: 50%;
  left: 0;
  background-color: mediumslateblue;
  opacity: 0;
  transform: translateX(25px); 
  z-index: -1;
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
  user-select: none;
}
#nav-deploy li.reveal-1 a:hover::before {
  opacity: 0.7;
  transform: translateX(-35px); 
}



