/*--------Page--------*/

:root{
    /* --black-theme:#2E3192;
    --black-theme:#FFF3DC; */
    /* --green-theme:; */
    --black:rgb(0, 0, 0);
    --white:rgb(255, 255, 255);
    --purple-light-theme:rgb(181, 158, 232);
    --purple:#7C5EDF;
    --purple-dark:#402695;
    --black-theme:rgb(39, 41, 54); 
    --purple-light-light-theme:#f2e6ff;
    --transparent-1:#fdfdfd8e;
    --transparent-2:#fdfdfd7e;
    --transparent-3:#fdfdfd7a;
    --blue-dark:#2E3192;
    --beige:#FFF3DC; 

    --navbar-shadow-blur: 0.25rem;
    --navbar-shadow-color: hsla(0, 0%, 0%, 0.250);
    /* --h1-size:; */
}
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
}

html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /*Tout texte est écrit en police "Segoe UI"*/
    background-color: var(--black-theme);
    /*Mettre le fond des pages html en cette couleur par défaut*/
    scroll-behavior: smooth;
    /*Permet que le défilement de la page soit plus naturel, plus doux*/
}

h1{
    font-family: "Lemon", serif;
    font-weight: 400;
    font-style: normal;
}


body {
    background-color: var(--purple-light-theme);
    /*Mettre le fond des pages html en cette couleur par défaut*/
    margin: 0;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    /*Aucune marge supplémentaire dans le body*/
    display: grid;
    width: 100%;
    height: auto;
    min-height: 100vh;
    grid-template-rows: auto 1fr auto;
}

.desktop-only{
    display: none;
}

main{
    margin-bottom: 10%;
}

.list-projects{
    display: flex;
    flex-direction: column;
    gap:2rem;
}

/*--------Header--------*/

body header {
    margin-bottom: 5%;
    background-color: var(--black-theme);
    /*Mettre le fond des pages html en cette couleur par défaut*/
    padding-bottom: 10%;
}

.photoCV {
    width: 250px;
    position: relative;
    /* Pour éviter les espaces blancs en dessous de l'image */
    display: block;
    z-index: 2;
    /* Au-dessus des feuilles de palmier */
    opacity: 0;
    /* Commence invisible */
    animation: fadeIn 2s forwards;
    /* Animation initiale */
    transition: transform 0.4s ease, background-color 0.4s ease;

    /*Ancienne photo : */
    /* border-radius: 10px; */
    /* height: 270px; */
    /* border: 9px solid var(--purple-light-theme); */
}

.photoCV:hover {
    transform: scale(1.05);
}

.presentation {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    /* padding: 0 2rem; */
}

.presentation-photoProfil {
    /* padding-left: 10px; */
    margin-top: 5rem;
}

.presentation-texte {
    /* font-style: italic; */
    color: white;
    font-size: 0.8rem;
    line-height: 1.5rem;
    /* padding-left: 20px; */
    
    opacity: 0; /* Commence invisible */
    transition: opacity 2s; /* Assure une transition en douceur de l'opacité */
    padding: 0 2rem;
    padding-top: 8.5rem;
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.presentation-texte.animate {
    animation: textFadeIn 2s forwards; /* Animation d'apparition pour le texte */
}

.presentation-texte.animated {
    opacity: 1; /* Assure que le texte reste visible */
}

.presentation h1 {
    color: var(--purple-light-theme);
    text-align: center;
}

.presentation-bandeau {
  overflow: hidden;
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.bandeau-slider {
  display: flex;
  width: fit-content;
  animation: defilement 40s linear infinite;
  gap: 0;
  line-height: 0;
  z-index:1;
  position: relative;
}

.bandeau-slider img {
  width: 60rem;
  height: auto;
  flex-shrink: 0;
  display: block; /* <- empêche les espaces inline */
  margin: 0;
  padding: 0;
}

.presentation-bandeau::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(197 197 197 / 19%);
    z-index: 2; /* au-dessus du bandeau, mais en-dessous du reste si nécessaire */
    pointer-events: none;
}

/* Animation défilement horizontal infini */
@keyframes defilement {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-60rem);
  }
}

.presentation-photoProfil {
    position: relative;
    display: inline-block;
    margin: auto;
    top:4rem;
}

.feuille-palmier {
    position: absolute;
    /* width: 55%; */
    width:10rem;
    height: auto;
    /* animation: wind 3s infinite alternate; */
    z-index: 1;
    opacity: 0;
    /* animation: fadeIn 2s forwards, slideIn 2s forwards; */
    animation: fadeIn 1s forwards, slideIn 1s forwards, wind 3s infinite alternate;
}

.feuille-palmier-top-left {
    /* top: -4rem;
    left: -3rem;
    rotate: 90deg; */
    top: 9rem;
    left:-2rem;
    rotate: 35deg;
}

.feuille-palmier-bottom-right {
    /* bottom: -50%;
    right: -10%;
    rotate: -90deg; */
    bottom: 9rem;
    right: 7rem;
    rotate: 80deg;
}

.miroir{
    transform: scaleX(-1);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes wind {
    0% {
        transform: translate(0px, 0px) rotate(0deg);
    }

    50% {
        transform: translate(15px, 0px) rotate(10deg);
    }

    100% {
        transform: translate(0px, 0px) rotate(0deg);
    }
}

.photoCV.animated {
    opacity: 1; /* Apparait avec l'animation */
    animation: none; /* Pour désactiver l'animation initiale après l'apparition */
}

.presentation-texte.animated {
    opacity: 1; /* Apparait avec l'animation */
    animation: textFadeIn 1s forwards;
}

.presentation-competences{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
}

.presentation-competences div{
    background-color: var(--purple);
    border-radius: 1.5rem;
    padding: 0.5rem 1rem;
    border:0.2rem solid var(--purple-dark);
    font-weight: bold;
    font-style: normal;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    text-align: center;
    box-shadow:0rem 0.5rem var(--navbar-shadow-blur) 0rem var(--navbar-shadow-color);
}


/*--------Barre de navigation--------*/

.wrapper {
    max-width: 1580px;
    margin: auto;

}

.titre-mes-realisations {
    text-transform: uppercase;
    font-size: 1.8rem;
    color: white;
    text-align: center;
    padding: 7px 0 7px 15px;
    margin-bottom: 70px;
    background-color: var(--black-theme);
    margin-top:40px;
}

.presentation-profil{
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
}

.h1-nav {
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
    text-transform: uppercase;
    font-size: 1.4rem;
    color: var(--purple-light-theme);
    text-align: left;
    padding: 0.438rem 0;
    /* font-weight: bold; */
    /* font-family: "Arial Rounded MT Bold", sans-serif;
    font-weight: 400;
    font-style: normal; */
    font-family: "Lemon", serif;
    font-weight: 400;
    font-style: normal;
}

.header-page {
    border-bottom: 2px solid rgb(255, 255, 255);
    position: sticky;
    /*ou relative*/
    top: 0;
    z-index: 99;
    width: auto;
    background-color: var(--black-theme);
    box-shadow:0rem 0.5rem var(--navbar-shadow-blur) 0rem var(--navbar-shadow-color)
}

.header-page-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--black-theme);
    max-width: 1500px;
    margin: 0 auto;

}

nav .main-menu {
    border: 1px solid black;
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    list-style-type: none;

}

nav li a {
    color: white;
    text-decoration: none;
}

.mon-nom {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--purple-light-theme);
    font-size: 1.4rem;
    padding-left:1rem;
    font-weight: bold;
}

