/*
 * Custom CSS
 */

.fx {
  transition: transform 0.3s ease-out;
}

.fx:hover {
  /* Décalage + zoom */
  transform: translateY(-5px) scale(1.05) !important;
}

.fx.aos-animate {
  transform: initial !important;
}

.hidden {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

strong {
  font-weight: 700;
}


a {
  text-decoration: none;
  font-weight: bold;
  color: #333;
  /* Couleur de base */
  padding-left: 15px;
}

a:hover {
  text-decoration: underline;
  color: #555;
  /* Couleur au survol */
}

h2 {
  padding-top: 10vh;
  padding-bottom: 15%;
  margin-bottom: 50px;
  font-family: 'Roboto Condensed', sans-serif;
  /* Taille mini 2rem, taille normal 7% de la largeur de l'écran, taille max 5rem*/
  font-size: clamp(3rem, 3vw, 5rem);
  font-weight: bolder;
  text-transform: uppercase;
  line-height: 0.72;
  padding-left: 15%;
  padding-right: 15%;
}


/***************************************
/**             PRESTATIONS           */
/**************************************/
#prestations h4 {
  text-transform: uppercase;
  font-weight: bolder;
  font-family: 'Roboto Condensed', sans-serif;
  max-width: 500px;
}

#prestations img {
  max-height: 300px;
  width: auto;
  filter: saturate(150%);
}

#prestations p {
  font-size: clamp(1rem, 3vw, 1.5rem);
  padding-left: 15%;
  padding-right: 15%;

}

div.prestation {
  display: flex;
  flex-direction: column;
  /* Aligne les éléments verticalement */
  align-items: center;
  /* Centre horizontalement */
  justify-content: center;
  /* Centre verticalement */
  text-align: center;
  /* Centre le texte à l'intérieur des éléments */
}



/***************************************
/*             CONTACT                */
/**************************************/
#contact {
  background-image: url("../images/code.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

#contact .photo {
  width: 150px;
  height: 150px;
  margin-right: 20px;
  margin-top: 10px;
}

#contact .rounded {
  min-width: 330px;
}

.contactdata {
  padding-top: 250px;
  min-height: 650px;
}

@media (max-width: 770px) {
  #contact {
    padding-bottom: 125px;
  }

  /** désactiver le rounded sur firefox mobile */
  @supports (-moz-appearance: none) {
    .rounded {
      border-radius: 0 !important;
    }
  }

}


#scrollToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  /* Masqué au début */
  z-index: 1000;
  background-color: rgba(22, 23, 24, 0.9);
  color: white;
}


/***************************************
/*             FOOTER                  */
/**************************************/
.copyright {
  padding-top: 20px;
  border-top: 1px solid var(--image-border);
}

.copyright img {
  max-width: 100px;
}