body {
background-image: url("/images/autre/J59.gif") ;
background-repeat: no-repeat;
background-size: cover;
margin: 0 auto;
background-position: center;
}

a {
  text-decoration: none;
}

.midgarsettings {
  background-image: url("/images/galerie/midgar.jpg");
  height: 90vh;
  max-height: 300vh;
  min-height: 50vh;
  background-size: cover;
  position: sticky;
  top: 0;
  transition: height 0.3s ease-out;
  width: 100%;
  background-size: 100%;
  font-family: 'finalf', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-repeat: no-repeat;
  text-align: center;
  color: rgb(204, 204, 204);
}

.midgarsettings2 {
  background-image:url("/images/galerie/ShinraCompanyBackgroundV3.jpg") ;
  background-size: cover;
  position: sticky;
  top: 0;
  transition: height 0.3s ease-out;
  width: 100%;
  background-size: 100%;
  font-family: 'finalf', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-repeat: no-repeat;
  text-align: center;
  color: rgb(204, 204, 204);
}

header {
  background-image:url("/images/galerie/midgar.jpg") ;
  height: 98px;
  width: 100%;
}

nav img {
  width: 194px;
}

h1 {
  text-align: center;
  font-size: 50px;
  color: rgb(0, 0, 0);
  text-shadow: 0 0 15px rgba(0, 209, 255, 0.8), 0 0 30px rgba(0, 209, 255, 0.6); 
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  text-shadow: 0 0 5px #00daaa, 0 0 15px #00d1ff, 0 0 25px #00f798, 0 0 35px #00ac48;
}

h2 {
  text-align: center;
  color: rgb(0, 0, 0);
}

.banner {
  height: 100vh;
  max-height: 78vh;
  min-height: 50vh;
  background-size: cover;
  position: sticky;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: height 0.3s ease-out;
  width: 100%;
  background-image: url("/images/galerie/ShinraCompanyBackgroundV3.jpg");
  flex-direction: column;
}

/* Scroll effect using container */
html 
{
    scroll-behavior: smooth;
}

html:has(.recap:in-viewport) .banner
{
    height: 50vh; /* Locks to 50% when .recap comes into view */
}

.midgar {
  width:1920px;
}

p {
  text-align: center;
  color: rgb(204, 204, 204);
  width: 1080px;
  margin-right: auto;
  margin-left: auto;
}

/*.rainbow-border {
  padding: 5px;
  background: linear-gradient(45deg,
      red,
      orange,
      yellow,
      green,
      blue,
      indigo,
      violet);
  background-size: 300%;
  animation: rainbow 3s linear infinite;
}*/

.normal {
  display: flex;
  position: absolute;
  height: 75px;
}

/*@keyframes rainbow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}*/

header nav ul {
  display: flex;
  justify-content: center;
  flex-direction: row;
  position: relative;
}

.bouton1 {

  width: 200px !important;
  height: 250px !important;
  background: url('../images/autre/accueil.png') no-repeat;
  background-size: 100% auto;  /* Ajuste la taille pour éviter que les autres états ne soient visibles */
  background-position:  0px -82px; /* Affiche seulement l'état normal (milieu) */
  border: none;
  cursor: pointer;
  outline: none;
  display: block;
  text-indent: -9999px;

}

/* État survol */
.bouton1:hover {
  background-position: 0px 14px;
}

/* État pressé (clic) */
.bouton1:active {
  background-position: 0px -175px; /* Affiche la partie du bas */
}

.bouton2 {

  width: 200px !important;
  height: 250px !important;
  background: url('../images/autre/donnees.png') no-repeat;
  background-size: 100% auto;  /* Ajuste la taille pour éviter que les autres états ne soient visibles */
  background-position:  0px -82px; /* Affiche seulement l'état normal (milieu) */
  border: none;
  cursor: pointer;
  outline: none;
  display: block;
  text-indent: -9999px;
}

/* État survol */
.bouton2:hover {
  background-position: 0px 14px;
}

/* État pressé (clic) */
.bouton2:active {
  background-position: 0px -175px; /* Affiche la partie du bas */
}

