/* Reset CSS */
body {
  font-family: 'Creepster', cursive;
  background-color: #1f1f1f;
  color: #ffffff;
  line-height: 1.6;
  margin: 0;
  position: relative;
}

/* Container */
.container {
  width: 1080px;
  margin: 0 auto;
}

/* Header */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  font-family: "Nosifer", sans-serif;
  text-align: center;
}

header h1 {
  font-size: 6vw;
  font-weight: 700;
  margin: 10px 0;
  position: relative;
  letter-spacing: -.12em;
  color: #880808;
  text-transform: uppercase;
  text-shadow: 3px 3px 5px rgba(255, 255, 255, 0.7);
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  margin-top: -13px;
  background-color: #1f1f1f;
  padding: 20px;
  border-radius: 13px;
  box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.5)
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

nav li {
  margin: 0;
  padding: 0;
  display: inline-block;
}

nav a {
  text-decoration: none;
  color: white;
  padding: 2px 12px;
  margin: 0 10px;
}

nav a:hover {
  background-color: #555;
}

nav a.active {
  background-color: #880808;
  color: white;
  font-weight: bold;
}

/* Banner */
.banner {
  width: 100%;
  margin-top: 19px;
  z-index: -1;
  border-radius: 15px;
  box-shadow: 10px 0px 15px -5px rgba(0, 0, 0, 0.3), -10px 0px 15px -5px rgba(255, 255, 255, 0.3);
}

/* Main Content */
main {
  padding: 40px 0;
}

h1, h2, h3 {
  color: #ffffff;
  text-align: center;
  padding: 30px;
  font-size: 35px;
}

.container,
.text-container,
.presentation {
  text-align: center,justify ;
  padding: 30px;
  font-family: "Special Elite", system-ui;
  font-style: normal;
  font-size: 15px;
  color: #fff;
}

/* Presentation Section */
#presentation {
  width: 100%;
  height: auto;
  color: white;
  border-radius: 15px;
  font-family: "Special Elite", system-ui;
  font-size: 20px;
  margin-top: 20px;
  text-align: justify;
}

#presentation p {
  padding: 30px;
}

/* Arrows */
.arrow {
  position: absolute;
  font-size: 24px;
  color:white;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
}

.arrow-left, .arrow-right {
  bottom: 230px;
  transform: translateY(-50%);
}

.arrow-left {
  left: 70px;
}

.arrow-right {
  right: 70px;
}

/* Journal */
.journal {
  width: 100%;
  margin: 20px 0;
}

.journal_group {
  display: flex;
  justify-content: space-around;
}

/* Custom Article Card */
.custom_article_card {
  height: 230px;
  width: 300px;
  background-color: #000000;
  border-radius: 15px;
  margin-top: 30px;
  position: relative;
  z-index: 1;
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

.custom_image {
  width: 105px;
  height: 100px;
  background-color: #000000;
  border-radius: 15px;
  position: absolute;
  top: 15px;
  left: 20px;
  object-fit: cover;
  border: 7px solid rgb(110, 110, 110);
}

.custom_title {
  position: absolute;
  top: -93px;
  left: 107px;
  font-size: 25px;
  color: #ffffff;
}

.custom_paragraph {
  width: 100%;
  font-family: "Special Elite", system-ui;
  text-align: justify;
  position: absolute;
  top: 90px;
  font-size: 13px;
}

.custom_paragraph p {
  margin: 29px 3px;
  padding: 25px;
}

/* Data Tables */
.dataTables_wrapper {
  margin: 50px;
}

#montableau td {
  background-color: #000000;
  color: #fff;
  padding: 10px;
  font-size: 18px;
  font-weight: 300;
  text-align: center;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

#montableau tbody tr:hover {
  background-color: #555;
  color: #fff;
}

.dataTables_wrapper .dataTables_paginate .paginate_button,
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  border-radius: 5px;
  background: #000000;
  color: #fff;
  margin: 0 4px;
  padding: 6px 12px;
}

.dataTables_wrapper .dataTables_paginate {
  text-align: right;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: white;
  color: rgb(104, 101, 101);
  border: 5px #FFFFFF;
  margin: 0 4px;
}

/* Top Container */
.top-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px; 
  background-color: #000000;
  border-radius: 20px;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.75);
}

/* Upload Form */
form.upload {
  text-align: center;
}

label.upload {
  display: block;
  margin-bottom: 10px;
  color: #fff;
}

input.upload[type="file"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}

input.upload[type="submit"] {
  width: 100%;
  background-color: #1f1f1f;
  color: #ffffff;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

input.upload[type="submit"]:hover {
  background-color: #333;
}

#img-canva {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 1080px;
}

