/* ---- Header ----- */

.header {
  position: fixed;
  z-index: 1;
  top: 0;
  width: 100%;
  border-bottom: 1px solid var(--light-gray);
  background: var(--white);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 48px);
  max-width: 1000px;
  height: 55px;
  margin: 0 auto;
}

.logo {
  position: relative;
  z-index: 2;
}

.burger-checkbox {
  display: none;
}

.burger-checkbox:checked ~ .header-nav {
  transform: translateX(0);
}

.burger-checkbox:checked ~ .burger-btn .line-1 {
  transform: rotate(45deg) translateY(14px) scale(1.2);
}

.burger-checkbox:checked ~ .burger-btn .line-2 {
  transform: scale(0);
}

.burger-checkbox:checked ~ .burger-btn .line-3 {
  transform: rotate(-45deg) translateY(-15px) scale(1.2);
}

.burger-btn {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
}

.burger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--off-black);
  transition: .5s;
}

.header-nav {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateX(100vw);
  width: 100vw;
  height: 100vh;
  background-color: var(--white);
  transition: .6s;
}

.navbar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  list-style: none;
  width: 100%;
  height: 100%;
}

.navbar-item {
  text-align: center;
}

.navbar-item a {
  font-size: 2.4rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--dark-gray);
}

.toggle-lang-btn {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background-color: var(--mid-gray);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: "Urbanist", sans-serif;
  color: white;
  font-weight: 500;
  font-family: 1.8rem;
  transition: .2s;
}

.toggle-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url('../assets/icons/toggle-icon.svg');
}