---
import Section from "@/components/Section.astro";
import SectionTitle from "@/components/SectionTitle.astro";
import Paragraph from "@/components/Paragraph.astro";

import { Image } from "astro:assets";
import portrait from "@/assets/portrait.jpg";
---

<Section id="profile">
  <div
    class="flex md:flex-row flex-col-reverse justify-around items-center gap-10"
  >
    <div class="basis-1/2">
      <SectionTitle>PROFILE</SectionTitle>
      <Paragraph>
        Noah Swerhun is a mathematics student at the University of Chicago. He
        was a National Merit Scholar Commended Student in 2023. In 2022, he
        earned his Eagle Scout rank after leading and coordinating a 200+
        man-hour service project to give bicycles to people in need.
      </Paragraph>
      <Paragraph>
        Noah is studying for a career in finance. For two summers, Noah worked
        as an intern analyst at a private equity firm in Chicago. Going forward,
        he wants to use his mathematics skills for a job in quantitative
        trading.
      </Paragraph>
      <Paragraph>
        Outside of work and school, Noah enjoys reading and programming. His
        preferred genre of literature is the philosophical novel; among his
        favorites are Dostoevsky's <em>The Idiot</em> and di Lampedusa's
        <em>The Leopard.</em>
      </Paragraph>
    </div>
    <div class="basis-1/3">
      <Image
        src={portrait}
        alt="Portrait of Noah"
        class="rounded-lg w-full max-w-[391px]"
      />
    </div>
  </div>
</Section>
