:root {
  --background-color: #f7f6f3;
  --sidebar-color: #4d4d46;
  --text-color : #0b0b0b;
  --major-color : #d2d7d9bf;
  --primary-color: #353535;
  --secondary-color: #d2d7d9bf;
  --tertiary-color: #d2d7d9bf;
  --quaternary-color: #d2d7d9bf;
  --quinary-color: #d2d7d9bf;
  --senary-color: #d2d7d9bf;
  --septenary-color: #d2d7d9bf;
  --octonary-color: #d2d7d9bf;
  --nonary-color: #d2d7d9bf;
  --denary-color: #d2d7d9bf;
}

/* 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/mooning.png') repeat,
        #2222225d; /* Background color overlay */
    background-size: 200px; /* 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/mooning.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;
}

.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/mooning.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;
}

    .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);
    }