body {
  margin: 0;
  padding: 0;
  padding-top: 90px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


.navbar {
  background-color: #434F5B;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 2;
}

.navbar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.navbar li {
  margin: 0 20px;
}

a {
  text-decoration: none;
  color: inherit; /* Inherit color from parent */
}

.navbar .nav-link:hover {
  color: #ABD060;
}

.projects-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* Allow items to wrap within the container */
  margin: 0 auto; /* Center the container */
  max-width: 1200px; /* Set a maximum width for the container */
}

.project-item {
  flex: 0 0 calc(30% - 10px); /* Adjust width for each container */
  margin-bottom: 20px; /* Decrease space between rows */
}

.project-card {
  display: flex;
  flex-direction: column;
  width: 100%; /* Ensure card takes full width of its container */
  text-align: center;
  padding: 20px;
  border: none;
}

.project-card .description {
  margin-top: 10px;
  text-align: center; /* Center-align text under each title */
}

.project-card:hover img {
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.project-card img {
  height: auto;
  display: block;
  margin-top: -10px;
  border: none;
}

.project-card .project-image {
  max-width: 100%;  /* Match Scuba Adventures & ELCO image size */
  width: 100%;
  margin: 20px auto 0;
  height: auto;
  display: block;
}

.centered-container {
  text-align: center; /* Center align text within this container */
}

.project-info .center-heading {
  margin-bottom: 20px; /* Adjust space between heading and subtext */
}

.project-info .center-text {
  text-align: center; /* Center-align text under the heading */
}

/* Remove justify-content properties for nth-child elements */
.project-item:nth-child(odd),
.project-item:nth-child(even) {
  justify-content: initial;
}

/* Additional styles for the first two items to ensure alignment */
.project-item:nth-child(odd) .project-card {
  justify-content: flex-end;
}

.project-item:nth-child(even) .project-card {
  justify-content: flex-start;
}

/* Remove any special color container rules so they don't affect sizing */
/* 
.pink-container .project-image {
  max-width: 100%;
}

.green-container .project-image {
  max-width: 100%;
}
*/

/* Adjust the image size for Be Ready Fitness project */
.red-container .be-ready-image {
  width: 90%; /* Adjust the width as needed */
  height: auto; /* Maintain the aspect ratio */
  /* Other styling properties */
}

.blue-container {
  width: 90%; /* Adjust the width as needed */
  height: auto; /* Maintain the aspect ratio */
  /* Other styling properties */
}

.no-underline-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.site-footer {
  width: 100%;
  background-color: #434F5B;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-direction: column; /* Align items in a column */
  align-items: center; /* Center-align items */
  padding-bottom: 10px; /* Adjust bottom padding */
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 10px 0; /* Add margin between links and the bottom text */
}

.footer-links a {
  color: #FAFAFA;
  text-decoration: none;
  margin-right: 10px;
  font-size: 14px;
}

.footer-bottom p {
  color: #FAFAFA;
  font-size: 14px;
  margin-top: 10px; /* Add margin at the top of the copyright text */
}

@media only screen and (max-width: 767px) {
  .projects-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .project-item {
    width: 100%;
    margin-bottom: 30px; /* Adjusted margin for more spacing */
  }

  .project-card {
    width: 100%;
  }

  .project-card img {
    width: 100%;
    max-width: 100%; /* Adjusted max-width for larger images */
    height: auto;
  }

  .description {
    text-align: center;
  }
}









