@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 : #1F2456;
  /*couleur pointage menu de gauche*/
  --couleur3 : #F9DD36;

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

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

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

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


* {

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

}

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

}

body{
  font-size: 24px;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100vh; /* Utilisation de la hauteur de la fen�tre */
}

.sidebar {
  position: fixed;
  height: 100%;
  width: var(--tailleMenu);
  background: var(--couleur2);
  z-index: 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999;
  box-shadow: 1px 0px 30px;
  transition: all 0.8s ease;
}
.sidebar a {
  color: yellow;
  text-decoration: none;
  margin: 0;
  padding:0;

}
.menu-content {
  position: relative;
  height: 100%;
  width: 100%;
  font-size: 130%;
  color: yellow;



  overflow-y: hidden;
  overflow-x: hidden;
}
.menu-items {
  margin-top: 0px;
  padding: 0px;
  height: 100%;
  width: calc(100% + 5px);
  list-style: none;
  transition: all 0.4s ease;
  padding-top: 50%;
  padding-bottom: 50%;

}

.submenu-active .miniBordure,
.submenu-active .menu-content{
  display: none;
  opacity: 1;
  color: red;
}
.submenu-active .menu-items {
  transform: translateX(calc(-50% - 1px));
}

.menu-title {
  color: yellow;
  font-size: 30px;
  padding: 26px;
  padding-left: 10%;
}
.item a,
.submenu-item {
  padding: 26px;
  padding-left: 10%;
  display: inline-block;
  width: 100%;
  color: white;
  transition: all 0.25s ease;


}
.item i {
  font-size: 12px;
  color: white;
}
.item a:hover,
.submenu-item:hover,
.submenu .menu-title:hover {
  padding-right:5%;	
  background-color: var(--couleur3);
  text-shadow:0px 0px 10px rgba(0, 0, 0, 1),
  0px 0px 20px rgba(0, 0, 0, 0.8),
  0px 0px 30px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
  /*border-radius: 60px 0px 0px 60px;*/
}
.submenu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  cursor: pointer;

}

.submenu {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: calc(-100%);
  height: calc(100%);
  background-image: linear-gradient(180deg, var(--couleur2), var(--couleur2), #0e102a);
  padding-top: 50%;
  padding-bottom: 50%;
  display: none;
}
.show-submenu ~ .submenu {
  display: flex;
  flex-direction: column;
}
.submenu .menu-title {
  cursor: pointer;
}
.submenu .menu-title i {
  
}


.navbar{
  position: fixed;
  left: var(--tailleMenu);  
  transition: all 0.8s ease;
  z-index: 9999;
  color: rgba(0, 0, 0, 0.8);
  padding: 15px 20px;
  font-size: 24px;
  background-color: #11101d41;
  border-radius: 0px 0px 15px 0px;
}
.navbar i{
  font-size: 65px;
}

.sidebar.close{
  color: #1d10101a;
  transform: translateX(-100%);
  box-shadow: 0 0 0;
  
  background-color: #11101d;
  transition: all 0.8s ease;
}
.sidebar.close ul{
  color: #11101d;
}

.sidebar.close ~ .navbar{
  position: fixed;
  left:0;
  width: auto;
}
.sidebar.close ~ .main {

  width: 100%;
  padding: 50px 30% 50px 30%;
  align-items: center;
  place-items: center;

}

#body {

  margin-top: var(--tailleBanniere);
  margin-left: var(--tailleMenu);
  padding: 50px 10% 50px 10%;
  background: url("../img/fond_europe.png") no-repeat #f7f7ef;
  background-position: 95% 100%;
  background-size: 32%;
  background-attachment: fixed;
  line-height: 1.5;
  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 */
}

.sidebar.close ~ #body {
  margin-top: var(--tailleBanniere);
  margin-left:0%;
  width: calc(100%);
  display: flex;
  height: 100%;
  padding: 50px 20% 50px 20%;

  transition: all 0.5s ease;
  transition: padding 0s ease;

}
.navbar:hover{
  color: white;
  background-color: var(--couleur2);
  border-radius: 0px 0px 30px 0px;
}

