.main-header {
  background-color: var(--neutral-white);

  display: flex;
  justify-content: center;
  align-content: space-around;
  border-bottom: 1px solid var(--gray-100);
  padding: 16px 24px;
  box-shadow: 0px 0px 12px 0px var(--shadow-color);
}

.main-header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1280px;
}

.main-header .logo {
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  color: var(--gray-900);
  display: flex;
  align-items: center;
}

.main-header .logo img {
  width: 202px;
  height: 36px;
}

.main-header .header-right {
  display: flex;
  align-items: center;
}

.main-header .language-switcher {
  margin-right: 20px;
  position: relative;
}

.language-switcher-button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  gap: 4px;
}

.language-switcher-button img {
  height: 16px;
}

.language-switcher-button .current-lang {
  font-weight: 600;
  color: var(--gray-900);
  text-transform: uppercase;
}

.language-switcher-content {
  display: none;
  position: absolute;
  background-color: var(--neutral-white);
  width: 100%;
  text-align: center;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px;
  padding: 8px;
}

.language-switcher-content a {
  color: var(--gray-900);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.language-switcher-content a:hover {
  background-color: var(--gray-50);
}

.language-switcher-content.show {
  display: block;
}

.main-header .language-switcher a {
  text-decoration: none;
  color: var(--gray-400);
  padding: 5px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .main-header {
    padding: 16px;
  }

  .main-header .logo {
    max-width: 50%;
  }

  .main-header .logo img {
    max-width: 100%;
  }

  .main-header .language-switcher {
    margin-right: 0;
  }

  .language-switcher-button {
    padding: 0;
  }

  .header-right {
    gap: 16px;
  }

  .header-right a[role=button] {
    font-size: var(--font-size-lg);
    padding: 8px 0;
  }

  .language-switcher-button .current-lang {
    font-size: var(--font-size-md);
  }

  .language-switcher-button img {
    height: 20px;
  }

  .language-switcher-content {
    min-width: 48px;
  }

}

@media (max-width: 600px) {
  .main-header #login-btn {
    border: none;
    color: black;
  }
}

@media (min-width: 601px) {
  .main-header #login-btn {
    border: 1px solid var(--red-700);
    background-color: var(--neutral-white);
    color: var(--red-700);
  }

  .main-header #login-btn:hover {
    border: 1px solid var(--neutral-white);
    background-color: var(--red-700);
    color: var(--neutral-white);
  }
}
