@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

/* GERAL */
.section-container {
  max-width: 1240px;
  margin: auto;
  display: flex;
}

.add-blue-border {
  border: 0.25rem solid #101828;
  border-radius: 0.625rem;
  box-shadow: 0px 32px 64px -12px #10182824;
}

ul li {
  font-family: "Roboto", sans-serif;
  color: #051838;
  line-height: 2.25rem;
}

.section-with-image {
  gap: 2.5rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
  align-items: flex-end;
}

.vertical-content {
  flex-direction: column;
  align-items: flex-start;
}

div#content h2.tag-title {
  padding: 0.25rem 0.5rem;
  font-size: 1rem;
  font-family: var(--site-font-normal);
  line-height: 19.2px;
  width: fit-content;
  border-radius: 0.25rem;
}

.tag-title ~ p {
  font-family: "Roboto", sans-serif;
  line-height: 2.25rem;
}

.center-text {
  margin: auto;
}

h2,
p {
  margin: 0;
  color: #051838;
}

.grey-background {
  background: #f6f6f6;
  overflow: hidden;
}

.center-content {
  align-items: center;
  justify-content: center;
}

.the-rieh-button {
  font-size: 1.125rem;
  font-family: var(--site-font-bold);
  color: #fff;
  line-height: 25.2px;

  padding: 0.875rem 5.1875rem;

  display: flex;
  justify-content: center;
  align-items: center;
  background: #214ca4;
}

.minimal-padding {
  padding-top: 2.5rem;
}

.bigger-container {
  max-width: 1280px;
  padding: 0rem 2rem;
}

.no-padding {
  padding: 0rem;
}

.p-top-40 {
  padding-top: 2.5rem;
}

.p-bottom-40 {
  padding-bottom: 2.5rem;
}

.m-top-40 {
  margin-top: 2.5rem;
}

.m-bottom-40 {
  margin-bottom: 2.5rem;
}

.p-top-80 {
  padding-top: 5rem !important;
}

.p-bottom-80 {
  padding-bottom: 5rem;
}

.m-top-80 {
  margin-top: 5rem;
}

.m-bottom-80 {
  margin-bottom: 5rem;
}

.smaller-image {
  width: 28.125rem;
  height: 24.46625rem;
  align-self: center;
}

.out-of-screen-image {
  position: relative;
  left: 8.5%;
}

/* TÍTULOS DE WEBPAGES */
.white-background-container {
  width: 100%;
  padding: 3rem 5rem;
  background-color: #fff;

  display: flex;
  justify-content: center;
  align-items: center;
}

.atop-title-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

div#content h1.atop-green {
  font-size: 1.125rem;
  line-height: 21.58px;
  font-family: var(--site-font-normal);
  text-align: center;
  color: #00a99d;

  margin: 0rem;
}

div#content h2.atop-title {
  font-weight: var(--site-font-bold);
  font-size: 3rem;
  line-height: 3.75rem;
  text-align: center;
  color: #051838;
}

/* BLOCO O QUE É A RIEH */
#what-is-the-rieh {
  background: #f17c0026;
}

#what-is-the-rieh + p {
  font-size: 2rem;
  line-height: 3rem;
  padding-top: 2rem;
  padding-bottom: 1rem;
}

/* BLOCO SEÇÃO DE TEXTO O QUE É A RIEH */
.text-only-section {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 5rem;
}

.text-only-section > div {
  max-width: 901px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: "Roboto", sans-serif;
}

/* BLOCO POR QUE UMA REDE DE INOVAÇÃO */
div#content h2#por-que-rieh {
  background: #ffcc334d;
}

#por-que-rieh + p {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* BLOCO O QUE É EDUCAÇÃO HÍBRIDA */
#o-que-e-edu-h {
  background: #33993326;
}

#o-que-e-edu-h + p {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

#content > div.section-container.section-with-image:nth-child(4) {
  padding-top: 2.5rem;
}