.navbar i:hover{
  cursor: pointer;
}

.navbar #sidebar-close {
  cursor: pointer;


}

#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: white;
  height: 2px;
  width: 100px;
  margin-left: 10%;
  border-radius: 100px;
  position:absolute;
  opacity: 0.5;
}

#banner {
  padding-top: 10px;
  padding-bottom: 10px;
  height: 100px;
  background-color: white;
  width: 100%;
  position: fixed;
  z-index: 1;
  box-shadow: 1px 0px 30px;
}

#logo{
  display: flex;
  margin: 0 auto;
  justify-content: center;
}


.logo {
  justify-content: center;
  background-image: url("../img/logoMaisonEuropeProvence.png");
  background-repeat: no-repeat;
  background-size: cover;
  left: 1%;
  width: 85px;
  height: 85px;
  background-size: contain;
}

.logo img {

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

.logo:hover {
  cursor: pointer;
}


.Inti{
  Color:black;

  background-color: #E0E0E0;
  width: 100%;
  justify-content: center;
  box-shadow: 0 10px 15px -2px #11101d60 ;
  /*box-shadow: 1px 0px 30px;*/


}

footer {

  background: url("../img/pattern_fond.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: 15%;
  font-size: 16px;
  color: grey;
  user-select: none;
}


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%;
  color: var(--couleur3);
  transform: scale(1.1);
  transition: color 0.2s ease;
}

#vignettesAccueil {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Permet aux vignettes de se déplacer sur plusieurs lignes si nécessaire */
  gap: 10px;
  margin: 0 auto;
  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 */
}

.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: 400px;
  background-color: white;
  border-radius: 10px;
  text-align: center;
  transition: box-shadow 0.7s ease, transform 0.2s;
  color: dimgrey;
  text-decoration: none;
  transition: all 0.4s ease;
  box-sizing: border-box; /* Inclure le padding dans la hauteur et la largeur */
}

.vignetteAccueil img {
  width: 100%; /* Prendre toute la largeur de la vignette */
  height: 40%; /* Ajuster la hauteur automatiquement pour maintenir le ratio */
  border-radius: 10px 10px 0 0;
  -webkit-mask-image: linear-gradient(#000, #000, rgba(0, 0, 0, 0));
  mask-image: linear-gradient(#000, #000, rgba(0, 0, 0, 0));
}

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

#vignettesAccueil a {
  transition: color 0.3s ease;
  color: dimgrey;
  text-decoration: none;
}

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

.vignetteAccueil:hover {
  transition: none 0.5s ease;
  transform: translateY(-20px);
  filter: brightness(1.05);
  box-shadow: rgba(0, 0, 0, 0.304) 0px 15px 10px;
  transition: box-shadow 0.7s ease, transform 0.2s;
}

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

#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 {
  text-align: center;
  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;
}

.texte{
  color: dimgray;
  font-size: 26px;
  margin-bottom: 16px;
}

.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: 100%;
  height: auto;
  border-radius: 0px 0px 15px 15px;
  object-fit: cover; /* Recadre l'image pour couvrir tout le conteneur */

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

.fleursTop{
  right: 0;
  top:0;
  position: fixed;
  z-index:99;
  width: -50%;
  height: -50%;
}

.fleursTop img{
  width: -50%;
  height: -50%;
}

#vignettesPersonnel {
  
  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;
}

