header {
  box-shadow: 0px -1px 28px 0px rgba(0, 0, 0, 0.18);
  z-index: 40;

  padding-top: 1rem;
  padding-bottom: 1rem;

  @media (max-width: 1279px) {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .navbar {
    .navbar-item a {
      font-size: 1rem;
      height: 100%;

      z-index: 2

      &:hover {
        color: var(--secondary);
      }

      svg {
        transition: 0.2s all linear;
        display: block;

        @media (min-width: 1280px) {
          max-width: 10px;
          display: none;
        }
      }

      &.active {
        a {
          color: var(--secondary);
        }
        svg {
          transform: rotate(180deg);
        }
      }
    }
  }

  .navbar-menu-dropdown {
    box-shadow: 0px 14px 14px 0px rgba(0, 0, 0, 0.25),
      inset 0 20px 20px -20px #00000010;

    transition: all 0.4s linear;

    flex-direction: row;

    &.open {
      max-height: 1000px;
    }

    @media (min-width: 1280px) {
      display: none;

      &.open {
        display: block;
      }
    }
  }

  @media (max-width: 1279px) {
    .navbar-item {
      overflow: hidden !important;
      height: 100%;
    }

    .navbar-menu-dropdown {
      height: 100%;
    }

    .navbar-menu-dropdown > div {
      flex-direction: column;
    }

    div.navbar-menu {
      overflow: auto;
      position: fixed;
      background: var(--color-stone-white);
      inset: 0;
      top: 4rem;
      transition: all 0.3s linear;
      display: block !important;

      &.close {
        transform: translateX(100%);
        display: none;
      }

      &.open {
        transform: translateX(0);
        background: #f3f2eb;
      }

      > nav {
        .navbar-item {
          > a {
            display: flex;
            width: 100%;
            padding: 2rem;
            border-bottom: var(--feather-gray) 1px solid;
            background: white;

            &:hover {
              background-color: rgba(223, 230, 230, 1);
            }

            svg {
              transition: 0.3s all linear;
            }

            &.active {
              svg {
                transform: rotate(180deg);
              }
            }
          }

          @media (max-width: 1279px) {
            width: 100%;
          }
        }

        .navbar-item-child {
          > a {
            display: flex;
            width: 100%;

            &:hover {
              color: var(--secondary);
            }
          }
          @media (max-width: 1279px) {
            width: 100%;
          }
        }
      }
    }
  }
}