@font-face {
  font-family: 'Tw Cen MT';
  src: local('Tw Cen MT'), url('../fonts/Tw Cen MT.woff') format('woff');
}


:root{
  /*couleurs*/

  /*couleur du fond*/
  --couleur1 : white;
  /*couleur du menu de gauche*/
  --couleur2 : #4a53ad;
  /*couleur pointage menu de gauche*/
  --couleur3 : #F9DD36;
  /*couleur général du texte*/
  --couleurText1 : white;

  /*tailles*/
  --tailleMenu : 0%;
  --tailleBanniere : 100px;
  --tailleFooter : 100px;
}

::selection{
  background-color: #182C44;
  color: #90AFD5;
}

::-webkit-scrollbar{
  /*background-color: var(--couleur2);*/
  width: 0.6rem;
}

::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.342);
}

::-webkit-scrollbar-thumb{
  /*background-color: var(--couleur3);*/
  background-color: white;
  border-radius: 10px;
}


* {

  box-sizing: border-box;
  font-family: 'Tw Cen MT';
}

/* Setup global transition config */
@view-transition {
  navigation: auto;
}

#wrapper {
  display: flex;
  flex-direction: column;

}

body {
  font-size: 24px;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100vh;
  background-color: #222629;
  /*background: url("../../assets/img/fond_Page.png") center center; /* Positionne l'image au centre */ 
  background-size: cover; /* L'image couvre toute la page */
  background-attachment: fixed; /* L'image reste fixe lors du défilement */
  background-repeat: no-repeat; /* Empêche la répétition de l'image */
  color: var(--couleurText1);
  overflow: overlay;
}

body.galerie{
  overflow:hidden;
}

img {
  max-width: 100%; /* Empêche le stretch horizontal */
  max-height: 100%; /* Empêche le stretch vertical */
  object-fit: contain; /* Maintient les proportions sans déformation */
}


main {
  padding-right:10%;
  padding-left:10%;
  line-height: 1.4;
  font-size: 22px;
  transition: all 1s ease;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto; /* Permet à la div #body de prendre tout l'espace restant */
}



#containerMenu{
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  align-items: center;
  place-items: center;
}

.main {
  margin-top: var(--tailleBanniere);
  left:var(--tailleMenu);
  width: calc(100% - var(--tailleMenu));
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  padding: 50px 20% 50px 20%;
  z-index: 1000;
  transition: all 0.8s ease;
}


.main h1 {
  color: #11101d;
  font-size: 40px;
  text-align: center;
}

.miniBordure{
  background-color: rgb(255, 255, 255);
  height: 30px;
  width: 2px;
  margin-left: 10px;
  margin-right: 10px;
  border-radius: 100px;
  opacity: 0.5;
}

header {
  padding: 10px 10%;
  height: 100px;
  background-color: #15181a;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 28151541851415414514518451515485451;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.retour {
	position: fixed;
	top: 150px;
	left: 1%;
	border-radius: 12px;
	background: #fff;
	padding: 10px 20px 10px 20px;
	box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	font-size: 20px;
	color: rgb(67, 67, 67);
	transition: all 0.5s ease;
  z-index: 28;
}

.retour:hover {
	background: #f2f2f2;
	color: black;
	transition: all 0s ease;
	cursor: pointer;
	scale: 1.01;
}


.logo {
  background-repeat: no-repeat;
  background-size: cover;
  left: 1%;
  width: 310px;
  height: 85px;
  background-size: contain;
  display: flex;
}

.logo img {

  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
}

.logo:hover {
  cursor: pointer;
}


.Inti{
  Color:rgb(229, 229, 229);
  width: auto;
  /*box-shadow: 1px 0px 30px;*/


}

footer {

  background: url("../../assets/img/pattern_footer2.png") #232426;
  text-align: center;
  height: auto;
  width: 100%;
  flex-shrink: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  /* Positionnement absolu pour le footer */
  bottom: 0;
  z-index: 2;
  background-size: 20%;
  font-size: 16px;
  color: grey;
  user-select: none;
  margin-top: 50px;
}


footer a {
  padding-top: 10px;
  color: white;
  font-style: normal;
  text-decoration: none;
}

.reseaux i{
  color: white;
  transition: transform 0.3s ease, color 0.4s ease;
  transform: scale(1);
}

.reseaux i:hover{
  size:150%;
  text-decoration: none;
  color: #ffb649;
  transform: scale(1.1);
  transition: all 0.2s ease;
}

