@import url("https://fonts.googleapis.com/css2?family=Alegreya&family=Josefin+Sans&family=IBM+Plex+Mono:ital@1&family=Aboreto&family=Ubuntu+Condensed&family=Akronim&family=Bungee+Inline&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background-color: #ffffff;
}

.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

h1 {
  color: #000;
  font-family: Times;
  font-size: clamp(32px, 6vw, 48px);
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -3px;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tight-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tight-text p {
  line-height: 0.9;
  margin-bottom: 0.25rem;
}

.major-line,
.solving-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
}

.major-line span,
.solving-line span {
  display: inline-block;
}

.solving-line .comma {
  margin-left: -0.25rem;
  margin-right: 0.25rem;
}

.inline-text {
  display: inline;
  line-height: 1.1;
  word-wrap: break-word;
}

.inline-text span {
  display: inline;
}

.university-line {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: baseline;
  justify-content: center;
}

.senior {
  color: #000;
  font-family: Times;
  font-size: clamp(20px, 4vw, 28px);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -1.5px;
}

.regular {
  color: #000;
  font-family: Times;
  font-size: clamp(20px, 4vw, 28px);
  font-style: normal;
  font-weight: 400;
}

.senior-regular {
  color: #000;
  font-family: Times;
  font-size: clamp(20px, 4vw, 28px);
  font-style: normal;
  font-weight: 700;
}

.comp-sci {
  color: #000;
  font-family: "Courier New";
  font-size: clamp(20px, 4vw, 28px);
  letter-spacing: -3px;
}

.math {
  color: #000;
  font-family: Alegreya;
  font-size: clamp(20px, 4vw, 28px);
  letter-spacing: -1.5px;
}

.public-health {
  color: #000;
  font-family: "Josefin Sans";
  font-size: clamp(20px, 4vw, 28px);
  letter-spacing: -2.5px;
}

.developing {
  color: #000;
  font-family: "IBM Plex Mono";
  font-size: clamp(20px, 4vw, 28px);
  font-style: italic;
  letter-spacing: -1.5px;
}

.breaking {
  color: #000;
  font-family: Aboreto;
  font-size: clamp(20px, 4vw, 28px);
  letter-spacing: -1.5px;
}

.coding {
  color: #000;
  font-family: "Ubuntu Condensed";
  font-size: clamp(20px, 4vw, 28px);
  letter-spacing: -1.5px;
}

.designing {
  color: #000;
  font-family: Akronim;
  font-size: clamp(20px, 4vw, 28px);
}

.presenting {
  color: #000;
  font-family: "Bungee Inline";
  font-size: clamp(20px, 4vw, 28px);
  letter-spacing: -1.5px;
}

.regular,
.comma {
  color: #000;
  font-family: Times;
  font-size: clamp(20px, 4vw, 28px);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
}

.skills-section {
  margin-top: 0.5rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
}

.skill-category {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid #e5e5e5;
}

.skill-category h3 {
  font-family: Times;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tags span {
  font-family: "Courier New";
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
  background-color: #f0f0f0;
  border-radius: 16px;
  transition: background-color 0.2s;
}

.skill-tags span:hover {
  background-color: #e0e0e0;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: -1rem 0 1.5rem 0;
}

.social-link {
  color: black;
  transition: opacity 0.2s;
}

.social-link:hover {
  opacity: 0.7;
}

.project-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 0.75rem;
  display: block;
  mix-blend-mode: multiply;
  object-fit: contain;
}

.project-title {
  font-family: Times;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.project-desc {
  font-family: Times;
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0.75rem;
  flex-grow: 1;
}

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.section:not(:last-child) {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.tools span {
  font-family: "Courier New";
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  background-color: #f5f5f5;
  border-radius: 16px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section,
.project-card,
.skill-category {
  animation: fadeIn 0.5s ease-out forwards;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .container {
    max-width: 1000px;
  }
}
