.burger {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 100vh;
  opacity: 0;
  z-index: 99999999;
  background: rgba(0, 0, 0, 0.5);
  @include transition-std;
  pointer-events: none;

  &.active {
    pointer-events: all;
    @include transition-std;
    width: 100vw;
    opacity: 1;

    .burger-inner {
      height: 100%;
      @include transition-std;
    }
  }
}
.burger-close-overlay {
  max-width: 40%;
  width: 100%;
  height: 100%;
}

.burger-inner {
  @include transition-std;
  max-width: 60%;
  width: 100%;
  height: 0%;
  background: $base-green;

  li {
    a,
    span {
      border-top: 0.1rem solid #006a4d;
      border-bottom: 0.1rem solid #006a4d;
      color: #fff;
      font-weight: bold;
      font-size: 2.4rem;
      display: block;
      padding: 2.4rem;
      @include transition-std;
      background: $base-green;

      &:hover {
        background: $hover-green;
        @include transition-std;
      }
    }
  }

  .burger-list-first {
    border-bottom: 0.1rem solid #006a4d;
    border-left: 0.4rem solid #fff;
    overflow: hidden;
    @include transition-std;
    max-height: 8.1rem;
    height: 100%;
    &.active {
      @include transition-std;
      max-height: 30rem;
      .burger-inner-dropdown {
        li {
          a {
            padding: 2.4rem 4rem;
            padding-right: 1rem;
            @include transition-std;
          }
        }
      }
    }
    .first-inner {
      padding: 2.4rem;

      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 2rem;
      justify-content: space-between;
      background: $base-green;
      @include transition-std;

      &:hover {
        background: $hover-green;
        @include transition-std;
      }
    }
    span {
      border: none;
      background: transparent !important;
      padding: 0;
    }
  }
}

.burger-arrow {
  @include transition-std;
  transform: rotateX(180deg);
  width: 3rem;
  height: 3rem;

  img {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
  }

  &.active {
    @include transition-std;
    transform: rotateX(0deg);
  }
}

.burger-inner-dropdown {
  li {
    a {
      font-size: 1.8rem;
      border: none;
      padding: 2.4rem 0rem;
      @include transition-std;
    }
  }
}

// Adaptive
@media screen and (max-width: 1000px) {
  .burger-close-overlay {
    max-width: 20%;
  }
  .burger-inner {
    max-width: 80%;
  }
}