#vignettesAccueil {
  display: flex;
  flex-wrap: wrap; /* Permet aux vignettes de se déplacer sur plusieurs lignes si nécessaire */
  gap: 15px;
  box-sizing: border-box; /* Inclure le padding dans la largeur totale */
  transition: all 0.5s;
  left:0;
  transition: all 0.4s ease;
  margin-bottom: 50px;
}

#vignettesAccueil a{
  transition: all 0.5s ease;
  scale:1;
}

#vignettesAccueil a:hover{
  z-index:1;
  scale:1.1;
  border-radius: 10px 10px 0 0;
  transition: all 0.05s ease;
}

.vignetteAccueil {
  flex: 1 1 300px; /* Rend les vignettes flexibles et leur donne une largeur minimale de 300px */
  max-width: 250px; /* Largeur maximale pour les grandes écrans */
  height: 320px;
  background-color: #6B6E70;
  border-radius: 50px 10px 10px 10px;
  text-align: center;
  transition: box-shadow 0.7s ease, transform 0.3s, border-radius 0.6s ease-out;
  color: rgb(209, 209, 209);
  text-decoration: none;
  box-sizing: border-box; /* Inclure le padding dans la hauteur et la largeur */
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0);
  overflow: hidden;
  justify-content: center;
}

.vignetteAccueil img {
  -webkit-mask-image: linear-gradient(#000, #000,#000, rgba(0, 0, 0, 0));
  mask-image: linear-gradient(#000, #000,#000, rgba(0, 0, 0, 0));
}

.vignetteAccueilTEXTE{
  padding: 0px 20px 0px 20px;
  line-height: 1.4;
}

#vignettesAccueil a {
  color: white;
  text-decoration: none;
  transition: all 0.4s ease;
}

.vignetteAccueil a {
  transition: color 0.3s ease;
  color: white;
  text-decoration: none;
}

@keyframes background-color-change {
  0%{background-color: #6B6E70;}
  10% { background-color: #c2f5a680; }
  20% { background-color: #f9d29f80; }
  30% { background-color: #f8f6a880; }
  40% { background-color: #a3d7f780; }
  50% { background-color: #f8b28e80; }
  60% { background-color: #f9c4e380; }
  70% { background-color: #aaf8e780; }
  80% { background-color: #f9e0a380; }
  90% { background-color: #a8f69a80; }
  100% { background-color: #6B6E70; }
  
}

.vignetteAccueil:hover {
  transform: translateY(-20px);
  filter: brightness(1.05);
  box-shadow: rgba(0, 0, 0, 0.543) 0px 15px 10px;
  animation: background-color-change 30s 2s ease-in infinite;
  transition: box-shadow 0.7s ease, transform 0.2s, border-radius 0.5s ease-out;
  border-radius: 10px;
  border: 4px solid rgb(255, 246, 217);
}

.vignetteAccueil a:hover {
  transition: color 0.5s ease;
  color: black;
  text-decoration: none;
}

.annee{
  transition: all 0.1s ease;
  border-radius: 5px;
  position: absolute;
  background-color: #00000017;
  padding:2px;
  right: 5px;
  bottom:5px;
}

/*.annee:hover {
  scale: 1.6;
  color: var(--couleurText1);
  transition: all 0.5s ease;
  background-color: #00ff6a;
}*/

.langageContainer {
  position: absolute;
  left: 5px;
  bottom: 5px;
  display: flex;
  gap: 5px; /* Ajoute un espace entre les divs .langage */
}

.langage{
  transition: all 0.1s ease;
  border-radius: 5px;
  display: inline-block;
  gap:5px;
  background-color: #00000017;
  padding:2px;
  left: 5px;
  bottom:5px;
  font-size: 18px;
}

/*.langage:hover {
  scale: 1.6;
  color: var(--couleurText1);
  transition: all 0.1s ease;
  background-color: #ffd000;
}*/

#Titre{
  font-size:40px;
}
#Titre2{
  font-size: 34px;
}

#Titre3{
  position:absolute;
  font-size:28px;
}

input{
  font-family: 'Century Gothic';
  border-radius: 5px;
  font-size:22px;
  box-shadow: none;
}

input[type="checkbox"]{
  width: 30px;
  height: 30px;
}

textarea{
  font-family: 'Century Gothic';
  border-radius: 7px;
  font-size:22px;
}



h1 {
  text-align: center;
  font-size: 200%;
  }

h3 {
  text-align: center;
}

h4 {

  font-size: 200%;
  margin-top: 10px;
  margin-bottom: 10px;
}

h5 {
  font-size: 28px;
  font-style: bold;
}

h6 {
  color: var(--couleur2);
  font-size: 30px;
}



.separation{
  z-index:10;
  background-color: black;
  height: 2px;
  width: 50%;




  border-radius: 100px;
  opacity: 0.5;
  margin: 0 auto; /* Centre la div horizontalement */
  margin-bottom: 30px;
  margin-top: 30px;
}

.texte{
  color: rgb(166, 166, 166);
  font-size: 26px;
  text-align:justify;
  padding: 5px 0px;
}

.texte a {
  transition: all 0.5s ease;
  text-decoration: none;
  background: -webkit-linear-gradient(#a4e7ff, #8113ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.texte a:hover {
  transition: all 0.5s ease;
  border-radius: 20px;
  color: white; /* Définit la couleur lors du hover */
  -webkit-text-fill-color: rgb(255, 174, 174); /* Applique la couleur blanche au texte */
}

.texteAccueil{
  color: rgb(51, 51, 51);
  font-size: 34px;
  margin-bottom: 16px;
  font-weight: 500;
  }

/* Conteneur de l'image */
.image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  margin: 20px 0; /* Espace autour du conteneur */
}

/* Image */
.image {
  width: 80%;
  height: auto;
  border-radius: 15px;
  object-fit: cover; /* Recadre l'image pour couvrir tout le conteneur */
}

/* Texte alternatif */
.image-alt {
  color: grey;
  font-size: 20px;
  font-style: italic;
}

.accueilImage{
  width: 95%;
  height: auto;
  border-radius: 0px 0px 30px 30px;
  object-fit: cover; /* Recadre l'image pour couvrir tout le conteneur */

  margin: 0px 0; /* Espace autour du conteneur */
}

.fleursTop {
  top: 0;
  position: fixed;
  z-index: 99;
  width: auto; /* Laisse la largeur s'ajuster à l'image */
  display: inline-block; /* Pour que le conteneur s'ajuste à l'image */
}

.fleursTop img {
  width: 50%;
  height: auto; /* Conserve le ratio d'aspect de l'image */
  display: block; /* Pour éviter les marges indésirables */
}

#vignettesPersonnel {
  background-color: red;
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Permet aux vignettes de se déplacer sur plusieurs lignes si nécessaire */
  gap: 10px;
  padding: 10px; /* Pour éviter que les vignettes ne touchent les bords de l'écran */
  box-sizing: border-box; /* Inclure le padding dans la largeur totale */
}

.vignettePersonnel {
  width: 540px;
  height: calc(330px * 1); /* Maintien du ratio initial */
  background-color: white;
  border-radius: 15px;
  color: dimgrey;
  text-decoration: none;
}

.vignettePersonnelHaut {
  height: calc(180px * 1); /* Maintien du ratio initial */
  width: 100%; /* Prendre toute la largeur disponible */
  background-color: #E5E5E5;
  border-radius: 10px 10px 48px 0px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.vignettePersonnelHautIMG {
  width: 180px;
  height: 150px;
  margin-top: 10px;
}

.vignettePersonnelHautIMG img {
  height: 180px;
  width: 180px;
  border-radius: 500px;
}

.vignettePersonnelHautTEXTE {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  font-size: 28px;
}

.vignettePersonnelBas {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0px;
    padding: 18px 5% 0% 5%;
    box-sizing: border-box;
    width: 100%; /* Prendre toute la largeur disponible */
}

.vignettePersonnelBasTEXTE {
    font-size: 20px;
    color: dimgrey;
    line-height: 1.3;
    opacity: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
}


.textePersonnel {
  margin-top: 30px;
  text-align: center;
}

#galerie {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 80px;
  list-style: none;
}

.imageGalerie {
  width: 400px;  /* Largeur maximale du conteneur */
  height: 300px; /* Hauteur maximale du conteneur */
  overflow: hidden; /* Cache ce qui dépasse du conteneur */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.116);
  border-radius: 20px;
  flex-direction: column;
  transition: all 0.4s ease;
}

.imageGalerie img {
  width: auto;
  height: auto;
  max-width: 100%;  /* Ne dépasse jamais la largeur du conteneur */
  max-height: 100%; /* Ne dépasse jamais la hauteur du conteneur */
  display: block;
  border-radius: 0;
}

.imageGalerie span {
  text-align: center;  /* Centre le texte sous l'image */
  font-size: 15px;  /* Taille du texte */
  color: #555;  /* Couleur du texte */
}

.imageGalerie:hover{
  scale:1.2;
  background-color: rgb(29, 29, 29);
  z-index: 8;
  transition: all 0.1s ease;
  cursor: pointer;
}

#fond, #loading, #profile2{
  display: none;
}

#fond.galerie, #fond.loading{
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 51818711484815184515148151814518451458451541548451848;
	background-color: #0f0f0fce;
	width: 100%;
	height: 100%;
	position: fixed;
	backdrop-filter: blur(3px); /* Applique le flou */
}

#fond.menu{
display: none;
}

#loading.true{
	display: grid;
	width:150px;
	height: 150px;
	z-index:1000000000000000000000000;
}

#loading.true img{
	display: grid;
	width:150px;
	height: 150px;
	z-index:1000000000000000000000000;
}

#imageGalerieZoom{
  display:none;
  transition: all 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;

}

#imageGalerieZoom.true{
  height: 80%;
  width: auto;
  border-radius: 20px;
  transition: all 0.5s ease;
}

