* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  font-family: Arial, sans-serif;
  text-align: center;
  background-color: #212121; /* dark background color */
  color: #fff; /* white text color */
}

h1 {
  margin-top: 20px;
}

.projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.project {
  display: inline-block;
  margin: 20px;
  width: 450px;
  height: 250px;
  border: 1px solid #333; /* dark border color */
  border-radius: 10px;
  padding: 20px;
  background-color: #333; /* dark background color */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* dark box shadow */
}

.project img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 10px 10px 0 0;
}

.project h2 {
  font-size: 18px;
  margin-top: 10px;
  color: #fff; /* white text color */
}

.project p {
  font-size: 16px;
  color: #67ef7c; /* light gray text color */
  padding: 5px;
  margin: 5px;
}

.project a {
  text-decoration: none;
  color: #337ab7;
}

.project a:hover {
  color: #23527c;
}

.project a img:hover {
  transform: scale(1.05); /* added a hover effect to the image */
}

.project:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7); /* dark hover effect */
}

/* Mobile version styles */
@media only screen and (max-width: 768px) {
  .project {
    width: 300px;
    height: 200px;
    margin: 10px;
  }
  .project img {
    height: 100px;
  }
  .project h2 {
    font-size: 16px;
  }
  .project p {
    font-size: 14px;
  }
}
