:root {
  --azul: rgb(0, 39, 65);
  --cinza-claro: rgba(167,169, 172, .4);
  --cinza-escuro: rgb(88, 89, 91);
  --abril: 'Abril Fatface', cursive;
  --bd-azul: solid 1px var(--azul);
  --bd-cinza: solid 1px var(--cinza-escuro);
  --bd-cinza-claro: solid 1px var(--cinza-claro);
}

html, body { height: 100%; }

*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  background: #fff;
  color: var(--azul);
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 18px;
}

img { width: 100%; }

/* TYPOGRAPHY */

h1, h2, h3, h4 {
  font-family: var(--abril);
  margin: 1em 0 0;
  color: var(--cinza-escuro);
}

p {
  font-family: 'Archivo', sans-serif;
  line-height: 1.4;
  margin-bottom: 1em;
  color: var(--cinza-escuro);
}

.artigos-texto_info > p {
  font-family: 'Archivo Narrow', sans-serif;
}

li {
  margin-left: 1em;
}


hr {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), var(--azul), var(--azul), var(--azul), rgba(0, 0, 0, 0));
  border: 0;
  height: 1px;
  margin: 2rem;
}

.center {
  margin-top: 10rem;
  text-align: center;
  grid-column: 1/-1;
  margin-bottom: 7rem;
  font-size: 1.3rem;
}


/* LINKS */

a {
  color: var(--azul);
  text-decoration: none;
  transition: all 0.5s;
}

a:hover {
  border-bottom: var(--bd-azul);
}

*:hover{ 
  text-decoration: none;
  transition: all 0.5s;
}

ul {
  margin-bottom: 1rem;
}

li {
  list-style: none;
}

.content li:before {
  content: '\2022';
  display: block;
  position: relative;
  max-width: 0;
  max-height: 0;
  left: -1rem;
  top: 0;
  color: var(--laranja);
}

/* Button */

.button {
  background: white;
  border: var(--bd-azul);
  padding: 1em;
  font-size: .8em;
  border-radius: 3px;
  margin-top: 2em;
  box-shadow: 2px 2px 2px rgba(0,0,0,.3);
  font-family: 'Archivo Narrow', sans;
}

a.button, button.button a {
  color: var(--azul);
  text-decoration: none;
}

a.button:hover, button.button > a:hover, .button:hover, button.button:hover {
  box-shadow: 0;
  color: white;
  background: var(--azul);
  transition: all 0.5s;
}

/* HEADER */

.ruler-top {
  border-top: 10px solid var(--azul);
  position: fixed;
  width: 96%;
  justify-content: center;
}

header {
  border-bottom: var(--bd-azul);
  display: grid;
  align-items: baseline;
  justify-content: center;
  margin: 0 2%;

}

.brand img { 
  max-width: 250px;
  margin: 2rem;
}



/* CONTENT */

.content{ 
  justify-content: center;
}

/* INDEX */

.principal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 1em;
}

.artigos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 1em;
}

.artigos-tag {
  text-transform: uppercase;
  font-family: 'Archivo Narrow', sans-serif;
}

.principal {
  border-bottom: var(--bd-cinza);
  padding: 3em 0;
  margin-bottom: 3em
}

.principal-explicacao {
  grid-column: 1/2;
}

.principal-img {
  grid-column: 2/4;
  height: 30em;
  background-size: cover;
  z-index: -10;
}

.principal-explicacao {
  font-family: 'Archivo Narrow', sans;
  font-size: 1em;
}

.principal-explicacao > h2 {
  color: var(--azul);
  margin-bottom: 1em;
}

.principal-explicacao > h2 > a,
.artigos-texto_info > h4 > a {
  text-decoration: none;
  color: var(--azul);
}

.principal-explicacao > h2 > a:hover,
.artigos-texto_info >h4 > a:hover {
  border-bottom: var(--bd-azul);
  transition: all 0.5s;
}

.artigos-texto {
  grid-column:1/3; 
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 4em;
}

.artigos-texto_item {
  display: grid;
  grid-template-columns: repeat(2, auto); 
  font-size: .9em;
  border-bottom: var(--bd-cinza);
}

.artigos-texto_item > img {
  width: 7em;
  margin: 1em;
  z-index: -10;
  grid-column: 2/3;
  grid-row: 1;
}