#imageGalerieZoom.true img{
  height: 100%;
  width: auto;
  border-radius: 10px;
}

#close{
  color:black;
  background-color: rgba(255, 255, 255, 0.504);
  border-radius: 5px;
  padding: 10px 20px;
  height: 48px;
  cursor: pointer;
  transition: all 0.1s ease;
  left: 10%;
  top: 10%;
  position: absolute;
}

#close:hover{
  background-color: rgb(255, 0, 0);
  transition: all 0.1s ease;
}

#arrow-left, #arrow-right{
  background-color: rgba(255, 255, 255, 0.149);
  padding: 30px 10px;
  border-radius: 10px;
  z-index: 50;
  font-size: 40px;
  color: black;
}

#arrow-left{
  position: absolute;
  left: 1.5%;
  transition: 0.2s ease;
}

#arrow-left.anim{
  left:3%;
  scale: 1.2;
}

#arrow-right{
  position: absolute;
  right: 1.5%;
  transition: 0.2s ease;
}

#arrow-right.anim{
  right:3%;
  scale: 1.2;
}

#presentation {
	display: flex;
	width: 100%;
	/* Assure que le conteneur prend tout l'espace horizontal */
	--gap: 30px;
	gap: var(--gap);
	margin-top: 50px;
	margin-bottom: 30px;
  align-items: center;
}

