/* Tammy Hendrix – July 15, 2025 – CS 125H Lab 3, v2
   Color Palette:
   --cream: #fef9f2;
   --rich-green: #2e4d32;
   --beige: #e6d7c3;
   --accent-green: #4c7035;
   --muted-brown: #856d5c;
   Background Image: homebground.jpg
*/

body {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 100%;
  background-image: url("images/homebground.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #2e4d32;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Anchor pseudo-classes */
a:link {
  color: #4c7035;
}

a:visited {
  color: #856d5c;
}

a:hover,
a:focus {
  color: #2e4d32;
  text-decoration: underline;
}

/* Paragraph styling */
p {
  font-size: 1em;
  line-height: 1.8;
  text-indent: 1.5em;
}

/* Descendant selector */
main h2 {
  color: #4c7035;
}

/* Pseudo-element selector */
main p:first-child::first-letter {
  font-size: 140%;
  font-weight: bold;
}

/* ID selector */
#whats-next {
  font-style: italic;
  text-align: center;
}

/* Class selector */
.highlight-box {
  background-color: rgba(230, 215, 195, 0.9);
  padding: 1em;
  border-left: 4px solid #2e4d32;
  border-radius: 6px;
  margin: 1em;
}

/* Header styles with faded background */
header {
  background-color: rgba(230, 215, 195, 0.85); /* faded beige */
  color: #2e4d32;
  text-align: center;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header img {
  display: block;
  margin: 0 auto 10px auto;
  height: 240px;
}

header h1,
header h2 {
  margin: 0.3em 0;
  text-align: center;
}

/* Main content wrapper for contrast */
main {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 2em;
  border-radius: 10px;
  margin: 1em auto;
  max-width: 960px;
}

/* Footer styles */
footer {
  background-color: rgba(230, 215, 195, 0.85);
  color: #2e4d32;
  text-align: center;
  padding: 10px;
  font-size: 0.9em;
  margin-top: 2em;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
}
