/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
  --orange: #f47900;
  --tan: #e8d5a9;
  --text: #3a1f00;
  --accent: #af4200;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #f8e9ae;
  color: black;
  line-height: 1.6;
}

/* --- HEADER --- */
header {
  background-color: #fe7e03;
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  font-weight: bold;
}

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

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: black;
}

nav a:hover {
  text-decoration: underline;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-count {
  text-align: center;
  line-height: 1;
}

.page-count span {
  font-size: 1.5em;
  font-weight: bold;
}

.home-btn {
  background: none;
  border: 2px solid black;
  padding: 8px 15px;
  font-weight: bold;
  cursor: pointer;
}



main {
  padding: 20px 40px;
}

h2 {
  font-size: 1.8em;
  margin-bottom: 5px;
}

.intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  column-gap: 40px;
}

.intro-text {
  flex: 1; 
  max-width: 60%; 
}

.intro figure {
  margin: 0;
  text-align: center;
}

.intro img {
  max-width: 250px;
  border: 3px solid #d3b78a;
  display: block;
}

hr {
  border: none;
  border-bottom: 2px solid #bca874;
  margin: 10px 0 20px 0;
  padding: 8px 15px;
  width:80%;
}

.intro figcaption {
  margin-top: 5px;
  font-style: italic;
}

.highlight {
  color: #af4200; 
  font-weight: bold;
}

.pages {
  margin-top: 40px;
}

.pages ul {
  list-style: none;
  padding-left: 0;
}

.pages li a {
  color: #af4200; 
  text-decoration: none;
}

.pages li a:hover {
  color: #7c2a00;
  text-decoration: underline;
}
