body {
    font-family: Garamond, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e3df71;
    text-align: left;
}

header {
    font-family: Garamond, sans-serif;
    background: #79331a;
    padding: 0px 0;
    text-align: center;
}

#navbar {
    padding: 5px 0; 
    background-color: #79331a;
  }

  nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1em;
    padding: 0;
    margin: 0;
  }
  
  nav li {
    position: relative;
  }
  
  /* hide the nested <ul> until hover */
  nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;   /* right below its parent <li> */
    left: 0;
    background: var(--button-background);
    padding: 0.5em;
    border-radius: 0.5em;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    white-space: nowrap;
    z-index: 10;
  }
  
  /* show on hover */
  nav li:hover > .dropdown-menu {
    display: block;
  }
  
  /* stack links vertically inside the dropdown */
  nav .dropdown-menu li {
    margin: 0;
  }
}

nav ul li {
    position: relative;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    padding: 10px 15px;
    background: #7F4733;
    border-radius: 5px;
    transition: background 0.3s;
}

nav ul li a:hover {
    background: #7F4733;
}

/* Dropdown styles */
nav .dropdown:hover .dropdown-menu {
    display: block; /* Show dropdown when parent is hovered */
}

nav .dropdown-menu {
    display: none; /* Hide by default */
    position: absolute;
    top: 100%; /* Position below the parent list item */
    left: 0;
    background: #7F4733;
    border-radius: 5px;
    min-width: 150px; /* Adjust width of the dropdown */
    z-index: 1; /* Make sure it's above other elements */
    padding: 0; /* Remove any padding */

}

nav .dropdown-menu li {
    width: 100%; /* Make sure each item fills the container */
    margin: 0;
}

nav .dropdown-menu li a {
    padding: 10px 15px;
    background: #7F4733; /* Different background for dropdown items */
    display: block; /* Make sure each link is block level and takes full width */
    text-decoration: none; /* Remove underline from links */
}

nav .dropdown-menu li a:hover {
    background: #7F4733; /* Change background on hover for dropdown items */
}

main {
    padding: 20px;
    text-align: center;
}

footer {
    background: #79331a;
    color: white;
    text-align: center;
    padding: 10px;
    position: relative;
    width: 100%;
    bottom: 0;
}


/* Ensure the body stretches to full height */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Make main content take up space so footer is at the bottom */
main {
    flex: 1;
}

img {
    border: 2px solid #7a341a; /* Adjust thickness and color as desired */
    border-radius: 10px; /* Optional: For rounded corners */
    padding: 1px; /* Optional: Add space between image and border */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Optional: Add a shadow effect */
  }

  :root {
    /* glow + color controls */
    --bottom-glow: radial-gradient(
      farthest-corner at bottom center,
      rgba(116, 51, 5, 0.7),
      transparent
    );
    --hue: 245;
    --button-background: #79331a;      /* your base brown */
    --bg-dark:           #5e2814;      /* a darker brown (you can tweak) */
    --button-foreground: #f5e0d8;      /* something light for contrast */
  }

  /* base pill-button for links */
.aero {
    /* backgrounds */
    background: 
      var(--bottom-glow),
      linear-gradient(to bottom, var(--bg-dark), var(--button-background));
    color: var(--button-foreground);
    
    /* shape & shadow */
    border: 1px solid var(--button-background);
    border-radius: 3000px;
    box-shadow: 0 4px 4px rgba(0,0,0,0.4);
    text-shadow: 0 2px .5em #0003;
    
    /* text & spacing */
    font-family: "Lucida Grande","Lucida Sans Unicode","Lunasima",sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 1ex 1em;
    margin: 0.5em 0;        /* dropdown items stack nicely */
    display: inline-block;  /* lets us use padding/margin */
    text-decoration: none;  /* remove underline */
    position: relative;     /* for the ::after shine */
    transition: all 300ms;
    cursor: pointer;
  }
  
  /* hover */
  .aero:hover {
    background: 
      var(--bottom-glow),
      linear-gradient(to bottom, var(--bg-dark), oklch(75% 0.1 var(--hue) / 1));
  }
  
  /* top-shine */
  .aero::after {
    content: "";
    position: absolute;
    top: 4%;
    left: 0.5em;
    width: calc(100% - 1em);
    height: 40%;
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0.8),
      rgba(255,255,255,0.1)
    );
    border-radius: 9999px;
    transition: background 400ms;
  }
  