#header {
  --parent-padding: 20px;
  display: flex;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
  width: 100%;
  position: fixed;
  padding: 0px var(--parent-padding);
  top: 0px;
  z-index: 999;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  background-color: transparent;
  width: 100%;
  max-width: 1440px;
  height: 80px;
  padding: 19px 0px;
  margin: 0 auto;
  position: relative;
}
.header_block {
  display: flex;
  justify-content: center;
  height: 80px;
  padding-bottom: 80px;
  position: relative;
}
.header .header_menu_button {
  width: 120px;
}
.header .header_menu_button > span {
  font-size: 16px;
  font-weight: 500;
  line-height: 140%;
  pointer-events: none;
}
.header_menu {
  display: flex;
  gap: 24px;
  position: relative;
}
.header_menu * {
  white-space: nowrap;
}
.header_sub_menu_mobile {
  flex-direction: column;
  gap: 8px;
  position: absolute;
  top: 30px;
  right: 0px;
  height: fit-content;
  padding: 12px 8px;
  border-radius: 8px;
  background-color: #191919;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

.header_sub_menu_button {
  display: flex;
  align-items: center;
  gap: 12px;

  width: 100%;
  padding: 12px;
  background-color: #1a1a1a;
  border-radius: 8px;

  color: white;
  font-weight: 500;
  box-sizing: border-box;
  cursor: pointer;
}

.header_sub_menu_button > span {
  color: white;
  pointer-events: none;
}
.header_sub_menu_button.choice span {
  color: #7aa0ff;
}
.header_sub_menu_button:active > span {
  color: #7aa0ff;
}

#header_sub_menu_app {
  position: absolute;
  top: 100%;
  right: 288px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 200px;
  padding: 12px;
  background-color: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.header_sub_menu_app > span {
  color: white;
  pointer-events: none;
}
.header_sub_menu_app.choice span {
  color: #7aa0ff;
}
.header_sub_menu_app:active > span {
  color: #7aa0ff;
}

#header_sub_menu_guide {
  position: absolute;
  top: 100%;
  right: 150px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 200px;
  padding: 12px;
  background-color: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.header_sub_menu_guide > span {
  color: white;
  pointer-events: none;
}
.header_sub_menu_guide.choice span {
  color: #7aa0ff;
}
.header_sub_menu_guide:active > span {
  color: #7aa0ff;
}

#mobile_menu > span {
  pointer-events: none;
}

.logo_moi {
  display: inline-flex;
  width: 117px;
  height: 42px;
  background: transparent url("../../assets/image/common/header/img_moi.svg")
    padding-box no-repeat;
  background-size: 117px;
  cursor: pointer;
}

.icon_humbleicons {
  display: inline-flex;
  width: 24px;
  height: 24px;
  background: transparent
    url("../../assets/image/common/header/icon_humbleicons_bars.svg")
    padding-box no-repeat;
  background-size: auto;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .header .logo_moi {
    width: 90px;
    height: 32px;
    background-size: 90px;
  }
}

.logo_google {
  display: inline-flex;
  width: 24px;
  height: 18px;
  background: transparent
    url("../../assets/image/common/header/icon_google.svg") padding-box
    no-repeat;
  background-size: auto;
}

.logo_apple {
  display: inline-flex;
  width: 24px;
  height: 24px;
  background: transparent url("../../assets/image/common/header/icon_apple.svg")
    padding-box no-repeat;
  background-size: auto;
}
.store_text {
  font-size: 16px;
  line-height: 24px;
}
