/* Reset */

* {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
p,
ul {
  padding: 0px;
  margin: 0px;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  text-decoration: none;
}

/* Header */

header {
  background: url("../img/bg.jpg") no-repeat center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 37.06vh;
  text-align: center;
  color: #e4ede5;
  width: 100%;
}

header img {
  max-width: 100%;
  display: block;
}

header h1 {
  font-size: 3.375rem;
  margin: 1.05vw 0 0.52vw 0;
}

header p {
  font-size: 2.25rem;
  position: relative;
  margin: 10px 0 10px 0;
}

header p span {
  font-style: italic;
}

header p span::before,
span::after {
  content: "";
  display: inline-block;
  position: relative;
  width: 2.1vw;
  height: 2px;
  vertical-align: middle;
  margin: 0 1.05vw 0 1.05vw;
  background-color: #e4ede5;
}

/* Sections */

section {
  display: grid;
  grid-template-columns: 2/12 7/12 3/12;
  grid-gap: 1.57vw;
  justify-content: space-around;
  margin: 3.36vw auto 0 auto;
  max-width: 80%;
}

section hr {
  grid-column: 1 / span 12;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #e4ede5;
  border: none;
}

section .number {
  display: flex;
  width: 100%;
  max-width: 14.18vw;
  margin-right: 30px;
}

.number img {
  width: 100%;
  height: auto;
}

section .text {
  grid-column: 3 / span 7;
}

section .text h2 {
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 2.5rem;
  text-transform: uppercase;
  color: #135226;
  position: relative;
}

section .text h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #e4ede5;
}

section .text ul {
  font-family: Open Sans;
  font-size: 1.25rem;
  line-height: 2.188rem;
  color: #808080;
  margin-top: 1.05vw;
}

section .illustration {
  grid-column: 10 / span 3;
  align-self: center;
  width: 100%;
  max-width: 14.18vw;
}

.illustration img {
  width: 100%;
  height: auto;
}

.left .illustration {
  grid-column: 1 / span 3;
  align-self: center;
}

section .left .number {
  grid-column: 4 / span 2;
}

.left .text {
  grid-column: 6 / span 6;
}

/* Chamado */

.called {
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 3.36vw;
}

.called h2 {
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 2.5rem;
  color: #135226;
  position: relative;
}

.called h2::after {
  content: "";
  position: absolute;
  justify-items: center;
  align-items: center;
  bottom: 0;
  left: 0;
  max-width: 100%;
  height: 2px;
  background-color: #e4ede5;
  margin: 0 auto;
}

.called .button {
  display: inline-block;
  font-size: 1.125rem;
  line-height: 1.562rem;
  text-transform: uppercase;
  font-weight: bold;
  margin-top: 1.05vw;

  padding: 15px 20px;
  background-color: #1d6b2a;
  color: #e4ede5;
  border-radius: 5px;
  transition: box-shadow 0.3s ease-in-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.called .button:hover {
  background-color: #135226;
}

/* Footer */

footer {
  /* height: 13.25vh; */
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #e4ede5;
  background-color: #1d6b2a;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3.36vw auto 0 auto;
  max-width: 80%;
}

footer .col-left {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.05vw;
}

footer .col-right {
  display: flex;
  align-self: flex-end;
  margin-bottom: 1.05vw;
}

footer h3 {
  align-self: flex-start;
  margin-top: 1.47vw;
}

footer ul {
  list-style: none;
}

@media (max-width: 768px) {
  header {
    height: 27.06vh;
  }
  header h1 {
    font-size: 2.375rem;
  }

  header p {
    font-size: 1.25rem;
  }

  section {
    max-width: 90%;
  }

  section .text h2 {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 2.5rem;
  }

  section .text ul {
    font-family: Open Sans;
    font-size: 0.9rem;
    line-height: 2.188rem;
    color: #808080;
    margin-top: 1.05vw;
  }

  section .illustration {
    display: none;
  }
  section .number {
    /* display: none; */
    align-self: flex-start;
  }

  .called h2 {
    font-size: 1.8rem;
  }

  .called .button {
    font-size: 0.9.rem;
    margin-bottom: 3.05vw;
  }

  footer .container {
    font-size: 0.7rem;
    display: block;
    margin: 3.36vw auto 0 auto;
  }
}
