/* Global Styles */

body {
  font-family: Arial, sans-serif;
  background-color: #fff8e1; /* Pale yellow background */
  color: #333;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
li,
div {
  word-break: keep-all;
}

.navbar {
  background-color: #ffcc80; /* Pale orange background */
}

.navbar-brand {
  font-weight: bold;
  color: #333;
}

.navbar-brand img {
  background-color: transparent; /* Ensure the logo image has a transparent background */
}

.nav-link {
  color: #555;
}

.nav-link:hover,
.nav-link.active {
  color: #d35400; /* Darker color for active nav item */
  font-weight: bold;
  text-decoration: underline;
}

.nav-link.active {
  background-color: #ffe0b2; /* Light orange background for active nav item */
  color: #d35400; /* Darker color for active nav item */
  font-weight: bold;
  text-decoration: underline;
}

.main-content {
  flex: 1;
  overflow-y: auto;
  padding-top: 70px; /* Adjust this value based on the height of your navbar */
  position: relative; /* Ensure the main content is positioned correctly */
}

.overlay-text {
  position: absolute;
  top: 60px;
  left: 60px;
  color: hwb(0 1% 87% / 0.902);
  font-size: 24px;
  display: flex;
  align-items: center;
}

.overlay-text h2 {
  font-size: 2rem; /* Ensure the text is larger */
  margin: 0;
}

.overlay-text .arrowhead {
  margin-left: 10px;
  height: 24px;
  background-color: hsl(130, 100%, 41%);
}

.portfolio-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  flex-grow: 1;
}

.portfolio-section h2 {
  color: #d35400;
  margin-bottom: 40px;
}

.portfolio-section ul li {
  font-family: "Helvetica Neue", Arial, sans-serif; /* Change font to Helvetica Neue */
  font-size: 0.75em; /* Reduce font size to 75% */
  margin-bottom: 10px; /* Add some margin for better spacing */
  color: #666; /* Set font color to medium gray */
}

.accordion-button {
  background-color: #ffcc80;
  color: #333;
  padding: 5px 10px; /* Adjust padding for smaller gaps */
}

.accordion-button:not(.collapsed) {
  color: #d35400;
  background-color: #ffe0b2;
}

.accordion-body {
  background-color: #fff8e1;
  padding: 5px 10px; /* Adjust padding for smaller gaps */
}

.accordion-item {
  border: 1px solid #777777; /* Darker border color */
}

.footer {
  background-color: #ffcc80; /* Pale orange background */
  color: #333;
  text-align: center;
  padding: 20px 0;
  margin-top: auto;
}

.container h1 {
  color: #444;
}

/* Custom styles for carousel controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #555; /* Darker gray background */
  border-radius: 50%;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev.disabled,
.carousel-control-next.disabled {
  display: none;
}

/* Custom styles for accordion indents */
.accordion-item .accordion-body ul {
  padding-left: 10px; /* Smaller indent for sub-categories and projects */
}

@media (max-width: 768px) {
  .accordion-item .accordion-body ul {
    padding-left: 5px; /* Maximum 5 pixels indent on mobile devices */
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar-nav {
    text-align: center;
  }
}

/* Custom styles for new links on the home page */
.links-container a {
  font-size: 2rem; /* Make the link text big enough */
  color: #d35400; /* Darker color for the links */
  text-decoration: none;
}

.links-container a:hover {
  text-decoration: underline;
}

.links-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 1rem; /* Further reduce margin-top */
}

/* Custom styles for image gallery */
.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 60px; /* Increase gap below each project */
  margin-top: 10px; /* Add gap between text and upper edge of images */
}

.image-gallery .image-item {
  text-align: center;
}

.image-gallery .image-label {
  font-size: 0.75em;
  color: #777;
  margin-top: 5px;
}

.image-gallery img {
  height: 300px;
  width: auto;
}

@media (max-width: 768px) {
  .image-gallery img {
    height: 200px; /* Adjust image height for small form factor devices */
  }
}