@media all and (orientation:portrait) {

  :root{
    --tailleMenu : 80%
  }

  body{transition: all 0s ease;}

  .sidebar{
    width: var(--tailleMenu);
  }
  .navbar{
    left: var(--tailleMenu);
  }

  #body {
    margin-left: 0;
    padding: 50px 4% 50px 4%;
    line-height: 1.5;
    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 */
    filter: brightness(0.5);
  }
  
  .sidebar.close ~ #body {
    margin-top: var(--tailleBanniere);
    margin-left:0%;
    width: calc(100%);
    display: flex;
    height: 100%;
    padding: 50px 4% 50px 4%;
  
    transition: all 0.5s ease;
    transition: padding 0s ease;
    transition: filter 0.4s ease;
    filter: brightness(1);
  }

  footer {
    padding-top: 30px;
    padding-bottom: 30px;
    background-size: 75%;
    font-size: 16px;
  } 



  #vignettesPersonnel {
    display: grid;
    justify-content: center;
    align-content: center;
    grid-template-columns: repeat(auto-fit, minmax(350px, 350px)); /* Colonnes responsives */
    gap: 20px; /* Espacement entre les vignettes */
    margin: 0 auto;
    padding: 10px; /* Espacement autour des vignettes */
    max-width: 1100px; /* Largeur maximale du conteneur pour centrer */
    box-sizing: border-box; /* Inclure le padding dans la hauteur et la largeur */
}

.vignettePersonnel {
    height: calc(380px * 1); /* Maintien du ratio initial */
    background-color: white;
    border-radius: 15px;
    transition: box-shadow 0.7s ease, transform 0.2s;
    color: dimgrey;
    text-decoration: none;
    transition: transform 0.3s ease;
    box-sizing: border-box; /* Inclure le padding dans la hauteur et la largeur */
}

.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: 150px;
    height: 150px;
    margin-top: 10px;
}

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

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

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

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






  
}
@media all and (orientation:landscape) {



}

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

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

  *{
    font-size: 90%;
    }

  .Inti{
    font-size: 100%;
  }

  #body{
    overflow-x: none;
    overflow-x: hidden;
  }

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

  .accueilImage{
    width: 100vh;
    border-radius: 0;
    overflow-x: hidden;
  }

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


  #vignettesAccueil {
    gap: 5px;
    padding: 5px; /* Pour éviter que les vignettes ne touchent les bords de l'écran */
  }
    
  .vignetteAccueil {
    flex: 1 1 150px; /* Rend les vignettes flexibles et leur donne une largeur minimale de 300px */
    max-width: 150px; /* Largeur maximale pour les grandes écrans */
    height: 250px;
    background-color: white;
    border-radius: 10px;
    text-align: center;
    transition: box-shadow 0.7s ease, transform 0.2s;
    color: dimgrey;
    text-decoration: none;
    transition: all 0.4s ease;
    box-sizing: border-box; /* Inclure le padding dans la hauteur et la largeur */
  }
    
  .vignetteAccueil img {
    width: 100%; /* Prendre toute la largeur de la vignette */
    height: 35%; /* Ajuster la hauteur automatiquement pour maintenir le ratio */
    border-radius: 10px 10px 0 0;
    -webkit-mask-image: linear-gradient(#000, #000, rgba(0, 0, 0, 0));
    mask-image: linear-gradient(#000, #000, rgba(0, 0, 0, 0));
  }
    
  .vignetteAccueilTEXTE{
    padding: 0px 20px 0px 20px;
    line-height: 1.4;
  }
    
  #vignettesAccueil a {
    transition: color 0.3s ease;
    color: dimgrey;
    text-decoration: none;
  }
    
  .vignetteAccueil a {
    transition: color 0.3s ease;
    color: dimgrey;
    text-decoration: none;
  }
    
  .vignetteAccueil:hover {
    transition: none 0.5s ease;
    transform: translateY(-20px);
    filter: brightness(1.05);
    box-shadow: rgba(0, 0, 0, 0.304) 0px 15px 10px;
    transition: box-shadow 0.7s ease, transform 0.2s;
  }
    
  .vignetteAccueil a:hover {
    transition: color 0.5s ease;
    color: black;
    text-decoration: none;
  }
  
  .reseaux i{
    color: white;
    transition: transform 0.3s ease, color 0.4s ease;
    transform: scale(3);
    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;
  }
}