.btn-menu {
    appearance: none;
    border: none;
    background: transparent;
    color: white;
    font-size: 1.375rem;
    padding-right: 1rem;
    position: absolute;
    top: 1.6rem;
    right: 1rem;
    z-index: 1100; /* supérieur à .menu-list */
}

.btn-menu i{
    font-size: 2rem;
}

.menu-list {
    list-style-type: none;
    margin: 0;
    font-size: 1rem;
    background-color: var(--black-theme);

    padding: 2rem 1rem;
    /* position: absolute; */
    position: fixed;
    top: 0;
    right: 0; /* cache à droite */
    height: 100vh;
    /* width: 100%; */
    width:100vw;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    /* transition: right 0.3s ease-in-out; */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 4rem;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    overflow-y: auto
}

.menu-list.open {
    transform: translateX(0);
    /* right: 0; */
}

body.no-scroll {
    overflow: hidden;
}

.menu-item {
    padding-left: 1.5rem;
    cursor: pointer;
    background-color: var(--black-theme);
    transition: transform 0.3s ease, background-color 0.2s ease;
    line-height: 2.5rem;
}

.social-link {
    border-top: 2px white solid;
    padding-top: 2rem;
}

.download-link{
    text-align: center;
    cursor: pointer;
    background-color: var(--black-theme);
    color: var(--white);
    border: 0.1rem var(--white) solid;
    padding: 0.7rem 1rem;
    border-radius: 1rem;
    max-width: fit-content;
    margin: 1.5rem auto;
    transition: transform 0.3s ease, background-color 0.2s ease;
    box-shadow:0rem 0.5rem var(--navbar-shadow-blur) 0rem var(--navbar-shadow-color)
}

.download-link:hover{
    transform: scale(1.05);
    border: 0.1rem var(--black-theme) solid;
    background-color: var(--purple-light-theme);
    color: var(--black-theme);
}

.download-link:hover .menu-link{
    color: var(--black-theme);
}

.download-link-mobile{
    text-align: center;
    cursor: pointer;
    background-color: var(--black-theme);
    color: var(--white);
    border: 0.1rem var(--white) solid;
    padding: 1rem 1rem;
    border-radius: 1rem;
    max-width: fit-content;
    margin: 2.5rem auto 1.5rem;
    transition: transform 0.3s ease, background-color 0.2s ease;
    box-shadow:0rem 0.5rem var(--navbar-shadow-blur) 0rem var(--navbar-shadow-color)
}

.download-link-mobile:hover{
    transform: scale(1.1);
    border: 0.1rem var(--black-theme) solid;
    background-color: var(--purple-light-theme);
    color: var(--black-theme);
}

.download-link-mobile:hover .menu-link{
    color: var(--black-theme);
}

.menu-item:hover {
    color: var(--purple-light-theme);
}

.menu-link {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size:1.25rem;
}

.menu-link:hover{
    color:var(--purple-light-theme);
}

.menu-list{
    display: flex;
    flex-direction: column;
    gap:3rem;
}

.menu-list:first-of-type{
    padding-top: 5rem;
}

.menu-link:focus {
    color: var(--purple-light-theme);
}

.fa-bars,
.fa-xmark {
    cursor: pointer;
}

.fa-bars:hover,
.fa-xmark:hover {
    color: var(--purple-light-theme);
}

.icon-header {
    margin-right: 0.7rem;
}

.boite-icon-fleche {
    justify-content: center;
    display: flex;
    transition: transform 0.3s ease;
    margin-top: 3rem;
}

.boite-icon-fleche:hover {
    transform: scale(1.1);
}

@keyframes scaleArrowDown {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

.boite-icon-fleche i{
    animation: scaleArrowDown 2s ease-out forwards;
}

.icon-header2 {
    text-align: center;
    font-size: 3.5rem;
    color: white;
}

.menu-download{
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

.download-link:hover .menu-download{
    color: var(--black-theme);
}

.download-link-mobile:hover .menu-download{
    color: var(--black-theme);
}

.download-link-desktop{
    display: none;
}

.project-link{
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 0.3rem;
    text-decoration-thickness: 0.1rem;
}


/*---------Main--------*/
.section {
    color: var(--purple-light-theme);
}

#Pour-en-savoir-plus-sur-moi,
#Mes-projets,
#Pour-me-contacter {
    scroll-margin-top: 10rem;
    margin-top: 5%;
    /*Permet de garder un espace en haut à chaque partie de section*/
}

abbr {
    text-decoration: none;
}

h2 {
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
    font-family: "Potta One", serif;
    font-weight: 400;
    font-style: normal;
    color: white;
    justify-items: center;
    text-align: center;
    background-color: var(--black-theme);
    padding: 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    box-shadow: 0rem 0.5rem var(--navbar-shadow-blur) 0rem var(--navbar-shadow-color);
    /*Taille de la police d'écriture (=26px)*/
}

h3 {
    margin: 10% auto 5% auto;
    color: white;
    text-transform: uppercase;
    font-size: 1rem;
    text-align: center;
    font-family: "Lemon", serif;
    font-weight: 400;
    font-style: normal;

    background-color: var(--purple);
    border: 0.2rem solid var(--purple-dark);
    padding: 0.7rem 0.5rem;
    border-radius: 2rem;
    width: 20rem;
    box-shadow: 0rem 0.5rem var(--navbar-shadow-blur) 0rem var(--navbar-shadow-color);
}

h4 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--black-theme);
    font-size: 1.1rem;
    padding-top: 1%;
    text-align: center;
    margin-top:2rem;
}

h5 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: black;
    font-weight: bolder;
    font-size: 1.25rem;
    /*Taille de la police d'écriture (=18px)*/
}

strong {
    /*Balises en gras*/
    color: var(--purple-light-theme);
    font-style: normal;
}

a {
    /*Liens hypertextes*/
    color: rgb(172, 232, 158);
}

a:active {
    /*Liens hypertextes cliqués*/
    color: var(--purple-light-theme);
}

/* **Pour-en-savoir-plus-sur-moi** */

/* Mon parcours */

#introduction {
    margin-bottom: 5rem;
}


.texte-p{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 1.5rem;
    border: var(--black-theme) solid 3px;
    padding: 0.5rem 1rem;
    box-shadow: 0rem 0.5rem var(--navbar-shadow-blur) 0rem var(--navbar-shadow-color);
    background-color: var(--transparent-2);
    font-size: 0.8rem;
    color: var(--black-theme);
    font-weight: 400;
    line-height: 1.5rem;
    margin: 0 0.5rem;

    width: fit-content;
    margin: auto;
}

#introduction strong {
    color: var(--black-theme);
}

#Chemin {
    padding: 0 1rem;
    /* position: relative; */
    /* height: auto; */
    /* background: #f5f5f5; */
    overflow: hidden;
    min-height: 150vh;
    /* height: 100vh; */
    /* overflow: visible; */
    margin-top: 3rem;

    display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

#Chemin li {
    list-style-type: none;
    margin-bottom: 1%;
}

#Parcours ul {
    margin-bottom: 1%;
    z-index: 2;
}

#Parcours p,
#Parcours h4,
#Parcours h5 {
    z-index: 0;
}

#Parcours h4 {
    border: 3px solid black;
    text-align: center;
    justify-items: center;
    padding: 0.5% 0.5% 0.5% 0.5%;
    margin-left: 0;
    text-align: center;
    background-color: var(--transparent-2);
}

.scroll-wrapper {
  /* white-space: nowrap; */
  width: 100%;
  /* height: auto; */
  position: absolute;
  top: 0;
  left: 0;
  /* scrollbar-color: var(--black-theme);
  scrollbar-width: thin; */
  /* max-height: 500px; */
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;  /* masque la scrollbar sur Firefox */
  -ms-overflow-style: none;
  transition: height 0.3s ease;
}

