#demaisProjetos .demaisProjetosTitle {
  font-family: serif;
  text-align: center;
  margin-bottom: 0px !important;
  margin-top: 40px;
  font-size: clamp(26px, 5vw, 50px);
}

#demaisProjetos .demaisProjetosDesc {
  text-align: center;
  margin-bottom: 40px;
  font-size: clamp(14px, 3vw, 20px);
}

#demaisProjetos .dPCards {
  display: grid;
  justify-content: center;
  justify-items: center;
  gap: 20px;
}

#demaisProjetos .dCardTitle {
  background-color: rgba(0, 0, 0, 0.7);
  font-size: 14px;
  color: #fff;
  padding: 10px 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  transform: translate(-50%, -50%);
  text-align: center;
}

#demaisProjetos .dPCard {
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  position: relative;
  max-width: 400px;
  width: 100%;
  transition: 0.5s all;
}

#demaisProjetos .face {
  max-width: 400px;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: absolute;
}

#demaisProjetos .front {
  transform: rotateY(180deg);
  position: relative;
  transition: 0.5s all;
}

#demaisProjetos .front>img {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
}

#demaisProjetos .back {
  background-color: #fff;
  backface-visibility: hidden;
  color: #000;
  padding: 50px 30px;
  width: 110%;
  height: 110%;
  margin: -5%;
}

#demaisProjetos .backText {
  font-weight: bold;
}

#demaisProjetos .btnContrate {
  background-color: #000;
  text-decoration: none;
  color: #fff;
  padding: 10px 50px;
  opacity: 0.7;
  cursor: pointer;
}

#demaisProjetos .flip {
  transform: rotateY(180deg);
  transition: 0.5s all;
}

@media (min-width: 0px) {
  #demaisProjetos .dPCards {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  #demaisProjetos .dPCards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  #demaisProjetos .dPCards {
    grid-template-columns: 1fr 1fr 1fr;
  }
}