.parallax {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* Centra los elementos horizontal y verticalmente */
  padding: 5% 10vw;
  /* Ajusta el padding para diferentes tamaños de pantalla */
  height: 90vh;
  /* Utiliza el 100% de la altura de la ventana */
  width: 100vw;
  /* Utiliza el 100% del ancho de la ventana */
  background-color: var(--accent-color);

  z-index: 0;
}


.parallax::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 130%;
  height: 110%;
  background-image: url('../images/fondo_herramientas.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  background-attachment: fixed;

  filter: blur(10px);
  z-index: 0;
}

.parallax h1,
.parallax h2,
.parallax a,
.parallax p {
  position: relative;
  color: var(--accent-color);
  z-index: 1;
  text-align: center;
  /* Centra el texto */
  margin: 0;
  /* Elimina márgenes por defecto */
}

.parallax h1 {
  font-family: 'Agency FB';
  font-weight: 900;
}

.parallax h2 {
  font-size: 1.5em;
  /* Ajusta el tamaño de la fuente */
  color: var(--secondary-color);
  /* Azul */
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: var(--secondary-color);
  font-weight: 500;

}

.parallax a,
.parallax p {
  font-size: 1em;
  /* Ajusta el tamaño de la fuente */
  margin: 10px 0;
  /* Añade espacio entre los elementos */
  color: var(--color-marronr);
  /* Azul */
  font-weight: 500;

}

@media (max-width: 768px) {
  .parallax {
    padding: 10% 5vw;
    /* Ajusta el padding en pantallas pequeñas */
  }

  .parallax h1 {
    font-size: 2.5em;
    /* Ajusta el tamaño de la fuente */
  }

  .parallax h2 {
    font-size: 1.2em;
    /* Ajusta el tamaño de la fuente */
  }

  .parallax a,
  .parallax p {
    font-size: 0.9em;
    /* Ajusta el tamaño de la fuente */
  }
}

.glass {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;

  padding: 5px;

  /* From https://css.glass */
  background: rgba(255, 255, 255, 0.24);
  border-radius: 5px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(9.4px);
  -webkit-backdrop-filter: blur(9.4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}



/* Contenedor principal */
.servicios-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}