*{
  margin: 0;
  padding: 0;
  font-family: "Anonymous Pro", serif;
  font-weight: 700;
  font-style: normal;
  align-items: center;
  background-attachment:fixed;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #f9f9f9; 
  color: #333; 
  width: 100%;
  height: auto;
}
#tree{
  background-color: #f9f9f9; 
  color: #333; 
  width: 100%;
  margin-top: 15vh;
}

main {
  padding: 20px 0;
  position: relative; 
  z-index: 1; 
}
#main-two{
  margin: 30px auto;
  width: 1080px;
}
#main-tree{
  margin: 0 auto;
  width: 1080px;

}
#main-four{
  margin: 30px auto;
  width: 1080px;
}


/* Intro Video en plein écran */
#intro {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 2000;
  opacity: 1; 
  transition: opacity 1s ease-out;
}

#intro video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Effet de flou */
#site-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 20px;
  background: white;
  opacity: 0;
  filter: blur(20px); 
  transition: opacity 2s ease-out, filter 2s ease-out;
}

/* Animation d'apparition des textes */
.fade-in-down {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s ease-out, transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in-down.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Header principal */
header {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0;
  position: fixed;
  margin-bottom: 40vh;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: #f9f9f9;
  transition: box-shadow 0.4s ease;
}
header.scrolled {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* First Nav */
#first-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

#first-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

#first-nav ul li {
  display: inline-block;
}

#first-nav ul li a {
  text-decoration: none;
  color: #000;
  font-size: 18px;
  padding: 5px 10px;
}




/* Logo dans First Nav */
#IMG-REF img {
  height: 4em; 
}

.srv {
  text-decoration: none;
  color: #000; 
  font-size: 18px;
  font-weight: 700;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.srv::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0%; 
  height: 2px; 
  background-color: #333; 
  transition: width 0.4s ease, left 0.4s ease;
  transform: translateX(-50%);
}

.srv:hover {
  color: #000; 
}

.srv:hover::after {
  width: 100%; 
  left: 50%;
  transform: translateX(-50%);
}

.srv:active {
  transform: scale(0.95); 
}




/* Nav principale */
nav ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}

nav ul li {
  display: inline-block;
}

nav ul li a {
  text-decoration: none;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a::after {
  text-decoration: none;
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #333; 
  transition: width 0.4s ease, left 0.4s ease;
  transform: translateX(-50%);
}

nav ul li a:hover {
  color: #555;  
}

nav ul li a:hover::after {
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
}

nav ul li a:active {
  transform: scale(0.95); 
}

nav ul li a.active {
  color: #000;  
  font-weight: 900;  
}

nav ul li a.active::after {
  width: 100%;  
  background-color: #000;  
  transition: width 0.3s ease;
}


#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px; 
  height: 60px;
  border: 2px solid rgba(255, 255, 255, 0.6); 
  background-color: rgba(255, 255, 255, 0.6); 
  border-radius: 50%; 
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0; 
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease, background-color 0.3s ease;
  z-index: 1000; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

#back-to-top img {
  width: 24px; 
  height: 24px;
  
  transition: transform 0.3s ease;
}

#back-to-top:hover {
  background-color: rgba(0, 0, 0, 0.084); 
  transform: scale(1.2); 
}

#back-to-top:hover img {
  transform: translateY(-2px); 
}

#back-to-top.show {
  opacity: 1; 
  visibility: visible;
}


.first-div{
  height: auto;
  width: 100%;
  margin-top: 15vh;
  margin-bottom: 15vh;
}
.first-div video{
  width: 100%;
  height: 80vh;
  align-items: center;
}
 .first-div video::-webkit-media-controls {
  display: none !important;
}
.first-div video::-webkit-media-controls-enclosure {
  display: none !important;
}
.first-div video.show-controls::-webkit-media-controls {
  display: block !important;
}

video {
  pointer-events: none; 
  user-select: none; 
}
#introVideo {
  pointer-events: none; 
  user-select: none; 
}

.who{
  margin: 30px auto;
  width: 1080px;
  margin-bottom: 15vh;
}
.who h1{
  margin-top: 10vh;
  font-family: "Nanum Myeongjo", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 3.5em;
}
.who p{
  font-size: 1.5em;
  margin-bottom: 2vh;
}


#creator{
  margin: 30px auto;
  width: 1080px;
margin-bottom: 15vh;
}
#creator h1{
  font-family: "Nanum Myeongjo", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 3.5em;
}
#creator p{
  font-size: 1.5em;
  margin-bottom: 2vh;
}

.gallery {
  display: flex;
  align-items: center;
  margin: 0 auto;
  width: 100%;
}