.scroll-wrapper::-webkit-scrollbar {
  display: none; /* masque la scrollbar sur Chrome, Safari et Edge */
}

.scroll-wrapper.expanded{
    height:100%;
}

.scroll-wrapper:focus {
    outline: none;
}

.timeline {
    display: flex;
    flex-direction: row;
    /* overflow-x: auto;
    overflow-y: hidden; */
    align-items: flex-start;
    gap: 2rem;
    scroll-behavior: smooth;
    padding-bottom: 2rem;
    position: relative;
    width: max-content;
    padding-left: 0.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 0;
    right: 0;
    height: 0.5rem;
    background-color: var(--black-theme);
    z-index: 0;
}

.timeline::after {
    content: '';
    position: absolute;
    top: -1rem;
    left: 0;
    right: 0;
    z-index: 0;

    background-image: url('../images/palmier.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 54px;
    height: 54px;
}

.timeline-date {
    /*Dates du parcours*/
    font-size: 1.2rem;
    color: var(--black-theme);
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 30px;
    font-style: italic;
    font-style: normal;
}

#bus {
    width: 200px;
    height: auto;
}

#bus-container {
    position: absolute;
    left: 0;
    /* transform: translateY(-50%);*/
    margin-left: auto;
    margin-right: auto;
    transition: top 5s ease;
    display: flex;
    pointer-events: none;
    justify-content: flex-start;
    top: -7rem;
    z-index: 11;
}

.timeline-item {
    border-radius: 1.5rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.500);
    position: relative;
    transition: transform 0.3s ease, background-color 0.3s ease;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    box-shadow: 0.5rem 0.5rem var(--navbar-shadow-blur) 0rem var(--navbar-shadow-color);
    margin-top:5rem;
}

.timeline-item.visible {
  opacity: 1;
}

.timeline-description {
  margin-top: 0.5rem;
}

.timeline::-webkit-scrollbar {
  height: 10px;
}

.timeline::-webkit-scrollbar-thumb {
  background:var(--black-theme);
  border-radius: 5px;
}

.timeline::-webkit-scrollbar-track {
  background: var(--white);
}

#Chemin strong {
    color: var(--black-theme);
}

.toggle-description {
  font-size: 2.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  margin: 0 0 0 auto;
  position: relative;
  display: flex;
  text-align: center;
  background-color: transparent;
  color: var(--black-theme);
  border: 0.2rem solid var(--black-theme);
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-items: center;
  align-content: center;
  justify-content: center;
}

.toggle-description:hover {
  background-color: var(--white);
  color:var(--black-theme);
  border: 0.2rem solid var(--black-theme);
}

.timeline-description-wrapper {
  display: none;
  transition: max-height 0.5s ease;
}

.timeline-description-wrapper.visible {
  display: block;
}

.timeline-item-container::before {
  content: '';
  position: absolute;
  top: -2.7rem;;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--black-theme);
  border: 0.3rem solid white;
  border-radius: 50%;
  z-index: 1;
}

.timeline-heading {
    font-size: 1.25rem;
    margin: 15px 0 5px;

}

.timeline-description {
    color: var(--black-theme);
    margin: 10px 0 0 0;
}

.timeline-period {
    justify-content: center;
    justify-items: center;
}

.timeline {
    padding-left: 1.5rem;
}

.timeline-item {
    margin-top:2rem;
}

.timeline-item-container {
    flex: 0 0 auto;
    position: relative;
    top: 5rem;
    width: 300px;
    box-sizing: border-box;
    margin-bottom: 2rem;
}

.item-container-hidden{
    visibility: hidden;
    pointer-events: none;
}

.timeline-year {
  position: absolute;
  top: 0rem;
  left: 0; /* à ajuster selon ta mise en page */
  font-weight: bold;
  font-size: 1.6rem;
  color: var(--black-theme);
}

/* Compétences */

#Competences li {
    list-style-type: none;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    flex-direction: column;
    gap:1rem;
}

#Competences{
    position: relative;
    top:-32rem;
}

#Competences.expanded{
    top:0;
}

.lignesCompetences {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    padding-left: 0;
    margin-left: 0;
    margin-top:4rem;
    gap: 1rem;
}

/*--------Langues--------*/

.div-competences-langue {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: center;
    justify-items: center;
}

.competence-description {
    color: var(--black-theme);
    margin: 0 0 20px 0;
    font-size: 0.8rem;
}

.competence-description strong {
    color: var(--black-theme);
}

.competences-langues {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-direction: row;
    justify-content: flex-start;
    padding-left: 0;
}

.iconeAnglais,
.iconeEspagnol,
.iconeFrançais {
    width: 4.25rem;
    border: var(--black-theme) 3px solid;
    border-radius: 1rem;
    padding: 0 0.2rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.ligne-competence-1 {
    justify-content: center;
}

.langue1,
.langue2,
.langue3 {
    background-color: var(--black-theme);
    width: 12.5rem;
    border-radius: 20px;
    margin: 0;
    box-shadow: 0 0.5rem var(--navbar-shadow-blur) 0rem var(--navbar-shadow-color);

}

.competence {
    background-color: var(--purple);
    color: white;
    font-weight: bold;
    padding: 2% 0 2% 2%;
    text-align: center;
    font-size: 1.25rem;
    border-radius: 20px;
    border: 3px solid var(--purple-dark);
    display: flex;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.français,
.anglais,
.espagnol {
    width: 30%;
}

#Competences:hover .français,
#Competences:hover .anglais,
#Competences:hover .espagnol {
    transition-timing-function: linear;
    transition: 1.5s;
}

#Competences:hover .français {
    width: 100%;
}

#Competences:hover .anglais {
    width: 66.67%;
}

#Competences:hover .espagnol {
    width: 50%;
}

.competences-langues:hover .iconeAnglais,
.competences-langues:hover .iconeEspagnol,
.competences-langues:hover .iconeFrançais {
    
    transform: scale(1.1);
    border-color: var(--white);
}

/*--------Langages Graphiques--------*/

.lignesCompetences li {
    transition: all 0.2s linear;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.ligne-competence-4:hover .icone-competence {
    background-color: var(--transparent-1);
    transform: scale(1.2);
    border-color: white;
    /* background-color: white; */
}

/*--------Langages Informatiques--------*/

.ligne-competence-4 {
    justify-content: space-between;
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    gap:1rem;
    font-size:0.8rem;
}

.icone-competence {
    display: flex;
    border: 3px solid black;
    border-radius: 20%;
    object-fit: contain;
    background-color: var(--transparent-3);
    
    transition: transform 0.3s ease, background-color 0.3s ease;
    width: 80px;
    height: 80px;
}

/* **Mes-realisations** */

#Mes-projets {
    position: relative;
    /* top:-10rem; */
}

#Pour-me-contacter {
    position: relative;
    /* top:-5rem; */
}

.galerie {
    padding-top: 30px;
    display: grid;
    align-items: center;
}

.galerie2 {
    display: grid;
    grid-template-columns: 1fr;
    /* margin: 0 auto;
    align-content: center;
    justify-content: center;
    align-items: center;
    justify-items: center; */
}

.galerie li {
    list-style-type: none;
    /* background-color: var(--black-theme); */
    text-align: center;
    /*padding: 2% 4% 2% 4%;*/
    justify-content: center;
    border: 3px solid black;
    border-style: groove;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 5px;
    padding-right: 5px;
    position: relative;
    color: white;
    transition: border-color 0.5s ease, background-color 0.5s ease, opacity 0.5 ease;
}