.artigos-texto_info {
  grid-column: 1/2;
  grid-row: 1;
}

.artigos-texto_info > h4{
  font-size: 1.2rem;
  font-weight: normal;
}

.artigos-chamada {
  font-family: var(--abril);
  grid-column: 3/4;
  padding-left: 1em;
  border-left: var(--bd-azul);
  grid-row: 1;
}

.artigos-tag {
  color: var(--cinza-claro);
  margin-bottom: 0;
  margin-top: 1rem;
  font-size: 1rem;
}

/* POSTS */

.content {
  max-width: 96%;
  margin: 0 auto;
  position: relative;
}

blockquote > p {
  font-style: italic;
  font-size: 1.2rem;
  color: var(--laranja);
  margin-bottom: .3rem;
}

/* POSTS */

.content {
  max-width: 96%;
  margin: 0 auto;
  position: relative;
}

.copy-category {
  border-bottom: var(--bd-azul);
  padding: 1rem 1em;
  font-family: var(--abril);
  font-size: 1.5em;
}

.copy-hero{
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
  margin-top: 2em;
  text-align: center;
  height: 900px;
  display: grid;
  grid-template-columns: 1fr 1em 1fr 1em 1fr;
}

.copy-hero_esq {
  grid-column: 1/2;
}

.copy-hero_gapesq{
  grid-column: 2/3;
  background-color: white;
}

.copy-hero_gapesqtransp {
  grid-column: 2/3;
  background-color: transparent;
}

.copy-hero_content{
  grid-column: 3/4;
  background-color: white;
  margin-top: 800px;
  display: flex;
  align-items: end;
  justify-content: center;
  height: ;
}

.copy-hero_title h1 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}


.copy-hero_title h1 > a {
  color: var(--azul);
  text-decoration: none;
}

.copy-hero_title h1 > a:hover {
  border-bottom: var(--bd-azul);
  transition: all .5s;
}

.copy-hero_meta {
  font-style: italic;
  font-size: 1.5em;
  padding: .5em;
  text-align: center;
  margin: 0 1em 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1em;
}

.copy-hero_meta > blockquote {
  grid-column: 2/4;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.copy-hero_gapdir {
  grid-column: 4/5;
  background-color: white;
}

.copy-hero_gapdirtransp {
  grid-column: 4/5;
  background-color: transparent;
}

.copy-hero_dir {
  grid-column: 5/6
}

.copy-content, .cs-content {
  max-width: 63rem;
  margin: 0 auto;
}

.is-fixed {
  opacity: 1;
}

.--shadow {
  box-shadow: 5px -2px 5px rgba(0, 0, 0, .3);
}

.cta{
  background: var(--laranja);
  color: var(--branco);
  font-family: Chivo, Verdana, sans;
  font-weight: regular;
  font-size: 1rem;
  margin: 1.4rem auto;
  padding: .4rem .5rem;
  border: none;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, .5);
}

.cta:hover{
  background: #a85854;
  box-shadow: none;
}

.post-img::after {
  display: block;
  position: relative;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0, #fff 100%);
  margin-top: -150px;
  height: 150px;
  width: 100%;
  content: '';
}

.post-img {
  height: 0px;
  opacity: .6;
}

.cs-content {
  max-width: 63rem;
  margin: 0 auto;
}

.cs-title {
  text-align: center;
  color: var(--azul);
  border-bottom: var(--bd-azul);
  margin: 4rem 25% 2rem;
  padding-bottom: 1rem;
}

.cs-esp {
  text-align: center;
  font-size: 1.5rem;
  font-family: 'Abril Fatface';
}

.cs-first {
  color: var(--azul);
  float: left;
  font-family: 'Abril Fatface';
  font-size: 75px;
  line-height: 60px;
  padding-top: 4px;
  padding-right: 8px;
  padding-left: 3px;
}

.cs-fim {
  max-width: 53rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 2rem;
  align-items: end;
}

/* Accordion */

.accordion {
  max-width: 36rem;
  margin: 0 auto;
}

input[type=checkbox] {
   position: absolute;
   top: -9999px;
   left: -9999px;
}

.accordion-item a {
  text-decoration: none;
}

.accordion-item h2 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  padding: 1rem;
  border-bottom: var(--bd-cinza);
}

