* {
  box-sizing: border-box;
}

html, body {
  /* min-height: 100vh; */
  background-color: black;
  /* margin: 0;
  /* overflow: hidden; */
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Full viewport height */
}

  #text1 {
  color: white;
  text-align: center;
  font-family: Quicksand, Georgia, serif;
  font-size: 80px;
}

  #text2 {
  color: white; 
  text-align: center;
  font-family: Quicksand, Georgia, serif;
  font-size: 40px;
}


header {
  background-color: black;
  height: 22px;
  font-family: Quicksand, Georgia, serif;
}

header nav {
  display: flex;
  justify-content: flex-start; /* Align items to the start of the flex container */
  margin-left: 65%; /* Position the nav container at 65% from the left of the page */
  position: absolute; /* Allows for precise positioning */
  width: 33.5%; /* The width should be 100% minus the margin-left (65%) */
  
}

header nav ul {
  list-style-type: none;
  display: flex;
  justify-content: space-between; /* Space out items equally */
  padding: 0; /* Remove default padding */
  margin: 0; /* Remove default margin */
  width: 98.5%; /* Full width of the nav container */
}

header nav ul li {
  display: inline; /* Ensure list items stay inline */
  color: dodgerblue;
}

header nav ul li a:link {
  text-decoration: none;
  color: dodgerblue;
  font-size: 20px;
}

header nav ul li a:visited {
  text-decoration: none;
  color: dodgerblue;
  font-size: 20px;
}

header nav ul li a:hover {
  text-decoration: none;
  color: orange;
  font-size: 20px;
}

header nav ul li a:active {
  text-decoration: none;
  color: dodgerblue;
  font-size: 20px;
}

h1 {
  color: white;
  text-align: center;
  font-family: Quicksand, Georgia, serif;
  font-size: 35px;

}

.container {
    display: flex;
    align-items: flex-start;
    gap: 20px; /* Adjust spacing between image and text */
}

.container img {
    max-width: 100%;
    height: auto;
}

.center {
  display: flex;
  flex-direction: column;
  align-items: center;     /* horizontal centering */
  justify-content: center; /* vertical centering */
  height: 100vh;           /* container needs real height to center within */
  text-align: center;
}

p {
  color: white;
  text-align: center;
  font-family: Quicksand, Georgia, serif;
  font-size: 20px;
}

.hoverable_name .pronunciation{
  display: none;
}

.hoverable_name:hover .my_name {
  display: none;
}

.hoverable_name:hover .pronunciation {
  display: inline;
}

a {
  background: linear-gradient(currentColor 0 0) 
    bottom left/
    var(--underline-width, 0%) 0.1em
    no-repeat;
  display: inline-block;
  padding: 0 0 0;
  text-decoration: none;
  transition: background-size 0.5s;
}

a:link {
  text-decoration: none;
  color: dodgerblue;
}

a:visited {
  text-decoration: none;
  color: dodgerblue;
}

a:hover {
  color: dodgerblue;
  --underline-width: 100%;
}

.writing_category hr {
  border: none;
  border-top: 3px solid white;
  width: min(100%, max(600px, 70%));
  margin-left: 0;
  margin-right: auto;
}

/* Styling for links is mostly unnecessary */
.writing_category a {
  color: white;
  text-decoration: none;
}

.writing_category a:link {
  color: white
}

.writing_category a:visited {
  color: white
}

.writing_category a:hover {
  color: lightskyblue;
  --underline-width: 0%;
}

.writing_category a:hover .category_title{
  color: lightskyblue;
}

.writing_category a:hover .writing_description{
  color: lightskyblue;
}

.writing_category:hover .category_title {
  color: mediumpurple
}

.writing_category:hover .writing_description {
  color: mediumpurple
}

.writing_category .category_title {
  text-align: left;
  display: inline-block;
  margin: 10px 40px; /* top/bottom, left/right */
  font-family: Quicksand, Georgia, serif;
  font-size: 30px;
}

.writing_category .writing_description {
  text-align: left;
  margin: 10px 40px; /* top/bottom, left/right */
  font-family: Quicksand, Georgia, serif;
  font-size: 18px;
  width: calc(min(100%, max(600px, 70%)) - 40px);
}

.writing_category a .date {
  pointer-events: none;
  text-decoration: none;
  font-size: 14px;
  font-style: italic;
  font-family: Georgia, serif;
  color: #888;
  margin-top: 0.5rem;
}

/* New page content (Claude) */
.wrapper {
  height: 100vh;
  transition: transform 5s ease;
}

.page {
  height: 100vh;
  box-sizing: border-box;
}

.page-blue {
  background-color: dodgerblue;
  overflow: auto;
}

.page-blue a {
  color: white;
  text-decoration: none;
  text-align: left;
  font-size: 20px;
  margin-left: 10px;
  font-family: Quicksand, Georgia, serif;
}

.scroll-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  cursor: pointer;
  transition: opacity 1s ease;
  animation: bounce 2s infinite;
}

.scroll-arrow.visible {
  opacity: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
