*{
	margin: 0;
	box-sizing: border-box;
}

  body, html {
	height: 100%;
	margin: 0;
}

body{
  font-family: "chelsea market", arial, sans-serif ;
	font-weight: 500;
	margin: 0;
    padding: 0;
	background-color: #f6f7fc;
    margin: 0 auto;
    overflow-y: scroll;
    overflow-x: hidden;
    perspective: 1px;
	transform-style: preserve-3d;
}

        /* NAVBAR */

        #menuToggle {
          background-color: #f6f7fc;
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding: 20px 20px 10px 20px;
          transition: top 0.2s ease;
          position: relative;
          margin-bottom: 2em;
          margin-top: 2em;
        
      }

        #menuToggle input{
          z-index: -10000;
        }
      
      .visible {
          top: 0;
      }
      
      .invisible {
          top: -100px; 
      }
      
      #menuToggle ul {
          list-style-type: none; 
          display: flex; 
          padding: 0;
          margin: 0; 
      }
      
      #menuToggle ul li {
          margin: 0px 20px;
      }
      
      #menuToggle ul li a {
          text-decoration: none;
          color: #333739; 
          font-weight: bold; 
          position: relative; 
          transition: color 0.3s; 
          
      }
      
      #menuToggle ul li a::after {
          content: '';
          position: absolute;
          width: 100%;
          height: 2px;
          background-color: #47A7DC;
          left: 0;
          bottom: -5px; 
          transform: scaleX(0);
          transform-origin: left center; 
          transition: transform 0.3s ease;
      }
      
      #menuToggle ul li a:hover::after {
          transform: scaleX(1); 
      }
      
      #menuToggle ul li a:hover {
          color: #47A7DC; 
          cursor: pointer; 
      }
      
      #menuToggle ul li a:not(:hover)::after {
          transform-origin: right center; 
          transition: transform 0.3s ease;
      }
      
      
      #menuToggle ul li a.active {
          color: #47A7DC; 
      }
      
      #logo {
        height: 60px; 
        margin-right: 0vw;
    }
    
    #logo:hover{
        filter: drop-shadow(5px 5px 5px #333739) 
    }

       

        /* footer */
footer {
	position: relative;
	bottom: 0;
    margin: 0 auto;
    padding: 0px 2vw 0px 2vw;
	height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    margin: 0; 
    color: #333739;
}

h1{
    color: #333739;
    font-size: 5vw;
}

h2{
    font-size: 3vw;
}

h3{
    text-align: center;
}






#pp{
  text-align: center;
  display: flex;
  justify-content: center;
  font-size: 2vw;
}

#imga{

  width: 100%;
  height: 400px;

}



.cp{
    display: flex;
	justify-content: center;
	text-align: center;
    margin-bottom: 3vw;
    margin-top: 3vw;
}

