/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", Arial, sans-serif;
  background-color: #021321;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
header {
  background-color: #021321;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 72px 0.5rem 72px;
  width: 100%;
  height: 20vh;
  /* Assurez-vous que le header prend toute la largeur disponible */
}

/* Logos */
header img {
  width: 180px;
  height: 140x;
  padding: 8px;
}
.logo {
  width: 180px;
  height: 110px;
  background-image: url("img/Logo_Verse\ 1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
span {
  font-size: 16px;
  font-weight: 800;
  font-family: "Montserrat", sans-serif;
  padding-left: 5px;
  padding-right: 5px;
}
.credit-button {
  background-color: #021321;
  color: #ffffff;
  padding: 16px 24px;
  border: 1px solid #35424d;
  border-radius: 50px;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  cursor: pointer;
}
.credit-button:hover {
  background-color: #35424d;
  color: #ffffff;
}
/* Titre */
header h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  color: #ffffff;
  position: absolute;
  /* Cela positionne le titre relativement au header */
  left: 50%;
  /* Positionne le début du titre au centre du header */
  transform: translateX(-50%);
  /* Décale le titre de la moitié de sa largeur pour le centrer */
}

/* Footer */
footer {
  background-color: #ff4500;
  text-align: center;
  padding: 1rem 0;
}

footer a {
  color: #ffd700;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Accordéon Container */
.container {
  flex: 1;
  display: flex;
  overflow: hidden;
  position: relative;
}

.column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.5s ease;
  background-color: #2a2a2a;
  /* Couleur de fond pour les colonnes */
}

.column:hover {
  flex: 5;
}

/* Overlay */
.column::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #021321;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

/* Activer l'overlay sur les colonnes non survolées */
.container:hover .column::before {
  opacity: 1.8;
  visibility: visible;
}

/* Désactiver l'overlay sur la colonne survolée */
.container:hover .column:hover::before {
  opacity: 0;
  visibility: hidden;
}

.column img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dégradé */
.column::before {
  content: "";
  position: absolute;
  top: 0%;
  /* Ajuste le placement du dégradé */
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
  opacity: 0.8;
}
.open-link-button {
  background: #e70ba2; /* Rose vif */
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  display: block;
  font-weight: 800;
  width: 120px;
  text-transform: uppercase; /* Pour le texte en majuscules */
  font-family: "Montserrat", sans-serif;
  margin-top: 30px;
}

.open-link-button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
  background-color: #9f1f77;
  color: #ffffff;
}

.column-content {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  padding-left: 10%;
  padding-right: 10%;
  color: white;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.7) 70%,
    rgba(0, 0, 0, 0.9) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 40px;
}

.column:hover .column-content {
  opacity: 1;
  transform: translateX(0);
}

.column-content h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.column-content p {
  font-size: 16px;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-weight: 500px;
}

*/*.open-link-button {
  display: inline-block;
  margin-top: 30px;
  background-color: #e70ba2;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  transition: background-color 0.3s ease;
}

.open-link-button:hover {
  background-color: #9f1f77;
  color: #ffffff;
}

/* Bouton Musique */
.music-button {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  /* Cacher le bouton par défaut */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
}

/* Afficher le bouton au survol de la colonne */
.column:hover .music-button {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Reste des styles du bouton musique */
.music-button:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: scale(1.1) !important;
}

.music-icon {
  font-size: 20px;
}

.music-button.playing .music-icon {
  animation: pulse 1.5s infinite;
}

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

.offcanvas {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: #021321;
  z-index: 1000;
  transition: right 0.3s ease-in-out;
  overflow-y: auto;
}

.offcanvas.active {
  right: 0;
}

.credits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.credit-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.credit-logo {
  height: 80px;
  object-fit: contain;
}

.team-members {
  text-align: center;
  color: white;
}

.team-members p {
  margin: 0.5rem 0;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
}

.credits-footer {
  text-align: center;
  color: #00e6e6;
  padding: 2rem;
  font-family: "Montserrat", sans-serif;
}

.credits-footer p:first-child {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.credits-footer p:last-child {
  font-weight: bold;
}

.close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1001;
}

.close-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}