#galerie-item-1 {
    background-image: url('../images/projet12.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 12.5rem;
    /* height: 400px;
    max-height: 400px; */
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
}

#galerie-item-1:hover {
    opacity: 1;
}

#galerie-item-2 {
    background-image: url('../images/projet-videos.png');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 12.5rem;
    /* height: 400px;
    max-height: 400px; */
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
}

#galerie-item-2:hover {
    opacity: 1;
}

.galerie li:hover {
    border-color: white;
}

.galerie-titre {
    z-index: 2;
    color: white;
}

.galerie li:hover .galerie-titre {
    color: var(--black-theme);
    background-color: rgba(255, 255, 255, 0.95);
}

.galerie ul {
    list-style-type: none;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: space-between;
    margin: auto;
    justify-self: center;
    row-gap: 0;
    padding-left: 0;
    margin-left: 0;
    width: 100%;
    height:43.75rem;
    box-shadow: 0rem 0.5rem var(--navbar-shadow-blur) 0rem var(--navbar-shadow-color);
}

.galerie-titre {
    font-weight: bolder;
    font-size: large;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    padding: 1rem;
}

.galerie a {
    color: var(--black-theme);
    text-decoration: none;
}

.blocDescriptionProjet {
    margin-left: 2%;
    margin-right: 2%;
    /* margin-bottom: 5%; */
}

.imgProjet {
    display: flex;
    border: 3px solid black;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.imgProjet-1 {
    display: flex;
    border: 3px solid black;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 240px;
    height: 230px;
}

.imgProjet-2 {
    display: flex;
    border: 3px solid black;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 257.3px;
    height: 136px;
}

.imgProjet-3 {
    display: flex;
    border: 3px solid black;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 300px;
    height: 160px;
}

.imgProjet-4 {
    display: flex;
    border: 3px solid black;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 284px;
    height: 200px;
}

.imgProjet-4-2 {
    display: flex;
    border: 3px solid black;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 284px;
    height: 230px;
}

.imgProjet-5 {
    display: flex;
    border: 3px solid black;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 204px;
    height: 300px;
}

.imgProjet-6 {
    display: flex;
    border: 3px solid black;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 204px;
    height: 300px;
}

.imgProjet-6-2 {
    display: flex;
    border: 3px solid black;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 300px;
    height: 220px;
}

.imgProjet-7 {
    display: flex;
    border: 3px solid black;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.imgProjet-8 {
    display: flex;
    border: 3px solid black;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 360px;
    height: 300px;
}

.imgProjet-9 {
    display: flex;
    border: 3px solid black;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 204px;
    height: 300px;
}

.imgProjet-10 {
    display: flex;
    border: 3px solid black;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 284px;
    height: 162px;
}

.imgProjet-11 {
    display: flex;
    border: 3px solid black;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 204px;
    height: 300px;
}

.imgProjet-12 {
    display: flex;
    border: 3px solid black;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 284px;
    height: 120px;
}

.imgProjet-12-2 {
    display: flex;
    border: 3px solid black;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 284px;
    height: 220px;
}

.imgProjet-13 {
    display: flex;
    border: 3px solid black;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 284px;
    height: 70px;
}

.imgProjet-13-2 {
    display: flex;
    border: 3px solid black;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 320px;
    height: 220px;
}

.imgProjet-13-3 {
    display: flex;
    border: 3px solid black;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 204px;
    height: 300px;
}

.imgProjet-14 {
    display: flex;
    border: 3px solid black;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 300px;
    height: 145px;
}

.imgProjet-15 {
    display: flex;
    border: 3px solid black;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 150px;
    height: 300px;
}

.page-principale-1{
    display:flex;
    justify-content: center;
    margin:0;
    padding:0;
    width: 100%;
}


#Projet {
    margin-bottom: 100px;
}


.blocDescriptionProjet strong {
    color: var(--black-theme);
    font-weight: bold;
}

.bloc-description-legales strong {
    color: var(--black-theme);
    font-weight: bold;
}

.bloc-description-legales a {
    list-style-type: none;
}

.video {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    cursor: pointer;

}

.video-video {
    border: 3px solid black;
    width: 100%;
    height: 400px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    margin-top: 5%;
    margin-bottom: 10%;
    box-shadow: 0rem 0.5rem var(--navbar-shadow-blur) 0rem var(--navbar-shadow-color);
}

#Mes-projets {
    background-color: var(--black-theme);
    padding-left: 0;
    padding-right: 0;
    padding-top:30px;
}

#Mes-projets h2{
    border: 3px solid var(--purple-light-theme);
}

#Pour-en-savoir-plus-sur-moi,
#Pour-me-contacter{
    padding: 0 1rem;
}



.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 500px;
    padding-top: 230px; /* Ajoutez du padding pour descendre l'image */
    /* margin-top: 50px; Vous pouvez utiliser margin-top à la place */
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: white;
    padding: 10px 0;
    height: 150px;
    margin-top:50px;
    font-size:1.125rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    z-index: 10;
    position: relative;
}

.close {
    position: absolute;
    top: 155px;
    right: 35px;
    color: #f1f1f1;
    font-size: 4rem;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


/* Styles pour les flèches de navigation */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    user-select: none;
    z-index: 3; /* Position au-dessus de l'image */
}

.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* **Pour-me-contacter** */

/*----------Formulaires------------*/

.form-form{
    z-index: 2;
}

.form-form2{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

#Pour-me-contacter p {
    text-align: center;
    z-index: 7;
    width: fit-content;
    margin: 10% auto;
}

form {
    max-width: max-content;
    padding: 2rem 1rem;
    border-radius: 1.5rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 20px;
    background-color: var(--black-theme);
    border: 2px solid var(--black-theme);
    transition: transform 0.3s ease;
    z-index: 2;
    position: relative;
    box-shadow: 0rem 0.25rem 0.5rem var(--navbar-shadow-blur) 0rem var(--navbar-shadow-color);
}

.le-formulaire {
    width: 100%;
    padding: 20px;
    border-radius: 5px;
    justify-content: center;
    display: flex;
}

.le-formulaire:hover form {
    transform: scale(1.05);
    border: 3px solid white;
    box-shadow: 0rem 0.5rem var(--navbar-shadow-blur) 0rem var(--navbar-shadow-color);
}

form div {
    margin-bottom: 1rem;

}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: bold;
    transition: color 0.3s ease;
    font-size: 1rem;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.5rem;
    border: 0.2rem solid var(--purple-light-theme);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: var(--black-theme);
    background-color: #f2e6ff;
    outline: none;
}

.boutonEnvoyer {
    width: 100%;
    padding: 10px;
    border: 0.1rem solid white;
    border-radius: 1rem;
    background-color: var(--black-theme);
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.boutonEnvoyer i{
    margin-left:0.3rem;
    margin-right:0;
}

.boutonEnvoyer:hover {
    background-color: var(--purple-light-theme);
    color: white;
    border-color: white;
    transform: scale(1.1);
}

.boutonEnvoyer:active {
    transform: scale(0.98);
}

#zonetexte {
    vertical-align: middle;
    width: 100%;
}

input:invalid {
    background-color: rgb(255, 255, 255);
}

.infos-persos-formulaire {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: space-between;
    align-items: center;
}

.infos-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    align-items: center;
}

.message-form {
    display: grid;
    grid-template-columns: 1fr;
}

