/********* Font *********/
@font-face {
  font-family: "Nexus-Typewriter-OT";
  src: url("../font/NexusTypewriterOT.otf");
}
@font-face {
  font-family: "Nexus-Typewriter-OT-Bold";
  src: url("../font/NexusTypewriterOT-Bold.otf");
}

@font-face {
  font-family: "Moderat-Regular";
  src: url("../font/Moderat-Regular.otf");
}

@font-face {
  font-family: "Moderat-Bold";
  src: url("../font/Moderat-Condensed-Bold.otf");
}

@font-face {
  font-family: "Flama-Medium";
  src: url("../font/Flama-Medium.otf");
}
/********* Root *********/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Nexus-Typewriter-OT;
}

html,
body {
  height: 100%;
  max-width: 1080px;
  margin: auto;
  padding: 0;
}
a,
a:hover,
a:focus {
  text-decoration: none !important;
}

.banner-category {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.font-category {
  text-transform: uppercase;
  font-family: Flama-Medium;
  font-size: 1.4rem;
  font-weight: normal;
  position: absolute;
  color: white;
}

.align-middle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

h6.produts-title {
  font-size: 0.7rem !important;
  font-weight: bold;
  margin-top: 0;
  text-align: center;
  padding: 0 20px;
  
}

button.primary {
  width: -webkit-fill-available;
  border: none;
  color: white;
  background-color: black;
  padding: 5px 40px;
  border-radius: 4rem;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  font-family: Nexus-Typewriter-OT-Bold;
}

/* .mt-10 {
  margin-top: 10px;
} */

.cards {
  margin: 10px auto;
  width: -webkit-fill-available;
  height: 320px;
  max-width: 300px;
  max-height: 320px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
}

img {
  width: -webkit-fill-available;
}

.cards > .cards-header > img {
  margin-top: 1rem;
  width: min-content;
}

.pilares {
  border-right: solid 12px white;
  background-color: #e0e8cd;
  padding: 5px 10px;
  height: 100%;
  width: 100%;
}

.title-pilares {
  font-family: Moderat-Bold;
  font-size: 1.2rem;
}
.description-pilares {
  font-family: Moderat-Regular;
  font-size: 0.8rem;
}

.parent {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(8, auto);
  grid-column-gap: 10px;
  grid-row-gap: 10px;
}

h1{
  z-index: -2;
}

.parent h2{
  margin-bottom: 0;
  width: 100%;
  background: #e0e8cd;
  color: #000;
  padding: 10px 0;
  font-size: 1rem;
}

/* Section: 01 - HOME */
.div1 {
  grid-area: 1 / 1 / 2 / 7;
}
.div2 {
  grid-area: 1 / 7 / 2 / 13;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Section: 02 - Categorias */
.div3 {
  grid-area: 2 / 1 / 3 / 5;
}
.div4 {
  grid-area: 2 / 5 / 3 / 9;
}
.div5 {
  grid-area: 2 / 9 / 3 / 13;
}

/* Section: 03 - Banner */
.div6 {
  grid-area: 3 / 1 / 4 / 13;
}

/* Section: 04 - Pilares */
.div7 {
  grid-area: 4 / 1 / 5 / 5;
}
.div8 {
  grid-area: 4 / 5 / 5 / 7;
  background-color: #e0e8cd;
  padding: 10px;
}
.div9 {
  grid-area: 4 / 7 / 5 / 9;
  background-color: #e0e8cd;
  padding: 10px;
}
.div10 {
  grid-area: 4 / 9 / 5 / 11;
  background-color: #e0e8cd;
  padding: 10px;
}
.div11 {
  grid-area: 4 / 11 / 5 / 13;
  background-color: #e0e8cd;
  padding: 10px;
}

/* Section: 05 - Logo */
.div12 {
  grid-area: 5 / 1 / 6 / 13;
}

/* Section: 06 - About */
.div13 {
  grid-area: 6 / 1 / 7 / 7;
}
.div14 {
  grid-area: 6 / 7 / 7 / 13;
}

/* Section: 07 - Produtos */
.div15 {
  grid-area: 7 / 1 / 8 / 4;
}
.div16 {
  grid-area: 7 / 4 / 8 / 7;
}
.div17 {
  grid-area: 7 / 7 / 8 / 10;
}
.div18 {
  grid-area: 7 / 10 / 8 / 13;
}
.div19 {
  grid-area: 8 / 1 / 9 / 4;
}
.div20 {
  grid-area: 8 / 4 / 9 / 7;
}
.div21 {
  grid-area: 8 / 7 / 9 / 10;
}
.div22 {
  grid-area: 8 / 10 / 9 / 13;
}

/* Mobile */
@media only screen and (max-width: 600px) {
  .parent {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(18, auto);
    grid-column-gap: 12px;
    grid-row-gap: 12px;
  }
  .div1 {
    grid-area: 1 / 1 / 2 / 7;
  }
  .div2 {
    grid-area: 1 / 7 / 2 / 13;
  }
  .div3 {
    grid-area: 2 / 1 / 3 / 13;
  }
  .div4 {
    grid-area: 3 / 1 / 4 / 13;
  }
  .div5 {
    grid-area: 4 / 1 / 5 / 13;
  }
  /* Section: 03 - Banner */
  .div6 {
    grid-area: 5 / 1 / 6 / 13;
  }
  /* Section: 04 - Pilares */
  .div7 {
    grid-area: 6 / 1 / 7 /13;
  }
  .div8 {
    grid-area: 7 / 1 / 8 / 7;
    background-color: #e0e8cd;
    padding: 10px;
  }
  .div9 {
    grid-area: 7 / 7 / 8 / 13;
    background-color: #e0e8cd;
    padding: 10px;
  }
  .div10 {
    grid-area: 8 / 1 / 9 / 7;
    background-color: #e0e8cd;
    padding: 10px;
  }
  .div11 {
    grid-area: 8 / 7 / 9 / 13;
    background-color: #e0e8cd;
    padding: 10px;
  }

  /* Section: 05 - Logo */
  .div12 {
    grid-area: 9 / 1 / 10 / 13;
  }

  /* Section: 06 - About */
  .div13 {
    grid-area: 10 / 1 / 11 / 13;
  }
  .div14 {
    grid-area: 11 / 1 / 12 / 13;
  }

  /* Section: 07 - Produtos */
  .div15 {
    grid-area: 12 / 1 / 13 / 7;
  }
  .div16 {
    grid-area: 12 / 7 / 13 / 13;
  }
  .div17 {
    grid-area: 13 / 1 / 14 / 7;
  }
  .div18 {
    grid-area: 13 / 7 / 14 / 13;
  }
  .div19 {
    grid-area: 14 / 1 / 15 / 7;
  }
  .div20 {
    grid-area: 14 / 7 / 15 / 13;
  }
  .div21 {
    grid-area: 15 / 1 / 16 / 7;
  }
  .div22 {
    grid-area: 15 / 7 / 16 / 13;
  }

  button.primary {
    font-size: 0.7rem;
  }

  .font-sm-1rem {
    font-size: 1rem;
  }
}

/* Small devices */
@media only screen and (min-width: 600px) and (max-width: 992px) {
  .parent {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(18, auto);
    grid-column-gap: 12px;
    grid-row-gap: 12px;
  }
  .div1 {
    grid-area: 1 / 1 / 2 / 7;
  }
  .div2 {
    grid-area: 1 / 7 / 2 / 13;
  }
  /* Section: 03 - Categorias */
  .div3 {
    grid-area: 2 / 1 / 3 / 5;
  }
  .div4 {
    grid-area: 2 / 5 / 3 / 9;
  }
  .div5 {
    grid-area: 2 / 9 / 3 / 13;
  }
  /* Section: 03 - Banner */
  .div6 {
    grid-area: 3 / 1 / 6 / 13;
  }
  /* Section: 04 - Pilares */
  .div7 {
    grid-area: 6 / 1 / 7 /13;
  }
  .div8 {
    grid-area: 7 / 1 / 8 / 7;
    background-color: #e0e8cd;
    padding: 10px;
  }
  .div9 {
    grid-area: 7 / 7 / 8 / 13;
    background-color: #e0e8cd;
    padding: 10px;
  }
  .div10 {
    grid-area: 8 / 1 / 9 / 7;
    background-color: #e0e8cd;
    padding: 10px;
  }
  .div11 {
    grid-area: 8 / 7 / 9 / 13;
    background-color: #e0e8cd;
    padding: 10px;
  }

  /* Section: 05 - Logo */
  .div12 {
    grid-area: 9 / 1 / 10 / 13;
  }

  /* Section: 06 - About */
  .div13 {
    grid-area: 10 / 1 / 11 / 7;
  }
  .div14 {
    grid-area: 10 / 7 / 12 / 13;
  }

  /* Section: 07 - Produtos */
  .div15 {
    grid-area: 12 / 1 / 13 / 7;
  }
  .div16 {
    grid-area: 12 / 7 / 13 / 13;
  }
  .div17 {
    grid-area: 13 / 1 / 14 / 7;
  }
  .div18 {
    grid-area: 13 / 7 / 14 / 13;
  }
  .div19 {
    grid-area: 14 / 1 / 15 / 7;
  }
  .div20 {
    grid-area: 14 / 7 / 15 / 13;
  }
  .div21 {
    grid-area: 15 / 1 / 16 / 7;
  }
  .div22 {
    grid-area: 15 / 7 / 16 / 13;
    display: flex;
    justify-content: center;
  }

  button.primary {
    font-size: 0.8rem;
  }

  .font-sm-1rem {
    font-size: 1rem;
  }
}

/* Large devices */
@media only screen and (min-width: 992px) and (max-width: 1200px) {
  .title-pilares {
    font-size: 1rem;
  }
}