.gallery img {
  opacity: 0;
  transform: scale(0.8);
  filter: blur(8px);
  transition: opacity 1s ease-out, transform 1s ease-out, filter 1s ease-out;
}

.gallery img.visible {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}


#creator img {
  margin-top: 10vh;
  padding: 5px;
  border: 1px solid #000;
  width: 85%;
  height: auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; 
}

#creator img:hover {
  transform: scale(1.05); 
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
  border-color: #555; 
  cursor: pointer; 
}

#creator img:hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1); 
  border-radius: 4px;
}
.who img {
  margin-top: 10vh;
  padding: 5px;
  border: 1px solid #000;
  width: 85%;
  height: auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; 
}

.who img:hover {
  transform: scale(1.05); 
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
  border-color: #555; 
  cursor: pointer; 
}

.who img:hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1); 
  border-radius: 4px;
}

.who, #creator {
  opacity: 0;
  transform: translateY(80px) scale(0.95);
  transition: opacity 1.2s ease-out, transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.who.visible, #creator.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}




/* Données.php */
#tableau {
  width: 100%;
  max-width: 1200px; 
  margin: 40px auto;
  border-collapse: separate; 
  border-spacing: 0; 
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); 
  border-radius: 12px; 
  overflow: hidden; 
  background-color: #fff; 
}

#tableau thead {
  background: linear-gradient(135deg, #000, #333); 
  color: #fff; 
}

#tableau th {
  padding: 18px; 
  text-align: left; 
  font-weight: 600; 
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 14px; 
  border-bottom: 2px solid rgba(255, 255, 255, 0.1); 
}

#tableau tbody tr {
  transition: all 0.3s ease; 
}

#tableau tbody tr:nth-child(odd) {
  background-color: #fafafa;
}

#tableau tbody tr:nth-child(even) {
  background-color: #fff; 
}

#tableau tbody tr:hover {
  background-color: #f0f0f0; 
  transform: translateY(-2px); 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#tableau td {
  padding: 14px;
  color: #333; 
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease; 
}

#tableau td:first-child {
  font-weight: 500; 
}

#tableau td:nth-child(2) {
  color: #000;
  font-weight: 600; 
}

#tableau td:nth-child(4) {
  font-style: italic; 
  color: #666; 
}

#tableau td:last-child {
  text-transform: capitalize; 
  font-weight: 500; 
}

#tableau td:hover {
  background-color: #e0e0e0;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#tableau tbody tr {
  animation: fadeIn 0.5s ease-in-out; 
  animation-fill-mode: both;
}

#tableau tbody tr:nth-child(1) { animation-delay: 0.1s; }
#tableau tbody tr:nth-child(2) { animation-delay: 0.2s; }
#tableau tbody tr:nth-child(3) { animation-delay: 0.3s; }
#tableau tbody tr:nth-child(4) { animation-delay: 0.4s; }
#tableau tbody tr:nth-child(5) { animation-delay: 0.5s; }
#tableau tbody tr:nth-child(6) { animation-delay: 0.6s; }
#tableau tbody tr:nth-child(7) { animation-delay: 0.7s; }
#tableau tbody tr:nth-child(8) { animation-delay: 0.8s; }
#tableau tbody tr:nth-child(9) { animation-delay: 0.9s; }
#tableau tbody tr:nth-child(10) { animation-delay: 0.9s; }









/* */

#second-div {
  margin-top: 10vh;
  text-align: center;
  margin: 30px auto;
  padding: 20px;
}

#second-div h1 {
  margin-top: 8vh;
  font-family: "Nanum Myeongjo", serif;
  font-size: 2.5em;
  margin-bottom: 10px;
}

#second-div p {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 20px;
}


.container {
  margin: 30px auto;
  width: 1080px;
}
.slider-wrapper {
  position: relative;
}
.slider-wrapper .slide-button {
  position: absolute;
  top: 50%;
  outline: none;
  border: none;
  height: 60px; 
  width: 60px;
  z-index: 5;
  display: flex;
  cursor: pointer;
  font-size: 0; 
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.9); 
  background-color: rgba(255, 255, 255, 0.9); 
}

.slider-wrapper .slide-button:hover {
  background-color: rgba(0, 0, 0, 0.084); 
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.slider-wrapper .slide-button img {
  align-items: center;
  height: 25px; 
  width: 25px;
  object-fit: contain; 

}

.slider-wrapper .slide-button#prev-slide {
  left: -25px;
}

