:root {
  --cream: #f4efe6;
  --sage: #7d8b6f;
  --forest: #3f4a3c;
  --brown: #7a5c45;
  --white: #ffffff;
  --text: #252525;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--cream);
  color: var(--text);
  font-family: Georgia, serif;
  line-height: 1.6;
}

header {
  background-color: var(--forest);
  color: white;
  text-align: center;
  padding: 70px 20px;
}

header h1 {
  font-size: 3rem;
  margin: 0;
}

section h2 {
  background-color: #3f4a3c;
  color: white;
  padding: 10px 15px;
  margin: -30px -30px 20px -30px;
  font-size: 1.4rem;
}

.artifact h3 {
  color: #7a5c45;
  border-bottom: 2px dotted #7d8b6f;
  padding-bottom: 8px;
}

header p {
  font-size: 1.3rem;
  margin-top: 10px;
}

nav {
  background-color: var(--brown);
  text-align: center;
  padding: 15px;
  position: sticky;
  top: 0;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 12px;
  font-family: Arial, sans-serif;
  font-weight: bold;
}

nav a:hover {
  background-color: #7d8b6f;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

main {
  width: 90%;
  max-width: 1100px;
  margin: 40px auto;
}

section {
  background-color: #fffaf2;
  margin-bottom: 30px;
  padding: 30px;
  border: 2px solid #7d8b6f;
  border-radius: 6px;
  box-shadow: 6px 6px 0 #3f4a3c;
}

h2 {
  color: var(--forest);
  margin-top: 0;
}

h3 {
  color: var(--brown);
}

.intro {
  border-left: 8px solid var(--sage);
}

.course {
  border-left: 8px solid var(--brown);
}

.highlight {
  border-left: 8px solid var(--forest);
  background-color: #fbfaf6;
}

.artifact {
  background-color: #f4efe6;
  border: 1px dashed #7a5c45;
  padding: 22px;
  margin-top: 20px;
}

.project-image {
  width: 100%;
  max-width: 650px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 14px;
}

footer {
  background-color: var(--forest);
  color: white;
  text-align: center;
  padding: 25px;
  margin-top: 50px;
}

.essay-quote {
  font-size: 1.5rem;
  font-style: italic;
  text-align: center;
  color: #3f4a3c;
  margin: 30px auto;
  padding: 20px;
  max-width: 700px;
}

.headshot {
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: center;
  object-position: center 35%;
  border-radius: 50%;
  border: 5px solid white;
  margin-bottom: 20px;
}

section {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

section:hover {
  transform: translateY(-4px);
  box-shadow: 10px 10px 0 #3f4a3c;
}

html {
  scroll-behavior: smooth;
}

@media screen and (max-width: 700px) {
  header h1 {
    font-size: 2.2rem;
  }

  nav a {
    display: block;
    margin: 8px 0;
  }

  section {
    padding: 25px;
  }

.project-image {
  width: 100%;
  max-width: 100px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 14px;
}

  .reflection {
  background-color: #f4efe6;
  padding: 20px;
  border-left: 5px solid #7d8b6f;
  border-radius: 10px;
  margin-top: 25px;
}

}
