a{
    color:#211996;
}
nav .nav-link{
    color: #fff;
    font-size: 18px;
}
nav a:hover{
    color:#c5c511;
}
.stick {
    width: 100%;
    height: 300px;
    background-image: linear-gradient(to top, #211996, transparent), url('https://yapnet.org/img/anything.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}
.stick p {
    position: absolute; /* Positions the paragraph at the bottom */
    bottom: 20px; /* Adjust the distance from the bottom of the div */
    left: 50%; /* Centers the text horizontally */
    transform: translateX(-50%); /* Corrects the centering of the text */
    color: #fff;
    text-align: center; /* Ensures the text is centered */
    margin: 0; /* Removes default margin */
}
footer{
    background-color: #211996;
}
footer a {
    color: #c5c511;
    padding:5px;
}
footer a:hover{
    color: #fff;
    text-decoration: underline;
}
.gold{
    color:#c5c511;
}
.blue{
    color:#211996
}
.blueb{
    background-color:#211996;
}
.goldb{
    background-color:#c5c511;
}
.navbar-text a {
    font-size: 1rem; /* Adjust as needed */
    color: #fff;
    text-decoration: none;
}

.navbar-text a:hover {
    color: #f1c40f; /* Hover effect, change as needed */
}
  /* Carousel base class */
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 1rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 32rem;
}

@media (min-width: 20em) {
  .carousel-item{
    height: 35rem;
  }
  .carousel-item img{
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}

/* Ensure the carousel images are sized correctly */
.carousel-item {
  position: relative; /* Positioning for child elements */
  height: 100vh; /* Full viewport height */
  overflow: hidden; /* Hide overflow to keep the layout clean */
}

/* Create the fade overlay */
.fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%; /* Adjust the height of the fade */
  background: linear-gradient(to top, rgba(0,0,0, 0.95), rgba(0,0,0, 0) 97%);
  pointer-events: none; /* Ensure clicks pass through */
  z-index: 1; /* Ensure it sits above the image, but below the caption */
}

/* Adjust the caption's position to sit above the fade */
.carousel-caption {
  position: absolute;
  bottom: 10%; /* Adjust caption position */
  z-index: 2; /* Make sure captions are on top */
  left: 50%;
  transform: translateX(-50%); /* Center the text */
  color: white; /* Ensure white text */
}

/* Make sure images fill the carousel item */
.carousel-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}