/* Google Fonts - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Archivo&family=Roboto+Condensed:wght@300&display=swap");

.container-servicos {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-servicos .title-servicos {
  font-size: 2em;
  text-align: center;
  color: var(--cor-1);
  font-weight: bold;
}

.cards-servicos {
  background-image: url("../_imagens/img_enfermeira.webp");
  width: 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;

  grid-template-columns: auto auto auto;

  justify-content: center;
  align-items: center;
  gap: 10px;
}

.cards-servicos div {
}
.view-black-color {
  background-color: rgba(0, 0, 0, 0.3);
  width: 100%;
}

.cards-servicos div .view-cards {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 10px;
  padding: 2%;
  justify-content: center;
  align-items: center;
}
.card-servico {
  background-color: var(--cor-2);
  width: 100%;
  height: auto;
}

.card-servico ul {
}

.view-cards-saude {
  height: 200px;
  width: 100%;
  background-color: rgba(0, 73, 223, 0.95);
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.view-cards-saude article {
}

.view-cards-saude article span {
  padding: 10px;
  background-color: #e4322b;
}

/* .view-cards-diferenciais{
  height: 200px;
  width: 100%;
  background-color: var(--cor-5);
} */

.flip-card {
  background-color: transparent;
  background-color: rgba(66, 40, 116, 0.5);
  width: 300px;
  height: 400px;
  border: 1px solid #f1f1f1;
  perspective: 1000px; /*Remove this if you don't want the 3D effect */
  border-radius: 10px;
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
  display: flex;
}

/* Position the front and back side */
.flip-card-front,
.flip-card-back {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
  border-radius: 10px;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  color: var(--cor-1);
}

.flip-card-front img {
  width: 50px;
  height: 50px;
}

/* Style the back side */
.flip-card-back {
  color: white;
  transform: rotateY(180deg);
  font-weight: bold;
}
.flip-card-back ul {
  /* background-color: red; */

}
.flip-card-back ul li{
  margin: 10px;
}

.view-beneficios {
  background-image: url("../_imagens/img_saude.jpg");
  width: 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  height: 80vh;
  margin-top: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.view-beneficios div {
  background-color: rgba(0, 0, 0, 0.4);
  width: 100%;
  padding: 2.5% 6%;
}

.view-beneficios div h2 {
  text-align: center;
  font-size: 2rem;
  padding: 1%;
  color: var(--cor-1);
}

.list-beneficios {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 25px;
  justify-content: center;
}

.list-beneficios li {
  background: var(--cor-2);
  padding: 15px;
  align-items: center;
  text-align: center;
  color: var(--cor-1);
  font-size: 1.1rem;
  border-radius: 10px;
  transition: all 0.8s;
}

.list-beneficios li:hover {
  scale: 1.05;
  font-weight: bold;
  transition: all 0.8s;
}

/* .view-estadias {
  background-image: url("../_imagens/");
} */

.view-estadias {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--cor-2);
  margin-top: 5%;
  border-radius: 5px;
  height: 45vh;
  border: 1px solid var(--cor-5);
  padding: 0 0 3px 0;
}

.view-estadias h2 {
  font-size: 2rem;
  color: var(--cor-1);
  margin: 3% 0 0 3%;
}

.view-estadias .regimes {
  display: flex;
  flex-direction: row;
  gap: 1%;
  height: 100%;
  justify-content: center;
  align-items: flex-end;
}

#passa-dia {
  height: 50%;
}
#diaria {
  height: 65%;
}
#mensal {
  height: 80%;
}
#residente {
  height: 100%;
}
.card-regime {
  display: flex;
  flex-direction: column;
  width: 20%;
  align-items: center;
  border-radius: 10px;
  border: 1px solid var(--cor-1);
}

.card-regime:hover {
  scale: 1.05;
}

.card-regime .identificacao-regime h3 {
  text-align: center;
  color: var(--cor-1);
}
.card-regime P {
  margin-top: 10%;
  text-align: center;
  padding: 1%;
  color: var(--cor-1);
}

.identificacao-regime {
  font-size: 1.3em;
  height: 20%;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}
.desc-regime {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70%;
}

.view-equipe {
  background-image: url("../_imagens/img_mulher_cuidando_de_idosa.jpg");
  width: 100%;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
  height: 30vh;
  margin-top: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.view-equipe div {
  padding: 2.5% 10%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--cor-1);
}

.view-equipe div {
  font-size: 1rem;
}
.view-equipe div .title-equipe {
  font-size: 2rem;
  padding: 1% 0;
}

@media only screen and (max-width: 768px) {
  .cards-servicos div .view-cards {
    display: flex;
    flex-direction: column;
    /* grid-template-columns: auto auto auto;
    gap: 10px;
    padding: 2%;
    justify-content: center;
    align-items: center; */
  }

  .flip-card {
    background-color: transparent;
    background-color: rgba(66, 40, 116, 0.5);
    width: 85%;
    padding: 5px;
    min-height: 300px;
    max-height: 400px;
    border: 1px solid #f1f1f1;
    perspective: 1000px; /*Remove this if you don't want the 3D effect */
    border-radius: 10px;
  }


  .flip-active .flip-card-inner {
    transform: rotateY(180deg);
    display: flex;
  }

  .view-beneficios {
    height: auto;
    display: flex;
    width: 100%;
  }
  .view-beneficios div {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }

  .list-beneficios {
    display: flex;
    flex-wrap: wrap;
  }
  .list-beneficios li {
    width: 100%;
  }

  .view-estadias {
    height: auto;
    width: 100%;
    padding: 2vh 2vw 4vh 2vw;
    border-radius: 0;
  }
  .card-regime {
    padding: 10px;
  }

  .view-estadias h2 {
    margin: 2%;
  }
  #passa-dia {
    height: auto;
    width: 55%;
  }
  #diaria {
    height: auto;
    width: 70%;
  }
  #mensal {
    height: auto;
    width: 85%;
  }
  #residente {
    height: auto;
    width: 100%;
  }

  .view-estadias .regimes {
    flex-direction: column;
    height: auto;
    align-items: start;
    gap: 10px;
  }

  
  .view-equipe {
  height: auto;
    background-attachment: scroll;
  } 

  .view-equipe div {
    padding: 2.5% 10%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--cor-1);
  }


  .view-equipe div p{
    text-align: justify;
  }

}
