@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Creepster&display=swap");
@font-face {
  font-family: "Abang";
  src: url("../fonts/abang/Abang.otf") format("opentype");
}

:root {
  --bg-dark: #0f0a0a;
  --bg-dark-red: #2a0505;
  --accent-red: #8b0000;
  --light-red: #c47777;
  --text-light: #f5f5f5;
  --text-dark: #1a1a1a;
  --shadow: rgba(0, 0, 0, 0.5);
}

html,
body {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/fond.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  font-family: "Poppins", sans-serif;
  color: var(--text-light);
}

/* style du HEADER */
header {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 10vh auto 0;
  z-index: 600;
  position: relative;
}

/* Styles généraux pour le menu */
.menu {
  padding: 0;
  margin: 0;
}

.menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  display: block;
  text-decoration: none;
  color: white;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--accent-red);
  border-radius: 4px;
  width: max-content;
  box-shadow: 0 4px 8px var(--shadow);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu li a {
  display: block;
  color: var(--text-light);
  background-color: var(--accent-red);
  border-radius: 4px;
  white-space: nowrap;
  padding: 10px 15px;
  transition: background-color 0.2s ease;
}

.dropdown-menu li a:hover {
  background-color: var(--bg-dark-red);
}

.dropdown:hover .dropdown-menu {
  display: block;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

header nav {
  display: flex;
  font-family: "Abang";
  font-weight: 600;
  border-radius: 4px;
  width: 100%;
  justify-content: center;
  background-color: rgba(64, 22, 22, 0.8);
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

header nav button {
  font-family: "Abang";
  font-weight: 600;
  border: none;
  text-transform: uppercase;
  background-color: var(--bg-dark-red) !important;
}

header nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
}

header nav ul li {
  display: inline;
  margin: 5px 10px;
}

header nav ul li a {
  background-color: var(--light-red);
  color: var(--bg-dark-red);
  text-decoration: none;
  padding: 10px 15px;
  font-size: 20px;
  display: inline-block;
  border-radius: 5px;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

header nav ul li a:hover {
  background-color: var(--accent-red);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

/* FIN du style du HEADER */

/* style du FOOTER */

footer {
  background: linear-gradient(to top, #0a0101, rgba(42, 5, 5, 0.9));
  color: var(--text-light);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.7);
  margin-top: 50px;
  width: 100%;
  padding: 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    to right,
    transparent,
    var(--accent-red),
    transparent
  );
  box-shadow: 0 0 10px rgba(139, 0, 0, 0.8);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  margin: 0 20px 20px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-section:hover {
  transform: translateY(-5px);
}

.footer-section h4 {
  font-family: "Creepster", cursive;
  color: var(--light-red);
  font-size: 1.8rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.footer-section h4::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--accent-red);
  box-shadow: 0 0 5px rgba(139, 0, 0, 0.8);
}

.footer-section.about p {
  line-height: 1.6;
  margin-bottom: 20px;
  color: #ccc;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
  max-width: 90%;
  text-align: center;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--bg-dark-red);
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--accent-red);
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.footer-section.links ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.footer-section.links li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 0;
  transition: transform 0.2s ease;
  text-align: center;
}

.footer-section.links li:hover {
  transform: translateY(-5px);
}

.footer-section.links li::before {
  display: none;
}

.footer-section.links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
  padding: 5px 15px;
}

.footer-section.links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--light-red);
  transition: width 0.3s ease;
}

.footer-section.links a:hover {
  color: var(--light-red);
}

.footer-section.links a:hover::after {
  width: 80%;
}

.footer-section.contact-info p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  color: #ccc;
}

.footer-section.contact-info i {
  margin-right: 10px;
  color: var(--accent-red);
}

.footer-bottom {
  background-color: rgba(10, 1, 1, 0.95);
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
  position: relative;
  border-top: 1px solid rgba(139, 0, 0, 0.3);
}

