* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

.container {
  width: 80%;
  margin: 0 auto;
}
nav a {
  margin-right: 20px; /* Add space between the links */
  text-decoration: none; /* Optional: remove underline */
  color: #fff; /* Optional: change text color */
  font-weight: bold; /* Optional: make the text bold */
}

nav a:hover {
  color: #f39c12; /* Optional: change color on hover */
}


header {
  background-color: #333;
  color: white;
  padding: 20px 0;
}

header h1 {
  font-size: 2.5rem;
  text-align: center;
}

header p {
  font-size: 1.2rem;
  text-align: center;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
}

section {
  padding: 40px 0;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.project {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.project img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.project h3 a {
  text-decoration: none;
  color: #333;
  font-size: 1.2rem;
}

.project p {
  color: #555;
}

footer {
  background-color: #333;
  color: white;
  padding: 10px 0;
  text-align: center;
}

footer a {
  color: white;
  text-decoration: none;
}
/* Example CSS to make images smaller */
/* Ensures images within the .project class are resized */
/* Container for project items */
.project {
  width: 100%; /* Ensure each project container takes full width */
  max-width: 400px; /* Max width to control the size of individual projects */
  margin: 0 auto; /* Center the projects */
  padding: 10px;
}

/* Make images responsive */
.project img {
  width: 100%;  /* Make image fill its container */
  height: auto; /* Maintain aspect ratio */
  max-width: 100%; /* Prevent the image from getting too large */
}

