/*Solution problème chrome*/
html.has-scroll-smooth {
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;  
}

* {
  -webkit-user-select: none; /* pour les navigateurs basés sur WebKit */
  -moz-user-select: none; /* pour les navigateurs basés sur Gecko */
  -ms-user-select: none; /* pour les navigateurs basés sur Trident */
  user-select: none;
}

@font-face {
  font-family: 'Nunito-Variable';
  src: url('/assets/fonts/Nunito-Variable.woff2') format('woff2'),
       url('/assets/fonts/Nunito-Variable.woff') format('woff'),
       url('/assets/fonts/Nunito-Variable.ttf') format('truetype');
       font-weight: 200 1000;
       font-display: swap;
       font-style: normal;
}

data-scroll-container {
  perspective: 1px;
}

data-scroll-section {
  perspective: 1px; 
}

:root {
    --white : #FFFFFF ;
    --black: #171923;
    --grey:#718096;
    --whiteg:#ffffffcc;
    --body-font-family: 'Nunito-Variable', sans-serif;
}

.row {
    --bs-gutter-x: 0 !important;
}

body {
  background-color: #fffffe;
  font-family: var(--body-font-family);
}

.col {
  flex: 1 0 0%;
  width: 0px !important;
}

/*------------------ HEADER -----------------*/

.blocHeader {
  margin: 60px 100px 150px 100px !important;
}
.signature {
  display: flex;
  align-items: center;
  margin-top: 16.5px;
  margin-left: 60px;
  width: 150px;
}
.btnHeader {
  display: flex;
  justify-content: center;
  margin: auto;
}
.cont {
  justify-content: right !important;
}
.check {
  justify-content: left !important;
}

.mail {
margin: 0px 10px 0px 0px;
}

.contact {
  color: var(--grey);
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.0125em;
}

.contact:hover {
  color: var(--grey);
}

/*--------------- TITLE ----------------*/

.blocTitle {
  margin-left: 150px;
}
.titleh1{
  position: relative;
  display: flex !important;
  color:var(--black);
  font-size: 5rem;
  font-weight: bold;
  font-family: var(--body-font-family);
}

.spe {
  margin-top: 30px !important;
  margin-bottom: 320px;
  display: flex;
  justify-content: flex-start;
}

.spé {
  color: var(--white);
  font-size: 1.7rem;
  margin: 0px 20px 0px 0px;
}

.blocFront {
  background-color: #715DF2;
  border-radius: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  
}
.blocBack {
  background-color: #DA1558;
  border-radius: 90px;
}
.blocCms {
  background-color: #FDC464;
  border-radius: 90px;
}


/*-------------- BLOC ---------------*/

.bloc {
  border-radius: 90px;
  margin: 200px 0px 0px 0px !important;
  width: 1300px;
  height: 730px;
}

.titleh2 {
  font-weight: bold;
  color: var(--white);
  font-size: 3rem;
}

.text-bloc-right {
  position: relative;
  left: 70px;
  display: flex;
  justify-content: center; 
}

.text-bloc-left {
  position: relative;
  left: 90px;
  justify-content: center; 
}

.txt {
  color: var(--whiteg);
  font-size: 1.5rem;
}
.para {
  margin-top: 25px;
  font-size: 27px;
}
.bouton {
  text-decoration: underline;
  color: var(--whiteg);
  font-size: 1.5rem;
  font-weight: bold;
  
}

.arrow {
  text-decoration: none;
  margin-left: 10px;
}
.lang {
  margin-top: 25px;
}
/*------------ AFPAROC ------------*/
.afproc {
  background-color:#01A0E0;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
}
.afproc img{
  position: relative;
  top: 123px;
  right: 200px;
  width: 905px;
}

/*------------ LFG ------------*/
.lfg {
  background-color:#202223;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
}

.lfg img {
  position: relative; 
  top: 69px; 
  right: 150px;
  width: 800px;
}