#point{
    text-align: center;
	font-size: 5vw;   
    color: #3FA9F5;

}
        


  /* TEST DE CAARD  */
  :root {
    --d: 700ms;
    --e: cubic-bezier(0.19, 1, 0.22, 1);
  
  }
  
  .page-content {
    display: grid;
    grid-gap: 1rem;
    padding: 1rem;
    max-width: 1024px;
    margin: 0 auto;
    font-family: var(--font-sans);
  }
  @media screen and (min-width: 600px) {
    .page-content {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media screen and (min-width: 800px) {
    .page-content {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  
  .card {
    position: relative;
    display: flex;
    object-fit: cover;
    align-items: flex-end;
    overflow: hidden;
    padding: 1rem;
    width: 100%;
    text-align: center;
    color: whitesmoke;
    background-color: whitesmoke;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.1), 0 4px 4px rgba(0, 0, 0, 0.1), 0 8px 8px rgba(0, 0, 0, 0.1), 0 16px 16px rgba(0, 0, 0, 0.1);
  }
  @media screen and (min-width: 600px) {
    .card {
      height: 350px;
    }
  }
  .card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    background-size: cover;
    background-position: 0 0;
    transition: transform calc(var(--d) * 1.5) var(--e);
    pointer-events: none;
  }
  .card:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    pointer-events: none;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.009) 11.7%, rgba(0, 0, 0, 0.034) 22.1%, rgba(0, 0, 0, 0.072) 31.2%, rgba(0, 0, 0, 0.123) 39.4%, rgba(0, 0, 0, 0.182) 46.6%, rgba(0, 0, 0, 0.249) 53.1%, rgba(0, 0, 0, 0.32) 58.9%, rgba(0, 0, 0, 0.394) 64.3%, rgba(0, 0, 0, 0.468) 69.3%, rgba(0, 0, 0, 0.54) 74.1%, rgba(0, 0, 0, 0.607) 78.8%, rgba(0, 0, 0, 0.668) 83.6%, rgba(0, 0, 0, 0.721) 88.7%, rgba(0, 0, 0, 0.762) 94.1%, rgba(0, 0, 0, 0.79) 100%);
    transform: translateY(-50%);
    transition: transform calc(var(--d) * 2) var(--e);
  }
  

  
  .content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 1rem;
    transition: transform var(--d) var(--e);
    z-index: 1;
  }
  .content > * + * {
    margin-top: 1rem;
  }
  
  .title {
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.2;
  }
  
  .copy {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.35;
  }
  
  .btn {
    cursor: pointer;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 0.025rem;
    text-transform: uppercase;
    color: white;
    background-color: black;
    border: none;
  }
  .btn:hover {
    background-color: #0d0d0d;
  }
  .btn:focus {
    outline: 1px dashed yellow;
    outline-offset: 3px;
  }
  
  @media (hover: hover) and (min-width: 600px) {
    .card:after {
      transform: translateY(0);
    }
  
    .content {
      transform: translateY(calc(100% - 4.5rem));
    }
    .content > *:not(.title) {
      opacity: 0;
      transform: translateY(1rem);
      transition: transform var(--d) var(--e), opacity var(--d) var(--e);
    }
  
    .card:hover,
  .card:focus-within {
      align-items: center;
    }
    .card:hover:before,
  .card:focus-within:before {
      transform: translateY(-4%);
    }
    .card:hover:after,
  .card:focus-within:after {
      transform: translateY(-50%);
    }
    .card:hover .content,
  .card:focus-within .content {
      transform: translateY(0);
    }
    .card:hover .content > *:not(.title),
  .card:focus-within .content > *:not(.title) {
      opacity: 1;
      transform: translateY(0);
      transition-delay: calc(var(--d) / 8);
    }
  
    .card:focus-within:before, .card:focus-within:after,
  .card:focus-within .content,
  .card:focus-within .content > *:not(.title) {
      transition-duration: 0s;
    }
  }


@media screen and (max-width: 480px) {
    
    .cp {
      margin-bottom: 2vw; 
    }
  
    h1 {
      font-size: 5vw; 
    }
  
    #point {
      font-size: 5vw; 
    }
  
    #pp {
      font-size: 2vw; 
    }
  
    #imga {
      height: 200px; 
    }
    .formulaire {
      margin-top: 3vw; 
    }
  
    input[type="text"] {
      width: 80%;
    }
  
    button[type="submit"] {
      padding: 12px 20px; 
      font-size: 14px; 
    }

    footer {
      position: fixed; 
      left: 0;
      bottom: 0;
      width: 100%; 
      background-color: #f6f7fc;
      padding: 10px 10px; 
      text-align: center; 
      z-index: 9999; 
    }
  
    footer p {
      font-size: 14px; /* Ajuster la taille de la police du texte du footer pour les petits écrans */
      margin: 0; /* Supprimer les marges par défaut */
    }

    nav {
      position: fixed;
      width: 100%;
      background: #00000000;
      height: 60px;
      padding: 20px 10px;
      box-sizing: border-box;
      z-index: 2;
  }
  
  
  #menuToggle {
      display: block;
      position: fixed;
      top: 15px;
      left: 30px;
      z-index: 1;
      -webkit-user-select: none;
      user-select: none;
      font-size: 1.1em;
  }
  
  #menuToggle ul {
    list-style-type: none; 
    display: flex; 
    padding: 0;
    margin: 0; 
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

