header {
  display: flex;
  flex-direction: column;
  background-color: #003247;
  border-bottom: 0.5rem solid #335e6f;
  color: #ffffff;
  padding: 0.5rem 1rem;
  position: relative;
}

.header-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.header-auth-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  margin-bottom: 0.5rem;
  min-height: 2rem;
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 0.5rem;
  position: relative;
}

.header-top-row a {
  display: flex;
  align-items: center;
}

.header-top-row img {
  height: 4rem;
  width: auto;
  margin-right: 1rem;
}

.header-title-link {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  z-index: 1;
}

.header-title-link h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}

.header-title-link:hover {
  text-decoration: underline;
}

.header-auth-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-user {
  font-size: 0.9rem;
  color: #ffffff;
  padding: 0.25rem 0;
}

.header-auth-button {
  text-decoration: none;
  color: #ffffff;
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.header-auth-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.header-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  width: 100%;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-button {
  text-decoration: none;
  color: #ffffff;
  font-size: 1rem;
  padding: 0.75rem 1.25rem;
  background-color: transparent;
  border: none;
  border-radius: 0;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  white-space: nowrap;
}

.header-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: underline;
}

.header-button:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}