.bouton-form {
    display: grid;
    grid-template-columns: auto 1fr auto;
    text-align: center;
    align-items: center;
    margin: auto;
}

/* Styles pour la validation */
input.valid,
textarea.valid {
    border: 0.2rem solid var(--purple);
}

input.invalid,
textarea.invalid {
    border: 0.2rem solid red;
}

.error-message {
    color: red;
    font-size: 0.875rem;
    display: none;
}

input.invalid+.error-message,
textarea.invalid+.error-message {
    display: block;
}

/*--------Footer--------*/

footer {
    background-color: var(--black-theme);
    /*padding-top: 0.1%;*/
}

.mail p,
.telephone p {
    color: white;
    margin: 0;
    border-top: none;
    /* margin-left: 20%; */
}

.piedDePage {
    color: white;
    text-align: center;
    margin-top: 20px;
    padding-top: 10px;
    padding-bottom: 5px;
} 

.autrePartieFooter{
    color: white;
    text-align: center;
    border-top-style: solid;
    border-top-width: 0.2rem;
    border-top-color: white;
    margin-top: 20px;
    padding-top: 10px;
    margin-left: 45px;
    margin-right: 45px;

}

.footerLegal{
    gap: 0;
    display: grid;
    justify-content: center;
    grid-template-columns: 1fr;
    text-align: center;
    align-items: center;
    /* margin: auto; */
    text-decoration: none;
    margin-top:20px;
}

input[type="button"] .boutons-legales{
    padding: 5px;
}

.boutons-legales:active{
   color: white; 
}

footer p:nth-of-type(2) {
    border-top: none;
    color: white;
    text-align: end;
    font-size: 1rem;
    padding-bottom: 0;
}

.mail-text,
.tel-text {
    color: white;
    text-align: center; /* Centre le texte dans son conteneur */
}

.mesContacts ul {
    list-style-type: none;
    padding: 0;
    margin: 0; 
}

.mesContacts{
    display: flex;
    padding: 10px;
    gap:1.5rem;
    flex-direction: column;
}

.mesReseaux {
    column-gap: 20px;
    display: flex;
    justify-content: center;
    padding: 10px;
}

.mesReseaux img:hover {
    transform: scale(1.2);
}

.ligne-email,
.ligne-telephone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; 
    transition: transform 0.3s ease;
    width: 100%;
}

.ligne-telephone:hover, .ligne-email:hover{
    transform: scale(1.1);
}

.mail-icone,
.tel-icone {
    text-align: center;
}

.fa-envelope-o, .fa-phone, .fa-linkedin-square, .fa-facebook-square{
    color:var(--purple-light-theme);
    transition: transform 0.3s ease;
}

.fa-envelope-o, .fa-phone{
    font-size:1.5rem;
    padding: 10px;
}

.fa-linkedin-square, .fa-facebook-square{
    font-size: 3rem;
}

.fa-linkedin-square:hover, .fa-facebook-square:hover{
    transform: scale(1.2);
}

.tel-icone {
    justify-self: end;
}

.mail-icone{
    justify-self: end;
}

.mail-text {
    justify-self: start;
    font-weight: bold;
}

.tel-text {
    justify-self: start;
    font-weight: bold;
}

.bouton-cv {
    display: grid;
    grid-template-columns: auto 1fr auto;
    text-align: center;
    align-items: center;
    margin: auto;
    text-decoration: none;
    /* margin-top:10px; */
}

.bouton-cv input[type="button"] {
    background-color: var(--black-theme);
    color: white;
    padding: 1rem;
    font-weight: bold;
    width: 100%;
    border: 2px solid white;
    border-radius: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.bouton-cv input[type="button"]:active {
    color: white;
}

.bouton-cv input[type="button"]:hover {
    transform: scale(1.1);
    background-color: var(--purple-light-theme);
}

.boutons-legales{
    background-color: var(--black-theme);
    color: white;
    padding: 1rem;
    font-weight: bold;
    width: 100%;
    border: none;
    border-radius: 0.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.3rem;
    text-decoration-thickness: 0.1rem;
}

.ligne-cv {
    display: flex;
    justify-content: center; /* Centre le contenu de la ligne */
    align-items: center;
    width: 100%; /* S'assure que la ligne prend toute la largeur disponible */
}

.ligne-cv .download-link, .ligne-cv .menu-link{
    margin:0;
    font-size: 1rem;
}

.titre {
    color: white;
    font-weight: bold;
    border-top: none;
    font-size: 1.1rem;
    margin-top: 30px;
    text-align: center;
}

/* -------------------Mentions Légales ------------------*/

#Projet-legal{
    margin-bottom: 20px;
}

.lienOVH{
    color: var(--black-theme);
    font-style: italic;
}

.lienOVH:active{
    color: var(--black-theme);
    font-style: italic;
}

.lienOVH:hover{
    color: var(--black-theme);
    font-style: italic;
}

.titre-legales{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    color: var(--black-theme);
    background-color: var(--purple-light-theme);
    box-shadow: none;
    padding: 10px;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.description-legales{
    font-size: 1.125rem;
    color:var(--black);
}

.bloc-description-legales{
    margin-left: 2%;
    margin-right: 2%;
    margin-bottom: 2%;
}

.bloc-description-legales a {
    color:white;
}

/* -------------------Projet HTML -----------------------*/

.project{
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.blocProjet{
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap:2rem;
    /* margin-left: 2%;
    margin-right: 2%;
    margin-bottom: 5%; */
}

.blocDescriptionProjet a{
    color: black;
    list-style-type: none;
    font-size: 1rem;
}

.bloc-mes-realisations {
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
}

.caracteristiquesProjet{
    font-size: 1rem;
}

.caracteristiquesProjet u{
    color : var(--purple-dark);
    text-decoration: underline;
    text-underline-offset: 0.3rem;
    text-decoration-thickness: 0.1rem;
    font-weight: bold;
}

.typeProjet{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    gap: 1rem;
    position: relative;
    margin: 0 auto;
}

.typeProjet div{
    font-size: 0.8rem;
    background-color: var(--purple);
    border-radius: 1.5rem;
    color: var(--white);
    padding: 0.3rem 1rem;
    border: 0.2rem solid var(--purple-dark);
    font-weight: bold;
    font-style: normal;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    text-align: center;
    box-shadow: 0rem 0.5rem var(--navbar-shadow-blur) 0rem var(--navbar-shadow-color);
}

.descriptionProjet{
    font-size: 0.8rem;
    font-weight: 500;
}

.descriptionProjet u{
    font-size: 1rem;
}

.li-projet i{
    margin-right: 0.7rem;
}

.voirPlus{
    margin: 0 auto;
    position: relative;
    display: flex;
    margin: 2rem auto 1rem auto;
    font-weight: bold;
    font-size: 1rem;
    border: 0.2rem solid var(--black-theme);
    background-color: transparent;
    text-align: center;
    transition: background-color 0.3s ease transform 0.3s ease;
    color:black;
    cursor: pointer;
    padding: 0.5rem 1rem;
}

.voirPlus:hover{
    background-color: var(--white);
    color: var(--black-theme);
    border: 0.2rem solid var(--black-theme);
    transform: scale(1.1);
}

.projetLegende{
    font-size: 1;
    font-weight: bold;
    margin-top: 0.5rem;
}

.bouton-retour {
    padding: 10px 20px;
    background-color: white;
    color: var(--black-theme);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border: 3px solid var(--black-theme);
    margin-left:10px;
    margin-bottom:30px;
    margin-top: 1rem;
    width: fit-content;
}

.bouton-retour:hover {
    background-color: var(--black-theme);
    color: white;
    border: 3px solid white;
}

.bouton-retour-legal {
    margin-bottom:100px;
}


.lignesImages-2 {
    list-style-type: none;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    margin: auto;
    justify-self: center;
    align-items: center;
    justify-items: center;
    flex-wrap: wrap;
    display: flex;
    gap: 0.5rem;
}

.ligne-image {
    list-style-type: none;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.imgProjet-7{
    max-width: 320px;
    max-height: 270px;
    transition: transform 0.3s ease;
    cursor: pointer;
    width: auto;
    height: auto;
    object-fit: contain;
}

.imgProjet-7:hover{
    transform: scale(1.05);
}

.filter-block {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    position: absolute;
    top: 2.7rem;
    background-color: var(--white);
    border: 3px solid var(--black-theme);
    border-radius: 0;
    width: 19rem;
    z-index: 99;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0rem 0.5rem var(--navbar-shadow-blur) 0rem var(--navbar-shadow-color);
    color: var(--black);
    font-weight: bold;
    font-size: 0.8rem;
    padding: 1rem;
}

.dropdown-content a {
    display: block;
    padding: 0.2rem 0;
    color: var(--purple-dark);
    text-decoration: none;
}

.list-filters{
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    margin: 3rem auto 0 auto;
    gap:2.5rem;
}

.list-filters .bloc-tri{
    width: auto;
}

#sortWindow {
    padding: 1rem;
    margin-top: 0.5rem;
    position: absolute;
    top: 2.2rem;
    /* left: 0; */
    background-color: var(--white);
    border: 3px solid var(--black-theme);
    border-radius: 0;
    width: 19rem;
    z-index: 98;

    /* Animation déroulante cachée par défaut */
    overflow: hidden;
    visibility: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: max-height 300ms ease, clip-path 300ms ease, visibility 300ms;

    display: none;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0rem 0.5rem var(--navbar-shadow-blur) 0rem var(--navbar-shadow-color);
    color:var(--black);
    font-weight: bold;
    font-size: 0.8rem;

    margin-bottom: 0;
    padding-bottom: 0;
}

/* État ouvert */
#sortWindow.open {
    visibility: visible;
    /* max-height: 20rem;  */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    display: flex;
    max-height: none;
    justify-content: center;
    box-shadow:0rem 0.5rem var(--navbar-shadow-blur) 0rem var(--navbar-shadow-color);
}

#sortWindow.open #selectAll{
    gap:0;
    margin-top:3rem;
}

