/* 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." */

/* =========================
   Minimal Reset
   ========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

/* =========================
   Root Variables
   ========================= */
:root {
  --font-serif: "Georgia", "Times New Roman", serif;
  --font-sans: "Helvetica Neue", Arial, sans-serif;

  --bg-color: #fafafa;
  --text-color: #1a1a1a;

  --max-width: 720px;
  --line-height: 1.65;
}

/* =========================
   Base Styles
   ========================= */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  line-height: var(--line-height);
  font-size: 17px;
}

/* =========================
   Layout
   ========================= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* =========================
   Typography Utilities
   ========================= */
.serif {
  font-family: var(--font-serif);
}

.sans {
  font-family: var(--font-sans);
}

/* =========================
   Homepage Elements
   ========================= */
.entry-word {
  margin-bottom: 3rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.home-image {
  width: 100%;
  display: block;
  margin: 3rem 0;
}

.quote {
  font-size: 1.4rem;
  line-height: 1.5;
  margin: 3rem 0 1.5rem;
}

.sub-quote {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 3rem;
}

.featured-piece {
  margin-top: 4rem;
}

.featured-piece h2 {
  font-size: 1.1rem;
  font-weight: normal;
  margin-bottom: 1rem;
}

.featured-piece p {
  margin: 0;
}

/* =========================
   Footer
   ========================= */
footer {
  margin-top: 6rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* =========================
   Links
   ========================= */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =========================
   Responsive Adjustment
   ========================= */
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 3rem 1.2rem;
  }

  .quote {
    font-size: 1.25rem;
  }
}