.impact-section {
  background-color: #ffffff; /* Color de fondo principal */
  padding: 10px 0;
  text-align: center;
  text-align: center;
}
.container123 {
  text-align: center;
}
.title {
  color: #ffffff;
  font-size: 3rem;
  margin-bottom: 40px;
  font-family: "Montserrat", sans-serif;
  text-align: center;
}

.par {
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-size: 20px; /* Default font size */
}
.impact-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-family: "Roboto", sans-serif;
}

.card {
  background-color: #4241410a;
  border-radius: 10px;
  padding: 30px;
  margin: 20px;
  width: 290px;
  font-family: "Roboto", sans-serif;
  text-align: center;
}

.card:hover {
  /* Efecto combinado */
  transform: translateY(-15px) rotateX(10deg);
  box-shadow: 0 12px 16px -10px rgba(0, 0, 0, 0);
  background-color: #a09d9dab;
  font-weight: normal; /* Aquí se quita el negrita */
  cursor: pointer;
}
.card img {
  width: 150px;
  margin-bottom: 20px;
}

.button {
  background-color: #fff;
  color: #00000065;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 30px;
}

.banner {
  position: relative;
  background-image: url("images/1eeeb0e5-bf3d-4d16-b77f-67f70e411973.png"); /* Reemplaza 'tu-imagen.jpg' con la ruta de tu imagen */
  width: 100%;
  height: 300px; /* Ajusta la altura según tu preferencia */
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-attachment: fixed;
}
.banner image {
  filter: brightness(0.8);
}
.imagen_de_fondo {
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

.banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-container {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  z-index: 10;
}

.title {
  color: #23ec5f;
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
  text-align: left;
  margin: 0 auto;
  max-width: 80%; /* Ajusta este valor según tus necesidades */
  z-index: 10;
  animation: reveal linear both;
  animation-timeline: view();
  animation-range: entry 20% cover 30%;
}

.paragraph {
  color: #ffffff;
  font-size: 1.5rem;
  text-align: right;
  text-align: justify;
  line-height: 1.5;
  max-width: 50%;
  margin: 0 auto;
  z-index: 1;
  font-weight: bold; /* Add this line to make the text bold */
  z-index: 1;
  font-family: "Roboto", sans-serif;
}

@media screen and (max-width: 768px) {
  /* Estilos para pantallas medianas (tablets) */
  .card {
    width: calc(100% - 30px); /* Una columna en pantallas pequeñas */
  }
}

@media screen and (max-width: 480px) {
  /* Estilos para pantallas pequeñas (móviles) */
  .title {
    font-size: 1.8rem;
  }
}
.card:hover {
  transform: translateY(-15px) rotateX(10deg);
  box-shadow: 0 12px 16px -10px rgba(0, 0, 0, 0.2);
  background-color: #a09d9d88;
}

.card img {
  width: 120px; /* Reducir tamaño de imagen para pantallas más pequeñas */
  margin-bottom: 15px;
}

.button {
  background-color: #fff;
  color: #000000;
  padding: 12px 20px; /* Reducir padding para pantallas más pequeñas */
  border: none;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 20px;
}

.banner {
  position: relative;
  background-image: url("images/1eeeb0e5-bf3d-4d16-b77f-67f70e411973.png");
  width: 100%;
  height: 300px;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-attachment: fixed;
}

.banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-container {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  flex-direction: column; /* Cambiar a columna para pantallas pequeñas */
  align-items: center;
  padding: 20px;
  z-index: 10;
}

.title {
  color: #23ec5f;
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
  text-align: center; /* Centrar el título */
  margin: 0 auto;
  max-width: 80%;
  z-index: 10;
  animation: reveal linear both;
  animation-timeline: view();
  animation-range: entry 20% cover 30%;
}

.paragraph {
  color: #ffffff;
  font-size: 1rem; /* Reducir tamaño de fuente para pantallas más pequeñas */
  text-align: center; /* Centrar el párrafo */
  line-height: 1.5;
  max-width: 80%; /* Ajustar ancho para pantallas pequeñas */
  margin: 10px auto; /* Reducir margen */
  font-weight: bold;
  z-index: 1;
  font-family: "Roboto", sans-serif;
}
