/* ------------------------- TARJETAS IMÁGENES ------------------------- */
.titulos {
  font-weight: 700;
  color: black;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.titulos::before {
  content: "";
  display: block;
  margin-right: 0.5em;
  background-color: rgba(0, 0, 0, 0.25);
  width: 70px;
  height: 1.5px;
}

.titulos::after {
  content: "";
  display: block;
  margin-left: 0.5em;
  background-color: rgba(0, 0, 0, 0.25);
  width: 70px;
  height: 1.5px;
}

.contenedor-imagenes {
  width: 80%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1em;
}

.contenedor-imagenes figure img {
  width: 100%;
  height: 20rem;
  object-fit: scale-down;
  background-color: white;
  box-shadow: 0px 1px 9px rgb(238, 225, 225);
}

.img-info:hover {
  box-shadow: 0px 0px 3px black;
  transform: scale(1.02);
  -webkit-transform: scale(1.02);
  -moz-transform: scale(1.02);
  -ms-transform: scale(1.02);
  -o-transform: scale(1.02);
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

.contenedor-imagenes figure figcaption {
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: bold;
  padding: 1rem 0;
  text-align: center;
  color: black;
}

.img-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: auto;
  background-color: white;
  padding: 1em;
  border-radius: 1%;
  -webkit-border-radius: 1%;
  -moz-border-radius: 1%;
  -ms-border-radius: 1%;
  -o-border-radius: 1%;
}

#img2,
#img3 {
  transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  -moz-transform: scaleX(-1);
  -ms-transform: scaleX(-1);
  -o-transform: scaleX(-1);
}

#img8 {
  padding: 2rem;
}

.info {
  text-align: justify;
}

.info-listado {
  list-style: "\2714";
  padding: 1rem 1rem 2rem 1rem;
}

.info-listado li {
  padding-left: 0.5rem;
}

.info-aclaracion {
  font-style: italic;
  text-align: right;
  font-size: 0.7em;
}
@media screen and (max-width: 940px) {
  .contenedor-imagenes {
    width: 90%;
  }

  .img-info {
    font-size: 0.8rem;
  }
}
