* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #333333;
  background: #ffffff;
}

.body {
  margin: 20%;
  width: auto;
  height: auto;
}

/* on narrower screens, 20% margins eat too much usable width —
   scale it down so the layout doesn't collapse on mobile */
@media (max-width: 900px) {
  .body { margin: 10% 8%; }
}
@media (max-width: 520px) {
  .body { margin: 12% 6%; }
}

h1 {
  font-size: 48px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 8px;
}

h4 {
  font-size: 24px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 20px;
}

p {
  font-size: 18px;
  line-height: 1.6;
  color: #4a4a4a;
  margin: 0 0 16px;
}

a {
  color: inherit;
}

.site-nav {
  margin-bottom: 40px;
}

.site-nav a {
  text-decoration: none;
  color: #4a4a4a;
  font-size: 14px;
  margin-right: 20px;
}

.site-nav a:hover {
  color: #000000;
}

.button-group {
  margin-top: 4%;
  height: auto;
}

.button {
  display: inline-block;
  border-radius: 25px;
  transition-duration: 0.4s;
  background-color: black;
  color: white;
  border: none;
  padding: 10px 22px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  margin-right: 10px;
  cursor: pointer;
}

.button:hover {
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

/* blog list */
.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-list li {
  padding: 24px 0;
  border-bottom: 1px solid #e5e5e5;
}

.post-list li:first-child {
  padding-top: 0;
}

.post-list h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 6px;
}

.post-list h3 a {
  text-decoration: none;
}

.post-list h3 a:hover {
  text-decoration: underline;
}

.post-list p {
  font-size: 16px;
  margin: 0 0 8px;
}

.post-list .date {
  font-size: 13px;
  color: #999999;
}