
body, html{
  min-width:                      100%;
  min-height:                     100vh;
  overflow-x:                     hidden;
  background-size:                cover;
  background-image:               url('../img/fundo1.webp');
  background-repeat:              no-repeat;
  background-position:            center;
  background-attachment:          fixed;
}

h1, h2 {
  text-align: justify;
  padding: .5rem;
}

.maingrid {
  position: relative;
  /* display: grid;
  grid-template-columns: 2fr 6fr 2fr; */
  height: 100vh;

  display: flex;
  flex-direction: column;
  width: 100%;
}

header, main, footer  {
  width: 100%;
  height: fit-content;
  max-width: 100rem;
  margin: 0 auto;
}
.promo {
  grid-column: 1;
  grid-column-end: none;
  background: #0d404d;
  color: #EBEBEB;
  display: grid;
  grid-template-columns: 2fr minmax(0, 100rem) 2fr;
  font-weight: 100;
  margin: 1rem 0;
}

.promo h1 { font-size: 2rem; line-height: 2rem; color: #FFF; font-weight: 100;}
.promo h2 { font-size: 1.4rem; line-height: 1.8rem; font-weight: 100;}


header {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: flex-start;
  color: #222;
  gap: 3rem;
  font-size: 1.6rem;
  height: 10rem;

}
.logo {
  max-height: 100%;
  cursor: pointer;
}

header ul {
  list-style-type: none;
  display: flex;
  gap: 3rem;

}

section h1 { font-size: 2rem; line-height: 2rem; color: #005da6}
section h2 { font-size: 1.5rem; line-height: 2.2rem; font-weight: 100;}

main { align-items: flex-start;}

footer {

  color: #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.2rem;
  height: fit-content;
  padding: 5rem;
}

footer ul {
  list-style-type: none;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
ul li {
  /* text-decoration: underline; */
  cursor: pointer;
}
ul li:hover {
  color: #005da6;
  font-weight: bold;
  cursor: pointer;
  transition: all ease-in-out .1s;
}

ul li.ativo{
  color: #005da6;
  font-weight: bold;
}

.grid_50_50 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.grid_70_30 {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 1rem;
}
.grid_30_70 {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 1rem;
}

.grid_10_90 {
  display: grid;
  grid-template-columns: 1fr 9fr;
  gap: 1rem;
}

.grid_20_80 {
  display: grid;
  grid-template-columns: 15rem 8fr;
  gap: 1rem;
}

.campos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

.grid {
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, auto));
  text-align: center;
  font-weight: 100;
}

.grid h1 { font-size: 2rem;}
.grid h2 { font-size: 1.8rem;}
.grid h3 { font-size: 1.4rem; font-weight: 100;}

.grid h1,
.grid h2 {
  padding: 1rem;
  text-align: center;
}

.grid hr {
  border: solid .01rem #EBEBEB;
}

.grid section {
  transition: transform 0.1s ease-in-out;
}