.bouton4 {

  width: 200px !important;
  height: 250px !important;
  background: url('../images/autre/contact.png') no-repeat;
  background-size: 100% auto;  /* Ajuste la taille pour éviter que les autres états ne soient visibles */
  background-position:  0px -82px; /* Affiche seulement l'état normal (milieu) */
  border: none;
  cursor: pointer;
  outline: none;
  display: block;
  text-indent: -9999px;
}

/* État survol */
.bouton4:hover {
  background-position: 0px 14px;
}

/* État pressé (clic) */
.bouton4:active {
  background-position: 0px -175px; /* Affiche la partie du bas */
}

.bouton3 {

  width: 200px !important;
  height: 250px !important;
  background: url('../images/autre/galerie.png') no-repeat;
  background-size: 100% auto;  /* Ajuste la taille pour éviter que les autres états ne soient visibles */
  background-position:  0px -82px; /* Affiche seulement l'état normal (milieu) */
  border: none;
  cursor: pointer;
  outline: none;
  display: block;
  text-indent: -9999px;
}

/* État survol */
.bouton3:hover {
  background-position: 0px 14px;
}

/* État pressé (clic) */
.bouton3:active {
  background-position: 0px -175px; /* Affiche la partie du bas */
}

.bouton5 {

  width: 200px !important;
  height: 250px !important;
  background: url('../images/autre/partenaires.png') no-repeat;
  background-size: 100% auto;  /* Ajuste la taille pour éviter que les autres états ne soient visibles */
  background-position:  0px -82px; /* Affiche seulement l'état normal (milieu) */
  border: none;
  cursor: pointer;
  outline: none;
  display: block;
  text-indent: -9999px;
}

/* État survol */
.bouton5:hover {
  background-position: 0px 14px;
}

/* État pressé (clic) */
.bouton5:active {
  background-position: 0px -175px; /* Affiche la partie du bas */
}

.backHeader {
  height: 200px;
  width: 100%;
  position: absolute;
  color: red;
}

header li {
  display: inline-block;
  margin-right: 10px;
}

td,th {
border: solid 1px rgb(255, 255, 255);
color: rgb(0, 0, 0);

}

/*table {
  background-color: white;
}*/

.table-container {
  padding: 0 5%;
  margin: 0 auto;
  width: 90%;
  box-sizing: border-box;
  border: 1px solid white;
  background-color: rgb(138, 138, 122);
  opacity: 75%;
  width: 1080px;
}

 .HeaderBar {
  background-color: rgb(134, 0, 0);
 height : 10px;
 }

 .shinralogo {
position: relative;
width: 320px;
}

main {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}

form {
  width: 360px;
  padding: 10px;
  display: flex;
  justify-content: center;
flex-direction: column;
  background-color: #6b6b6b;
  margin-left: auto;
  margin-right: auto;
  box-shadow: #00d18b, #035332;
  border: 2px solid rgb(0, 218, 145);
  box-shadow: 0 0 5px #00daaa, 0 0 15px #00d1ff, 0 0 25px #00f798, 0 0 35px #00ac48;
  border-radius: 10px;
}
form input[type="text"] {
  border-radius: 20px;
  padding: 1px 0;
  margin-right: 9px;
  width: 100%;
  z-index: 10;
}
 #en-tete{
  border-radius: 20px;
  display: flex;
 }

 #email{
  padding: 2px;
  margin: 2px;
  border-radius: 20px;
  display: block;
  width: 99%;
 }
 #message{
  border-radius: 20px;
display: block;
width: 99%;
height: 400px;
 }

#send{
  border-radius: 20px;
  display: block;
  background-color: rgb(0, 180, 141);
  width: 100%;
  border-color: #09caff;
  height: 50px;
  margin-top: 20px;
  border-radius: 5px;
  color: #fff;
  transition: border-radius 0.5s ease-in-out;
}

#send:hover {
border-radius: 20px;
}

#send:hover{
  border-radius: 20px;
  background-color: rgb(0, 145, 120);
  cursor: pointer;
}

#prenom,#nom {
  padding: 2px;
  margin: 2px;
}

