/* CSS pour l'image responsive */
.responsive-logo {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-height: 600px; /* Ajouter une hauteur maximale pour s'assurer que l'image ne devienne pas trop grande */
}

/* CSS pour rendre le texte et la section responsive */
#header_tardix {
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  overflow-x: hidden;
}

@media (max-width: 600px) {
  .responsive-logo {
      max-height: 600px; /* Réduire encore la hauteur maximale pour les petits écrans si nécessaire */
  }
}

.features article .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10em;
  width: 10em;
  margin: 0 2em 0 0;
  text-align: center;
  position: relative;
}

#sidebar:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
      url('https://img.tardix.fr/images/textures/purty-wood.png') repeat,
      #0c1b2f; /* Background color overlay */
  background-size: 150px; /* Set the desired size of the repeated image */
  background-position: center center; /* Position the background image */
  background-attachment: fixed; /* Make the background image fixed */
  background-blend-mode: multiply; /* Blend the image with background color */
  opacity: 1; /* Adjust opacity of the overall effect */
  z-index: 0;
}

.personal-teams-rules {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.personal-teams-rules:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
      url('https://img.tardix.fr/images/textures/purty-wood.png') repeat,
      #0c1b2f; /* Background color overlay */
  background-size: 200px; /* Set the desired size of the repeated image */
  background-position: center center; /* Position the background image */
  background-attachment: scroll; /* Make the background image fixed */
  background-blend-mode: multiply; /* Blend the image with background color */
  opacity: 1; /* Adjust opacity of the overall effect */
  z-index: -1;
}

.banner-card-box {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.banner-card-box:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
      url('https://img.tardix.fr/images/textures/purty-wood.png') repeat,
      var(--sidebar-color); /* Background color overlay */
  background-size: 200px; /* Set the desired size of the repeated image */
  background-position: center center; /* Position the background image */
  background-attachment: scroll; /* Make the background image fixed */
  background-blend-mode: multiply; /* Blend the image with background color */
  opacity: 1; /* Adjust opacity of the overall effect */
  z-index: -1;
}

.news-pinned-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
      url('https://img.tardix.fr/images/textures/purty-wood.png') repeat,
      var(--sidebar-color); /* Overlay with your original sidebar color */
  background-size: 200px; /* Size of the repeated texture */
  background-position: center center;
  background-attachment: scroll;
  background-blend-mode: multiply;
  opacity: 1; /* Adjust opacity as needed */
  z-index: -1;
  border-radius: 20px;
}

.pdf-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}
.pdf-link i {
    font-size: 100px;
    color: var(--sidebar-color);
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 8px;
    margin-right: 20px;
    transition: color 0.3s, border-color 0.3s;
}
.pdf-link span {
    font-size: 24px;
    transition: color 0.3s;
}
.pdf-link:hover i {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.image-framed {
    display: inline-block;
    padding: 8px;
    background-color: #0c1b2f;
    background-image: url('https://img.tardix.fr/images/textures/purty-wood.png');
    background-repeat: repeat;
    background-origin: border-box;
    box-sizing: border-box;
}