@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500&display=swap");

:root {
  --background: #f4f0e8;
  --text: #000000;
  --accent: #000000;
  --muted: #beb7a4;
  --line: #beb7a4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
  color: var(--text);
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(100% - 48px, 620px);
  margin: 0 auto;
  padding: 72px 0 88px;
}

.topbar {
  display: flex;
  justify-content: flex-start;
  padding-bottom: 32px;
}

.name {
  font-size: 17px;
}

.name {
  font-size: 26px;
  line-height: 1.2;
  color: var(--accent);
  white-space: nowrap;
}

.content {
  padding-top: 20px;
  text-align: left;
}

.content p {
  margin: 0 0 32px;
}

.content p:first-child {
  color: var(--text);
}

.lab-link {
  text-decoration: underline;
  text-underline-offset: 0.12em;
  text-decoration-thickness: 1px;
}

.lab-link:hover,
.lab-link:focus-visible {
  opacity: 0.75;
}

.connect-intro {
  margin-top: 28px;
}

.email-link {
  display: inline-block;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.email-link:hover,
.email-link:focus-visible {
  opacity: 0.7;
}

.icon-row {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 16px;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 0.85;
}

.icon-link:hover,
.icon-link:focus-visible {
  color: var(--text);
  opacity: 1;
}

.icon-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 32px, 620px);
    padding: 48px 0 64px;
  }

  .topbar {
    padding-bottom: 24px;
  }
}
