header.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 15;

  display: flex;
  justify-content: space-between;

  padding: 16px 160px;
  background-color: #000000;

  width: 100%;

  color: white;
}

span#current-page-name {
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
}

header.header.--scrolled {
  background-color: white;
  color: #212121;
}

div.header__left-container {
  display: flex;
  align-items: center;
  column-gap: 37px;
}

div.header__left-container > h1 {
  font-size: 0;
}

svg.header_left-container__logo.--black,
svg.header_left-container__logo.--black.--mobile,
svg.header_left-container__logo.--white.--mobile {
  display: none;
}

nav.header__navigation ul.header__navigation-list {
  display: flex;
  align-items: center;
  column-gap: 36px;
}

li.header__navigation-list-item {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;

  cursor: pointer;
}

li.header__navigation-list-item:hover,
li.header__navigation-list-item.--current {
  font-weight: bold;
}

div.header__button-container {
  display: flex;
  align-items: center;
  column-gap: 20px;
}

button.header__language-selector {
  position: relative;

  display: flex;
  align-items: center;
  column-gap: 4px;
}

img.header__language-selector__icon.--black {
  display: none;
}

svg.header__language-selector__toggle-icon.--black {
  display: none;
}

svg.header__language-selector__toggle-icon,
svg.header__language-selector__toggle-icon.--rotated {
  transition: transform 0.3s ease-in-out;
}

svg.header__language-selector__toggle-icon.--rotated {
  transform: rotate(180deg);
}

ul.header__language-selector__list {
  visibility: hidden;
  position: absolute;
  top: calc(100% + 12px);
  left: -50%;

  display: flex;
  flex-direction: column;
  row-gap: 1px;

  border: 1px solid #dfe3e9;
  border-radius: 4px;
  background-color: white;
  padding: 8px 0;

  overflow: hidden;
}

ul.header__language-selector__list.--expanded {
  visibility: visible;
}

li.header__language-selector__list-item {
  background-color: white;
  padding: 8px 24px;

  font-size: 14px;
  font-family: Pretendard;
  font-weight: 700;
  line-height: 20px;
}

header.header.--scrolled > div > a > button.header__dev-guide-button {
  border: 1px solid #212121;
  border-radius: 4px;
  padding: 8px 16px;
  background-color: #ffffff;

  color: #212121;
  font-weight: bold;
}

header.header.--scrolled > div > button.header__contact-button {
  border: 1px solid #212121;
  border-radius: 4px;
  padding: 8px 16px;
  background-color: #212121;

  color: #ffffff;
  font-weight: bold;
}

button.header__dev-guide-button {
  border: 1px solid #a4aaae;
  border-radius: 4px;
  padding: 8px 16px;
  background-color: transparent;

  color: #ffffff;
  font-weight: bold;
}

button.header__contact-button {
  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #ffffff;
  border-radius: 4px;
  padding: 8px 16px;
  background-color: #ffffff;

  color: #212121;
  font-weight: bold;
}

button.header__mobile-nav-button {
  display: none;
}

img.header__mobile-nav-button__icon.--black {
  display: none;
}

div.header-mobile-navigation {
  display: none;
}

@media screen and (max-width: 1024px) {
  header.header {
    margin: 0 auto;
    padding: 12px 24px;

    max-width: 414px;
  }

  div.header__left-container > h1 {
    font-size: 0;
  }

  svg.header_left-container__logo.--white,
  svg.header_left-container__logo.--black {
    display: none;
  }

  svg.header_left-container__logo.--white.--mobile {
    display: block;
  }

  nav.header__navigation {
    display: none;
  }

  button.header__language-selector,
  a.header__dev-guide,
  button.header__contact-button {
    display: none;
  }

  button.header__mobile-nav-button {
    display: block;

    width: 40px;
    aspect-ratio: 1/1;
  }

  div.header-mobile-navigation {
    display: none;
  }

  div.header-mobile-navigation.--open {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    display: flex;
    flex-direction: column;
  }

  div.header-mobile-navigation,
  div.header-mobile-navigation.--open {
    transition: all 0.3s ease-in-out;
  }

  div.header-mobile-navigation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 12px 24px;
    background-color: white;

    color: #212121;
  }

  button.header-mobile-navigation-header__close-button {
    width: 40px;
    aspect-ratio: 1/1;
  }

  nav.header-mobile-navigation-body {
    display: flex;
    flex-direction: column;
    row-gap: 30px;

    padding: 28px 32px;
    background-color: white;

    color: #212121;
  }

  ul.header-mobile-navigation-body__route-list {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
  }

  li.header-mobile-navigation-body__route-list-item {
    font-size: 16px;
    font-family: Pretendard;
    line-height: 30px;
  }

  li.header-mobile-navigation-body__route-list-item.--current {
    font-weight: bold;
  }

  button.header-mobile-navigation-body__button {
    border-radius: 4px;
    padding: 12px 30px;
    background-color: #212121;

    color: white;

    font-size: 16px;
    font-family: Pretendard;
    font-weight: 700;
    line-height: 24px;
  }

  ul.header-mobile-navigation-body__language-list {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
  }

  li.header-mobile-navigation-body__language-list-item {
    font-size: 16px;
    font-family: Pretendard;
    font-weight: 700;
    line-height: 24px;
  }
}