.textePresentation {
	flex: 0 0 calc(50% - var(--gap));
	/* Prend 30% de la largeur */
	text-align: justify;
	color: rgb(171, 171, 171);
}

#imgPresentation {
	flex: 0 0 50%;
  display: flex;
  height: auto;
  position: relative;
}

img.img1 {
	border-radius: 2px;
	width: 100%;
  transform: rotate(-3deg);
  border: solid 5px white;
  -webkit-backface-visibility: hidden;

}

img.img2{
  position: absolute;
  max-height: 20%;
  right:0;
  bottom: 0;
  border-radius: 5px;
  transform: rotate(4deg);
  z-index:2;
  transition: all 0.2s ease;
}

img.img3{
  position: absolute;
  max-height: 20%;
  right:30px;
  bottom: 10px;
  border-radius: 5px;
  transform: rotate(-6deg);
  transition: all 0.2s ease;
}

img.img2:hover, img.img3:hover{
  transform: translateY(-20px);
  scale: 1.8;
  z-index: 36;
  transition: all 0.2s ease;
  box-shadow: rgba(0, 0, 0, 0.488) 0px 10px 10px;
}

img.yeti {
  display: inline-block; /* Assure que le pseudo-élément peut s'afficher */
}

  img.yeti::after {
    content: 'hello';
    position: absolute;
    top: 0; /* Positionne en haut du parent */
    left: 0; /* Positionne à gauche du parent */
    width: 100px;
    height: 100px;
    background-color: red;
    z-index: 8;
  }

  .lune{
    position: absolute;
    width: 100px; /* Ajouté */
    height: 100px; /* Ajouté */
  }

  .zizi {
    position: absolute;
    width: 100px; /* Ajouté */
    height: 100px; /* Ajouté */
    background-color: lightgray; /* Pour voir le conteneur */
    display: flex; /* Permet à `align-items` et `justify-content` de fonctionner */
    border-radius: 100%;
  }

  .zizi img{
    box-sizing: border-box;
    border-radius: 100%;
    animation: rotateInfinite 8s linear infinite;
    border: 2px solid rgb(255, 255, 255);
  }

  .zizi img:hover, .zizi::before:hover, .zizi::after:hover, .zizi:hover{
    transform: scale(2);
  }

  .zizi::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    border: 100px solid rgb(255, 255, 255);
    z-index: -1;
    filter:blur(5px);

  }

