h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

/* css hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero-text {
  position: relative;
}
.hero-h1 {
  display: flex;
  align-items: center;
  font-size: clamp(3.5rem, 10vw, 9rem);
}

.hero-tagline {
  position: absolute;
  right: 48px;
  bottom: 0;
  color: var(--color-white);
  font-family: "plusjakartasans", "Segoe UI";
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  font-weight: 400;
}

/* css section pinned projects */
.pinnedprojects {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
}

.projects-card {
  background: var(--color-lightblack);
  display: flex;
  min-height: 448px;
  padding: 2rem;
  align-items: start;
  gap: 4rem;
  border-radius: 16px;
  width: 100%;
}

.project-pic {
  max-height: 384px;
  max-width: 480px;
  object-fit: contain;
  object-position: center;
  align-self: center;
}

.project-card-container {
  gap: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  width: 100%;
}

.project-card-text {
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  gap: 2rem;
  max-width: 65ch;
}

/* About me Section */
.about-me {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-me-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: auto;
  padding: 2rem;
  gap: 4rem;
}

.portfolio-pic {
  max-height: clamp(352px, 32vw, 416px);
  max-width: clamp(352px, 32vw, 416px);
}

.about-me-text {
  text-align: left;
  max-width: 65ch;
  font-size: 1.5rem;
  font-family: "geistmono", "monospace";
}

/* media queries */
@media (max-width: 1024px) {
  .about-me-card {
    flex-direction: column;
  }

  .project-pic {
    max-width: 228px;
  }
}

@media (max-width: 692px) {
  .hero {
    gap: 5rem;
  }

  .projects-card {
    flex-direction: column;
  }

  .project-pic {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
}
