.envelhecimento-grid {
  display: grid;
  justify-items: center;
  gap: 40px;
}
.envelhecimento h4 {
  color: #0001cf;
  font-family: Brinnan;
  font-size: 2.25rem;
  line-height: 1.2em;
  font-weight: 700;
  max-width: 680px;
  text-align: center;
}
.envelhecimento-exemplo {
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 30px;
  color: var(--cor);
}
.envelhecimento-exemplo p {
  text-align: center;
  max-width: 590px;
  font-weight: 200;
  font-size: 1.5rem;
  line-height: 1.2em;
}
.envelhecimento-content {
  display: grid;
  justify-items: center;
  align-items: start;
  flex-wrap: wrap;
  gap: 60px;
}

@media only screen and (min-width: 361px) and (max-width: 670px) {
  .envelhecimento h4 {
    font-size: 1.8rem;
  }
  .envelhecimento-exemplo p {
    font-size: 1rem;
  }
}
@media only screen and (max-width: 360px) {
  .envelhecimento h4 {
    font-size: 1.4rem;
  }
  .envelhecimento-exemplo p {
    font-size: 1rem;
  }
}
@media only screen and (max-width: 500px) {
  .envelhecimento-exemplo {
    text-align: center;
    flex-wrap: wrap;
  }
}

.envelhecimento-content h3 {
  background: url(/img/detail-bg.jpg) no-repeat center center;
  background-size: cover;
  padding: 10px;
  max-width: 400px;
  text-align: center;
  font-size: 1.56rem;
  line-height: 1.2em;
}

@media only screen and (max-width: 420px) {
  .envelhecimento-content h3 {
    padding: 10px;
    font-size: 1.26rem;
  }
}
