@charset "utf-8";

/* -----------------------------------------------
* burger icon
* ----------------------------------------------- */

.c-burger-icon {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.c-burger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--gaia-color-neutral-dark);
  transition: all 0.3s ease;
}

/* transform to X when drawer open */
.is-drawer-open .c-burger-icon span:nth-child(1) {
  transform: translateY(13px) rotate(45deg);
}
.is-drawer-open .c-burger-icon span:nth-child(2) {
  opacity: 0;
}
.is-drawer-open .c-burger-icon span:nth-child(3) {
  transform: translateY(-13px) rotate(-45deg);
}

@media (max-width: 768px) {
  .c-burger-icon {
    display: flex;
  }
}