/* Image Gallery */
.galerie_container {
  width: 300px;
  height: 300px;
  margin: 10px;
  flex-basis: calc(33.333% - 20px);
  overflow: hidden;
  display: flex;
  justify-items: center;
  border-radius: 15px;
  box-sizing: border-box;
}

.galerie_container img {
  display: flex;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.galerie_container img:hover {
  filter: grayscale(1);
}

/* Main Content */
.main-content {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center; 
}

.image-finger {
  max-width: 300px;
  padding: -80px;
  text-align: center;
  align-self: center; 
}

.image-finger img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: -20px;
}

/* Form Section */
.formulaire {
  max-width: 400px;
  margin: 50px auto;
  background-color: #1f1f1f;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.en-tete {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: -9px;
}

.champ_nom, .champ_prenom {
  margin-bottom: 3px;
  margin-right: 3px;
}

.champ_nom, .champ_prenom, .champ_email {
  display: block;
}

.label_2 {
  font-size: 16px;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="type de demande"],
textarea {
  width: calc(100% - 20px);
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #3d3d3d;
  border-radius: 5px;
  background-color: #1f1f1f;
  color: #ffffff;
}

input[type="submit"] {
  width: calc(100% - 20px);
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #3d3d3d;
  border-radius: 5px;
  background-color: #1f1f1f;
  color: #ffffff;
}

input[type="submit"]:hover {
  background-color: #333; 
}

/* Presentation Section */
#presentation {
  width: 100%;
  height: auto;
  color: white;
  border-radius: 15px;
  font-family: "Special Elite", system-ui;
  font-size: 20px;
}

#presentation p {
  padding: 30px;
}

/* Person Card Section */
.person_card {
  height: 345px;
  width: 500px;
  background-color: #000000;
  border-radius: 15px;
  margin-top: 30px;
  position: relative;
  z-index: 1; 
}

.all_cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.image_banniere {
  height: 150px;
  width: 100%;
  background-color: #000000;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
  margin: 0 auto;
  object-fit: cover;
}

.image_person {
  width: 105px;
  height: 100px;
  background-color: #000000;
  border-radius: 15px;
  position: absolute;
  top: 96px;
  left: 20px;
  object-fit: cover;
  border: 7px solid rgb(110, 110, 110);
}

.documents_partenaires {
  height: auto;
  width: 100%;
  background-color: #000000;
  border-radius: 15px;
  margin-top: 30px;
}

.titre_person {
  position: absolute;
  top: 111px;
  left: 114px;
  font-size: 30px;
  color: #ffffff;
}

.paragraphe_person {
  width: 100%;
  font-family: "Special Elite", system-ui;
  text-align: justify;
  position: absolute;
  top: 180px;
  font-size: 13px;
}

.paragraphe_person p {
  padding: 25px;
}

a.button {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
  text-decoration: none;
  color: initial;
  background-color: #747474;
  width: 122px;
  height: 21px;
  position: absolute;
  top: 129px;
  left: 360px;
  text-align: center;
  border-radius: 6px;
  padding-top: 4px;
}

/* Introduction Text */
.intro-text {
  text-align: center;
  color: white;
  margin-bottom: 20px;
}

/* Contact Form */
.form-contact {
  max-width: 410px;
  margin: 50px auto;
  background-color: #1f1f1f;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.en-tete {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: -9px;
}

.champ-prenom, .champ-nom {
  margin-bottom: 3px;
  margin-right: 3px;
  display: block;
}

.label_2 {
  font-size: 14px; 
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
  width: calc(100% - 20px);
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #3d3d3d;
  border-radius: 5px;
  background-color: #1f1f1f;
  color: #ffffff;
}

input[type="submit"] {
  width: calc(100% - 20px);
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #3d3d3d;
  border-radius: 5px;
  background-color: #1f1f1f;
  color: #ffffff;
}

input[type="submit"]:hover {
  background-color: #333; 
}

/* Partner Documents Section */
.documents_partenaires {
  height: auto; 
  width: 100%;
  border-radius: 15px;
  margin-top: 30px;
  padding: 6px; 
  box-sizing: border-box; 
}

.documents_partenaires h1 {
  color: white;
  padding-top: 20px;
}

/* Project Forms Section */
.formes_projet {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 204px;
  padding: black;
}

.formes_projet a {
  color: white;
  text-decoration: none;
}

.charte_de_projet,
.plan_de_projet {
  width: 196px;
  font-size: 18px;
  font-family: "Special Elite", system-ui;
  margin-bottom: 20px;
}

.formes_projet a {
  text-decoration: none;
  color: white;
  background-color: #1f1f1f;
  padding: 20px;
  border-radius: 10px;
}

/* Footer */
footer {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  padding: 10px 0;
}

footer a {
  color: white;
}