#menuToggle ul li a.active {
  color: #47A7DC; 
}


  #menuToggle input {
      display: block;
      width: 40px;
      height: 32px;
      position: absolute;
      cursor: pointer;
      opacity: 0;
      z-index: 2;
  }
  
  #menuToggle span {
      display: block;
      width: 33px;
      height: 4px;
      margin-bottom: 5px;
      position: relative;
      background: #262524;
      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%;
  }
  
  #menuToggle input:checked ~ span {
      opacity: 1;
      transform: rotate(45deg) translate(-1px, -1px);
      background: #262524;
  }
  
  #menuToggle input:checked ~ span:nth-last-child(3) {
      opacity: 0;
      transform: rotate(0deg) scale(0.2, 0.2);
  }
  
  #menuToggle input:checked ~ span:nth-last-child(2) {
      transform: rotate(-45deg) translate(0, -1px);
  }
  
  #menu {
      position: fixed;
      width: 100%;
      height: 100%;
      margin: 0;
      padding-top: 100px; 
      padding-left: 50px;
      background: #ffffffe0;
      list-style-type: none;
      -webkit-font-smoothing: antialiased;
      transform-origin: 0% 0%;
      transform: translate(-100%, 0);
      transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
      top: 0;
      left: 0;
  }
  
  #menu li {
      padding: 30px 0;
      font-size: 22px;
  
  }
  
  #menu li a {
      text-decoration: none;
      color: #262524;
  }
  
  #menu li a:hover{
      color:white;
  }
  
  #menuToggle input:checked ~ ul {
      transform: none;
  }

}




/* HOME PAGE  */

#intro {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  place-items: center;
  padding: 40px;
  min-height: 6vh;
  overflow: hidden;
}

.info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 30px 50px;
}

.info h1 {
  text-align: center;
  font-size: 3rem;
}

.info p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.split-pics {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}

.pics {
  height: 400px;
  width: 250px;
  border-radius: 20px;
  margin-left: 15px;
  border: 2px solid #3FA9F5;
}

.pics2 {
  height: 600px;
  width: 250px;
  border-radius: 20px;
  margin-left: 15px;
  border: 2px solid #3FA9F5;
}


.btna {
  display: inline-block;
  position: relative;
  border-radius: 10px;
  text-decoration: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  color: #3FA9F5;
  font-weight: bold;
  border: none;
  outline: none;
  cursor: pointer;
  transition: all 0.5s ease;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btna:hover {
  text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.8);
}

.btna:hover::after {
  left: 100%;
  top: 100%;
  bottom: 100%;
  right: 100%;
}

.btna::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  border-radius: inherit;
  transition: all 0.5s;
}

.btna::after {
  content: "";
  display: block;
  position: absolute;
  left: 2.5px;
  top: 2px;
  bottom: 2.5px;
  right: 2px;
  z-index: -1;
  border-radius: 8px;
  transition: all 0.5s;
}



/* admin  */

#boutonP{
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 3vw;
}

button {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}
button.learn-more {
  width: 12rem;
  height: auto;
}
button.learn-more .circle {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: relative;
  display: block;
  margin: 0;
  width: 3rem;
  height: 3rem;
  background: #333739;
  border-radius: 1.625rem;
}
button.learn-more .circle .icon {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: #f6f7fc;
}
button.learn-more .circle .icon.arrow {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  left: 0.625rem;
  width: 1.125rem;
  height: 0.125rem;
  background: none;
}
button.learn-more .circle .icon.arrow::before {
  position: absolute;
  content: "";
  top: -0.25rem;
  right: 0.0625rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.125rem solid #f6f7fc;
  border-right: 0.125rem solid #f6f7fc;
  transform: rotate(45deg);
}

button.learn-more .button-text {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0;
  margin: 0 0 0 1.85rem;
  color: #333739;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;   
}
button:hover .circle {
  width: 110%;
}
button:hover .circle .icon.arrow {
  background: #f6f7fc;
  transform: translate(1rem, 0);
}
button:hover .button-text {
  color: #f6f7fc;
}


/* RECHERCHER */
