header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 1rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  z-index: 10; /* Ensure header is above other content */
  background: linear-gradient(to right, transparent 50%, rgba(0, 0, 0, 1) 50%);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  color: #00008B;
  text-decoration: none;
}

nav ul {
  list-style-type: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: #00008B;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover {
  color: #4169E1;
}

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: middle;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.home-icon {
  display: none;
}

.home-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

.logo {
  color: black;
}

.nav-link {
  color: white;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    overflow: hidden;
}

main {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.image-panel {
    flex: 1;
    background-image: url('images/fiona-background-half-screen-100.webp');
    background-size: cover;
    background-position: top;
    height: 100%;
}

.text-panel {
    flex: 1;
    background: radial-gradient(ellipse 100% 100% at 50% 100%, #333333, #000000);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    padding: 6rem 2rem 2rem;
    box-sizing: border-box;
}

h1, h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.bio-text {
    width: 50%;
    text-align: center;
    margin-bottom: 2rem;
}

.fun-facts {
    width: 50%;
    text-align: left;
}

h2 {
    text-decoration: underline;
}

ul {
    padding-left: 1.5rem;
}

.nav-link {
    color: white;
}

.hamburger {
    color: white;
}

/* 1.5 line spacing */
.line-spacing-1-5 {
    line-height: 1.5;
}

/* Double line spacing */
.line-spacing-2 {
    line-height: 2;
}

/* You can also add a style for single spacing if needed */
.line-spacing-1 {
    line-height: 1.2; /* A common value for single spacing */
}

@media screen and (max-width: 1028px) {
  header {
    padding: 1rem 2rem;
  }

  .home-icon {
    display: block;
  }

  .nav-list {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-end;
    padding: 1rem 2rem;
    box-sizing: border-box;
  }

  .nav-list.show {
    display: flex;
  }

  .nav-list li {
    width: auto;
    text-align: right;
  }

  .nav-link {
    padding: 0.5rem 0;
  }

  .bio-text {
    width: 90%;
    text-align: center;
    margin-bottom: 2rem;
}

}

@media screen and (max-width: 768px) {
  header {
    background: rgba(0, 0, 0, 1);
  }
  
  main {
      flex-direction: column;
      overflow-y: auto;
  }

  .image-panel {
      display: none;
  }

  .text-panel {
      flex: 1;
      overflow-y: auto;
      padding-top: 80px; /* Adjust based on your header height */
  }

  .logo {
      color: white;
  }

 }
