@import url('https://fonts.googleapis.com/css2?family=Rambla:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Rambla', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
}

/******************************** Header ********************************/

#apropos {
  width: 5em;
  display: flex;
  justify-content: center;
  align-items: center;
}

#contactnous {
  width: 8rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/******************************** Couleurs utilisées ********************************/

.color-text {
  color: #3D5A80;
}

.color-text-apropos {
  color: #8a9fff !important;
}

.color-text-danger {
  color: #E63946;
}

.color-text-light {
  color: #F8F9FA;
}

.background-color-light {
  color: #F8F9FA;
}

.box-titre-back {
  background-color: #3D5A80;
}

.box-titre-back-apropos {
  background-color: #8a9fff !important;
}

.box-titre-back-red {
  background-color: #E63946;
}

.card-text-color {
  color: #F0EAD6;
}

.btn-card {
  background-color: #3D5A80;
  border: 1px solid #F0EAD6;
  color: #F0EAD6;
}

.btn-card:hover {
  background-color: #F0EAD6;
  color: #3D5A80;
  transition: all 0.2s;
}

/******************************** backgrounds ********************************/

/* Fond d'écran avec les 3 couleurs (#282327, #313137, #3A5256) sur un seul élément */

.background {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #282327 0%, #313137 50%, #3A5256 100%);
}

.background-light {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #FAFBFC 0%, #F8F9FA 50%, #F1F3F4 100%);
}

.tableBackground {
  background: linear-gradient(135deg, #282327 0%, #313137 50%, #3A5256 100%);
  /* height: 100vh; */
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* background des cards de musiciens près de chez nous */
.card-background {
  background: linear-gradient(
    135deg,
    #50000C 0%,
    #BB0218 50%,
    #F92D44 100%
  );
  border: #F92D44 5px solid;
}

/* background des cards des autres musiciens (hors de la recherche) */

.autresMusiciens {
  background: linear-gradient(to right,
      #FFFFFF 0%,
      #F9F6EE 50%,
      #F0EDE5 100%);
  border: #1A4B84 5px solid;
}

.back-card {
  background: linear-gradient(to right,
      #FFFFFF 0%,
      #F9F6EE 50%,
      #F0EDE5 100%);
  border: #F9F6EE 5px solid;
}

/* background authentication et register */

.background-auth {
  background: linear-gradient(to right,
      #c9b2b2 0%,
      #918872 50%,
      #61583f 100%);
  border: #F9F6EE 5px solid;
}

.background-auth2 {
  background: linear-gradient(to right,
      #102b47 0%,
      #1A4B84 50%,
      #4a7bb3 100%);
  border: #1A4B84 5px solid;
}

.background-register {
  background: linear-gradient(to right,
      #FFFFFF 0%,
      #F9F6EE 50%,
      #F0EDE5 100%);
  border: #F9F6EE 5px solid;
}

/******************************** authentication.php et register.php ********************************/

.link-color {
  color: #F0EAD6;
}

/******************************** profil.php ********************************/

.border-dashed {
  border: 2px dashed #dee2e6;
  border-radius: 0.375rem;
  color: #6c757d;
  transition: all 0.3s ease;
}

.border-dashed:hover {
  border-color: #3D5A80;
  color: #3D5A80;
  background-color: rgba(13, 110, 253, 0.05);
}

/******************************** showUser.php ********************************/

ul.list-unstyled li {
  margin-bottom: 10px;
}

/******************************** users.php ********************************/

th {
  background-color: #f2f2f2;
  padding: 15px !important;
}

.thead-link-dark {
  color: #212529;
}

.thead-link-light {
  color: #fff;
}

/******************************** apropos.php ********************************/

.hero-section {
  background: linear-gradient(to right,
      #102b47 0%,
      #1A4B84 50%,
      #4a7bb3 100%);

  color: white;
  padding: 80px 0;
}

.feature-icon {
  font-size: 3rem;
  color: #667eea;
  margin-bottom: 1rem;
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stats-section {
  background-color: #f8f9fa;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: #667eea;
}

/******************************** contact.php ********************************/

/* Ajout animation fade-in sur les messages du chat */

.message {
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Aide le navigateur à optimiser le rendu du chat au niveau des animations d'opacité pour les rendre plus fluides et performantes */

.chat-box {
  will-change: opacity;
}

/* Media query : fond beige nav et footer sur mobile */
@media (max-width: 600px) {
  nav > div {
    background-color: #F0EAD6;
  }

  footer > div {
    background-color: #F0EAD6;
  }
}