.slider {
    margin-top: 130px !important;
}

nav {
  position: fixed;
  background-color: #fefefe;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 30;
  box-shadow: 0 2px 10px #0002;

  & > section {
    width: 100%;
    display: flex;
    & > ul {
      list-style: none;
    }
  }

  & > section.nl-faixa-topo {
    height: min-content;
    background-color: var(--color-2);

    & > ul {
      width: 100%;
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      align-content: center;
      color: var(--color-white);
      padding: 10px 90px;

      & > li {
        &:last-child {
          justify-self: end;
        }
        &:nth-child(2) {
          justify-self: center;
        }
        & > a {
          color: inherit;
          text-decoration: none;
          margin-inline: 10px;
          & > i {
            font-size: 20px;
            transition: 0.2s all ease-in-out;
            &:hover {
              color: #fff9;
            }
          }
        }
      }
    }
  }

  & > section.nl-cabecalho {
    height: 100%;
    display: flex;
    justify-content: space-between;
    padding-inline: 90px;
    height: 90px;
    align-items: center;

    & > div {
      & > a > img {
        max-height: 70px;
        max-width: 220px;
        object-fit: cover;
      }
      & > i {
        display: none;
      }
    }

    & > ul {
      display: inherit;
      color: var(--color-2);
      align-items: center;
      & > li {
        margin-inline: 10px;
        &:last-child {
          margin-right: 0;
        }
        & > a {
          text-decoration: none;
          color: inherit;
          display: flex;
          flex-direction: column;
          &:hover {
            &::after {
              transform: scaleX(1);
              transform-origin: left;
            }
          }
          &::after {
            content: "";
            width: 100%;
            transform: scaleX(0);
            margin-top: 2px;
            transform-origin: right;
            height: 1px;
            transition: 0.3s transform ease-in-out;
            background-color: var(--color-1);
          }
        }
      }
    }
  }
}

.menu-icon {
  display: none;
}
.menu-mobile {
  display: none;
}

@media (width < 750px) {
  .slider {
    margin-top: 90px !important;
  }

  nav {
    width: 100vw;
    & > section.nl-faixa-topo {
      display: none;
    }
    & > section.nl-cabecalho {
      padding-inline: 26px;
      & > ul {
        display: none;
      }
      & > div {
        & > i {
          display: flex;
          font-size: 25px;
        }
      }
    }
  }
  .logo > a > img {
    max-width: 200px;
    max-height: 60px;
    object-fit: contain;
  }
  .menu-mobile {
    flex-direction: column;
    position: absolute;
    background: white;
    padding: 20px 50px;
    top: 90px;
    left: 0;
    box-shadow: inset 0 5px 8px -5px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);

    & > ul {
      display: flex;
      flex-direction: column;
      list-style: none;
      padding: 0;
      margin: 0;
      gap: 20px;
      font-size: 20px;
      & > li a {
        text-decoration: none;
        color: #000;
        font-family: var(--font-text);
        padding: 10px;
      }
    }
  }

  .menu-mobile.open {
    display: flex;
    width: 100%;
  }

  .menu-icon {
    display: block;
  }
}

/* Animcao -> Menu Hamburger */
.hamburger .line{
  width: 30px;
  height: 3px;
  background-color: #000;
  display: block;
  margin: 8px auto;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.hamburger:hover{
  cursor: pointer;
}

#hamburger-1.is-active .line:nth-child(2){
  opacity: 0;
}

#hamburger-1.is-active .line:nth-child(1){
  -webkit-transform: translateY(11px) rotate(45deg);
  -ms-transform: translateY(11px) rotate(45deg);
  -o-transform: translateY(11px) rotate(45deg);
  transform: translateY(11px) rotate(45deg);
}

#hamburger-1.is-active .line:nth-child(3){
  -webkit-transform: translateY(-11px) rotate(-45deg);
  -ms-transform: translateY(-11px) rotate(-45deg);
  -o-transform: translateY(-11px) rotate(-45deg);
  transform: translateY(-11px) rotate(-45deg);
}