* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #111;
  color: #eee;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

nav a {
  color: #eee;
  text-decoration: none;
  margin-left: 20px;
  font-size: 16px;
}

nav a:hover {
  color: #aaa;
}

.hero {
  text-align: center;
  padding: 120px 20px;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  color: #aaa;
}

.projects {
  padding: 80px 40px;
}

.projects h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.project-card {
  background-color: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  padding-bottom: 20px;
}

.project-card img {
  width: 100%;
  height: 250px;   /* was 180px */
  object-fit: cover;
  display: block;
}

.project-card h3 {
  margin: 16px 20px 8px;
}

.project-card p {
  margin: 0 20px 16px;
  color: #aaa;
  font-size: 14px;
}

.project-card a {
  display: inline-block;
  margin-left: 20px;
  color: #ed8f31;
  text-decoration: none;
  font-weight: bold;
}

.project-card a:hover {
  text-decoration: underline;
}

.about {
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}

.about h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.6;
}

footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid #333;
  color: #888;
  font-size: 14px;
}

.socials {
  margin-top: 12px;
}

.socials a {
  color: #888;
  text-decoration: none;
  margin: 0 10px;
}

.socials a:hover {
  color: #eee;
}

.project-card .credits {
  list-style: none;
  margin: 0 20px 16px;
  padding: 0;
  font-size: 12px;
  color: #777;
}

.project-card .credits li {
  margin-bottom: 2px;
}

.about img {
  display: block;
  max-width: 300px; /* Adjust this number to make it smaller or larger */
  height: auto;
  margin: 0 auto 20px auto; /* Centers the image and adds space below it */
  border-radius: 8px; /* Optional: gives the image nice rounded corners */
}