.slider-wrapper .slide-button#next-slide {
  right: -25px;
}
.slider-wrapper .image-list {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 18px;
  font-size: 0;
  list-style: none;
  margin-bottom: 30px;
  overflow-x: auto;
  scrollbar-width: none;
}
.slider-wrapper .image-list::-webkit-scrollbar {
  display: none;
}
.slider-wrapper .image-list .image-item {
  width: 325px;
  height: 500px;
  object-fit: cover;
}
.container .slider-scrollbar {
  margin: 0 auto 0;
  height: 24px;
  width: 97%; 
  display: flex;
  align-items: center;
}
.slider-scrollbar .scrollbar-track {
  margin: 0 auto 0;
  background: #ccc;
  width: 97%;
  height: 2px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  position: relative;
}
.slider-scrollbar:hover .scrollbar-track {
  height: 4px;
}
.slider-scrollbar .scrollbar-thumb {
  position: absolute;
  background: #000;
  top: 0;
  bottom: 0;
  width: 15%;
  height: 100%;
  cursor: grab;
  border-radius: inherit;
}
.slider-scrollbar .scrollbar-thumb:active {
  cursor: grabbing;
  height: 8px;
  top: -2px;
}
.slider-scrollbar .scrollbar-thumb::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  bottom: -10px;
}


/* color message */
.red{
  color: red;
}
.green{
  color: green;
}




/* Contact.php */
form {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 50px auto;
  padding: 30px;
  background-color: #f9f9f9; 
  border-radius: 8px;
  border: 2px dashed #000; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#en-tete, #mail, #message, #Envoie {
  margin-bottom: 25px;
}

label {
  font-size: 14px;
  color: #000; 
  display: block;
  margin-bottom: 8px;
  font-family: 'Helvetica Neue', sans-serif; 
  font-weight: 500;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  border: 1px solid #000;
  border-radius: 4px;
  margin-top: 5px;
  box-sizing: border-box;
  background-color: transparent;
  font-family: 'Helvetica Neue', sans-serif;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #555; 
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 150px; 
}

input::placeholder,
textarea::placeholder {
  color: #999; 
  font-style: italic; 
}

span {
  color: rgba(255, 0, 0, 0.6); 
  font-size: 12px;
  margin-left: 5px;
}

input[type="submit"] {
  padding: 14px 20px;
  background-color: #000; 
  color: #fff;
  border: 2px solid #000; 
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 600;
  text-transform: uppercase; 
  letter-spacing: 1px; 
  transition: background-color 0.3s, color 0.3s;
}

