@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 400 500 600 900;
  font-style: normal;
  font-display: swap;
}
html {
  --border-color: #e8e8e8;
  --card-radius: 15px;
  --heading-color: #1f1f1f;
}
body {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  color: #212121;
  margin: 0;
}
ul {
  font-size: small;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 20px;
  padding-top: 10px;
}
h1 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-top: 1rem;
  color: var(--heading-color);
}
h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 2rem;
  color: var(--heading-color);
}
h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0;
  color: var(--heading-color);
}
.large-p {
  font-size: 1.15rem;
}
.small-p {
  font-size: 0.95rem;
}
.home-wrapper {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: auto;
  justify-content: center;
}
.home-profile {
  display: flex;
  flex-direction: column;
}
.profile {
  position: sticky;
  top: 64px;
}
.home-profile img {
  border-radius: 50%;
  width: 8rem;
  height: 8rem;
  object-fit: cover;
  border: 1px solid var(--border-color);
}
.home-resume {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.card-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.card {
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  padding: 1.25rem;
}
.card-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  cursor: pointer;
}
.card-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.card.expanded .expand-icon {
  transform: rotate(180deg);
}
.expand-icon {
  transition: transform 0.3s;
}
.card:not(.expanded):hover {
  background-color: #f5f5f5;
}
.card.expanded .card-content {
  max-height: unset;
}
.card-img {
  width: 42px;
  height: 42px;
  border: 4px solid var(--border-color);
  border-radius: 15px;
}
.card-heading {
  display: flex;
  flex-direction: column;
}
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  display: block;
  border: 1px solid var(--border-color);
  border-radius: 35px;
  padding: 3px 8px;
  font-size: 15px;
  font-weight: 500;
}
.icon {
  width: 15px;
  height: 15px;
}
.grow {
  flex-grow: 1;
}
a {
  color: #1d4ed8;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.profile-links {
  margin-top: 1rem;
}
.profile-links a:not(:last-child)::after {
  content: "|";
  margin: 0 12px;
  color: #cbd5e1;
}
@media (min-width: 992px) {
  body {
    line-height: 1.4;
  }
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .large-p {
    font-size: 1.25rem;
  }
  .home-wrapper {
    flex-direction: row;
    padding: 2rem;
  }
  .home-profile {
    max-width: 500px;
    padding: 2rem;
  }
  .home-resume {
    max-width: 680px;
  }
  .card-header {
    flex-direction: row;
  }
  .md-align-right {
    text-align: right;
  }
}

