:root {
  --text: #222222;
  --border: #d8d8d8;
  --green: #006747;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: "Palatino Linotype", Palatino, serif;
  font-size: 17px;
  line-height: 1.55;
}

.page {
  width: 800px;
  margin: 0 auto;
  padding: 28px 34px 80px;
}

/* =========================
   HEADER
   ========================= */

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 800px;
  margin: 0 0 13px 0;
}

.site-name {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.1px;
  line-height: 1;
}

.site-name a {
  color: var(--text);
  text-decoration: none;
}

.site-nav {
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 24px;
}

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

.header-rule {
  width: 800px;
  height: 1px;
  background: var(--border);
  margin: 0 0 32px 0;
}

/* =========================
   GLOBAL LINKS
   ========================= */

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 760px) {

  body {
    font-size: 14px;
  }

  .page {
    width: auto;
    padding: 20px 16px 50px;
  }

  .topbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    text-align: center;
  }

  .site-name {
    margin-bottom: 14px;
    text-align: center;
  }

  .site-nav {
    display: flex;
    justify-content: center;
    gap: 18px;
    width: 100%;
    text-align: center;
  }

  .site-nav a {
    margin-left: 0;
    margin-right: 0;
  }

  .header-rule {
    width: 100%;
    margin-bottom: 34px;
  }
}
