/* hero background image */
/* .bgvideo {
    height:100vh;
    background: url('images/heroImage1.jpg');
    background-size:cover;
    position:relative;
} */

/* hero background image OTHER PAGES*/
.programmingBackground {
    height:100vh;
    background: url('images/JavaBackground.jpeg');
    background-size:cover;
    position:relative;
}

.bgvideo {
    /* position: relative; */
    overflow: hidden;
}

#heroVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero_desc {
    font-size: 2rem;
    color: auto;
    text-align: center;
    margin-top: 20px;
}
.AboutOpener {
    position: relative;
    font-size: 4.5rem;
    padding-top: 100px;
    z-index: 1;
    left: 10%;
}

.hide {
    display: none;
}


.RightPlacedImage {
    /* position: relative; */
  width: 100%; 
  max-width: 95%;
  display: block;
  padding-left: 35%;
  padding-top: 75px;
  padding-bottom: 75px;
}

/* text css above hero image*/
.hero_title {
    font-size: 4.5rem;
}
.hero_desc {
    font-size: 2rem;
}
.hero-text {
    text-align: center ;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 1; /* Ensure text is above the video */

}
.AboutParagraphs {
    size: 20px;
}
.navbar-custom {
    background-color: lightgreen;
}
.navbar {
    background-color: black; /* Change the background color of the navbar */
  }
  
  .navbar a {
    color: white; /* Change the color of the links in the navbar */
  }


  nav a:hover {
    animation: glitch-colors 4s infinite;
}



@keyframes glitch-colors {
   
    20% {
        color: #00ffff;
    }
   
    10% {
        color: #0000ff;
    }
    90% {
        color: #ff0000;
    }
    100% {
        color: #0000ff;
    }
}


/*FONTS!!!*/
.CBU-FONT {
    display: flex;
  justify-content: center;
  align-items: center;
  height: 10vh;
  background-color: #003f87; /* blue background color */
  color: #d7a22a; /* gold text color */
  font-family: "Georgia", serif; /* college-like font */
  font-size: 2rem;
  }
  .hero_title3 {
    align-items: middle;
    left: 20%

  }
  
  .slideshow-container {
	position: relative;
	width: 100%; /* Change this to your desired width */
	height: 100%; /* Change this to your desired height */
    
    margin-bottom: 100px;
	overflow: visible;
}

.slideshow-image {
	position: relative;
	top: 0;
	left: 0%;
	width: 100%;
	height: 100%;
	display: table;
}

.slideshow-image img {
	width: 100%;
	height: 100%;
	object-fit: show;
}

.caption {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 20px;
	padding: 10px;
}

.prev, .next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 30px;
	font-weight: bold;
	padding: 10px;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.5);
	border: none;
	cursor: pointer;
}

.next {
	right: 0;
}





/* about section image css */
.imageAboutPage {
    width: 100%;
}

.engineeringlogoimage {
    max-width: 100%;
    height: auto;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 90px;

  }
  


  .bfa-logo {

    
    text-align: center;
    margin-bottom: 20px;
    width: 20px; /* change this value to adjust the width of the image */
    height: 30px; /* this ensures that the image maintains its aspect ratio */
    position: relative;
  } 




/* services section css */
.interestsText.card {
    height: 280px;
    cursor: pointer;
  }
.interestsIcon {
    font-size: 36px;
    text-align: center;
    width: 100%;
}
.card-title {
    text-align: center;
}
.card:hover .servicesIcon {
    color: #b48c8c;
}
.interestsText:hover {
    border: 1px solid #b48c8c;
}
/*008000>
/* display background color black on navbar scroll */
.navbarScroll.navbarDark {
    background-color: black;
}

/* social media icons styling */
.social-icons {
    font-size: 36px;
    cursor: pointer;
}
.fa-facebook:hover,.fa-instagram:hover,.fa-twitter:hover,.fa-linkedin:hover, .fa-twitch:hover {
    color: #008000;
}
.fab {
    color: #000000;
}
/* footer styling */
#footer {
    background-color: #808080;
    text-align: center;
}

/* spacing on all sections */
#about, #interests, #resume, #contact {
    margin-top: 4rem;
    padding-top: 4rem;
    padding-bottom: 8rem;
}
#contact {
    padding-bottom: 4rem;
}

/* === ACTIVE PAGE UNDERLINE + ARROW === */
.navbar-nav .nav-link {
  position: relative;
  color: white;
  transition: color 0.3s ease;
  font-weight: 500;
}

.navbar-nav .nav-link:hover {
  color: #00ffff;
}

/* Active link styling */
.navbar-nav .nav-link.active {
  color: #00ffff;
  font-weight: 600;
}

/* Cyan underline animation */
.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background-color: #00ffff;
  border-radius: 2px;
  animation: underlineGrow 0.3s ease forwards;
}

/* Little arrow under the line */
.navbar-nav .nav-link.active::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  background-color: #00ffff;
  border-radius: 1px;
}

/* Smooth grow animation */
@keyframes underlineGrow {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 40%;
    opacity: 1;
  }
}