#sortWindow label {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--purple-dark);
    /* margin: 4px 0; */
    cursor: pointer;
}

#sortWindow i.icon-header {
    color: var(--purple-dark);
    font-size: 0.9rem;
    margin-left: 0.3rem;
}

#triIcon .icon-header::before{
    font-size: 1rem;
}

#sortWindow a{
    color: var(--purple-dark);
    text-decoration: none;
}

#sortWindow label a {
    display: flex;
    align-items: center;
    gap:0.2rem;
}

.bloc-tri{
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    justify-items: center;
    gap:1rem;
    position: relative;
}

.bloc-tri input{
    color:var(--purple-dark);
}

.bloc-tri input[type="radio"] {
    width: 20px;
    height: 20px;
    border: 2px solid var(--black-theme);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    accent-color: var(--black-theme);
}
    
.bloc-tri input[type="radio"]:checked {
    background-color: var(--purple);
    border-color: var(--black-theme);
    accent-color: var(--purple-dark);
}

.bloc-tri label{
    align-items: center;
    display: flex;
}

.bloc-tri input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: 2px solid var(--black-theme);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    accent-color: var(--black-theme);
}
    
.bloc-tri input[type="checkbox"]:checked {
    background-color: var(--purple);
    border-color: var(--black-theme);
    accent-color: var(--black-theme);
}

.button-tri{
    background-color: var(--white);
    border: 3px solid var(--black-theme);
    border-radius: 0.3rem;
    color: var(--black);
    padding: 0.7rem 1.5rem;
    width: 19rem;
    font-weight: bold;
    font-size: 1rem;
    transition: transform 0.3s ease, background-color 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap:0.5rem;
    justify-content: space-between;
    box-shadow:0rem 0.5rem var(--navbar-shadow-blur) 0rem var(--navbar-shadow-color);
}

.filter-block a{
    font-size: 1rem;
}

/* ----------- media queries  ---------------------------*/
@media (min-width:442px) {

    /* Header */

    .feuille-palmier {
        position: absolute;
        width:13rem;
        height: auto;
        z-index: 1;
        opacity: 0;
        animation: fadeIn 1s forwards, slideIn 1s forwards, wind 3s infinite alternate;
    }

    .feuille-palmier-top-left {
        top: 6rem;
        left: -6rem;
        rotate: 35deg;
    }

    .feuille-palmier-bottom-right {
        bottom: 6rem;
        right: 8rem;
        rotate: 80deg;
    }

    .presentation-competences{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.7rem;
    }

    /*Pour en savoir plus*/
    
    #Pour-en-savoir-plus-sur-moi,
    #Pour-me-contacter{
        padding:1.2rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        margin-top:4rem;
    }

    .timeline-item-container{
        width:350px;
    }

    .lignesCompetences{
        grid-template-columns: 1fr 1fr 1fr;
    }

    /*Mes-projets*/

    .button-tri{
        width: 25rem;
    }

    #sortWindow{
        width:25rem;
    }

    .dropdown-content {
        width: 25rem;
    }

}