.zizi::after{
  z-index: 2;
  content:'';
  position: absolute;
  width:20px;
  height: 20px;
  background-color: #222629;
  bottom:35%;
  left:35%;
  border-radius: 100%;
  border: 5px solid rgb(255, 255, 255);
}

.zizi::before{
  z-index: 2;
  content:'';
  position: absolute;
  width:20px;
  height: 20px;
  background-color: #222629;
  bottom:35%;
  left:35%;
  border-radius: 100%;
  border: 5px solid rgb(255, 255, 255);
  filter:blur(5px)
}


@keyframes rotateInfinite {
  0% {
    transform: rotate(0deg); /* Début */
  }
  100% {
    transform: rotate(360deg); /* Fin de la rotation */
  }
  100% {
    transform: rotate(360deg); /* État immobile */
  }
}

sup{
  font-size: 70%;
}

#boutonsLiens{
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  gap: 10px;
  font-size: 120%;
  user-select: none;
}

#boutonsLiens-home{
  display: flex;
  gap: 2%;
}

button{
  border: none;
  border-radius: 10px;
  padding:20px;
  font-size: 25px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  color: rgba(0, 0, 0, 0.594);
}

button:hover{
  transition: all 0.1s ease-in-out;
  transform: translateY(-10px) scale(1.05);
  color: rgba(0, 0, 0, 0.771);
}

button.direct:hover{
  box-shadow: rgba(240, 46, 170, 0.4) 0px 5px, rgba(240, 46, 170, 0.3) 0px 10px, rgba(240, 46, 170, 0.2) 0px 15px, rgba(240, 46, 170, 0.1) 0px 20px, rgba(240, 46, 170, 0.05) 0px 25px;
}

button.download:hover{
  box-shadow: rgba(46, 240, 62, 0.4) 0px 5px, rgba(46, 240, 69, 0.3) 0px 10px, rgba(46, 240, 85, 0.2) 0px 15px, rgba(46, 240, 95, 0.1) 0px 20px, rgba(46, 240, 72, 0.05) 0px 25px;
}

button.doc:hover{
  box-shadow: rgba(46, 111, 240, 0.4) 0px 5px, rgba(46, 146, 240, 0.3) 0px 10px, rgba(46, 137, 240, 0.2) 0px 15px, rgba(46, 143, 240, 0.1) 0px 20px, rgba(46, 166, 240, 0.05) 0px 25px;
}

button.document{
  min-width: 10rem;
}

button.document:hover{
  box-shadow: rgba(240, 166, 46, 0.4) 0px 5px, rgba(240, 156, 46, 0.3) 0px 10px, rgba(240, 156, 46, 0.2) 0px 15px, rgba(240, 140, 46, 0.1) 0px 20px, rgba(240, 172, 46, 0.05) 0px 25px;
}

ul{
  color: rgb(166, 166, 166);
  font-size: 130%;
}

.quote{
  color: rgb(220, 220, 220);
  font-style: italic;
  position: relative;
}

.quote::before{
  content: '« '; /* Icône personnalisée */
  left: 0;
}

.quote::after{
  content: ' »'; /* Icône personnalisée */
}


.icons-techno{
  display: flex;
  flex-direction: row;
  gap: 15px;
  width: 100%;
  justify-content: center;
  position: relative;
  margin: 0 auto; /* Centre la div horizontalement */
}

.icons-techno img{
  border-radius: 10px;
  transition: all 0.2s ease;
}

.icons-techno img:hover{
  transform: scale(1.3) translateY(-5px);
}

.techno-container {
  display: inline-block;  /* Permet d'aligner correctement les images */
  position: relative;      /* Nécessaire pour positionner la tooltip */
  width: auto;             /* Permet à la div d'avoir la taille de l'image */
}

.techno-container img {
  width: 40px; /* Ajuste selon la taille souhaitée */
  height: auto;
}



