body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}

header {
  background: #333;
  color: #fff;
  padding: 1rem 0;
  text-align: center;
}

header h1 {
  margin: 0;
}

#projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1rem;
}

.project-card {
  background: #fff;
  margin: 0.5rem;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: calc(33.333% - 1rem);
}

.project-card:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.project-card a {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
  color: #333;
  padding: 0.5rem 1rem;
  background: #eee;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.project-card a:hover {
  background: #ddd;
}

footer {
  background-color: #444; /* Darker footer */
  text-align: center;
  padding: 10px 0;
  position: relative;
  bottom: 0;
  width: 100%;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.3); /* Stronger shadow for depth */
  color: #fff; /* Light text for dark background */
}

footer a {
  background-color: #333; /* Dark background for visibility */
  color: #fff; /* Light text color */
  padding: 8px 15px; /* Padding for size */
  text-decoration: none; /* Removes underline */
  border-radius: 4px; /* Rounded corners */
  transition: background-color 0.3s; /* Smooth transition for hover effect */
}

footer a:hover {
  background-color: #555; /* Slightly lighter color on hover */
}

@media screen and (max-width: 600px) {
  .project-card {
      width: calc(100% - 1rem);
  }
}