/* BLOCO O QUE SÃO OS NÚCLEOS DE INOVAÇÃO */
#linha-tempo-rieh + p {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* BLOCO COMO É FORMADO OS NÚCLEOS DE INOVAÇÃO */
#como-e-formado-nucleos {
  background: #00a99d26;
}

div#content #como-e-formado-nucleos + p {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* BLOCO LINHA DO TEMPO DA RIEH */
#linha-tempo-rieh {
  background: #214ca41a;
}

#timeline-block {
  width: 100%;
  overflow: hidden;
  padding-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* BLOCO BENEFÍCIOS DE ADERIR A RIEH */
#beneficios-adesao-rieh,
#funcionalidades-obs {
  background: #00a99d26;
  margin-top: 9.75rem;
}

#beneficios-adesao-rieh + div {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  row-gap: 4rem;
  padding-bottom: 2.5rem;
}

#beneficios-adesao-rieh + div .card.mb-3 {
  box-shadow: none;
  border-radius: 0rem;
  width: 24rem;
  border: none;
}

#beneficios-adesao-rieh + div .card.mb-3 .card-body {
  padding: 0rem;
  padding-top: 1.25rem;
}

#beneficios-adesao-rieh + div .card.mb-3 .card-body .card-title {
  font-size: 1.125rem;
  color: #051838;
  line-height: 27px;
}

#beneficios-adesao-rieh + div .card.mb-3 .card-body .card-text {
  color: #777777;
  font-size: 1.125rem;
  line-height: 27px;
  font-family: "Roboto", sans-serif;
}

#beneficios-adesao-rieh + div .card.mb-3 img {
  width: 3rem !important; /* Override Boostrap value */
  height: 3rem;
}

#beneficios-adesao-rieh + div .card.mb-3 .card-footer {
  display: none;
}

/* BLOCO COMO PARTICIPAR DA RIEH */
#como-participar-rieh {
  background: #f17c0026;
}

#como-participar-rieh + p {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* BLOCO GUIA DE IMPLEMENTAÇÃO */
#implementation-guide-container {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  padding: 48px 0px;
}

#implementation-guide-container p {
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-size: 1.5rem;
  line-height: 36px;
  max-width: 800px;

  padding-bottom: 2rem;
}

div#content #implementation-guide-container h2 {
  font-size: 1.75rem;
  line-height: 33.6px;
  font-family: var(--site-font-bold);
}

/* BLOCO GOVERNANÇA DA RIEH */
#governanca-rieh {
  background: #ffcc334d;
}

.rieh-governance-text {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  gap: 6.875rem;
}

.text-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  max-width: 565px;
}

#estrutura-governanca {
  font-size: 2rem;
  font-family: "Roboto", sans-serif;
  line-height: 38.4px;
  color: #051838;
  padding-bottom: 2.6875rem;
}

#estrutura-governanca > p:last-of-type {
  padding-top: 1rem;
}

.governance-text-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

div#content h2.governance-title {
  font-size: 2rem;
  color: #051838;
  font-family: var(--site-font-bold);
  line-height: 38px;
}

div#content h2.governance-title ~ p {
  font-size: 1.125rem;
  line-height: 27px;
  font-family: "Roboto", sans-serif;
  color: #777777;
}

#rieh-governance-section {
  gap: 1.5rem;
}

/* BLOCO LEGISLAÇÃO */
#legislation-container {
  padding: 6rem 0rem;
}

#legislacao {
  background: #3399334d;
}

#legislacao + div {
  display: flex;
  padding-top: 0.75rem;
  width: 100%;
  justify-content: space-between;
}

#legislacao + div h2 {
  font-family: var(--site-font-bold);
  font-size: 2.25rem;
  line-height: 44px;
  color: #051838;
  max-width: 330px;
  letter-spacing: 2%;
}

.legislation-docs-column {
  list-style: none;
  padding: 0;
}

.legislation-docs-column li.legislation-item:nth-child(n + 2) {
  padding-top: 2rem;
}

