@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');

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

body {
  font-family: "Questrial", sans-serif;
  background-color: #0d0d0d;
  color: #f1f1f1;
  padding: 2rem;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 0.3rem;
}

.subtitle {
  color: #aaa;
  font-size: 1.1rem;
}

.github-button {
  margin-top: 1rem;
  display: inline-block;
  background-color: #f1f1f1;
  color: #000;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s;
}

.github-button:hover {
  background-color: #d5d5d5;
}

.section-title {
  font-size: 1.8rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  text-align: center;
  border-bottom: 2px solid #333;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.card {
  display: block;
  background-color: #1a1a1a;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, background-color 0.2s ease;
  color: inherit;
  text-decoration: none;
}

.card:hover {
  transform: translateY(-5px);
  background-color: #222;
}

.card-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.card-desc {
  color: #bbb;
  font-size: 0.95rem;
}

footer {
  margin-top: 3rem;
  text-align: center;
  color: #777;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}
