/* General Styles */


body {
  font-family: 'Poppins', sans-serif;
  background: burlywood;
  text-align: center;
  padding: 50px;
  margin: 0;
}

/* Heading */
h1 {
  color: #333;
  font-size: 36px;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

@keyframes rotateLetter {
  from {
    transform: rotateY(90deg);
    opacity: 0;
  }
  to {
    transform: rotateY(0deg);
    opacity: 1;
  }
}

#animated-title span {
  display: inline-block;
  opacity: 0; /* Start hidden */
  animation: rotateLetter 2s ease-in-out forwards;
}

/* Projects Container */
.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

/* Project Card Styling */
.project-card {
  text-decoration: none;
  background: white;
  padding: 20px;
  border-radius: 15px;
  width: 250px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid transparent;
}

/* Card Hover Effect */
.project-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.2);
  border-color: #007BFF;
}

/* Heading inside Card */
.project-card h2 {
  color: #007BFF;
  font-size: 22px;
  margin-bottom: 10px;
}

/* Description inside Card */
.project-card p {
  color: #555;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .projects-container {
    flex-direction: column;
    align-items: center;
  }

  .project-card {
    width: 80%;
  }
}
