@import url('https://fonts.googleapis.com/css?family=Quicksand:400,500,700');
html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Quicksand", sans-serif;
    font-size: 62.5%;
    font-size: 10px;
}
/*-- Inspiration taken from abdo steif -->
/* --> https://codepen.io/abdosteif/pen/bRoyMb?editors=1100*/

/* Navbar section */

.nav {
    width: 100%;
    height: 65px;
    position: fixed;
    line-height: 65px;
    text-align: center;
    background-color: #000000ea;
}

.nav div.logo {
    float: left;
    width: auto;
    height: auto;
    padding-left: 3rem;
}

.nav div.logo a {
    text-decoration: none;
    color: #ffffff;
    font-size: 2.5rem;
}

.nav div.logo a:hover {
    color: #b3b3b3;
}

.nav div.main_list {
    height: 65px;
    float: right;
}

.nav div.main_list ul {
    width: 100%;
    height: 65px;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav div.main_list ul li {
    width: auto;
    height: 65px;
    padding: 0;
    padding-right: 3rem;
}

.nav div.main_list ul li a {
    text-decoration: none;
    color: #ffffff;
    line-height: 65px;
    font-size: 2.4rem;
}

.nav div.main_list ul li a:hover {
  color: #b3b3b3;
}


/* Home section */

.home {
    width: 100%;
    height: 70vh;
    background-image: url(https://resize.prod.docfr.doc-media.fr/placeholder.jpg);
    background-position: center top;
	background-size:cover;
}
.nav {
    padding-top: 20px;
    padding-bottom: 20px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    z-index: 23;
}


.affix {
    padding: 0;
    background-color: #000000ea;
}
.affix a {
  
  color: #fff;
}






.myH2 {
	text-align:center;
	font-size: 4rem;
}
.myP {
	text-align: justify;
	padding-left:15%;
	padding-right:15%;
	font-size: 20px;
}
@media all and (max-width:700px){
	.myP {
		padding:2%;
	}
}












h2{
    font-size: 3em;
    color:black
  }

h6{
    font-size: 1em;
  }

  .center {
    /* position: absolute;
    left: 0%;
    top: 25%; */
    /* width: 100%;
    height: 100vh; */
    
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    
  }
  
  .center ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    list-style: none;
    width: 90%;
  }
  
  .center ul {
    margin-top: 5rem;
  }
  
  .center ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000000;
    width: 90%;
    padding: 1rem 2rem;
    margin: 1rem 0px;
    border-radius: 20px;
    box-shadow: 0px 0px 20px #00000020;
    position: relative;
    transition: all .3s ease;
    /* background-color: #878787b4; */
    background-color: #ffffffb4;
  }
  
  .center ul li:hover:before {
      content: "";
      display: flex;
      width: 8px;
      height: 100%;
      background-color: #fffdfd;
      position: absolute;
      top: 0;
      left: 0;
      margin-left: -1.5rem;
      border-radius: 25px;
      box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.162);
  }
  
  .center ul li:hover {
      transform: translateX(15px);
  }
  
  .image {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
  
  .image img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .text-group {
    width: 60%;
    font-size: 2em;
  }
  
  /* Small Screens */
  @media only screen and (max-width: 576px) {
    .center ul li:hover {
      transform: none;
    }
    
    .date-group {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
  }
  
  /* Medium Screens */
  @media only screen and (max-width: 768px) {
    .center li {
      flex-direction: column;
    }
    
    .center li>div {
      margin: 1rem 0px;
    }
    
    .text-group {
      width: 80%;
      text-align: center;
    }
    
    .date-group{
      display: flex;
    }
    
    .date-group h4, p {
      margin: 0px .5rem;
    }
  }




  .btn-blink1 {
    position: relative;
    display: inline-block;
    padding: 15px 25px;
    border-radius: 5px;
    font-family: sans-serif;
    font-size: 1.2em;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    animation: anim-btn1 1s ease-in-out infinite alternate;
    cursor: pointer;
   }
   
   @keyframes anim-btn1 {
    from {
     transform: scale(1);
     background-color: rgb(90, 246, 251);
     text-shadow: 0 1px 3px rgba(0, 0, 0, .15);
     box-shadow: 0 0 0 transparent, 0 0 5px rgba(0, 0, 0, 0.25) inset;
    }
    to {
     transform: scale(1.1);
     background-color: rgb(179, 0, 255);
     text-shadow: 0 2px 6px rgba(0, 0, 0, .35);
     box-shadow: 0 0 12px rgb(217, 0, 255), 0 0 10px rgba(0, 0, 0, .5) inset;
    }
   }
   
   footer {
    background-color: #333;
    color: #fff;
    padding: 1px 0;
  }
  
  .containerr {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }
  
  /* Style du lien dans le pied de page */
  footer a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
  }
  


  .btn a {
    color:white ;
    font-weight: 500;
    padding: 5px 26px;
    border: 2px solid transparent;
    transition: ease .40s;
    text-decoration: none;
    
  }
  .btn .connexion:hover{
    color: rgb(255, 255, 255);
    /* background-color:#f4c732ea; */
    background-color:#000000ea;
    border-radius: 30px;
  }
  .btn .connexion{
    color: rgb(0, 0, 0);
    background: transparent;
    border: 2px solid #000000ea;
    border-radius: 30px;
  }


  /* .centered-image {
    position: relative;
} */

.centered-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 125px; /* optionnel : espace sous la navbar */
  
}

