/*
font-family: 'Ms Madi', cursive;
*/
/* iconos productos*/
.ancla {
  position: relative;
  top: -35px;
}
.ancla-uno {
  top: -80px;
}
.flex-iconos {
  justify-content: space-around;
  border-bottom: 1px solid var(--color-texto);
  border-top: 1px solid var(--color-texto);
  display: none;
}
.item-flex-iconos {
  padding: 1em;
  width: 125px;
  color: var(--color-principal);
  font-weight: 600;
}
.imagen-flex-iconos {
  max-width: 60%;
  transition: all 0.5s;
}
.imagen-flex-iconos:hover {
  filter: opacity(0.8);
}
/* Caja-grande-uno*/
.titulo-caja-grande {
  border-top: 1px solid var(--color-texto);
  padding-top: 0.5em;
  margin-bottom: 0;
}
.titulo-caja-grande-uno {
  padding-top: 0;
  border-top: none;
}
.texto-caja-grande {
  color: var(--color-texto);
}
.flex-caja-index {
  justify-content: space-around;
  padding-top: 1em;
}
.tarjeta-caja-index {
  width: 220px;
  padding-bottom: 2em;
  margin: 0 2em;
}
.tarjeta-caja-index:hover .imagen-tarjeta-index {
  filter: opacity(0.9);
}
.fondo-caja-index {
  background-color: var(--color-principal);
  height: 100%;
  border-radius: 58px;
}
.imagen-tarjeta-index {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: all 0.5s;
  border-radius: 5px;

}

.subcaja-tarjeta-index {
  width: 100%;
  /* min-height: 100px; */
  color: white;
  text-align: center;
  padding: 1em;
}
.titulo-tarjeta-index {
  margin-top: 0;
  font-weight: 600;
  margin-bottom: 0.5em;
}
.texto-tarjeta-index {
  font-weight: 300;
  margin: 0;
}
.boton-index {
  width: 220px;
  display: inline-block;
}
/* .imagen-centrada {
  width: 150px;
} */
@media screen and (max-width: 1200px) {
  .ancla {
    top: -50px;
  }
}
@media screen and (max-width: 1100px) {
  .flex-iconos {
    display: flex;
  }
}
@media screen and (max-width: 800px) {
  .tarjeta-caja-index {
    margin: 0 1em;
  }
}
@media screen and (max-width: 700px) {
  .ancla {
    top: -60px;
  }
}
@media screen and (max-width: 600px) {
  .imagen-tarjeta-index {
    height: 160px;
  }
  .flex-caja-index {
    justify-content: left;
  }
}
