:root {
  /* COLOR SCHEME
     Change these hex codes to change the whole site's palette.
     Keep enough contrast between --ink and the light backgrounds. */
  --maroon: #c37018;
  --gold: #c88b14;
  --green: #9a4912;
  --ink: #b95607;
  --muted: #6d655d;
  --paper: #cdcdcd;
  --cream: #cfcfcf;
  --line: #000000;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

/* Links inherit the main maroon color.
   If your palette changes, update --maroon in :root first. */
a {
  color: var(--maroon);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* HEADER AND NAV
   This layout is shared by every page in the starter. */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 7vw;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

/* The brand is the name at the top left. */
.brand {
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 24px;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

main {
  width: min(1120px, 86vw);
  margin: 0 auto;
}

/* HERO
   The homepage hero uses two columns on desktop:
   intro text on the left, profile card on the right. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  gap: 32px;
  align-items: center;
  min-height: 520px;
  padding: 54px 0 42px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--maroon);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: normal;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 8vw, 82px);
  line-height: .96;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 23px;
}

.lede {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  background: var(--maroon);
  border: 2px solid var(--maroon);
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  color: var(--maroon);
  background: transparent;
}

.profile-card,
.section-block,
.split,
.week-list article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-card {
  padding: 24px;
}

/* Profile image.
   The starter uses a blank avatar SVG.
   To use your own photo, place it in images and update the src in index.html. */
.profile-photo {
  width: 140px;
  height: 140px;
  display: block;
  object-fit: cover;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 4px solid var(--maroon);
}

.section-block {
  padding: 30px;
  margin: 28px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}

/* PROJECT CARD GRID
   Add or edit one article.week-card for each project.
   The grid creates four columns on desktop and one column on small screens. */
.week-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.week-card {
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.week-card span,
.week-list span,
.feature-link span {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.week-card p,
.week-list p,
.profile-card p {
  color: var(--muted);
}

.week-card.current {
  border-color: var(--maroon);
  box-shadow: inset 0 4px 0 var(--maroon);
}

.week-card.empty {
  background: #f8f3ea;
}

.status {
  display: inline-block;
  margin: 4px 0 8px;
  padding: 4px 8px;
  color: var(--maroon);
  background: #f6ecee;
  border: 1px solid #ead6dc;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

/* Optional row label for the homepage project grid.
   Add <article class="week-break"><h3>Exam Projects</h3></article>
   between project cards when you want a visual break. */
.week-break {
  grid-column: 1 / -1;
  padding: 12px 0 2px;
}

.week-break h3 {
  color: var(--maroon);
  font-size: 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.split {
  display: grid;
  grid-template-columns: 1fr minmax(220px, .45fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  margin: 28px 0 56px;
}

.feature-link {
  display: block;
  padding: 20px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.feature-link span {
  color: #edf5e7;
}

/* Basic page layout for About and Links pages. */
.page-layout {
  max-width: 860px;
  padding: 54px 0;
}

.link-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.link-list a,
.contact-grid article {
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.link-list a {
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.contact-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-grid h2 {
  font-size: 24px;
}

.contact-grid p {
  color: var(--muted);
}

.contact-grid a {
  font-weight: 800;
}

table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
}

/* Schedule table.
   If you add a new column in the HTML, the table will stretch to fit it. */
th {
  color: #fff;
  background: var(--maroon);
}

th,
td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 7vw;
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

/* MOBILE
   These rules stack columns so the site fits on a phone. */
@media (max-width: 820px) {
  .site-header,
  .hero,
  .split,
  .section-heading,
  footer {
    display: block;
  }

  nav,
  .actions {
    margin-top: 14px;
  }

  .hero {
    min-height: auto;
  }

  .profile-card,
  .feature-link {
    margin-top: 24px;
  }

  .week-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  * {
  box-sizing: border-box;
}


body {
  background-color: #8f1515;
  color: #000000;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
}


header {
  background-color: rgb(156, 1, 1) ;
  color: white;
  padding: 24px;
}


nav a {
  color: white;
  display: inline-block;
  margin-right: 16px;
}


main {
  max-width: 850px;
  margin: 0 auto;
  padding: 32px 20px;
}


h1, h2 {
  font-family: Georgia, serif;
}


img {
  max-width: 100%;
  height: auto;
}


.card {
  background-color: white;
  border: 2px solid #d8d1c7;
  margin: 20px 0;
  padding: 30px;
}


footer {
  background-color: #24201d;
  color: white;
  padding: 20px;
  text-align: center;
}
  
  
  
}
