/* ----- Propriété du site -----*/
*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html{
  font-family: 'Product Sans', sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
}
body{
  background: var(--color-bg1);
  overflow-x: hidden;
}

@import url('http://fonts.cdnfonts.com/css/product-sans');

/* ----- BARRE DE NAVIGATION ----- */
.navbar {
  position: absolute;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
  z-index: 100;
}
.navbar-menu {
  position: absolute;
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
.navbar a {     /* ----- Barre ----- */
    color: var(--color-text1);
    text-decoration: none;
}
.navbar .logo {     /* ----- Logo navbar ----- */
    font-size: 2em;
    font-weight: bold;
}
.nav-links {     /* ----- Liens ----- */
    display: flex;
    flex-direction: row;
    gap: 2rem;
}
.navbar .nav-links ul {
    display: flex;
    list-style-type: none;
    text-decoration-line: none;
    flex-wrap: wrap;
}
.navbar .nav-links ul li {
    margin: 0 25px;
}
.navbar .nav-links ul li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  /*justify-content: center;*/
}
.navbar .nav-links ul li a i {
  font-size: 1.2rem;
  display: none;
}
.navbar .nav-links ul li.active a {
    color: var(--color-text1);
    font-weight: 600;
}
.navbar .nav-links ul li a:hover{
    color: var(--orange);
    border-color: var(--orange);
  border-radius: 50px;
    background: rgba(255, 76, 41, 0.2);
}
.navbar .nav-links ul li.active a {
  color: var(--color-bg1);
  background: var(--orange);
  border-color: var(--orange);
}
.navright{
  display: flex;
  gap: 1rem;
}
#icon {
  display: flex;
  width: 2rem;
  object-fit: fill;
  cursor: pointer;
}
.button_cv{
  background-color: var(--color1);
  cursor: pointer;
}
.button_cv:hover{
  background: var(--orange);
}
#logoName {
    width: 100px;
    cursor: pointer;
}
/* Menu hamburger - caché par défaut */
.bx-menu,
.bx-x {
  display: none !important; /* Force le masquage des icônes */
}

/* ----- BARRE DE NAVIGATION MOBILE ----- */
/* Styles pour mobile */
@media screen and (max-width: 1200px) {
  .bx-menu {
    display: block !important; /* Affiche uniquement en mode mobile */
    font-size: 2.5rem !important; /* Icône plus grande */
    color: var(--color-bg3);
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%; /* Pleine largeur */
    height: 100vh;
    /*background: rgba(255, 255, 255, 0.9);  Fond semi-transparent */
    background: var(--color-bg1);
    backdrop-filter: blur(10px); /* Effet de flou */
    -webkit-backdrop-filter: blur(10px); /* Pour Safari */
    padding: 4rem 2rem;
    transition: all 0.3s ease-in-out;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement */
    gap: 2rem;
  }
  .nav-links.active {
    right: 0;
  }
  .bx-x {
    display: block !important; /* Affiche uniquement en mode mobile */
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 1002;
    font-size: 2.5rem !important; /* Icône plus grande */
    color: var(--color-bg3);
  }
  .nav-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    gap: 0.5rem;
  }
  .nav-links ul li {
    width: 80%;
    margin: 1rem 0;
  }
  .navbar .nav-links ul li i {
    font-size: 1.8rem;
    visibility: visible;
  }
  .nav-links ul li a:hover {
    transform: scale(1.1); /* Léger effet d'agrandissement au survol */
    background: rgba(58, 42, 250, 0.1);
  }
  .nav-links ul li.active a {
    background: var(--orange);
    color: var(--color-bg3);
  }
}


/* ----- SCROOL BAR ----- */
::-webkit-scrollbar {
  width: 10px;
  background-color: var(--color-bg3);
}
::-webkit-scrollbar-thumb {
  background-color: var(--orange);
  /*box-shadow: 0 -100vh 0 100vh var(--orange);*/ /* background all bar */
}


