/* project.css — universal for all readme.html pages */

body {
  font-family: system-ui, sans-serif;
  margin: 0;
  padding: 2rem;
  line-height: 1.7;
  font-size: 16px;
  max-width: 900px;
  margin-inline: auto;
}

a {
  text-decoration: none;
  word-break: break-all;
}

.project-title {
  font-size: 1.9rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.project-links {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.project-links a {
  border: 1px solid;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
}

.section {
  margin-bottom: 2rem;
}

.section h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.section p {
  margin: 0.5rem 0;
}

.section ul {
  margin: 0.5rem 0 0 1.2rem;
  padding-left: 1rem;
}

.section li {
  margin-bottom: 0.4rem;
}

/* Link button (e.g., “Watch demo”) */
.link-button {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.5rem 1rem;
  border: 1px solid;
  border-radius: 5px;
  font-size: 0.9rem;
}

/* Responsive adjustments */

@media (max-width: 670px) {
  body {
    padding: 1.5rem;
    font-size: 15px;
  }

  .project-title {
    font-size: 1.6rem;
  }

  .section h2 {
    font-size: 1.1rem;
  }
}

@media (max-width: 365px) {
  body {
    padding: 1rem;
    font-size: 14px;
  }

  .project-title {
    font-size: 1.3rem;
  }

  .project-links {
    flex-direction: column;
  }

  .project-links a {
    width: 100%;
    text-align: center;
  }
}
