@font-face {
    font-family: 'OwnersWide-Regular';
    src: url('ressources/owners/OwnersWide-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OwnersWide-Medium';
    src: url('ressources/owners/OwnersWide-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OwnersXWide-Regular';
    src: url('ressources/owners/OwnersXWide-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OwnersXWide-Medium';
    src: url('ressources/owners/OwnersXWide-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OwnersXWide-Bold';
    src: url('ressources/owners/OwnersXWide-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    font-family: 'OwnersWide-Regular' , Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F9F9F9;
    font-size: 16px;
    letter-spacing: 1px; /* Ajustez la valeur pour augmenter ou diminuer l'espacement */

}


.container-fluid{
  --bs-gutter-x:none;
}





/* Portfolio One page Styles */

main{
padding-top:6%;
width: 100%;
}

/* form */

.form {
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: start; /* Centre verticalement */
    text-align: center;
  }

  .form > p {
    margin-right: 1%;
    font-family: 'OwnersWide-Regular', sans-serif;
    font-size: 0.80rem;
    color: #2E294E;
  }
  .form-cat {
    display: flex;
    gap: 10px; /* Espacement entre chaque groupe radio + label */
    align-items: center;
  }

  
  /* Labels */
  .form-cat label {
    font-family: 'OwnersWide-Regular', sans-serif;
    font-size: 0.80rem;
    color: #2E294E;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .form-cat {
      flex-direction: column; /* Affiche les éléments en colonne sur petits écrans */
      gap:8px;
    }
  }



/* projets-presentation*/

.projets-presentation {
  padding: 2% 2%;
}

.project-box {
  position: relative;
  background-color: #E6E6E6; /* Couleur grise pour simuler vos boîtes */
  height: 350px; /* Hauteur des projets */
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(46, 41, 78, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-box:hover {
  transform: scale(1.01); /* Agrandir légèrement au survol */
  box-shadow: 0 4px 6px rgba(46, 41, 78, 0.4);
}


.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajuste l'image sans déformation */
    transition: transform 0.3s ease;
  }
  
  .project-box:hover .project-image {
    transform: scale(1.04); /* Zoom au survol */
  }
  
  .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:rgba(46, 41, 78, 0.7); /* Couleur violette semi-transparente */
    color: #f9f9f9;
    display: flex;
    flex-direction: column;       /* Permet d'empiler les infos verticalement */
    align-items: flex-start;      /* Aligne à gauche */
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 18%; /* Ajoute du padding autour du texte */
    box-sizing: border-box; 
  }
  
  .project-box:hover .project-overlay {
    opacity: 1; /* Fait apparaître le voile et le texte */
  }
.project-caption {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.project-caption .project-date {
    font-family: 'OwnersWide-Regular';
    font-size: 0.75rem;
    color: rgba(249,249,249,0.85);
}

.project-caption .project-title {
    font-family: 'OwnersXWide-Bold';
    font-size: 1rem;
    text-transform: uppercase;
    color: #ffffff;
}

.project-caption .project-text {
    font-family: 'OwnersWide-Medium';
    font-size: 0.85rem;
    color: rgba(249,249,249,0.9);
}


/* Footer */
#footer {
    background: rgba(249, 249, 249, 0.75);
    box-shadow: 0px -4px 4px rgba(0, 0, 0, 0.25);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
#footer .container{
    margin-left: auto;
    margin-right: auto;

}
.footer-icon {
  width:40%; /* Ajuste la taille des icônes */
}

.footer-credits {
  font-family: 'OwnersWide-Regular';
  font-size: 0.6rem;
  color: #2E294E;
  margin: 0;
}
