body {
  background-color: #212529;
  color: #cccccc;
}

.nav-header, footer {
  background-color: #003366 !important;
  color: white !important;
}
.nav-header a, footer a {
  color: white !important;
}

.project-container {
  max-width: 800px; /* Set a max-width for readability */
  margin: 2rem auto; 
  padding: 0 1rem; 
}

.project-container h1 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-align: center;
}

.project-date {
  font-style: italic;
  color: #aaaaaa;
  margin-bottom: 1.5rem;
}

.project-hero-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 0.2rem;
}

.image-caption {
  text-align: center;
  font-style: italic;
  color: #aaaaaa;
  margin-bottom: 2rem;
}

.project-container h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #444;
  padding-bottom: 0.5rem;
}

.project-container p {
  font-size: 1.1rem;
  line-height: 1.7;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 1.5rem 0;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.home-link {
  display: inline-block;
  position: absolute; 
  top: 1.5rem;
  left: 1.5rem;
  padding: 0.5rem 1rem;
  background-color: #3a3a3e;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-family: Optima, Candara, Calibri, Arial, sans-serif;
  transition: background-color 0.3s ease;
  z-index: 10;
}

.home-link:hover {
  background-color: #4a4a4e;
  color: #ffffff;
}

.project-links {
  text-align: center; 
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem; 
}

.project-link-button {
  display: inline-flex; 
  align-items: center;
  padding: 0.6rem 1.2rem;
  background-color: #3a3a3e;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-family: Optima, Candara, Calibri, Arial, sans-serif;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.project-link-button:hover {
  background-color: #4f4f53; 
  color: #ffffff;
}

.project-link-button i {
  margin-right: 0.5rem; 
}

@media (max-width: 768px) {
  .project-container {
    margin-top: 5rem; 
  }
}