* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  background-color: #f8f9fa;
  color: #212529;
}

header {
  background: #343a40;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

header h1 {
  font-size: 2rem;
  font-weight: 600;
}

header p {
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

main {
  max-width: 1600px;
  margin: 0 auto;
  padding: 1rem;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(700px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.project {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.project h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #343a40;
}

.project p {
  margin: 0.5rem 0;
}

.project video {
  width: 100%;
  height: auto;
  margin-top: 0.5rem;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

.project img {
  width: 100%;
  height: auto;
  margin-top: 0.5rem;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

footer {
  text-align: center;
  background: #e9ecef;
  padding: 1rem;
  font-size: 0.95rem;
  margin-top: 2rem;
}

footer h4 {
  color: #343a40;
  font-size: 1rem;
}

footer a {
  color: #212529;
  text-decoration: none;
}


@media (max-width: 1500px) {
  main {
    max-width: 700px;
  }
}

@media (max-width: 750px) {
  .project-list {
    grid-template-columns: 1fr;
  }
}