/*------------ CINE ------------*/
.cine {
  background-color:#6C9DFF;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
}
.cine img{
  position: relative;
  top: 123px;
  right: 130px;
  width: 800px;
}

/*------------ FILM ------------*/
.film {
  background-color:rgb(211, 198, 57);
  box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
}
.film img{
  position: relative;
  top: 134px;
  right: 165px;
  width: 900px;
}

/*------------ TECHNO ------------*/
.tech {
  background-color:#051C2C;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
}
.eco {
  color: var(--grey);
}
.blocReseau {
  margin-top: 25px !important;
}
.res {
  margin: 0px 25px 0px 0px;
}
 
.blocTech {
  position: relative;
  top: 65px;
  left:70px; 
  width: 650px !important;
  height: 650px !important;
}

.dev{
  margin: 0px 30px 30px 0px;
}
/*----------------- LEARN ------------------*/

.learn {
background-color: #7f5af0;
box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
}
.blocLearn {
  position: relative;
  left: 100px;
}
.blocTextLearn {
  width: 350px;
  margin: auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.textLearn {
  margin-top: 54px;
  font-size: 1.5rem;
}
#black {
  color: #1a1a1a;
  margin-top: 54px;
  font-size: 1.5rem;
}
#githubBlack {
  color: #1a1a1a;
}
#ts {
  margin-top: 34px;
}
#node {
  margin-top: 34px;
}
.fa-github {
  color: var(--white);
}
/*----------------- A PROPOS DE MOI ------------------*/

.blocDescri {
  margin-top: 200px!important;
  width: 721px !important;
  margin: 0 auto;
  text-align: left;
}
.titleText {
  color:var(--black);
  font-size: 3rem;
  letter-spacing : -2px !important;
  margin-bottom: 15px;
}
.textDesci {
  color: var(--grey);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 40px;
}
#resume {
  margin-top: 20px;
}

/*-------------------- BLOC MUSIC -------------------------*/
.blocMusic {
  margin-top: 35px;
}
.apple-bar {
  height: 1px;
  margin: 10px 0;
  padding: 20px 0px 20pw 0px;
  background-color: #C8C8C8;
  background-image: -webkit-linear-gradient(left, #C8C8C8, #C8C8C8, #C8C8C8);
}
/*----------------- FOOTER -------------------*/
.spaceFooter {
  margin-top: 30px;
  margin-bottom: 30px;
}

.footer {
  font-size: 1.5rem;
}

/*----------------------- ANIMATION -----------------------*/

.anim {
  transition: 1s ease;
}

.anim:hover{
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
  transition: 1s ease;
}

/*------------------------ TRANSITION LANG BTN ---------------------------*/

#page-transition {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}
#page-transition.fade {
  opacity: 0;
}

/*------------------------ MODE DARK ---------------------------*/

/* Style pour le switch */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Masque la case à cocher */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Le curseur - la partie glissante du bouton */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  -webkit-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
}

/* Style du curseur rond */
.slider.round {
  border-radius: 34px;
}

/* Style de la position du curseur quand il est coché */
.slider.round:before {
  border-radius: 50%;
}

/* Style de la position du curseur quand il est coché */
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  -webkit-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
}

/* Style de la position du curseur quand il est coché */
input:checked + .slider {
  background-color: #2196F3;
}

/* Style de la position du curseur quand il est coché */
input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

/* Style de la position du curseur quand il est coché */
input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1a1a1a;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

body.dark-mode::before {
  opacity: 1;
}

.dark-mode .titleh1 {
  color: white;
}

.dark-mode .contact {
  color: white;
}

.dark-mode .titleText {
  color: white;
}

.dark-mode .textDesci {
  color: var(--whiteg);
}

.dark-mode .footer {
  color: white;
}

/*------------------------ LIEN A HREF ANIMATION ---------------------------*/

.bouton {
  color: var(--white);
  position: relative;
  text-decoration: none;
}

.bouton:hover {
  color: white;
}

