/* Custom Stylesheet */
/**
 * Use this file to override Materialize files so you can update
 * the core Materialize files in the future
 *
 * Made By MaterializeCSS.com
 */

nav ul a,
nav .brand-logo {
  color: #444;
}


p {
  line-height: 2rem;
}

.sidenav-trigger {
  color: #26a69a;
}

.parallax-container {
  min-height: 380px;
  line-height: 0;
  height: auto;
  color: rgba(255,255,255,.9);
}
  .parallax-container .section {
    width: 100%;
  }

.parallax img {
  position: relative;
  z-index: 0; /* Place l'image en arrière-plan */
}

.section,
.container {
  position: relative;
  z-index: 1; /* Place le texte au-dessus de l'image */
}

.parallax img {
  opacity: 1; /* Opacité par défaut */
  transform: translateX(0) !important; /* Empêche le centrage automatique */
  left: 0 !important; /* Place l'image à gauche */
  width: auto; /* Conserve les proportions */
  min-width: 100%; /* Assure que l'image remplit le conteneur */
  position: absolute; /* Permet de repositionner l'image */

}

.custom-parallax {
  object-fit: cover;
  object-position: center center;
  height: 100%;
  width: 100%;
}
.custom-parallax2 {
  object-fit: cover;
  object-position: center bottom;
  height: 100%;
  width: 100%;
}

.vertical-center {
  display: flex;
  flex-direction: column; /* Arrange les enfants verticalement */
  justify-content: space-between; /* Répartit l'espace entre les enfants */
  height: 100%; /* Assure que la hauteur de la colonne est utilisée complètement */
}

@media only screen and (max-width : 992px) {
  .parallax-container .section {
    position: absolute;
    top: 40%;
  }
  #index-banner .section {
    top: 10%;
  }
  #index-banner h1 {
    font-size: 2.5rem; /* Réduction de la taille de la police */
    text-align: right; /* Décalage du texte vers la droite */
    margin-right: 20px; /* Ajoute un espace entre le texte et le bord */
  }

  #index-banner h3 {
    font-size: 2rem; /* Réduction de la taille de la police */
    text-align: right; /* Décalage du texte vers la droite */
    margin-right: 20px; /* Même espace pour uniformité */
  }

}

@media only screen and (max-width : 600px) {
  #index-banner .section {
    top: 0;
  }
  #index-banner h1 {
    font-size: 2rem; /* Réduction de la taille de la police */
    text-align: right; /* Décalage du texte vers la droite */
    margin-right: 20px; /* Ajoute un espace entre le texte et le bord */
  }

  #index-banner h3 {
    font-size: 1.5rem; /* Réduction de la taille de la police */
    text-align: right; /* Décalage du texte vers la droite */
    margin-right: 20px; /* Même espace pour uniformité */
  }

  
}

.icon-block {
  padding: 0 15px;
}
.icon-block .material-icons {
  font-size: inherit;
}

footer.page-footer {
  margin: 0;
}

#arbre {
  max-width: 800px;
  height: auto;
}

.images-situation img {
  max-width: 300px;
  margin: 0 auto;
  display: block;
}

@media screen and (max-width: 600px) {
  .images-situation img {
    max-width: 100%;
  }
}