.footer-bottom p {
  margin: 0;
  color: #999;
}

.footer-bottom a {
  color: var(--light-red);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-bottom a:hover {
  color: white;
  text-shadow: 0 0 5px rgba(139, 0, 0, 0.8);
}

@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    padding: 30px 15px;
    align-items: center;
  }

  .footer-section {
    margin-bottom: 30px;
    max-width: 90%;
  }

  .footer-bottom {
    padding: 15px;
  }
}

/* styles de la page */

main {
  margin: 0 auto;
  text-align: center;
  width: 100%;
  max-width: 1080px;
  padding: 0 20px;
  flex: 1;
  color: var(--text-light);
}

h1 {
  font-family: "Creepster", cursive;
  background-color: var(--accent-red);
  width: auto;
  display: inline-block;
  margin: 20px auto;
  border-radius: 20px;
  padding: 15px 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: pulse 4s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 10px 2px rgba(139, 0, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 20px 5px rgba(139, 0, 0, 0.8);
  }
  100% {
    box-shadow: 0 0 10px 2px rgba(139, 0, 0, 0.5);
  }
}

.typing-container_accueil {
  background-color: rgba(64, 22, 22, 0.9);
  border-radius: 20px;
  color: var(--text-light);
  width: 100%;
  max-width: 800px;
  margin: auto;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
}

.typing-container_galerie {
  background-color: rgba(64, 22, 22, 0.9);
  border-radius: 20px;
  color: var(--text-light);
  width: 100%;
  max-width: 900px;
  margin: auto;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.typing-container_contact {
  background-color: #401616;
  border-radius: 20px;
  color: rgb(228, 221, 221);
  width: 500px;
  margin: auto;
  height: 150px;
}

.typing-container_partenaires {
  background-color: #401616;
  border-radius: 20px;
  color: rgb(228, 221, 221);
  width: 800px;
  margin: auto;
  padding: 20px;
}

/* div.dt-container select.dt-input {
  background-color: #aaaaaa;
  color: #401616;
  font-weight: bold;
} */

div.dt-container .dt-input {
  background-color: #946666;
}
div.dt-container .dt-paging button.dt-paging-button {
  /* boutons qui ne sont pas le bouton de la page actuelle  */
  background-color: #946666a9;
  color: white !important;
  text-transform: uppercase !important;
  border-radius: 5px;
  margin: 5px;
  cursor: pointer;
}

div.dt-container .dt-paging button.dt-paging-button:hover {
  background-color: #946666a9 !important;
  color: white !important;
  text-transform: underline !important;
  border-radius: 5px;
  margin: 5px;
  cursor: pointer;
}

div.dt-container .dt-paging .dt-paging-button:hover {
  background-color: #946666a9;
  color: white !important;
  text-transform: underline !important;
  border-radius: 5px;
  margin: 5px;
  cursor: pointer;
}

div.dt-container .dt-paging .dt-paging-button.disabled,
div.dt-container .dt-paging .dt-paging-button.disabled:hover,
div.dt-container .dt-paging .dt-paging-button.disabled:active {
  color: white !important;
  background-color: #946666a9;
  border-radius: 5px;
  cursor: pointer;
}

div.dt-container .dt-paging button.dt-paging-button.current {
  color: white !important;
  background-color: #946666a9;
  border-radius: 5px;
}

.dt-buttons .dt-button {
  background-color: #946666 !important;
  color: white !important;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  margin: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.dt-buttons .dt-button:hover {
  transform: scale(1.05);
  background-color: #946666a9 !important;
}

.dt-button-info {
  background-color: #946666 !important;
  color: white !important;
  border: none;
  border-radius: 15px;
  padding: 8px 15px;
  margin: 5px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

#dt-search-0 {
  background-color: #aaaaaa;
  color: #401616;
  font-weight: bold;
}

td {
  border-radius: 8px;
}

table {
  border-color: #220303;
}

thead {
  background-color: #7d6060;
  color: #401616;
}

.dt-orderable-asc {
  border-radius: 8px;
}

tbody {
  background-color: #b28c8c;
  color: #9c1616;
}

.homeImg-container {
  width: 100%;
  height: 750px;
  overflow: hidden;
  position: relative;
}

.homeImg {
  width: 100%;
  height: auto;
  display: block;
  position: absolute;
  top: auto 0;
  left: 0;
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;

  -webkit-mask-image: radial-gradient(
    circle,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: radial-gradient(
    circle,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-size: cover;

  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.Img {
  margin-left: auto;
  margin-right: auto;
  border-radius: 15px;
}

.Img :hover {
  background-color: #240000;
  height: 500px;
  width: 500px;
}

.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.element-galerie {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  aspect-ratio: 1/1;
}

.element-galerie:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(139, 0, 0, 0.6);
}

.image-galerie {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.element-galerie:hover .image-galerie {
  transform: scale(1.1);
}

form {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(42, 5, 5, 0.7);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

#en-tete {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-left: auto;
  margin-right: auto;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-light);
  text-align: left;
}

input[type="text"],
input[type="email"],
input[type="file"],
select {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--accent-red);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.9);
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-red);
  box-shadow: 0 0 8px rgba(139, 0, 0, 0.6);
}

textarea {
  width: 100%;
  height: 150px;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--accent-red);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.9);
  font-family: "Poppins", sans-serif;
  resize: vertical;
}