.bouton::before {
  content: "";
  position: absolute;
  bottom: -4px; /* Ajuste la position verticale de la barre latérale */
  left: 0;
  width: 0%;
  height: 3.2px;
  border-radius: 50px;
  background-color: white;
  transition: width 0.6s ease-out; /* Ajuste la durée et la courbe d'animation */
}

.bouton:hover::before {
  width: 80%;
}
.enVisit:hover::before {
  width: 85% !important;
}

.arrow {
  transition: transform 0.5s ease-out; /* Ajuste la durée et la courbe d'animation */
}

.bouton:hover .arrow {
  transform: translateX(4px);
}


/*----------------------- BLOC PROGRESS ------------------------------*/

.wrapper {
  position: relative;
  display: inline-block;
}

.wrapper[data-bg="blue"] .blocProg {
  background-color: #3178C6;
}

.wrapper[data-bg="lightblue"] .blocProg {
  background-color: #FFFFFF;
}

.wrapper[data-bg="green"] .blocProg {
  background-color: #97CB84;
}



.blocProg {
  position: absolute;
  left: 106%;
  top:  0px;
  width: 400px;
  height: 181.2px;
  max-height: 217.2px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  color: #fff;
  border-radius: 40px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  transform: translateX(10px);
}

.wrapper:hover .blocProg {
  opacity: 1;
  transform: translateX(0);
}
/*---------------------------- BTN CV -----------------------------*/

.btnCV {
  display: inline-block;
  padding: 10px 20px;
  background-color: #77859A;
  color: #fff;
  font-size: 16px;
  padding:5px 30px 5px 30px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 90px;
  transition: background-color 0.2s ease;
}

.btnCV:hover {
  background-color: #9186db;
  color: white;
}

.btnCV:active {
  transform: translateY(2px);
}

/* ----------------------- MEDIA QUERIES ------------------------- */

@media screen and (max-width: 1850px){
  .contact {
    font-size: 0;
  }
  .contact .mail {
    margin-top: 12px;
    font-size: 42px;
  }
}

@media screen and (max-width: 1600px){
  .afproc img{
    position: relative;
    top: 178px;
    right: 15px;
    width: 700px;
  }
  .lfg img {
    position: relative;
    top: 150px;
    right: -40px;
    width: 600px;
  }
  .cine img{
    position: relative;
    top: 180px;
    right: -20px;
    width: 650px;
  }
  .film img{
    position: relative;
    top: 170px;
    right: 40px;
    width: 750px;
  }
}

@media screen and (max-width: 1400px){ 
  .col-xxl {
    flex-basis: 1400px !important;
    max-width: 100% !important;
  }
}

@media (min-width: 1200px) {

}


/*------------------------------- ANIME GRAIN-------------------------------------------*/

.grain {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  pointer-event: none;
  z-index: 300;
  transform: translateZ(0);
}

.grain:before {
  content: "";
  top: -10rem;
  left: -10rem;
  width: calc(100% + 20rem);
  height: calc(100% + 20rem);
  z-index: 9999;
  position: fixed;
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/5/5c/Image_gaussian_noise_example.png);
  opacity: 0.15;
  pointer-events: none;
  animation: noise 1s steps(2) infinite;
}

@keyframes noise {
  0% { transform: translate3d(0,9rem,0) }
  10% { transform: translate3d(-1rem,-4rem,0) }
  20% { transform: translate3d(-8rem,2rem,0) }
  30% { transform: translate3d(9rem,-9rem,0) }
  40% { transform: translate3d(-2rem,7rem,0) }
  50% { transform: translate3d(-9rem,-4rem,0) }
  60% { transform: translate3d(2rem,6rem,0) }
  70% { transform: translate3d(7rem,-8rem,0) }
  80% { transform: translate3d(-9rem,1rem,0) }
  90% { transform: translate3d(6rem,-5rem,0) }
  to { transform: translate3d(-7rem,0,0) }
}