#header {
  background-color: transparent;
}
#header.scrolled {
  background-color: rgba(0, 0, 0, 0.35);
}

#header .header_nav ul#gnb_1dul .gnb_1dli .gnb_1da {
  color: #fff;
}
#header .header_nav ul#gnb_1dul .gnb_2dul .gnb_2da {
  color: rgba(255, 255, 255, 0.6);

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

.header_bx {
  border-bottom: 0 none;
}
.header_bx:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: all 0.6s ease;
}
.header_bx:has(.header_nav:hover):before {
  max-height: 999px;
}

#header .header_nav ul#gnb_1dul-active-nav .gnb_1dli .gnb_1da {
  color: #fff;
}

#header .header_top .logo_bx img,
#header .mo_head .mo_logo_bx img {
  filter: brightness(0) invert(1);
}
body .header_bx:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: all 0.6s ease;
}
body {
  padding: 40px 0 0;
}
@media (max-width: 991.98px) {
  #header {
    & .mo_head {
      background-color: transparent;
      border-bottom: 0 none;
    }
    & .mo_head .menu_btn {
      background-color: transparent;
    }

    &.scrolled .mo_head:before {
      content: '';
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.35);
      transition: all 0.6s ease;
    }
  }
}

.sound_bx {
  position: fixed;

  top: 178px;
  right: 20px;
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  background-color: #fff;
  border-radius: 10px;
  align-items: center;
  z-index: 9999;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
  > img {
    width: 40px;
    height: auto;
  }
  > span.music_tit {
    font-size: 16px;
    font-weight: 400;
  }
  > .sound_btn {
    width: 32px;
    height: 32px;
    display: block;
    background: none;
    border: 0;
  }
  > .sound_btn.sound_off_btn {
    background-image: url(/images/ai/icon/on.png);
    background-size: 32px;
    background-repeat: no-repeat;
  }
  > .sound_btn.sound_on_btn {
    background-image: url(/images/ai/icon/off.png);
    background-size: 32px;
    background-repeat: no-repeat;
  }
}

@media (max-width: 991.98px) {
  .sound_bx {
    position: fixed;
    top: 8px;
    left: 250px;
    right: 5px;
    gap: 8px;
    border-radius: 5px 5px 0 0;
    padding: 5px 10px;
    > img {
      width: 30px;
    }
    > span.music_tit {
      display: inline-block;
      flex-grow: 1;
      font-size: 14px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
    > .sound_btn {
      width: 20px;
      height: 20px;
      flex-shrink: 0;
    }
    > .sound_btn.sound_off_btn {
      background-size: 20px;
    }
    > .sound_btn.sound_on_btn {
      background-size: 20px;
    }
    .music_on,
    .music_off {
      display: none;
    }
  }
}
