.container__card,
.container__card__proyectos {
  width: 100%;
  /* margin: auto; */
  /* margin-top: 100px; */
  perspective: 1000px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
  /* margin: 35px 0; */
}
.container__card__proyectos {
  margin: 20px 0;
}

.card__father {
  /* margin: 20px; */
  perspective: 1000px;
}

.card__father:hover .card,
.card__father:hover .card__proyectos {
  transform: rotateY(180deg);
}

.card,
.card__proyectos {
  width: 260px;
  height: 260px;
  position: relative;
  transform-style: preserve-3d;
  transition: all 600ms;
  /* overflow: hidden; */
  cursor: pointer;
}
.card__proyectos {
  width: 330px;
  height: 330px;
}

.card__front {
  background-size: cover;
  background-position: center;
  /* overflow: hidden; */
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__front,
.card__back {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  /* border-radius: 20px; */
}

.card__back {
  transform: rotateY(180deg);
  background: var(--color7);
  border: 1px solid var(--color2);
  display: flex;
  align-items: center;
}

.body__card_front {
  width: 100%;
  height: 40%;
  bottom: 0;
  position: absolute;
  text-align: center;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--color4);
  transform: translateZ(60px);
  line-height: 1;
  background: rgba(0, 0, 0, 0.5);
}
.body__card_front h2,
.body__card_back h2 {
  font-family: var(--titulos);
  font-size: 13pt;
  text-transform: uppercase;
}

.body__card_front h3 {
  font-family: var(--textos);
  font-size: 11pt;
  text-transform: uppercase;
  margin-top: 7px;
}

.bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.4);
  /* border-radius: 20px; */
}

.body__card_back {
  padding: 20px;
  transform: translateZ(60px);
  /* border: 1px solid var(--color3); */
}

.body__card_back .textos {
  margin-top: 10px;
}
.body__card_back .tit__registros {
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

.body__card_back p {
  line-height: 170%;
}

.textos__proyectos p {
  font-size: 10.5pt;
  line-height: 140%;
}

.body__card_back .proy__cliente {
 font-style: oblique;
}

/* desde */
@media (width >= 768px) {
  .card {
    width: 290px;
    height: 290px;
  }
  .card__proyectos {
    width: 300px;
    height: 300px;
  }

}