body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #202020;
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10%;
  background-color: rgba(135, 206, 235, 0.5); /* Sky Blue with 50% transparency */
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.header {
  text-align: center;
  padding: 20px;
  color: #FFFFFF;
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 80%; /* sets the maximum width of the gallery to 80% of the viewport width */
  margin: 0 auto; /* centers the gallery on the page */
}
.category {
  position: relative;
  margin: 10px;
  width: 300px;
  height: 200px;
  overflow: hidden;
}
.category img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}
.category:hover img {
  transform: scale(1.1);
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1; /* Full color overlay initially */
}

/* Unique color classes */
.color-AiDevelopm .overlay { background: rgba(64, 224, 208, 0.7); }  /* Turquoise Blue */
.color-3dmodeling .overlay { background: rgba(255, 133, 115, 0.7); } /* Coral Pink */
.color-Gamedesign .overlay { background: rgba(34, 139, 34, 0.7); }   /* Palm Leaf Green */
.color-Paintings1 .overlay { background: rgba(253, 94, 83, 0.7); }   /* Sunset Orange */
.color-WoodCarve1 .overlay { background: rgba(255, 200, 63, 0.7); }  /* Mango Yellow */
.color-LaserCuts1 .overlay { background: rgba(135, 206, 235, 0.7); } /* Sky Blue */
.color-ClassicCar .overlay { background: rgba(79, 157, 157, 0.7); }  /* Lagoon Teal */
.color-360Images1 .overlay { background: rgba(252, 142, 172, 0.7); } /* Flamingo Pink */
/* Add more unique color classes for other categories */

.category:hover .overlay {
  opacity: 0; /* Overlay fades out on mouseover */
}
.text {
  color: white;
  font-size: 24px;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