input[type="submit"] {
  background-color: var(--accent-red);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

input[type="submit"]:hover {
  background-color: #650000;
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

/* /* textarea:active, */
textarea:hover {
  height: 170px;
  border: 5px solid #2400007e;
}

input[type="submit"] {
  display: block;
  width: 100%;
  height: 40px;
  margin-left: auto;
  margin-right: auto;
}

input[type="text"],
input[type="email"] {
  width: 100%;
}
div.form-container */ #button {
  display: block;
  width: 100%;
  height: 15px;
  margin-left: auto;
  margin-right: auto;
}

@-webkit-keyframes extend {
  0% {
    width: 480px;
    height: 50px;
    border-radius: 100px;
  }
  10% {
    width: 480px;
    height: 50px;
    background: #9c1e1e;
    margin-left: -5px;
    margin-top: -5px;
  }
  20% {
    width: 480px;
    height: 50px;
    background: #470000;
    margin-left: 0px;
    margin-top: 0px;
  }
  100% {
    width: 200px;
    height: 50px;
    border-radius: 100px;
    margin-left: 190px;
    background: #8e0000;
  }
}

@-webkit-keyframes1 disappear {
  0% {
    opacity: 1;
  }
  20% {
    color: #fff;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes appear {
  0% {
    opacity: 0;
  }
  70% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

input,
div.contact-form button,
submit {
  border: none;
}

.cont {
  position: absolute;
  width: 480px;
  height: 10px;
  left: 50%;
  top: 50%;
  margin: -100px 0 0 -300px;
}

div.contact-form button {
  border-width: 1px;
  width: 480px;
  height: 50px;
  border-radius: 100px;
  background: #946666;
  position: absolute;
  border: 5px solid #240000;
}

div.conctact-form button > span {
  font-size: 48px;
  color: #b51111;
}

/* FIN du style de la page */

/* Style des gouttes de sang */
.blood-drop {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: rgba(139, 0, 0, 0.8);
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
  z-index: 9999;
  animation: fall var(--fall-speed, 1s) ease-in forwards;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.5));
}

@keyframes fall {
  0% {
    transform: translateY(0) rotate(45deg) scale(1);
    opacity: 1;
  }
  70% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(100px) rotate(45deg) scale(1.5);
    opacity: 0;
  }
}

/* Réinitialisation */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Style global */

/* Loader */
.loader {
  display: none !important;
}

.loader-logo {
  display: none !important;
}

