/* Header-specific styles for Max De Jong's website */

/* Modern Header Styles */
.modern-header {
  position: relative;
  width: 100%;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 3rem 1rem 1rem 1rem;
  text-align: center;
  width: 100%;
  margin-bottom: 1rem;
}

.header-name-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-name-link,
.header-name-link:visited {
  text-decoration: none;
  color: inherit;
  display: block;
}

.header-name {
  font-size: 3rem;
  font-weight: 525;
  margin: 0;
  color: black;
  font-family: computer-modern, serif;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .header-name {
    font-size: 3.75rem;
  }
}

.header-underline {
  margin-top: 1rem;
  height: 4px;
  width: min(18rem, 90vw);
  margin-left: auto;
  margin-right: auto;
  border-radius: 9999px;
  /* User requested gradient "more like what is currently used" */
  background: linear-gradient(to right, transparent, rgba(96, 195, 250, 0.4), transparent);
}

.header-nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    max-width: none;
  }
}

.nav-btn,
.nav-btn:visited {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  background-color: transparent;
  color: #1e3a8a; /* text-blue-900 */
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid #bfdbfe; /* border-blue-200 */
  transition: background-color 0.2s, border-color 0.2s;
  font-family: computer-modern, serif;
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  .nav-btn {
    width: auto;
    display: inline-block;
    padding: 0.5rem 1.5rem;
  }
}

.nav-btn:hover,
.nav-btn.active {
  background-color: #eff6ff; /* hover:bg-blue-50 */
  border-color: #93c5fd; /* hover:border-blue-300 */
  color: #1e3a8a;
}

.header-separator {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, #d1d5db, transparent); /* via-gray-300 */
}

.blue-separator {
    height: 1px;
    width: 100%;
    background-color: #bfdbfe; /* Solid blue line (border-blue-200) */
    border-top: 1px solid #bfdbfe;
    margin-bottom: 2rem; /* Add some spacing below the line */
}