/* ----- TEXTE SELECTIONNE ----- */
a::selection,a p::selection,a h2::selection,a h3::selection{
  background-color : blue;
  color : #fff
}
::selection{
  background-color : var(--orange);
  -webkit-text-fill-color: white; /* Force le texte en blanc lors de la sélection */
  color : #fff
}



/* ----- FOOTER ----- */
footer{
  display: block;
  /*padding: 4rem 9.375rem;*/
  padding: 6% 6%;
  justify-content: center;
  align-items: center;
}
.footer{
  flex-shrink: 0;
  align-items: flex-start;
}
.footer a{
  text-decoration: none;
  display: flex;
  gap: 0.5rem;
}
.footer-link{
  height: fit-content;
  display: flex;
  gap: 2rem;
  margin-bottom: 2.75rem;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}
.footer-logo{
  /*width: 20rem;*/
  width: fit-content;
  height: fit-content;
  flex-shrink: 0;
}
.footer-liens{
  display: inline-flex;
  flex-shrink: 0;
  gap: 4rem;
  width: fit-content;
  flex-wrap: wrap;
}
.footer-boite{
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: 8rem;
  gap: 1rem;
}
footer h4{
  color: var(--orange);
  width: fit-content;
  font-weight: 600;
}
footer p{
  color: var(--color-text1);
  width: fit-content;
}
.footer-boite p{
  color: var(--color-text1);
  /* Paragraph/Small/Normal */
  /*font-family: Inter;*/
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem; /* 171.429% */
  letter-spacing: -0.00875rem;
  width: 100%;
}
footer a:hover{
  background: linear-gradient(90deg, #FF0000, #8F00FF);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}
.footer-plus{
  display: flex;
  height: 2rem;
  align-items: center;
  /*gap: 23rem;*/
  flex-shrink: 0;
  margin-top: 1.75rem;
  justify-content: space-between;
}
.footer-plus p{
  /*width: 100%;*/
}
.footer-logo-img{
  height: 5rem;
  width: 100%;
  flex-shrink: 0;
  margin-bottom: 1rem;
}
.linefooter{
  border: 1px solid var(--color-bg3);
  border-radius: 5px;
}
.footer-plus-p{
  color: var(--color-text1);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1rem;
}
.footer-cercle{
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.footercercle{
  display: flex;
  padding: 0.75rem;
  align-items: flex-start;
  border-radius: 3rem;
  background-color: var(--color-bg3);
}
.footer-icon{
  width: 1.5rem;
  height: 1.5rem;
}
.footer-cercle img{
  width: 1.5rem;
  height: 1.5rem;
  filter: invert(0%) sepia(3%) saturate(39%) hue-rotate(329deg) brightness(102%) contrast(100%);
}
#theme-toggle{
  background: none;
}
@media (max-width: 768px) { /* Ajuster la largeur en fonction de vos besoins */

}

/* ----- SECTION 1 ----- */
section {
  min-height: 100vh;
  width: 100%;
  display: flex;
  padding: 3% 6%;
}
#sec-1{
  background-color: var(--color-bg2);
  background-size: cover;
  color: var(--color-text1);
  justify-content:center;
  align-items: center;
}
#sec-1 h1 {
  display: flex;
  text-align: center;
  background: linear-gradient(90deg, #FF0000, #8F00FF);
  /*background: linear-gradient(90deg, #FFFFFF, #666666);*/
  background-size: 400%;
  font-weight: revert;
  font-size: 15vw;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  animation: animate 5s linear infinite alternate;
}
@keyframes animate {
  0% {
    background-position: 0%;
  }

  100% {
    background-position: 100%;
  }
}




.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-bg2);
  transition: .4s;
  border-radius: 34px;
}
.slider::before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: var(--color-bg3);
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: var(--color-bg4);
}
input:checked + .slider::before {
  transform: translateX(26px);
}