input[type="submit"]:hover {
  background-color: transparent;
  color: #000; 
}
/* Style de la section du formulaire */
.case_fomulaire {
  margin-bottom: 25px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  border: 2px dashed #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Titre de la section */
.case_fomulaire label:first-of-type {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  font-family: 'Helvetica Neue', sans-serif;
  display: block;
  margin-bottom: 10px;
}

/* Conteneur des boutons radio */
.radio-group {
  margin: 30px auto;
  gap: 12px;
}

/* Style des labels */
.radio-group label {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Helvetica Neue', sans-serif;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}

/* Style des boutons radio */
.radio-group input[type="radio"] {
  appearance: none;
  width: 15px;
  height: 15px;
  border: 2px solid #000;
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
}

.radio-group input[type="radio"]::before {
  content: "";
  width: 12px;
  height: 12px;
  background: transparent;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: background 0.2s ease-in-out;
}

/* Effet de sélection */
.radio-group input[type="radio"]:checked::before {
  background: #000;
}

/* Effet au survol */
.radio-group label:hover {
  color: #00000072; 
}





/* Galerie.php */
.galery {
  column-count: 3;
  column-gap: 15px;
  padding: 0 10px;
}

.galery a {
  display: block;
  break-inside: avoid;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galery a img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}


.galery a:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.galery a:hover img {
  transform: scale(1.1);
}


.galery a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

.galery a:hover::after {
  opacity: 1;
}

.galery-image {
  margin-top: 15px;
  break-inside: avoid;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px;
  background-size: cover;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galery-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.galery-image:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.galery-image:hover img {
  transform: scale(1.1);
}

.galery-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

.galery-image:hover::after {
  opacity: 1;
}

.galery-image .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.2em;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.galery-image:hover .overlay-text {
  opacity: 1;
}

@media (max-width: 1024px) {
  .galery {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  .galery {
    column-count: 1;
  }
}
.form-telechargement {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 400px;
  margin: auto;
  margin-top: 5vh;
  margin-bottom: 5vh;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-telechargement label {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  padding: 12px 20px;
  border: 2px solid #333;
  border-radius: 8px;
  background-color: #fff;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.form-telechargement label:hover {
  background-color: #333;
  color: #fff;
  border-color: #333;
  transform: translateY(-2px);
}

.form-telechargement input[type="file"] {
  display: none;
}

.form-telechargement input[type="submit"] {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-telechargement input[type="submit"]:hover {
  background-color: #555;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}
.message-container {
  position: fixed;
  top: 20px;
  right: 20px; 
  z-index: 1000;
}

.message {
  background: #ffffff;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 16px;
  text-align: center;
  font-family: 'Josefin Sans', sans-serif;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid #000; 
  max-width: 300px;
  width: auto;
  opacity: 0; 
  transform: translateY(-100%); 
  animation: slideIn 0.5s ease-out forwards;
}

/* Style pour un message de succès */
.message.success {
  margin: 30px auto;
  background-color: #f0fff4; 
  color: #155724;
  border-color: #155724; 
}

/* Style pour un message d'erreur */
.message.error {
  margin: 30px auto;
  background-color: #fff0f0;
  color: #721c24;
  border-color: #721c24; 
}

/* Animation d'entrée */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation de sortie */
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.message-container.fade-out .message {
  animation: fadeOut 0.5s ease-in forwards;
}


/* partenaire.php*/
#partenaires{
  margin: 30px auto;
  width: 1080px;
  margin-top: 10vh;
  margin-bottom: 15vh;
}
#partenaires h1{
  font-family: "Nanum Myeongjo", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 3.5em;
  margin-bottom: 2.5vh;
}
#partenaires p{
  font-size: 1.5em;
  margin-bottom: 2vh;
}
/* Présentation des partenaires */
#presentation {
  display: flex;
  flex-wrap: wrap;  
  gap: 40px;        
  padding: 40px;
  margin: 0 auto;
  width: 1080px;
}

/* Bloc de partenaire */
.partenaire-block {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 30px;
  width: 40%;       
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.partenaire-block:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.partenaire-block img {
  width: 250px;
  height: auto;
  margin-bottom: 20px;
  object-fit: cover;
  border: 4px solid #000000;
}

.partenaire-block p {
  margin-top: 5vh;
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}

.icons {
  margin-top: 5vh;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.icons a, .icons i {
  color: #555;
  font-size: 30px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.icons a:hover, .icons i:hover {
  color: #000000;
  transform: scale(1.2);
}

.icons .fa-heart.active {
  color: #ff0000; 
}


.sae106 {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 5vh;
}

.btn-pdf {
  background-color: #000000;
  color: white;
  padding: 15px 32px;
  font-size: 18px;
  cursor: pointer;
  border: none;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.btn-pdf:hover {
  background-color: #000000cd;
}
.logo_agence {
  display: flex;
  justify-content: center; 
  align-items: center;  
  margin: 25vh auto 0;      
  width: 400px;
  height: auto;
  text-align: center;  
}

.logo_agence img {
  max-width: 100%;  
  height: auto;
}




/* Footer */
footer {
  background-color: #f9f9f9; 
  width: auto;
  padding: 40px 20px; 
  text-align: center; 
  border-top: 2px solid #ccc; 
  color: #333; 
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  width: 100%;
}

footer #IMG-REF img {
  width: auto; 
  margin-bottom: 5px; 
}

footer h1 {
  font-size: 1em;
  margin-bottom: 20px;
  color: #000; 
}

#part{
  text-decoration: none;
  color: #000;
  font-weight: bold;
  transition: color 0.4s, text-decoration 0.4s;
}
#part:hover{
  color: #000; 
  text-decoration: underline; 
}

footer #first-footer {
  display: flex;
  justify-content: space-around; 
  gap: 50px; 
  margin-bottom: 30px;
}

footer #first-footer div {
  text-align: center; 
}

footer #first-footer h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

footer #first-footer p {
  margin: 5px 0; 
}

footer #first-footer a {
  color: #000; 
  text-decoration: none; 
  font-weight: bold;
  transition: color 0.4s, text-decoration 0.4s;
}

footer #first-footer a:hover {
  color: #000; 
  text-decoration: underline; 
}

footer div ul {
  text-align: center;
  list-style: none; 
  padding: 20px 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 40px; 
  border-top: 2px solid #ccc;
  width: 40%;
}

footer div ul li {
  font-size: 1em;
}

footer div ul p {
  margin: 0;
}




#credit {
  margin: 30px auto;
  width: 1080px;
}
table {
  margin-bottom: 15vh;
  width: 100%;
  border-collapse: collapse;
  margin-top: 30vh;
  background-color: #fff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
th, td {
  border: 1px solid #ddd;
  padding: 15px;
  text-align: left;
  transition: background-color 0.3s ease;
}
th {
  background-color: #f8f9fa;
  font-weight: bold;
}
td:hover {
  background-color: #f1f1f1;
}
a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  text-decoration: underline;
  color: #0056b3;
}