.nav-link {
  color:black;
}

.nav {
  align-items: center;
  margin-top: 2%;
  margin-bottom: 2%;
  font-family: "Bree Serif", serif;
}

/*CAROUSEL*/
.carousel {
  width: 100vw;
  overflow: hidden;
  position: relative; /* Needed for the control buttons to be positioned relative to the carousel */ 
}

.carousel-control-prev, .carousel-control-next {
  position: absolute; /* Ensure buttons are positioned relative to the carousel */
  top: 50%; 
  transform: translateY(-50%);
  z-index: 1; /* Keeps the buttons above the images */
}

/* INDEX CONTAINERS */
.indexcontainer {
  display: flex;
  flex-direction: column;
  width: 100vw;
  max-height: 900px; /*Changed from 750 */
}

.footercontainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100px;
  text-decoration: overline;
  font-style: italic;
}

.headercontainer{
  display: flex;
  height: 90px;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-content: center;
  margin-left: 3%;
  margin-top: 2%;
  margin-bottom: 2%;
  transition: opacity 0.3s; /* Add a smooth transition effect */
}

.logo:hover {
  opacity: 0.01; /* Change the image's opacity when hovered */
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .headercontainer {
    /* height: 160px; */
    display: none;
    flex-direction: column; 
  }
  .logo {
  margin-top: 10%;
  }
  .indexcontainer {
  display: flex;
  width: 100%; /* Fixes overflow issue */
  }
  .carousel {
  width: 100%; /* Prevents horizontal overflow */
  overflow: hidden;
  position: relative; 
  }
  .footercontainer {
    width: 100%; /* Fixes overflow issue */
  }
  .mobileindexcontainer {
    display: flex !important;
  }
}

.mobileindexcontainer {
  display: none;
  flex-direction: column; 
  height: 300px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20%;
}

  