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

body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #f0f0f0;
}

header {
  text-align: center;
  margin-bottom: 50px;
}

header h1 {
  font-size: 2.5rem;
  margin: 10px auto;
  margin-bottom: 30px;
}

header p {
  width: 80%;
  margin: 0 auto;
  font-size: 1.25rem;
  color: #555;
}

main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
}

.project-card {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  width: 350px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.project-card .content {
  padding: 15px;
}

.project-card .content h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.project-card .content p {
  font-size: 1rem;
  color: #666;
}

@media (max-width: 780px) {
  header p {
    width: 90%;
  }
}