@media (min-width:768px) {

    /*Page*/

    h2{
        font-size: 1.5rem;
    }

    h3 {
        margin: 10% auto 4% auto;
        font-size: 1.4rem;
        width: 30rem;
    }

    h4 {
        font-size: 1.2rem;
        text-align: left;
    }

    .texte-p{
        border-radius: 1rem;
    }

    /*Header*/

    .btn-menu{
        top: 1.3rem;
    }

    /* Banner */

    .bandeau-slider img {
        width: 70rem;
    }

    /* Animation défilement horizontal infini */
    @keyframes defilement {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-70rem);
        }
    }

    .h1-nav {
        font-size: 1.3rem;
    }

    .presentation-photoProfil{
        top:5rem;
    }

    .photoCV {
        width: 300px;
    }

    .feuille-palmier {
        width: 15rem;
    }

    .feuille-palmier-top-left {
        top: 8rem;
        left: -7rem;
    }

    .feuille-palmier-bottom-right {
        bottom: 8rem;
        right: 10rem;
    }

    .presentation-texte {
        margin: 0 auto;
        max-width: 55rem;
        padding-top: 9.5rem;
        font-size: 1rem;
        line-height: 2rem;
    }

    .menu-download{
        font-size: 1rem;
    }
    
    
    /* Autres pages pas encore rangées*/
    
    #Pour-en-savoir-plus-sur-moi,
    #Mes-projets,
    #Pour-me-contacter {
        scroll-margin-top: 7rem;
    }

    .timeline-item-container{
        width:450px;
    }

    .timeline-item-container:first-child {
        margin-top: 0;
    }

    .timeline-item-container:nth-child(odd) {
        justify-self: flex-end;
    }

    #Competences{
        top:-37rem;
    }

    #Competences li {
        gap:1rem;
    }

    .lignesCompetences{
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .lignesCompetences li{
        margin-top: 1rem;
    }

    .competences-langues {
        grid-template-columns: 1fr 1fr 1fr;
        align-items: center;
    }

    .boite-contacts {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
    }

    .langue1,
    .langue2,
    .langue3 {
        background-color: var(--black-theme);
        width: 25rem;
        border-radius: 20px;
        margin: 2% 0 1% 4%;
    }

    .iconeAnglais,
    .iconeEspagnol,
    .iconeFrançais {
        width: 5.25rem;
    }

    .video-video {
        width: 100%;
        height: 500px;
    }

    #Pour-me-contacter p {
        margin-bottom: 7%;
        margin-top: 6%;
        /*Espacement entre la ligne d'explication et le formulaire*/
    }

    .mesContacts {
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        flex-direction: row;
    }

    .galerie ul {
        grid-template-columns: 1fr 1fr;
        justify-content: space-between;
        gap: 0;
        width: 100%;
        height:30rem;
    }

    .galerie li {
        padding:0;
    }

    #galerie-item-1 {
        height:30rem;
        min-height: 0;
    }

    #galerie-item-2 {
        height:30rem;
        min-height: 0;
    }

    #zonetexte {
        width: auto;
    }

    /* Mes projets page */

    .caracteristiquesProjet{
        margin-bottom: 1.5rem;
        font-size: 1.1rem;
    }

    .typeProjet div{
        font-size: 1rem;
    }

    .lignesImages-2 {
        gap: 2rem;
    }

    .blocDescriptionProjet a{
        font-size: 1.1rem;
    }

    .descriptionProjet {
        font-size: 1rem;
    }

    .project .texte-p{
        max-width: 826px;
    }

    .titre-mes-realisations {
        padding: 27px 0 27px 15px;
        background-color: var(--black-theme);
    }

    .list-filters {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: center;
        align-items: center;
        max-width: 46rem;
        margin: 3rem auto 0 auto;
        justify-items: center;
    }

    .bloc-tri{
        max-width: 80rem;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }


    .button-tri{
        width: 24.625rem;
    }
    
    #sortWindow {
        width: 24.625rem;
        top: 2.2rem;
    }

    .dropdown-content {
        width: 24.625rem;
    }


    /* Pages legales */
    
    .footerLegal{
        margin:1rem 0;
        display: flex;
        justify-content: center;
        flex-direction: row;
        text-align: center;
        align-items: center;
        /* margin: auto; */
        text-decoration: none;
    }

    .titre-legales{
        text-align: left;
        margin-left: 5%;
    }

    .prev,
    .next {
        padding: 30px;
        margin-top: -22px;
        font-size: 40px;
    }
}

@media (min-width:1024px) {


    .desktop-only{
        display: block;
    }

    .texte-p{
        font-size: 1.1rem;
    }

    .timeline-description{
        font-size: 1.1rem;
    }

    
    main{
        margin-bottom: 3%;
    }

    /*Header*/

    .header-page-content{
        padding: 0 1.5rem;
    }

    .btn-menu {
        display: none;
        visibility: hidden;
    }

    .menu-list {
        position: static;
        height: auto;
        width: auto;
        flex-direction: row;
        background: none;
        transform: none;
        justify-content: flex-end;
        align-items: center;
        display: flex;
        margin-bottom: 0;
        gap: 0.5rem;
        box-shadow: none;
        padding:0;
    }
    
    .menu-item {
        padding: 0;
        line-height: 1.6rem;
        background-color: transparent;
    }
    
    .menu-list:first-of-type {
        padding-top: 0;
    }

    .menu-item:hover{
        transform: scale(1.05);
    }

    .mon-nom{
        padding-left: 0;
    }

    .social-link {
        display: none;
    }

    .social-link:hover .menu-link{
        transform: scale(1.05);
    }

    .menu-link {
        font-size: 1rem;
        padding-right: 1rem;
    }

    .download-link{
        padding: 1rem;
    }
    
    .download-link .menu-link{
        padding-right: 0;
    }

    .download-link:hover{
        transform: scale(1.05);
        border: 0.1rem var(--black-theme) solid;
        background-color: var(--purple-light-theme);
        color: var(--black-theme);
    }

    .download-link-desktop:hover{
        transform: scale(1.1);
        border: 0.1rem var(--black-theme) solid;
        background-color: var(--purple-light-theme);
        color: var(--black-theme);
    }

    .linkedin{
        display: none;
    }

    .social-link{
        display: none;
    }

    /* Banner */

    .presentation-profil{
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: center;
        align-items: center;
    }

    .bandeau-slider img {
        width: 60rem;
    }

    .presentation-photoProfil{
        /* top:3rem; */
        top: 0rem;
    }
    
    body header {
        padding-bottom: 5%;
    }
    
    .icon-header2 {
        font-size: 4rem;
    }

    .presentation h1{
        text-align: start;
        margin-bottom: 2.5rem;
        font-size: 2.5rem;
    }

    .presentation-competences{
        justify-content: start;
        gap: 0.7rem;
    }

    .presentation-competences div:hover{
        transform: scale(1.1);
    }

    .download-link-desktop:hover .menu-download{
        color: var(--black-theme);
    }

    .download-link-desktop{
        font-style: normal;
        margin-top: 2rem;
        text-align: center;
        background-color: var(--black-theme);
        color: var(--white);
        border: 0.1rem var(--white) solid;
        padding: 1rem 1rem;
        border-radius: 1rem;
        max-width: fit-content;
        transition: transform 0.3s ease, background-color 0.2s ease;
        box-shadow:0rem 0.5rem var(--navbar-shadow-blur) 0rem var(--navbar-shadow-color);
    }

    .download-link-desktop:hover .menu-link{
        color: var(--black-theme);
    }

    .download-link-mobile{
       display: none;
    } 

    .download-link-desktop{
        cursor: pointer;
        display: flex;
    }

    .presentation-competences div{
        font-size: 1rem;
    }

    /* Animation défilement horizontal infini */
    @keyframes defilement {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-60rem);
        }
    }

    .presentation-texte {
        transition: transform 0.4s ease;
        margin-left: 0;
        margin-left: 15%;
        margin-right: 5%;
        padding-top: 5.5rem;
        padding-right: 0;
        font-size: 1rem;
    }

    .presentation-texte:hover {
        transform: scale(1.05);
    }

    /* Autres à trier*/

    /*En savoir plus*/

    #Chemin{
        margin: 0 auto;
        margin-top: 5rem;
        display: flex;
        flex-direction: row;
        justify-content: center;
        max-width: 95rem;
    }

    .scroll-wrapper {
        max-width: 95rem;
        left:unset;
    }

    

    .timeline {
        /* max-width: 95rem; */
        margin-left: auto;
        margin-right: auto;
        background-position: center top;
        gap: 5rem;
    }

    #bus {
        cursor: grab;
        user-select: none;
    }

    #Competences{
        top:-10rem;
        max-width: 85rem;
        margin: 0 auto;
    }

    #Competences li {
        gap:1.5rem;
    }

    .timeline-year {
        top: -1rem;
        font-size: 2rem;
    }

    .lignesCompetences{
        /* grid-template-columns: 1fr 1fr 1fr 1fr 1fr; */
        display: flex;
        justify-content: flex-start;
        /* grid-template-columns: 1fr 1fr;
        justify-content: space-between; */
        padding-left: 1.5rem;
        margin-left: 0;
        margin-top: 4rem;
        gap: 4rem;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        align-content: center;
    }

    .div-competences-langue{
        align-items: start;
        max-width: 85rem;
    }

    .langue1,
    .langue2,
    .langue3 {
        background-color: var(--black-theme);
        width: 35rem;
        border-radius: 20px;
        margin: 2% 0 1% 4%;
    }

    .menu-download{
        font-size: 1rem;
    }

    .ligne-cv .menu-link{
        font-size: 1rem;
    }

    .boutonEnvoyer{
        font-size: 1rem;
    }

    /*AUTRES*/


    .piedDePage{
        padding-top: 1px;
    }

    .modal-content {
        padding-top: 230px; /* Ajoutez du padding pour descendre l'image */
        /* margin-top: 50px; Vous pouvez utiliser margin-top à la place */
    }

    #caption {
        font-size:1.5rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-left: 5%;
        margin-right: 5%;
    }

    h3 {
        font-size: 1.4rem;
        margin: 4rem auto 2rem auto;
        width: 40rem;
    }

    h4 {
        margin-left: 0;
        font-size: 1.3rem;
        padding-bottom: 0;
    }

    h5{
        font-size: 1.1rem;
    }

    .competence-description {
        margin-left: 0;
    }

    #introduction {
        max-width: 95rem;
        margin:0 auto;
    }

    .ligne-competence-1 {
        justify-content: end;
        margin-right: 10%;
    }

    .icone-competence {
        width: 112px;
        height: 112px;
    }


    .competences-langues {
        /* grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr; */
        align-items: center;
    }

    .galerie ul {
        width: 65rem;
        height:30rem;
        margin:0 auto;
    }

    #galerie-item-1 {
        height:auto;
        min-height: 0;
    }

    #galerie-item-2 {
        height:auto;
        min-height: 0;
    }

    #Pour-me-contacter p {
        margin-bottom: 70px;
        margin-top: 70px;
        /*Espacement entre la ligne d'explication et le formulaire*/
    }

    form {
        padding: 40px 35px 35px 35px;
        box-shadow: 0rem 0.5rem var(--navbar-shadow-blur) 0rem var(--navbar-shadow-color);
    }

    label {
        font-weight: bold;
        font-size: 1.125rem;
    }

    input {
        max-width: max-content;
    }

    .galerie li {
        padding-top: 180px;
        padding-bottom: 180px;
        padding-left: 60px;
        padding-right: 60px;
    }

    .galerie-titre {
        font-size: 1.3rem;
    }

    .reseaux-sociaux {
        margin-top: 0;
    }

    .imgProjet-10 {
        width: 404px;
        height: 230px;
    }

    #Pour-me-contacter {
        scroll-margin-top: 10rem;
        /*Permet de garder un espace en haut à chaque partie de section*/
        margin-bottom: 5%;
    }

    .btn-menu {
        visibility: hidden;
        display: none;
    }

    .competences-langues {
        grid-template-columns: 1fr 1fr 1fr;
        align-items: center;
    }

    .boite-contacts {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
    }

    .video-video {
        width: 50rem;
        height: 30rem;
        margin: 2rem 0 4rem 0;
    }

    #Pour-me-contacter p {
        margin-bottom: 7%;
        font-size: 1.1rem;
        margin-top: 6%;
        /*Espacement entre la ligne d'explication et le formulaire*/
    }

    .mesContacts {
        gap:3rem;
        justify-content: space-between;
        max-width: 65rem;
        margin: 0 auto;
    }

    .galerie li {
        padding-top: 180px;
        padding-bottom: 180px;
        padding-left: 60px;
        padding-right: 60px;
    }

    /* Page Mes projets */

    .project .texte-p{
        max-width: 1000px;
        MIN-WIDTH: 1000px;
    }

    .caracteristiquesProjet{
        margin-bottom: 2rem;
        font-size: 1.2rem;
    }

    .typeProjet div{
        font-size: 1.1rem;
    }

    .lignesImages-2 {
        gap: 2rem;
    }

    .blocDescriptionProjet a{
        font-size: 1.1rem;
    }

    .descriptionProjet {
        font-size: 1.1rem;
    }

    .imgProjet-7{
        max-width: 420px;
        max-height: 370px;
        transition: transform 0.3s ease;
        cursor: pointer;
        width: auto;
        height: auto;
        object-fit: contain;
    }
    .voirPlus:hover {
        background-color: var(--white);
        color: var(--black-theme);
        border: 0.2rem solid var(--black-theme);
        transform: scale(1.1);
    }

    #zonetexte {
        width: auto;
    }

    .titre-mes-realisations {
        text-transform: uppercase;
        font-size: 2rem;
        color: white;
        text-align: center;
        padding: 7px 0 7px 15px;
        margin-bottom: 50px;
        background-color: var(--black-theme);
    }

    .list-filters{
        max-width: 90rem;
        justify-items: end;
        display: flex;
        grid-template-columns: 1fr 1fr;
        margin: 5rem auto 0 auto;
        justify-content: flex-end;
        flex-direction: row;
        align-items: center;
    }

    .bloc-tri{
        max-width: 66rem;
    }

    #sortWindow {
        width: 24.625rem;
    }

    .button-tri{
        width: 24.625rem;
    }

    .dropdown-content {
        width: 24.625rem;
    }

    .filter-block a{
        font-size: 1.125rem;
    }

    /* Styles pour les flèches de navigation */

    .modal {
    padding-top: 100px;
    }

    .prev,
    .next {
        padding: 30px;
        margin-top: -22px;
        font-size: 40px;
    }

    .modal-content{
        max-width: 700px;
        padding-top: 150px;
        margin-top:0;
    }
}