fieldset {
  color: white;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  border-radius: 20px;
  border: 20px;
  width: 91%;
  justify-content: center;
  background-color: rgb(116, 116, 116);
  color: #222;
  display: inline-block;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.backform {
  background-image: url("/images/galerie/ShinraCompanyBackgroundV3.jpg");
  background-size: 100%;
  width: 100%;
  z-index: 10; /* Doit être plus grand que les boutons */
}

.footer2 {
  opacity: 1;
  visibility: visible;
  display: flex;
  justify-content: space-around;
  padding: 10px;
}

.milieu {
  background-image: url("/images/galerie/ShinraCompanyBackgroundV3.jpg");
  background-size: 100%;
  width: 1080px;
  z-index: 10; /* Doit être plus grand que les boutons */
}

.milieu p {
  text-align: center;
}

.mosaique {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
  width: 1040px;
}

.card {
  width: 180px;
  height: 180px;
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  transition: backdrop-filter 0.3s ease-in-out;
}

/* Ajout d'une image à l'intérieur de la carte */
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease-in-out;
}

/* Effet de flou uniquement sur l'image au survol de la carte */
.card:hover img {
  filter: blur(5px);
}

/* Cadre beige avec opacité */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(245, 245, 220, 0.5); /* Beige semi-transparent */
  z-index: 1;
}

/* Forme losange */
.cardContent {
  width: 140%;
  height: 140%;
  position: absolute;
  top: -20%;
  left: -20%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(45deg);
  background: inherit;
}

/* Le bouton reste intact, il n'est pas affecté par le flou */
.btn-donate {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 15px;
  background: #041215;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s;
}

.btn-donate:hover {
  background: #00d18b;
}

.cssbuttons-io-button {
  display: flex;
  align-items: center;
  font-family: inherit;
  font-weight: 500;
  font-size: 17px;
  padding: 0.8em 1.5em 0.8em 1.2em;
  color: white;
  background: #ad5389;
  background: linear-gradient(0deg, rgb(120, 47, 255) 0%, rgb(185, 132, 255) 100%);
  border: none;
  box-shadow: 0 0.7em 1.5em -0.5em rgb(184, 146, 255);
  letter-spacing: 0.05em;
  border-radius: 20em;
}

.cssbuttons-io-button svg {
  margin-right: 8px;
}

.cssbuttons-io-button:hover {
  box-shadow: 0 0.5em 1.5em -0.5em rgb(149, 91, 255);
}

.cssbuttons-io-button:active {
  box-shadow: 0 0.3em 1em -0.5em rgb(160, 109, 255);
}

footer {
  background-image:url("/images/galerie/midgar.jpg") ;
  color: white;
  text-align: left;
  padding: 20px 0;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
}

