body {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 130px;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 24px auto;
}

.img-small {
  width: 200px;
}

.img-medium {
  width: 400px;
}

.img-large {
  width: 600px;
}

@media (max-width: 600px) {
  .img-small,
  .img-medium,
  .img-large {
    width: 100%;
  }
}

.post-date {
  color: #999;
  font-size: 0.8em;
  margin: 0 0 0.75rem 0;
}

.img-side-by-side {
  display: flex;
  gap: 12px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.img-side-by-side img {
  width: calc(50% - 6px);
  object-fit: cover;
  border-radius: 6px;
  margin: 0;
}
@media (max-width: 600px) {
  .img-side-by-side {
    flex-direction: column;
  }
  .img-side-by-side img {
    width: 100%;
  }
}

header {
    width: 100%;
    display: flex;
    align-items: center;
}

.nametag {
    width: 100%;
    padding: 2rem;
    flex-direction: column;
}

h1 {
    margin-bottom: 0.5rem;
}

h2 {
    margin: 3rem 0 0.5rem 0;
}

.headshot {
    width: 220px;
    height: auto;
    border-radius: 50%;
}

.project {
    border: 1px solid;
    padding: 10px;
    margin: 10px 0;
}

.cvgrid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 10px;
}

.date {
    font-weight: 600;
    color: #666;
    margin: 0;
}

.cvdiv {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* hr {
    margin-bottom: 2rem;
} */

li p {
    margin: 0 0 0.5rem 0;
}

h3 {
    margin: 0;
}

nav ul {
    margin: 0.5rem 0 1.5rem 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    border-bottom: 2px dotted #a3a3a3;
    text-decoration: none;
}

a:hover {
    border-bottom-style: solid;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 250px;
  overflow-y: auto;
  background: #fff;
  border-right: 1px solid #eee;
  padding: 20px;
  box-sizing: border-box;
}

.active {
  font-weight: bold;
  color: #000;
}

nav ul {
  list-style-type: none;
}

footer {
    margin-top: auto;
    padding: 1.5rem 0;
}

footer p {
    text-align: center;
    color: #777;
    font-size: 0.85rem;
    margin: 0;
}
@media (max-width: 45em) {
    ul {
        margin: 0.5rem 0 1.5rem 0rem;
    }

    body {
        padding: 0 2rem;
    }

    .headshot {
        max-width: 120px;
        width: 100%;
    }
}

nav ul {
  list-style-type: none;
  margin: 0.5rem 0 1.5rem 0;
  padding: 0;
}

nav li {
  margin-bottom: 0.25rem;
}

.sidebar-section-title {
  font-weight: 700;
  color: #0244ab;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 1.5rem 0 0.75rem 0;
  display: block;
}

.project-entry {
  margin-bottom: 1.25rem;
  padding-bottom: 0.25rem;
}

.project-entry a {
  font-weight: 500;
  display: block;
}

.post-date {
  color: #999;
  font-size: 0.75rem;
  margin: 2px 0 0 0;
}

nav hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 1rem 0;
}