.header__container {
  position: sticky;
  top: 0;
  background: var(--hakuji);
  border-bottom: 1px solid var(--grey);
  z-index: 500;
  transition:
    background-color 0.5s ease,
    color 0.5s ease;
}

.header {
  display: flex;
  justify-content: space-between;
}

.header__content {
  align-items: center;
  display: flex;
  width: calc(100% - 8px);
}

.header__content-inner {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  margin-left: auto;
}

.header__text {
  font-size: 1.2rem;
  font-weight: bold;
}

.language__buttons {
  display: flex;
  gap: 10px;
  height: 40px;
  justify-content: center;
  align-items: center;
  margin-left: 1rem;
}

@media (max-width: 640px) {
  .mode-toggle {
    display: none;
  }
}

.mode-toggle-small {
  display: none;
}

@media (max-width: 640px) {
  .mode-toggle-small {
    display: flex;
  }
}

.header__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__nav-list {
  display: flex;
  gap: 1rem;
  margin: 10px 0;
}

.header__nav-list-item {
  font-size: 1rem;
  line-height: 1.25rem;
}

.header__nav-list-item-active {
  border-bottom: 2px solid var(--blue);
}

.header__nav-list-item:hover {
  border-bottom: 2px solid var(--grey);
}

.header__buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

svg.divider {
  fill: var(--black);
}

svg.light {
  fill: var(--black);
}

.theme-toggle {
  background: none;
  cursor: pointer;
  fill: var(--black);
}

@media (max-width: 640px) {
  .theme-toggle-small {
    display: block;
    background: none;
    cursor: pointer;
    fill: var(--black);
  }
}

.language-active {
  border-bottom: 2px solid var(--blue);
}

.clock {
  color: var(--black);
}

@media (max-width: 640px) {
  .clock {
    display: none;
  }
}