.footer-links {
  align-items: center;
  list-style: none;
  padding: 0;
  width: 40%;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.footer-links li {
  display: inline;
  margin: 0 15px;
}

.footer-links a {
  display: flex;
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 30px;
  border-radius: 30px;
  width: 60px;
  display: flex;
  justify-content: center;
  background-color: white;
  color: #222;
  display: inline-block;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.footer-links a:hover {
  text-decoration: firebrick;
  background-color: #00d18b;
  transform: scale(1.1);
}

.footer-text {
  margin-top: 10px;
  font-size: 14px;
}

.bodybackground {
  background-image:url("/images/autre/ort.jpg") ;
  background-size: cover;
  background-position: center;
}

h3 {
  text-align: center;
  text-shadow: 0 0 15px rgba(0, 209, 255, 0.8), 0 0 30px rgba(0, 209, 255, 0.6); 
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  text-shadow: 0 0 5px #00daaa, 0 0 15px #00d1ff, 0 0 25px #00f798, 0 0 35px #00d18b;
}
#specialLink
{
        display: none
}


/** PARTENAIRE */

.main-p {
  width: 1080px;
  margin: 0 auto;
}

.cards-p {
  display: grid;
  grid-gap: 30px;
  grid-template-columns: 1fr 1fr;
  color: white;
  position: relative;
  margin-bottom: 15px;

  .card-p {
      border: solid 2px white;
      border-radius: 30px;
      flex-basis: calc(50% - 15px);
      position: relative;
      height: 340px;
      width: 510px;
      transform: scale(1);
      transition: all 0.6s ease-in-out;

      .banner-p {
          border-radius: 27px 27px 0 0;
          width: 100%;
          height: 150px;
      }

      .group {
          text-align: center!important;
          font-size: 13px!important;
          font-style: normal!important;
          font-weight: normal!important;
          line-height: normal!important;
          letter-spacing: 3px!important;
          text-transform: capitalize!important;
          width: 100%!important ;
      }

      h2 {
          padding-left: 10px;
          text-align: center;
          color: white;
      }

  }

  .card-p:hover {
      transform: scale(1.1);
  }
}

.profile-image {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid red;
  background-color: white;
  left: -25px;
  top: 20px;
}


.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.container-pdf {
  padding: 0;
  margin: 20px;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.label {
  background-color: transparent;
  border: 2px solid rgb(91, 91, 240);
  display: flex;
  align-items: center;
  border-radius: 50px;
  width: 160px;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 5px;
  position: relative;
}

.label::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  width: 8px;
  height: 8px;
  transition: all 0.4s ease;
  border-radius: 100%;
  margin: auto;
  opacity: 0;
  visibility: hidden;
}

.label .input {
  display: none;
}

.label .title-btn {
  font-size: 12px!important;
  color: #fff;
  left: 60px;
  top: 20px;
  transition: all 0.4s ease;
  position: absolute!important;
  bottom: 20px!important;
  text-align: center!important;
}

.label .title-btn:last-child {
  opacity: 0;
  visibility: hidden;
}

.label .circle {
  height: 45px;
  width: 45px;
  border-radius: 50%;
  background-color: rgb(91, 91, 240);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: 0 0 0 0 rgb(255, 255, 255);
  overflow: hidden;
}

.label .circle .icon {
  color: #fff;
  width: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.label .circle .square {
  aspect-ratio: 1;
  width: 15px;
  border-radius: 2px;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.label .circle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-color: #3333a8;
  width: 100%;
  height: 0;
  transition: all 0.4s ease;
}

.label:has(.input:checked) {
  width: 57px;
  animation: installed 0.4s ease 3.5s forwards;
}

.label:has(.input:checked)::before {
  animation: rotate 3s ease-in-out 0.4s forwards;
}

.label .input:checked + .circle {
  animation:
          pulse 1s forwards,
          circleDelete 0.2s ease 3.5s forwards;
  rotate: 180deg;
}

.label .input:checked + .circle::before {
  animation: installing 3s ease-in-out forwards;
}

.label .input:checked + .circle .icon {
  opacity: 0;
  visibility: hidden;
}

.label .input:checked ~ .circle .square {
  opacity: 1;
  visibility: visible;
}

.label .input:checked ~ .title-btn {
  opacity: 0;
  visibility: hidden;
}

.label .input:checked ~ .title-btn:last-child {
  animation: showInstalledMessage 0.4s ease 3.5s forwards;
}

@keyframes pulse {
  0% {
      scale: 0.95;
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
      scale: 1;
      box-shadow: 0 0 0 16px rgba(255, 255, 255, 0);
  }
  100% {
      scale: 0.95;
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes installing {
  from {
      height: 0;
  }
  to {
      height: 100%;
  }
}

@keyframes rotate {
  0% {
      transform: rotate(-90deg) translate(27px) rotate(0);
      opacity: 1;
      visibility: visible;
  }
  99% {
      transform: rotate(270deg) translate(27px) rotate(270deg);
      opacity: 1;
      visibility: visible;
  }
  100% {
      opacity: 0;
      visibility: hidden;
  }
}

@keyframes installed {
  100% {
      width: 150px;
      border-color: rgb(35, 174, 35);
  }
}

@keyframes circleDelete {
  100% {
      opacity: 0;
      visibility: hidden;
  }
}

@keyframes showInstalledMessage {
  100% {
      opacity: 1;
      visibility: visible;
      right: 56px;
  }
}


/* container image back ORT */

.container {

  width: 1080px;
  z-index: 10;
}

.textshinrablock {
  display: flex;
  justify-content: center;
  height: 1260px;
  width: 1080px;
  opacity: 80%;
}

.textshinrablock img {
  width: 100%;

}

.boutontelecharge {
  color: white;
  border: none;
  width: 25em;
  height: 2em;
  border-radius: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: #041215;
  cursor: pointer;
  transition: all 450ms ease-in-out;
}

.sparkle {
  fill: #AAAAAA;
  transition: all 800ms ease;
}

.text {
  font-weight: 600;
  color: #AAAAAA;
  font-size: medium;
}

.boutontelecharge:hover {
  background: linear-gradient( #00f798, #00d18b);
  box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.4),
  inset 0px -4px 0px 0px rgba(0, 0, 0, 0.2),
  0px 0px 0px 4px rgba(255, 255, 255, 0.2),
  0px 0px 180px 0px #00f798;
  transform: translateY(-2px);
}

.boutontelecharge:hover .text {
  color: white;
}

.boutontelecharge:hover .sparkle {
  fill: white;
  transform: scale(1.2);
} 

.boutonupload {
  color: white;
  border: none;
  width: 25em;
  height: 2em;
  border-radius: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: #041215;
  cursor: pointer;
  transition: all 450ms ease-in-out;
}

.sparkle {
  fill: #AAAAAA;
  transition: all 800ms ease;
}

.text {
  font-weight: 600;
  color: #AAAAAA;
  font-size: medium;
}

.boutonupload:hover {
  background: linear-gradient( #00f798, #00d18b);
  box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.4),
  inset 0px -4px 0px 0px rgba(0, 0, 0, 0.2),
  0px 0px 0px 4px rgba(255, 255, 255, 0.2),
  0px 0px 180px 0px #00f798;
  transform: translateY(-2px);
}

.boutonupload:hover .text {
  color: white;
}

.boutonupload:hover .sparkle {
  fill: white;
  transform: scale(1.2);
} 

    /* Styles pour la section de crédits */
    .fondcredit {
      background-image:url("/images/galerie/ShinraCompanyBackgroundV3.jpg") ;
      background-size: cover;
      position: sticky;
      top: 0;
      transition: height 0.3s ease-out;
      width: 100%;
      background-size: 100%;
      font-family: 'finalf', sans-serif;
      color: rgb(204, 204, 204);
      padding: 20px;
      background-color: #f0f0f0;
      text-align: center;
      z-index: 9; /* Doit être plus grand que les boutons */
  }

  .credimage {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      margin-bottom: 20px;
      }

  .card_c {
      width: 200px;
      height: auto;
      border: 5px solid #fff;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .card_c:hover {
      transform: scale(1.05);
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  }

  .credit-text {
      font-size: 14px;
      color: #cccccc;
      margin-top: 10px;
  }

  .credit-link {
      color: #007bff;
      text-decoration: none;
  }

  .credit-link:hover {
      text-decoration: underline;
  }

  /* Styles pour les crédits sous chaque image */
  .credit-item {
      margin-top: 10px;
      text-align: center;
  }
.card_c {
  width: 208px;
  height: 208px;
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 5px;
  border: #09caff solid 2px;
  overflow: hidden;
  transition: backdrop-filter 0.3s ease-in-out;
  z-index: 10;
}


/* Effet de flou uniquement sur l'image au survol de la carte */
.card_c:hover {
  filter: blur(3px);
}

/* Cadre beige avec opacité */
.card_c::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(245, 245, 220, 0.5); /* Beige semi-transparent */
  z-index: 1;
}

  /* Style du cercle d'information */
  .info-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #00af92;
    color: white;
    text-align: center;
    font-size: 18px;
    line-height: 30px;
    cursor: pointer;
    position: relative;
}

/* Le texte qui apparaît au survol */
.info-text {
    display: none;
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    width: 100px;
    text-align: center;
    font-size: 14px;
    z-index: 10;
}

/* Apparition du texte lors du survol */
.info-circle:hover .info-text {
    display: block;
}

/* Style du texte du point d'information */
.info-text::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #333 transparent;
}

.ibtn {
  display: flex;
  justify-content: center;
  align-items: center;
}
