/* Kevin Vadala — personal site */

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

body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.7;
  color: #3a3a3a;
  background: #faf9f7;
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

a {
  color: #5a6e5a;
  text-decoration: underline;
  text-decoration-color: #c0c8b8;
  text-underline-offset: 2px;
}

a:hover {
  color: #3a4a3a;
  text-decoration-color: #3a4a3a;
}

header {
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0ddd6;
}

header h1 {
  font-size: 1.25rem;
  font-weight: normal;
  letter-spacing: 0.02em;
}

header h1 a {
  text-decoration: none;
  color: #3a3a3a;
}

nav {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

nav a {
  margin-right: 1.25rem;
  text-decoration: none;
  color: #777;
}

nav a:hover {
  color: #3a3a3a;
}

main h2 {
  font-size: 1.1rem;
  font-weight: normal;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #555;
}

main h3 {
  font-size: 1rem;
  font-weight: normal;
  font-style: italic;
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
  color: #666;
}

p {
  margin-bottom: 1rem;
}

.intro {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
}

.post-list {
  list-style: none;
  padding: 0;
}

.post-list li {
  margin-bottom: 0.75rem;
}

.post-list .date {
  display: inline-block;
  width: 8em;
  color: #999;
  font-size: 0.85rem;
}

.project {
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.project h3 {
  margin-top: 0;
  font-style: normal;
  color: #555;
}

.project .status {
  font-size: 0.8rem;
  color: #b0a890;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.project p {
  font-size: 0.95rem;
  color: #666;
}

.blog-post {
  margin-bottom: 3rem;
}

.blog-post h2 {
  font-size: 1.15rem;
  color: #3a3a3a;
  margin-bottom: 0.25rem;
}

.blog-post .meta {
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 1.25rem;
}

.blog-post p {
  text-align: left;
}

blockquote {
  border-left: 2px solid #d8d4c8;
  margin: 1rem 0;
  padding: 0.25rem 1rem;
  color: #777;
  font-style: italic;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #e0ddd6;
  font-size: 0.8rem;
  color: #bbb;
}

.contact-note {
  background: #f4f2ed;
  padding: 1rem 1.25rem;
  border-radius: 3px;
  font-size: 0.95rem;
  color: #666;
  margin-top: 1rem;
}

.pinned-note {
  background: #f4f2ed;
  padding: 0.75rem 1.25rem;
  border-left: 3px solid #c0b89a;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #666;
}

.pinned-note p {
  margin-bottom: 0;
}

.about-photo {
  float: right;
  width: 160px;
  margin: 0 0 1rem 1.5rem;
  border-radius: 3px;
  filter: saturate(0.85) brightness(0.97);
}

@media (max-width: 500px) {
  .about-photo {
    float: none;
    display: block;
    width: 140px;
    margin: 0 auto 1.25rem;
  }
  body {
    padding: 2rem 1rem 3rem;
    font-size: 16px;
  }
}
