* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: rgb(55, 53, 47);
  background: #ffffff;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.notion-page {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 0 0 48px;
}

.cover-image {
  width: 100%;
  height: 30vh;
  min-height: 220px;
  max-height: 320px;
  object-fit: cover;
  border-radius: 0;
}

.profile-image {
  width: 124px;
  height: 124px;
  margin-top: -62px;
  margin-bottom: 24px;
  object-fit: cover;
  border: 4px solid #ffffff;
  border-radius: 6px;
  background: #ffffff;
}

h1,
h2,
h3,
p,
figure {
  margin-left: 0;
  margin-right: 0;
}

h1 {
  margin-top: 32px;
  margin-bottom: 28px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1:first-of-type {
  margin-top: 0;
}

h2 {
  margin-top: 32px;
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

h3 {
  margin-top: 32px;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

p {
  margin-top: 6px;
  margin-bottom: 6px;
  min-height: 1.5em;
}

ul {
  margin-top: 6px;
  margin-bottom: 6px;
  padding-left: 1.55em;
  list-style-position: outside;
}

li {
  margin: 6px 0;
  padding-left: 0.18em;
}

li p {
  margin: 10px 0 14px;
}

.experience-list {
  font-size: 16px;
}

.experience-list > li::marker {
  font-size: 0.95em;
}

.experience-list ul {
  margin-top: 6px;
  padding-left: 1.75em;
  list-style-type: circle;
}

.experience-list ul li {
  margin: 8px 0;
}

pre {
  margin: 4px 0 28px;
  padding: 16px;
  overflow-x: auto;
  border-radius: 4px;
  background: rgba(135, 131, 120, 0.15);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(55, 53, 47, 0.35);
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

a:hover {
  text-decoration-color: rgb(55, 53, 47);
}

.highlight-link {
  color: #e26f6f;
  font-weight: 700;
  text-decoration: none;
  background: #fde7e7;
}

.highlight-link:hover {
  text-decoration: underline;
  text-decoration-color: rgba(226, 111, 111, 0.55);
}

.portfolio-line a {
  color: rgba(55, 53, 47, 0.72);
  text-decoration-color: rgba(55, 53, 47, 0.32);
}

figure {
  margin-top: 18px;
  margin-bottom: 18px;
}

img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

@media (max-width: 640px) {
  .notion-page {
    width: min(100% - 28px, 760px);
  }

  .cover-image {
    height: 24vh;
    min-height: 160px;
  }

  h1 {
    font-size: 34px;
  }
}