@media (min-width:1550px) {

    .texte-p{
        font-size: 1.125rem;
    }
    /*Header*/

    .h1-nav {
        font-size: 1.6rem;
    }

    .btn-menu{
        top: 1.8rem;
    }

    .menu-link{
        padding-right: 2.5rem;
    }

    .header-page-content{
        padding: 0;
    }

    .icon-header {
        margin-right: 0.5rem;
    }

    /*Banner*/
    
    .feuille-palmier {
        width: 18rem;
    }

    .bandeau-slider img {
        width: 80rem;
    }

    .presentation-photoProfil{
        top:7rem;
    }

    .boite-icon-fleche{
        margin-top: 200px;
    }

    .photoCV {
        width: 365px;
        margin-left: 5rem;
    }

    .presentation-texte{
        padding-top: 12rem;
        font-size: 1.2rem;
    }

    .feuille-palmier {
        width: 17rem;
    }

    .feuille-palmier-top-left {
        top: 13rem;
        left: -1rem;
    }

    .feuille-palmier-bottom-right {
        bottom: 13rem;
        right: 17rem;
    }

    @keyframes defilement {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-80rem);
        }
    }

    .presentation h1{
        text-align: start;
        margin-bottom: 2.5rem;
        font-size: 3rem;
    }

    .presentation-competences{
        gap: 1rem;
    }

    .timeline-description{
        font-size: 1.125rem;
    }

    /* Pour en savoir plus*/

    #Chemin{
        max-width: 95rem;
    }

    /* Mes projets */
    

    .galerie ul {
        width: 100rem;
        height:30rem;
        margin:0 auto;
        gap: 2rem;
    }

    #galerie-item-1 {
        height:auto;
        min-height: 0;
    }

    #galerie-item-2 {
        height:auto;
        min-height: 0;
    }

    .video-video {
        width: 60rem;
        height: 35rem;
    }

    /* Pour me contacter */

    #Pour-me-contacter{
        max-width: 95rem;
        margin: 0 auto;
    }

    .mesContacts{
        gap:5rem;
    }

    /* Mes projets */

    .project .texte-p{
        max-width: 1500px;
        min-width: 1500px;
    }

    .imgProjet-10 {
        width: 580px;
        height: 330px;
    }

    .bouton-retour {
        margin-left:5%;
    }

    /* Pages legales*/

    .bouton-retour-legal {
        margin-left:2%;
    }
}