.legislation-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legislation-item p:first-of-type {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 30px;
  color: #051838;
}

.legislation-item p:last-of-type {
  font-size: 1rem;
  line-height: 22.4px;
  color: #214ca4;
  align-self: flex-end;
}

/* FUNCIONALIDADES OBSERVATÓRIO */
#funcionalidades-obs {
  margin-top: 3rem;
}

#papel-do-obs-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 2rem 0rem;
}

#papel-do-obs-title h3 {
  font-family: var(--site-font-bold);
  font-size: 1.75rem;
  line-height: 33.6px;
  color: #092b66;
}

#papel-do-obs-title p {
  font-size: 1rem;
  line-height: 19.2px;
  color: #777777;
}

.cards-with-links-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.card.mb-3.card-with-link {
  border-radius: 1rem;
  border: none;
  box-shadow: 1px 1px 10px 0px #99999940;

  max-width: 25.333125rem;
  width: 100%;
  padding: 1rem;

  gap: 0.5rem;
}

.card-with-link img {
  width: 5rem !important /* overrides Bootstrap */;
  height: 5rem;
}

.card-with-link .card-title {
  font-size: 1.5rem;
  line-height: 28.8px;
  color: #003366;
}

.card-with-link .card-body {
  padding: 0rem;
}

.card-with-link .card-text {
  font-family: var(--site-font-normal);
  font-size: 1rem;
  color: #003366;
  line-height: 19.2px;
  height: 9.5rem;
  overflow: hidden;
}

.card-with-link .card-body a {
  display: flex;
  justify-content: center;
  align-items: center;

  color: #fff;
  font-family: var(--site-font-bold);

  width: 100%;
  background: #214ca4;
  border-radius: 0.5rem;

  padding: 0.875rem 0rem;
  margin-top: 2.5rem;
}

@media (max-width: 1026px) {
  .white-background-container {
    padding: 3rem 2rem;
  }

  div#content h1.atop-green {
    font-size: 1rem;
    line-height: 19.18px;
  }

  div#content h2.atop-title {
    font-size: 2rem;
    line-height: 38.4px;
  }

  .section-container,
  #content > div.section-container.section-with-image:nth-child(4) {
    max-width: 100%;
    gap: 1.5rem;
    padding: 2.5rem 1rem !important;
  }

  .section-with-image img {
    border-radius: 1rem;
    align-self: center;
  }

  .section-with-image {
    flex-direction: column;
  }

  div#content h2.tag-title {
    width: 100%;
    text-align: center;
  }

  #what-is-the-rieh + p {
    font-size: 1.5rem;
    line-height: 36px;
    text-align: center;
    padding-top: 1.5rem;
    padding-bottom: 1rem;
  }

  .out-of-screen-image {
    left: 0;
    max-width: 100%;
  }

  .p-top-80 {
    padding: 0rem !important;
  }

  .invert {
    flex-direction: column-reverse;
  }

  .smaller-image {
    width: 100%;
    height: auto;
  }

  ul li {
    font-size: 1.125rem;
    line-height: 27px;
  }

  ul {
    padding-bottom: 1rem;
    margin-bottom: 0rem;
  }

  #funcionalidades-obs {
    margin-top: 0rem;
  }

  .cards-with-links-container {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .card-with-link .card-text {
    min-height: 8.25rem;
  }

  .card-with-link .card-body a {
    margin-top: 1.5rem;
  }

  #papel-do-obs-title {
    padding: 0rem;
  }

  #papel-do-obs-title h3 {
    font-size: 1.5rem;
    line-height: 28.8px;
    margin-bottom: 0.25rem;
  }

  #beneficios-adesao-rieh {
    margin-top: 0rem;
  }

  #beneficios-adesao-rieh + div {
    width: 100%;
  }
}

@media (max-width: 768px) {
  #legislacao + div {
    flex-direction: column;
    gap: 16px;
  }
}