.tooltip.true, .tooltip.false{
  position: absolute;
  left: 50%;
  top : 50px;
  transform: translateX(-50%);
  padding : 5px 10px;
  background-color: rgba(0, 0, 0, 0.346);
  color: white;
  white-space: nowrap;
  pointer-events: none;
  font-size: 15px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.tooltip.false{
  top : 40px;
  opacity: 0%;
}

#competences{
  width: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

#competence-row{
  width: auto;
  color: black;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #ffffff17;
  border-radius: 30px;
  overflow: hidden;
  padding: 10px 0 10px 10px;
}

.competence-name, .sous-competence-name, .sous-competence-desc{
  background-color: #f0f0f0;
  padding: 15px;
  border-radius: 50px 0px 0px 50px;
}

.competence-name{
  font-size: 110%;
}

.sous-competence-name{
  margin-left:5%;
  background-color: #f0f0f0c5;
}

.sous-competence-desc{
  margin-left:10%;
  padding: 10px;
  font-size: 20px;
  background-color: #f0f0f0a5;
}

.sous-competence-name::before, .sous-competence-desc::before{
  position: absolute;
  color: white;
  transform: translateX(-30px);
  content: "•";
  font-size: 130%;
}

  /*-------------------------------------------------------------*/
 /*------------------AFFICHAGE PORTRAIT / TELEPHONE------------*/
/*-----------------------------------------------------------*/

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

  :root{
    --tailleMenu : 75%;
    --tailleBanniere : 47px;
  }

  *{
    font-size: 95%;
    }

  .Inti{
    display: none;
  }

  body{
    
  }

  main{
    overflow-x: none;
    overflow-x: hidden;
    padding-left: 1.5%;
    padding-right: 1.5%;
  }

  .sidebar.close ~ .navbar{
    transition: all 0.55s ease;
  }

  .texteAccueil{
    color: rgb(51, 51, 51);
    font-size: 28px;
    margin-bottom: 16px;
    font-weight: 500;
    }

  
  .reseaux i{
    color: white;
    transition: transform 0.3s ease, color 0.4s ease;
    transform: scale(2.5);
    margin-right: 10px; /* Ajoutez de l'espace à droite */
    margin-left: 10px;
  }
      
  .reseaux i:hover{
    color: var(--couleur3);
    transform: scale(3.3);
    transition: color 0.2s ease;
  }

  #presentation {
    display: flex;
    flex-direction: column;
    width: 100%;
    /* Assure que le conteneur prend tout l'espace horizontal */
    --gap: 30px;
    gap: var(--gap);
    margin-top:30px;
    margin-bottom: 30px;
    align-items: center;
  }
  
  .textePresentation {
    /* Prend 30% de la largeur */
    text-align: justify;
    color: rgb(171, 171, 171);
  }
  
  #imgPresentation {
    display: flex;
    height: auto;
    position: relative;
  }

  header{
    padding-left:1.5%;
    padding-right:1.5%;
  }

  .miniBordure{
    display: none;
  }

  #vignettesPersonnel {
    background-color: red;
  
    display: flex;
    justify-content:space-evenly;
    flex-wrap: wrap; /* Permet aux vignettes de se déplacer sur plusieurs lignes si nécessaire */
    padding: 10px; /* Pour éviter que les vignettes ne touchent les bords de l'écran */
    box-sizing: content-box; /* Inclure le padding dans la largeur totale */
  }
  
  .vignettePersonnel {
    width: 540px;
    height: calc(330px * 1); /* Maintien du ratio initial */
    background-color: white;
    border-radius: 15px;
    color: dimgrey;
    text-decoration: none;
  }
  
  .vignettePersonnelHaut {
    height: calc(180px * 1); /* Maintien du ratio initial */
    width: 100%; /* Prendre toute la largeur disponible */
    background-color: #E5E5E5;
    border-radius: 10px 10px 48px 0px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
  
  .vignettePersonnelHautIMG {
    width: 180px;
    height: 150px;
    margin-top: 10px;
  }
  
  .vignettePersonnelHautIMG img {
    height: 180px;
    width: 180px;
    border-radius: 500px;
  }
  
  .vignettePersonnelHautTEXTE {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    font-size: 28px;
  }
  
  .vignettePersonnelBas {
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      margin: 0px;
      padding: 18px 5% 0% 5%;
      box-sizing: border-box;
      width: 100%; /* Prendre toute la largeur disponible */
  }
  
  .vignettePersonnelBasTEXTE {
      font-size: 20px;
      color: dimgrey;
      line-height: 1.3;
      opacity: 0.9;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      width: 100%;
      height: 100%;
  }

  .retour{
    display: none;
  }
  

}