/* Colors Variables */
:root {
  --primary-dark: #333333;
  --primary-light: #c4c4c4;
  --black: #000000;
  --white: #ffffff;
  --accent: #efe137;
}

*,
html,
body {
  font-family: mr-eaves-xl-modern, sans-serif;
  color: var(--primary-dark);
  font-size: 1em;
  font-weight: 300;
  line-height: 120%;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

h1,
h2 {
  line-height: 1em;
  color: var(--primary-dark);
  font-weight: 300;
}

h3,
h4,
h5 {
  color: var(--black);
  font-weight: 400;
}

.highlighted-text {
  box-shadow: inset 0 -1rem 0 var(--accent), 0 .1rem 0 var(--accent);
}

.btn-primary {
  background-color: var(--primary-dark);
  border: 0;
}

::-moz-selection {
  color: var(--primary-light);
  background: var(--primary-dark);
}

::selection {
  color: var(--primary-light);
  background: var(--primary-dark);
}

/* NAVBAR */
.navbar {
  background-color: transparent;
  margin-bottom: 0rem;
}

.navbar-nav {
  margin-top: 1rem;
}

.navbar-nav .nav-item {
  padding: .2rem 0;
}

.navbar-brand img {
  width: 100px;
  height: auto;
}

.nav-link {
  font-size: 1.2rem;
  color: var(--primary-light);

  &:hover,
  &:focus {
    color: var(--white);
  }
}

.navbar-collapse {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 70%;
  background-color: var(--primary-dark);
  padding: 3rem;
}

.navbar-collapse.collapsing {
  height: 100%;
  left: -75%;
  transition: height 0s ease;
}

.navbar-collapse.show {
  height: 100%;
  transition: left 400ms ease-in-out;
}

.navbar-toggler.collapsed~.navbar-collapse {
  transition: left 400ms ease-in;
}

.nav-item .active {
  font-weight: 800;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: var(--white);
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* FOOTER */
.footer {
  margin-top: 3rem;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.footer a {
  text-decoration: none;
  color: var(--primary-dark);
  font-size: 1.1rem;
  font-weight: 400;

  &:hover,
  &:focus {
    text-decoration: underline;
    color: var(--black);
  }
}

.footer a.active {
  font-weight: 800;

  &:hover,
  &:focus {
    text-decoration: none;
    color: var(--primary-dark);
  }
}

/* Define the shape and color of the hamburger lines */
.navbar-toggler span {
  display: block;
  background-color: var(--primary-dark);
  height: 3px;
  width: 25px;
  margin-top: 5px;
  margin-bottom: 5px;
  position: relative;
  left: 0;
  opacity: 1;
  transition: all 0.35s ease-out;
  transform-origin: center left;
}

/* top line needs a little padding */
.navbar-toggler span:nth-child(1) {
  margin-top: 0.3em;
}

/*** Animate collapse into X. */
/* top line rotates 45 degrees clockwise and moves up and in a bit to close the center of the X in the center of the button */
.navbar-toggler:not(.collapsed) span:nth-child(1) {
  transform: translate(15%, -33%) rotate(45deg);
}

/* center line goes transparent */
.navbar-toggler:not(.collapsed) span:nth-child(2) {
  opacity: 0;
}

/* bottom line rotates 45 degrees counter clockwise, in, and down a bit to close the center of the X in the center of the button  */
.navbar-toggler:not(.collapsed) span:nth-child(3) {
  transform: translate(15%, 33%) rotate(-45deg);
}

/*** Animate collapse open into hamburger menu */
/* top line moves back to initial position and rotates back to 0 degrees */
.navbar-toggler span:nth-child(1) {
  transform: translate(0%, 0%) rotate(0deg);
}

/* middle line goes back to regular color and opacity */
.navbar-toggler span:nth-child(2) {
  opacity: 1;
}

/* bottom line goes back to initial position and rotates back to 0 degrees */
.navbar-toggler span:nth-child(3) {
  transform: translate(0%, 0%) rotate(0deg);
}

/* HOME */
.home-title {
  margin-top: 6rem;
}

.home-title h1,
.home-title h1 span {
  font-size: 3rem;
  font-weight: 400;
}

.home-description h5 {
  line-height: 1.6rem;
  margin-bottom: 1rem;
}

.home-description a,
.who-we-are-description a {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary-dark);
  text-decoration: none;
  padding-bottom: .2rem;
  border-bottom: .2rem solid var(--primary-dark);
  transition: 0.2s ease;

  &:hover,
  &:focus {
    color: var(--black);
    border-bottom: .2rem solid transparent;
  }
}

.home-services {
  margin-top: 6rem;
}

.home-services .border-top {
  border-color: var(--primary-light) !important;
}

.home-services h4 {
  letter-spacing: .3em;
  text-transform: uppercase;
}

.home-services-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 2rem;
}

.home-services-title a {
  text-decoration: none;
  font-weight: 800;
  line-height: 2rem;
  color: var(--primary-dark);
  transition: 0.2s ease;

  &:hover,
  &:focus {
    color: var(--black);
    box-shadow: inset 0 -1rem 0 var(--accent), 0 .1rem 0 var(--accent);
  }
}

.home-services-description {
  font-size: 1.3rem;
  line-height: 1.8rem;
}

.home-pillars {
  margin-top: 5rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: var(--primary-dark);
}

.home-pillars h2 {
  color: var(--white);
  font-weight: 400;
  font-size: 2rem;
  margin-bottom: .5rem;
}

.home-pillars h4 {
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
}

.home-pillars p {
  color: var(--primary-light);
  font-size: 1.1rem;
  line-height: 1.5rem;
}

/* QUEM SOMOS */
.who-we-are-title {
  margin-top: 6rem;
}

.who-we-are-title h1 {
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

.who-we-are {
  margin-top: 8rem;
}

.who-we-are h4 {
  letter-spacing: .3em;
  text-transform: uppercase;
}

.who-we-are-content {
  background-color: var(--white);
}

.who-we-are-content p {
  font-size: 1.4rem;
  line-height: 1.7rem;
}

.who-we-are-pillars {
  margin-top: 5rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.who-we-are-pillars h4 {
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.who-we-are-pillars .accordion {
  border-radius: 0;
}

.who-we-are-pillars .accordion-item {
  color: var(--primary-dark);
  margin-top: 2rem;
  border-bottom: 1px solid var(--primary-light);
}

.accordion-flush>.accordion-item:first-child {
  margin-top: 0;
}

.who-we-are-pillars .accordion-button:not(.collapsed) {
  background-color: transparent;
}

.who-we-are-pillars .accordion-button {
  padding: 0 0 1rem;
  color: var(--primary-dark);
  box-shadow: none;
  font-size: 2rem;
  font-weight: 400;
}

.who-we-are-pillars .accordion-button:focus {
  box-shadow: none;
}

.who-we-are-pillars .accordion-body {
  padding: 1rem 0 2rem;
  font-size: 1.3rem;
  line-height: 1.8rem;
}

/* TEMP PAGE */
.temp-page {
  background-color: var(--primary-dark);
}
.temp-page .home-title h1,
.temp-page .home-title h1 span {
  font-size: 3rem;
  font-weight: 400;
  color: var(--primary-light);
}

.temp-page .home-description h5 {
  line-height: 1.6rem;
  margin-bottom: 1rem;
  color: var(--primary-light);
}

.temp-page .highlighted-text {
  box-shadow: inset 0 -1rem 0 var(--black), 0 .1rem 0 var(--black);
}

/* X-Small devices (portrait phones, less than 576px)
No media query for `xs` since this is the default in Bootstrap */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .nav-link {
    font-size: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .home-body {
    background-image: url(../images/bkg-xl.png);
    background-repeat: no-repeat;
    background-size: contain;
  }

  .navbar-nav {
    margin-top: 0;
  }

  .navbar-collapse {
    position: inherit;
    background-color: transparent;
    padding: 0;
  }

  .navbar-nav .nav-item {
    padding: 0 1.5rem;
  }

  .nav-link {
    font-size: 1.4rem;
    color: var(--primary-dark);
    text-decoration: none;
    padding-bottom: .2rem;
    border-bottom: .2rem solid transparent;
    transition: 0.2s ease;

    &:hover,
    &:focus {
      color: var(--black);
      border-bottom: .2rem solid var(--primary-dark);
    }
  }

  .nav-item .active {
    font-weight: 800;
    border-bottom: .2rem solid var(--accent);
  }

  .navbar-nav .nav-link.active,
  .navbar-nav .nav-link.show {
    color: var(--primary-dark);
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }

  /* HOME */
  .home-title {
    margin-top: 10rem;
  }

  .home-title h1,
  .home-title h1 span {
    font-size: 5rem;
    font-weight: 300;
  }

  .home-description h5 {
    line-height: 2rem;
    margin-bottom: 1rem;
  }

  .home-services {
    margin-top: 10rem;
  }

  .home-services .border-top {
    border-color: var(--primary-light) !important;
  }

  .home-services h4 {
    letter-spacing: .5em;
    text-transform: uppercase;
  }

  .home-services-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 3rem;
  }

  .home-pillars h4 {
    letter-spacing: .5em;
  }

  /* QUEM SOMOS */
  .who-we-are-title {
    margin-top: 10rem;
  }

  .who-we-are-title h1,
  .who-we-are-title h1 span {
    font-size: 4rem;
    font-weight: 300;
  }

  .who-we-are {
    margin-top: 10rem;
  }

  .who-we-are h4 {
    letter-spacing: .5em;
    font-weight: 300;
  }

  .who-we-are-content p {
    font-size: 1.6rem;
    line-height: 2rem;
  }

  .who-we-are-pillars h4 {
    letter-spacing: .5em;
  }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {}