
.summary-card {
  display: flex;
  align-items: stretch;
  gap: 24px;
}

.bio {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.85;
}

.profile-picture {
  flex: 0 0 auto;
  aspect-ratio: 1;
  align-self: center;
  overflow: hidden;
  border: 3px solid var(--color-border);
  border-radius: 50%;
}

.profile-picture img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  clip-path: circle(50%);
  max-height: 300px;
}

.greeting {
  padding-bottom: 10px;
}

.intro {
  max-width: 540px;
  margin: 22px 0 32px;

  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.85;
}

@media (max-width: 600px) {
  .summary-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-picture {
    order: 3;
    margin-bottom: 1rem;
  }

  .greeting {
    order: 2;
  }

  .bio {
    order: 1;
  }
}


.page-links {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.top-page-links {
  padding-bottom: 16px;
}

.nav-button {
  min-width: 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border: 2px solid var(--color-border);
  border-radius: 3px;
  box-shadow: var(--color-shadow);
  color: var(--color-surface);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 140ms ease,
    transform 140ms ease,
    box-shadow 140ms ease;
}

.nav-button-small {
  min-height: 0px;
}

.nav-button span:last-child {
  flex-shrink: 0;
  font-family: Arial, sans-serif;
  font-size: 1.3rem;
}

.first-button {
  background: var(--color-blue);
}

.first-button:hover {
  background: var(--color-blue-hover);
}

.second-button {
  background: var(--color-red);
}

.second-button:hover {
  background: var(--color-red-hover);
}

.third-button {
  background: var(--color-green);
}

.third-button:hover {
  background: var(--color-green-hover);
}

.fourth-button {
  background: var(--color-yellow);
}

.fourth-button:hover {
  background: var(--color-yellow-hover);
}

.nav-button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #d5c4a1;
}

.nav-button:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #d5c4a1;
}