/* .transparent-image {
    width: 46%; 
    opacity: 0.5; 
    display: block;
    margin: 0 auto;
   
} */

.transparent-image {
  width: 450px;       /* taille "fixe" de base */
  max-width: 85%;     /* responsive */
  height: auto;       /* garde les proportions */
  opacity: 0.5;       /* ta transparence */
  display: block;
  margin: 0 auto;
}

#menuToggle {
  display: none; /* Cacher le menu par défaut */
}

.togglePassword {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #666;
  user-select: none;
}

.togglePassword:hover {
  color: #000;
}

@media screen and (max-width: 579px) {
  .home {
    width: 100%;
    height: 70vh;
    background-image: url(https://resize.prod.docfr.doc-media.fr/placeholder.jpg);
    background-position: center top;
	background-size:cover;
}

.first-image {
  display: block !important;  /* afficher la première image */
}

.second-image {
  display: none !important;;   /* cacher la deuxième image */
}
/* .transparent-image {
  width: 77%;
  opacity: 0.5;
  display: block;
  margin: 0 auto;
} */

.transparent-image {
  width: 450px;   /* plus petit sur mobile */
  max-width: 85%;
  opacity: 0.5;
}

#mainListDiv{
  display: none; /* Cacher le menu par défaut */
}

.center ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #000000;
  width: 100%;
  padding: 1rem 2rem;
  margin: 1rem 0px;
  border-radius: 20px;
  box-shadow: 0px 0px 20px #00000020;
  position: relative;
  transition: all .3s ease;
  /* background-color: #878787b4; */
  background-color: #ffffffb4;
}
h2 {
  font-size: 2.3em;
  color: black;
}
.text-group {
  font-size: 1.5em;
}
.home {
  width: 100%;
  height: 50vh;
  background-image: url(https://resize.prod.docfr.doc-media.fr/placeholder.jpg);
  background-position: center top;
  background-size: cover;
}
.center {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
}

.center ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  list-style: none;
  width: 100%;
}


/* ------------------------------menu--------------------------------------- */
#menuToggle
{
  display: block;
  position: fixed;
  top: 45px;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}

.affix #menuToggle {
  top: 25px !important;
}
#menuToggle {
  transition: top 0.3s ease;
}

#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: 83vw;
  cursor: pointer;
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  -webkit-touch-callout: none;
}

/*
 * hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  left: 83vw;
  background: #cdcdcd;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
 * hide the middle one
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

#menu
{
  position: absolute;
  width: 100vw;
  height: 100vh;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  text-align:center;
  
  background: #ededed;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(0, -100%);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 10px 0;
  font-size: 22px;
  
}

/*
 * slide it in
 */
#menuToggle input:checked ~ ul
{
  transform: none;
}

#coleurM{
  color :#000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* ------------------------------------fin menu ------------------------------- */


}


/* Overlay */
.ios-popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
  animation: fadeIn 0.3s ease;
}

/* Popup container */
.ios-popup.modern-popup {
  background: #fff;
  padding: 30px 25px;
  border-radius: 20px;
  max-width: 350px;
  width: 90%;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  position: relative;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Bouton fermer */
.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #555;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #000;
}

/* Titre */
.popup-title {
  margin-bottom: 20px;
  font-size: 24px;
  color: #222;
}

/* Inputs */
.unInput {
  position: relative;
  margin-bottom: 20px;
}

.unInput input {
  width: 90%;
  padding: 12px 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  transition: 0.3s;
}

.unInput input:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0,123,255,0.5);
  outline: none;
}

.unInput label {
  position: absolute;
  left: 12px;
  top: -10px;
  background: #fff;
  padding: 0 5px;
  font-size: 12px;
  color: #555;
}

/* Bouton connexion */
.btn-login {
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-login:hover {
  background-color: #0056b3;
}

/* Footer */
.popup-footer {
  margin-top: 15px;
  font-size: 14px;
  color: #555;
}

.popup-footer a {
  color: #007bff;
  text-decoration: none;
}

.popup-footer a:hover {
  text-decoration: underline;
}

/* Animation */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}


/* Le CSS de modern-popup s’applique déjà */
#errorPopupMessageInscription {
  font-size: 16px;
}

.designTitre {
  font-family: Snell Roundhand, cursive;
}

.designTitle2 {
  font-family: Roboto, cursive;
}


.p-image {
  width: 350px;         /* taille souhaitée */
  height: auto;         /* garde les proportions */
  display: block;       /* permet le centrage */
  margin: 10px auto;    /* centrage automatique */
  border-radius: 12px;  /* optionnel : coins arrondis */
  object-fit: cover;    /* recadrage propre */
}

.paddingExplication{
  padding: 50px; 
}



.first-image {
  display: none;  /* afficher la première image */
}

.second-image {
  display: block;   /* cacher la deuxième image */
}

#scrollTopBtn {
  display: none; /* Masqué par défaut */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #e9e9e9dc;
  color: white;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 50%;
  transition: background-color 0.3s;
}

#scrollTopBtn:hover {
  background-color: #9b9b9b;
}


.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #555;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.google-btn img {
    height: 20px;
    width: 20px;
    margin-right: 10px;
}

.google-btn:hover {
    background-color: #f5f5f5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
