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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fcfcfc;
  color: #2a2a2a;
  font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.55;
}

a {
  color: #9b3d4a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  min-height: 100vh;
  max-width: 52rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
}

/* Patrick-style top nav on wider screens */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 2.5rem;
}

.site-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2a2a2a;
}

.site-header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.site-header nav a {
  font-size: 0.875rem;
  color: #0864c7;
}

.site-header nav a[aria-current="page"] {
  color: #2a2a2a;
  text-decoration: none;
  font-weight: 600;
}

/* Christina-style centered main on home; left-aligned readable column */
.content {
  flex: 1;
  max-width: 32rem;
}

.page:not(.page--about) .content {
  margin: 0 auto;
  width: 100%;
}

.page--about .content {
  max-width: 31.25rem;
}

.content h1 {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 1.25rem;
}

.content h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 2rem 0 0.5rem;
}

.content p,
.content ul {
  color: #333;
  margin: 0 0 1rem;
}

.content p.tight {
  margin-bottom: 0.5rem;
}

.content ul {
  padding-left: 1.25rem;
}

.content li {
  margin-bottom: 0.65rem;
}

.interests li {
  margin-bottom: 0.85rem;
}

.interests strong {
  font-weight: 600;
  color: #2a2a2a;
}

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

.link-list li {
  margin-bottom: 0.5rem;
  padding-left: 0;
}

.profile {
  display: block;
  width: 8.125rem;
  height: 8.125rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 35%;
}

.site-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
  font-size: 0.75rem;
  color: #aaa;
}

.site-footer p {
  margin: 0;
}

/* Subtle entrance, like christinacacioppo.com */
.animate {
  animation: fade-in 1s ease 0.15s both;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  html {
    font-size: 17px;
  }

  .page {
    padding-top: 1.75rem;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate {
    animation: none;
  }
}
