body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(90deg, #a8c0ff, #3f2b96);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100vh;
  padding-top: 20px;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
  background-color: rgba(74, 71, 163, 0.7);
  z-index: 10;
  transition: background-color 0.3s ease;
}

.nav-link {
  display: inline-block;
  margin: 0 15px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #a8c0ff;
}

.hero-section {
  background-color: rgba(27, 27, 27, 0.6);
  padding: 10px; /* Reduce padding */
  border-radius: 10px;
  margin-bottom: 20px;
  margin-top: 60px;
  text-align: center;
  transition: all 0.3s ease;
  max-width: 80%; /* Set maximum width to 80% of its parent's width */
  margin-left: auto; /* Center the section */
  margin-right: auto; /* Center the section */
}

.hero-title {
  color: #fff;
  font-size: 2em; /* Reduce the font size */
  text-align: center;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}


.content-section {
  background-color: #fff;
  padding: 40px;
  border-radius: 5px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  text-align: center;
  margin-top: 20px;
  transform: translateY(20px);
  opacity: 0;
  animation: slide-up 0.5s 0.3s forwards;
}

.projects-title {
  color: #4a47a3;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.projects-list {
  list-style: none;
  padding: 0;
  width: 100%; /* makes sure the list spans full width */
}

.projects-list-item {
  display: block; /* makes the link span full width of container */
  padding: 15px; /* adjust as needed for height of bar */
  background-color: rgba(54, 52, 122, 0.7);
  color: white;
  text-decoration: none;
  margin-bottom: 10px; 
  border-radius: 5px;
  transition: all 0.3s ease-out;
}

.projects-list-item:hover {
  background-color: rgba(74, 71, 163, 0.8);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

@keyframes slide-up {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 600px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .content-section {
    padding: 20px;
    max-width: 90%;
  }

  .projects-list-item {
    width: 100%;
  }
}