.accordion-show {
  max-height: 0;
  overflow: hidden;
  padding-left: 30px;
  transition: max-height 0.4s ease;
}

input[type=checkbox]:checked + .accordion-show {
  max-height: 100vh;
}

/* Material de apoio */

.apoio {
  max-width: 63rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 3rem;
  margin: 2rem auto;
  padding-bottom: 2rem;
  border-bottom: var(--bd-azul);
}


/* NAV */

nav {
  background: #fff;
  border-top: var(--bd-azul);
  border-bottom: var(--bd-azul);
  grid-column: 1/ -1;
  padding-bottom: 0;
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%; 
  margin-top: 2em;
}

.nav-items {
  display: flex;
  justify-content: center;
}

.nav-items a { 
  color: var(--azul); 
  text-decoration: none;
  padding: 1rem;
}

.nav-items a:hover {
  color: #fff;
  background: var(--azul);
}

@-webkit-keyframes example {
  from {top:-100px;opacity: 0;}
  to {top:0px;opacity:1;}
}

/* Add animation (Standard syntax) */
@keyframes example {
  from {top:-100px;opacity: 0;}
  to {top:0px;opacity:1;}
}

.pesquisa {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.pesquisa:target {
  display: flex;
}

.pesquisa-content{
  margin: auto;
  background-color: white;
  padding: 3rem;  
  width: 50%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: example; /* Chrome, Safari, Opera */
  -webkit-animation-duration: 0.5s; /* Chrome, Safari, Opera */
  animation-name: example;
  animation-duration: 0.5s;
}

.pesquisa-close {
  text-align: right;
}

.pesquisa-close a {
  color: var(--cinza);
  text-decoration: none;
}

.pesquisa-close a:hover {
  border-bottom: var(--bd-cinza);
}

.pesquisa-close_x {
  font-size: 1.4rem;
}

form {
  display: flex;
  flex-direction: column;
}

label, input {
  margin-bottom: 1rem;
}

input#search-box {
  border-bottom: var(--bd-azul);
  border-top: none;
  border-left: none;
  border-right: none;
  font-size: 1rem;
  padding: .3rem;
  font-family: "Archivo Narrow", sans;
  font-style: italic;
  color: var(--cinza-claro);
}

/* FOOTER */

footer { 
  display: flex;
  flex-direction: column;
  background: var(--branco); 
  color: var(--azul);
  text-align: center;
  border-top: solid 10px;
  width: 95%;
  margin: 6rem auto;
  height: 10em;
}

footer h3 {
  font-family: 'Archivo Narrow', sans;
  font-weight: bold;
  margin-top: 4rem;
}

.footer-social {
  padding-bottom: 4rem;
}

.footer-social a {
  color: var(--azul);
}

.fab {
  padding: 1rem;
  font-size: 2rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.a-slideOut {
  opacity: 1;
  transition: all 3s ease;
}

html.is-animating .a-slideOut {
  opacity: 0;
}

/* RESPONSIVE */

@media (max-width: 1010px) {
  .copy-content, .cs-content {
    margin: 3rem auto;
    padding: 0 2rem;
  }
}

.nav-mobile_icon {
  display: none;
}

@media (max-width: 760px) {
  .principal, .artigos {
    display: block;
  }

  .nav-mobile_icon {
    display: flex;
    justify-content: center;
    padding-top: 1rem;
  }

  .fas {
    font-size: 2rem;
  }

  .nav-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
    flex-direction: column;
  }

  input[type=checkbox]:checked + .nav-items {
    max-height: 100vh;
  }

}

@media (max-width: 930px) {
  .artigos-chamada {
    border: 0;
  }

  .artigos-texto_item {
    display: block;
    border-top: var(--bd-azul);
    border-bottom: 0;
  }

  .artigos-texto_item h4 {
    margin-top: .5rem;
  }

  .artigos-tag {
    margin-top: 0;
  }

  .copy-hero {
    grid-template-columns: 1fr 1em 2fr 1em 1fr;
  }

  .copy-hero_meta > blockquote {
    margin-top: 4rem;
  }
}

@media (max-width: 520px) {
  .copy-hero {
    height: auto;
  }
  .copy-hero_meta > blockquote {
    margin-bottom: 0;
  }
}

@media (max-width: 490px) {
  .copy-hero_meta > blockquote {
    grid-column: 1/-1;
    
  }
}
