@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
:root {
  --font-sans: 'Figtree', system-ui, -apple-system, sans-serif;
  --background: #ffffff;
  --foreground: #0f172a;
  --accent: #4fd1c5;
  --accent-foreground: #ffffff;
  --secondary: #b9cde0;
  --border: #e2e8f0;
}

body {
  font-family: var(--font-sans);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.gradient-bg {
  background: linear-gradient(135deg, var(--background), var(--secondary));
  min-height: 100vh;
}

.container {
  margin: 0 auto;
  padding: 1rem;
}

.hero {
  max-width: 60 rem;
  margin: 1rem auto 0;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0rem;
}
h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-top: 0;
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.5rem;
  text-align: center;
}
.hero p {
  font-size: 1.25rem;
  color: rgba(15, 23, 42, 0.8);
  margin-bottom: 2rem;
}

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

.social-icon {
  margin: 0;
  padding: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--foreground);
  transition: background-color 0.3s;
  height: 40px;
  width: 40px;
}
.social-icon svg {
  height: 24px;
  width: 24px;
  padding: 0.5rem;
  margin: 0;
}

.social-icon:hover {
  background-color: rgba(79, 209, 197, 0.1);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 350px);
  grid-auto-flow: row;
  grid-template-rows: 1fr;
  /* make all rows equal height */
  /* grid-auto-rows: 1fr; */
  gap: 1.5rem;
  margin-top: 1rem;
  justify-content: center;
  justify-items: center;
  width: 100%;
}

.project-card {
  display: flex;
  flex-direction: column;
  width: 300px;
  position: relative;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}

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

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(79, 209, 197, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 0.75rem;
}

.project-card:hover::before {
  opacity: 1;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0rem;
  text-align: center;
}

.project-description {
  color: rgba(15, 23, 42, 0.7);
  margin-bottom: 1.5rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  justify-content: center;
}

.project-screenshot {
  text-align: center;
}

.screeshot-link {
  backdrop-filter: blur(8px);
}

.project-screenshot img {
  border: solid lightgrey 1px;
}

.tag {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.875rem;
}

.contact-section {
  max-width: 36rem;
  margin: 2rem auto;
  text-align: center;
}

.contact-section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-section p {
  color: rgba(15, 23, 42, 0.7);
  margin-bottom: 2rem;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background-color: var(--accent);
  color: var(--accent-foreground);
  text-decoration: none;
  transition: background-color 0.3s;
}

.contact-button:hover {
  background-color: rgba(79, 209, 197, 0.9);
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.6s ease-out forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    margin: 0;
  }
  .hero p {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }
}
