/* Work, About and Personal pages: site navigation in white on a solid colour, with a list in the middle */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: #d65e1c;
  color: #fff;
  font-family: "Avenir", "Avenir Next", "Nunito Sans", "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}


/* ---------- Site navigation ---------- */

/* Name + About at the top, Work + Personal at the bottom (same spacing as the other pages) */
.site-header,
.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;       /* clicks pass through the empty space between the links */
}

.site-header {
  top: 0;
  padding: 36px 44px 0;
}

.site-footer {
  bottom: 0;
  padding: 0 44px 36px;
}

.site-header a,
.site-footer a {
  pointer-events: auto;       /* ...but the links themselves stay clickable */
}

.site-name,
.site-nav-link {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #fff;
}

.site-name {
  text-transform: uppercase;
} 

/* The usual orange hover would disappear on this background, so links dim instead */
.site-name:hover,
.site-nav-link:hover,
.work-list a:hover {
  opacity: 0.7;
}


/* ---------- Project list ---------- */

.work {
  max-width: 900px;
  margin: 0 auto;
  padding: 280px 0 160px;
}

.work-title {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 3px solid #fff;   /* the thick rule under the heading */
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: 0.06em;
}

.work-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Each project is a row with a thin rule under it */
.work-list a {
  display: block;
  padding: 16px 0 14px;
  border-bottom: 1px solid #fff;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0.08em;
}


/* ---------- About page (about.html uses this same file) ---------- */

.page-about {
  background: #0fa3e8;
}

/* .page-about .work-title {
  text-transform: uppercase;
} */

/* Bio paragraph, with a thin rule under it like the rows below */
.about-text {
  margin: 0;
  padding: 18px 0 18px;
  border-bottom: 1px solid #fff;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.08em;
}


/* ---------- Personal page (play.html uses this same file) ---------- */

.page-play {
  background: #2ba155;
}


/* ---------- Narrower screens ---------- */

@media (max-width: 1000px) {
  .work {
    padding-left: 80px;
    padding-right: 80px;
  }
}


/* ---------- Phones ---------- */

@media (max-width: 700px) {
  .site-header {
    padding: 24px 20px 0;
  }

  .site-footer {
    padding: 0 20px 24px;
  }

  .site-name,
  .site-nav-link {
    font-size: 15px;
  }

  .work {
    padding: 140px 20px 100px;
  }

  .work-title {
    font-size: 28px;
    line-height: 36px;
  }

  .work-list a,
  .about-text {
    font-size: 17px;
  }
}