@keyframes zoomIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Animation d'entrée du contenu toujours visible */
.content-animation p,
.content-animation ul {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: none !important;
}

/*Page Partenaires*/

.highlight {
  color: var(--accent-color);
}

h2 {
  background-color: #946666;
  width: 228px;
  margin: auto;
  border-radius: 20px;
  text-align: center;
  line-height: 50px;
}

h3 {
  background-color: #946666;
  border-radius: 20px;
}

/*Partenaires*/
.partenaire {
  display: inline-block;
  vertical-align: top;
  width: 30%;
  margin: 1%;
  transition: all 0.3s ease;
}

.partenaire .bg-img {
  position: relative;
  width: 100%;
  height: 700px;
  background-size: cover;
  background-position: center;
}

.partenaire .info {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

.bg-img {
  background-repeat: no-repeat;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.partenaire-photo {
  width: 228px;
  height: 353px;
  display: block;
  margin: 0 auto;
  padding: 60px 0;
}

.team-name {
  text-align: center;
  margin-top: -40px;
  background-color: #946666;
  border-radius: 15px;
  padding: 10px;
}

.info {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  width: 100%;
  padding: 10px;
  margin-bottom: 40px;
  box-sizing: border-box;
}

.team-link {
  position: absolute;
  bottom: 0;
  left: 46%;
  transform: translateX(-50%);
  background-color: #946666;
  padding: 10px 15px;
  border-radius: 20px;
  color: var(--accent-color);
  margin: 10px;
  z-index: 10000000000000;
}

.partenaire:hover {
  transform: scale(1.1);
  z-index: 10;
}

.pdf-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin: 20px 0;
}

.pdf-item {
  background-color: var(--background-color);
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  flex: 1;
}

.pdf-item h3 {
  font-size: 24px;
  color: var(--accent-color);
  margin: 30px 0;
}

.pdf-item embed {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 10px;
}

.team-subject {
  font-size: 18px;
  display: flex;
  justify-content: center;
}

.button {
  --width: 125px;
  --height: 35px;
  --tooltip-height: 35px;
  --tooltip-width: 90px;
  --gap-between-tooltip-to-button: 18px;
  --button-color: #1163ff;
  --tooltip-color: #fff;
  width: var(--width);
  height: var(--height);
  background: var(--button-color);
  position: relative;
  text-align: center;
  border-radius: 0.45em;
  font-family: "Arial";
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.button::before {
  position: absolute;
  content: attr(data-tooltip);
  width: var(--tooltip-width);
  height: var(--tooltip-height);
  background-color: var(--tooltip-color);
  font-size: 0.9rem;
  color: #111;
  border-radius: 0.25em;
  line-height: var(--tooltip-height);
  bottom: calc(var(--height) + var(--gap-between-tooltip-to-button) + 10px);
  left: calc(50% - var(--tooltip-width) / 2);
}

.button::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: var(--tooltip-color);
  left: calc(50% - 10px);
  bottom: calc(100% + var(--gap-between-tooltip-to-button) - 10px);
}

.button::after,
.button::before {
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
}

.text {
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-wrapper,
.text,
.icon {
  overflow: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  color: #fff;
}

.text {
  top: 0;
}

.text,
.icon {
  transition: top 0.5s;
}

.icon {
  color: #fff;
  top: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon svg {
  width: 24px;
  height: 24px;
}

.button:hover {
  background: #6c18ff;
}

.button:hover .text {
  top: -100%;
}

.button:hover .icon {
  top: 0;
}

.button:hover:before,
.button:hover:after {
  opacity: 1;
  visibility: visible;
}

.button:hover:after {
  bottom: calc(var(--height) + var(--gap-between-tooltip-to-button) - 20px);
}

.button:hover:before {
  bottom: calc(var(--height) + var(--gap-between-tooltip-to-button));
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  header {
    margin-top: 5vh;
  }

  header nav {
    flex-direction: column;
    padding: 5px;
  }

  header nav ul {
    flex-direction: column;
    align-items: center;
  }

  header nav ul li {
    margin: 5px 0;
  }

  .typing-container_accueil,
  .typing-container_galerie {
    max-width: 95%;
    padding: 15px;
  }

  h1 {
    font-size: 1.5rem;
    padding: 10px 20px;
  }

  .galerie {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  footer {
    flex-direction: column;
    padding: 10px 0;
  }
}

/* Styles pour les éléments ajoutés sur la page d'accueil */
.content-animation {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.accent-text {
  color: #ff6b6b;
  font-weight: 700;
}

.horror-features {
  text-align: left;
  list-style-type: none;
  padding: 0;
  margin: 20px 0;
}

.horror-features li {
  margin: 12px 0;
  padding-left: 35px;
  position: relative;
}

.icon-horror {
  position: absolute;
  left: 0;
  font-size: 1.5rem;
}

.closing-text {
  font-size: 1.2em;
  margin-top: 25px;
  font-style: italic;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.horror-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--accent-red);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.horror-button:hover {
  transform: translateY(-3px);
  background-color: #650000;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.horror-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.horror-button:hover::before {
  left: 100%;
}

/* Films à l'affiche */
.featured-movies {
  margin-top: 50px;
  padding: 30px;
  background-color: rgba(42, 5, 5, 0.7);
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.featured-movies h2 {
  margin-bottom: 30px;
  font-family: "Creepster", cursive;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.movie-card {
  background-color: rgba(10, 10, 10, 0.7);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(139, 0, 0, 0.5);
}

.movie-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.movie-card:hover img {
  transform: scale(1.05);
}

.movie-info {
  padding: 15px;
  text-align: center;
}

.movie-info h3 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  color: var(--text-light);
}

.rating {
  color: #ffc107;
  font-size: 1.2rem;
}

/* Responsive pour les films à l'affiche */
@media screen and (max-width: 768px) {
  .movie-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }

  .movie-card img {
    height: 200px;
  }

  .featured-movies {
    padding: 15px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .horror-button {
    width: 80%;
    text-align: center;
  }
}

/* Styles améliorés pour la galerie */
.gallery-intro {
  margin-bottom: 20px;
}

.upload-container {
  background-color: rgba(30, 5, 5, 0.6);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.upload-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.file-input-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.file-label {
  background-color: var(--accent-red);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.file-label:hover {
  background-color: #650000;
  transform: translateY(-2px);
}

.file-input {
  display: none;
}

.file-name {
  color: #d5d5d5;
  font-style: italic;
  padding-left: 10px;
}

.submit-btn {
  background-color: var(--accent-red);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.submit-btn:hover {
  background-color: #650000;
  transform: translateY(-2px);
}

.upload-message {
  margin-top: 10px;
  font-weight: bold;
  color: #4caf50;
}

.filter-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: rgba(42, 5, 5, 0.7);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--accent-red);
  transform: translateY(-2px);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
  padding: 15px;
  box-sizing: border-box;
}

.element-galerie:hover .image-overlay {
  opacity: 1;
}

.image-title {
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
  text-transform: capitalize;
}

.image-actions {
  display: flex;
  gap: 10px;
}

.action-btn {
  background-color: var(--accent-red);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.action-btn:hover {
  background-color: #650000;
  transform: scale(1.05);
}

/* Modal pour zoom sur les images */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
}

.close-modal {
  color: #f1f1f1;
  position: absolute;
  top: 15px;
  right: 35px;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10000;
}

.close-modal:hover {
  color: var(--accent-red);
}

.modal-content {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border: 2px solid var(--accent-red);
  box-shadow: 0 0 20px rgba(139, 0, 0, 0.5);
}

#modalCaption {
  margin-top: 15px;
  color: white;
  text-align: center;
  font-size: 1.2rem;
}

.no-images {
  text-align: center;
  padding: 30px;
  background-color: rgba(30, 5, 5, 0.6);
  border-radius: 10px;
  margin-top: 20px;
}

.no-images p {
  margin: 10px 0;
}

@media screen and (max-width: 768px) {
  .filter-container {
    flex-direction: column;
    align-items: center;
  }

  .filter-btn {
    width: 80%;
  }

  .modal-content {
    max-width: 95%;
  }

  .file-input-container {
    width: 100%;
  }

  .submit-btn {
    width: 100%;
  }
}

/* Styles pour la page de crédits */
.credits-container {
  max-width: 1000px;
}

.credits-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
}

.credit-section {
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 30px;
}

.credit-section h2 {
  color: var(--light-red);
  font-family: "Creepster", cursive;
  margin-bottom: 20px;
  text-align: left;
  background: none;
  padding: 0;
  width: 100%;
  position: relative;
  padding-left: 35px;
}

.credit-section h2::before {
  content: "🔍";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.credit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.credit-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.credit-item {
  background-color: rgba(42, 5, 5, 0.7);
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.credit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(139, 0, 0, 0.3);
}

.credit-item h3 {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 10px;
  background: none;
  text-align: left;
  padding: 0;
  border-bottom: 1px solid var(--accent-red);
  padding-bottom: 8px;
}

.credit-role,
.credit-description {
  color: #ccc;
  font-style: italic;
  margin-bottom: 8px;
}

.credit-author {
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--light-red);
}

.credit-link a {
  color: var(--text-light);
  text-decoration: none;
  display: inline-block;
  background-color: var(--accent-red);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.credit-link a:hover {
  background-color: var(--bg-dark-red);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.credit-link a::after {
  content: " →";
}

@media screen and (max-width: 768px) {
  .credit-grid {
    grid-template-columns: 1fr;
  }

  .credit-section h2 {
    font-size: 1.4rem;
  }

  .credits-container {
    padding: 15px;
  }
}

/* Styles pour la page contact */
.contact-container {
  max-width: 800px;
  width: 100%;
  padding: 40px;
}

.form-container {
  width: 100%;
}

.form-container form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  background-color: rgba(42, 5, 5, 0.7);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.en-tete {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.form-group {
  width: 100%;
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-family: "Abang", sans-serif;
  margin-bottom: 10px;
  color: var(--light-red);
  font-size: 1.1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.required {
  color: var(--accent-red);
  font-size: 1.2rem;
  margin-left: 5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(139, 0, 0, 0.5);
  border-radius: 5px;
  background-color: rgba(30, 10, 10, 0.7);
  color: var(--text-light);
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(200, 200, 200, 0.6);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-red);
  box-shadow: 0 0 10px rgba(139, 0, 0, 0.4), inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Style du select */
.request-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238B0000' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 15px) center;
  padding-right: 40px;
  cursor: pointer;
}

.request-select::-ms-expand {
  display: none;
}

.request-select option {
  background-color: rgba(30, 10, 10, 0.95);
  color: var(--text-light);
}

/* Style du bouton d'envoi */
.form-submit {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.submit-btn {
  background: linear-gradient(to bottom, var(--accent-red), #650000);
  color: white;
  border: none;
  padding: 15px 40px;
  font-family: "Creepster", cursive;
  font-size: 1.3rem;
  letter-spacing: 1px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(139, 0, 0, 0.6);
  background: linear-gradient(to bottom, #a02727, var(--accent-red));
}

.submit-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.submit-btn:hover::before {
  left: 100%;
}

/* Message d'erreur */
.error-message {
  color: var(--accent-red);
  margin-top: 15px;
  font-weight: 500;
  text-align: center;
}

/* Media queries */
@media screen and (max-width: 768px) {
  .en-tete {
    flex-direction: column;
    gap: 10px;
  }

  .contact-container {
    padding: 20px;
  }

  .form-container form {
    padding: 20px;
  }

  .submit-btn {
    width: 100%;
  }
}
