@font-face {
  font-family: 'Fira Sans Extra Condensed';
  src: url('/fonts/fira-sans-extra-condensed-v10-latin-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fira Sans Extra Condensed';
  src: url('/fonts/fira-sans-extra-condensed-v10-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


html {
	scroll-behavior: smooth;
}


.fira-sans-extra-condensed-light {
  font-family: "Fira Sans Extra Condensed", sans-serif;
  font-weight: 300;
  font-style: normal;
  line-height: 1.1em;
}

.fira-sans-extra-condensed-bold {
  font-family: "Fira Sans Extra Condensed", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/*Navigation Bar............................*/
.navbar {
	min-height: 60px;
	padding: 0;
	position: fixed;
  	top: 0;
  	width: 100%;
  	background-color: rgba(0,0,0,0);
  	color:white;
  	opacity: .9;
  	z-index: 10;
  	transition: 0.3s;
}

.navbar-nav {
	flex-wrap: wrap;
}

.darkbg {
	background-color: rgba(0,0,0,.9);
}

/*...................................*/

#outerCarousel {
	background-color: black;
	position: relative;
}

.carousel .carousel-item {
	height: 100%;
}

.carousel-item img {
    width: 100%;
    top: 0;
    left: 0;
    opacity: .6;
}

#carouseloverlay {
	position: absolute;
	width: 100%;
	height: 100%;
	top:0;
	bottom: 0;
	margin: auto;
	color: white;
	z-index: 10;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	pointer-events: none;
}

h1 {
	text-align: center;
	font-size: clamp(1.5rem, 5vw, 4em);
    color: white;
    text-shadow: black 0px 0px 10px;
}

#aboutus, #searchcontainer {
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 20px 0;
	line-height: 1.8em;
	letter-spacing: 1.5px;
	font-size: 20px;
}

.toanimate {
	border-bottom: solid yellow 3px;
	display: inline-block;
	padding-bottom: 0em;
	transition-duration: 1s;
	line-height: .6em;
}

.underlineDiv {
	background-color: yellow;
	height: 3px;
	width: 100%;
}

.translateUp{
	transform: translateY(-2em);
}

#aboutuswords, #searchwords{
	width: 40%;
	margin-bottom: 0;
}

#aboutusphoto{
	width: 40%;
	display: flex;
	justify-content: center;
	align-items: center;
}

#aboutusphotodiv img {
	width: 170px;
	aspect-ratio: 0.619; /* 510 / 823 */
	height: auto;
}

#aboutusphotodiv {
	border-radius: 5px;
	width: 170px;
}

#missionLink {
	color: #0645AD;
	font-size: 1.1em;
}

#searchcontainer {
	background-color: black;
	color: white;
	flex-direction: row-reverse;
	justify-content: space-around;
	flex-wrap: wrap;
}

#searchcarddiv{
	width: 40%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 465px;
}

#searchcard{
	width: 90%;
	background-color: white;
	display: flex;
	flex-direction: column;
	align-items: center;
	border-radius: 5px;
	border: solid black 1px;
}

#searchcard a {
	color: black;
}

#searchcard li {
	line-height: 3em;
}

#searchcard a:hover {
	text-decoration: none;
}

#searchcard h2 {
	color: black;
	font-size: 2em;
}

#searchcard li img {
	opacity: .3;
}

.searchByIcon {
	width: 48px;
	height: 48px;
}

/*Media queries................................................*/
@media (max-width: 990px){
	.navbar-brand {
		border-right: none;
		padding-right: 0;
	}

	#searchcarddiv {
		width: 40%;
		justify-content: flex-start;
	}
}

@media (max-width: 820px){
	main {
		flex-direction: column;
		align-items: center;
	}

	#aboutuswords {
		width: 60%;
		padding: 10px;
	}
	#aboutusphoto {
		width: 40%;
	}

	#searchwords {
		width: 90%;
		padding: 10px;
	}

}

@media (max-width: 650px){
	#overlayLogo {
		display: none;
	}

	#carouseloverlay {
		justify-content: flex-end;
	}
	.navbar {
		opacity: 1;
	}
}

@media (max-width: 465px){

	#aboutuswords {
		width: 100%;
		padding: 10px;
	}
	#aboutusphoto {
		display: none;
	}
	#searchwords {
		width: 100%;
		padding: 10px;
	}
	#searchcarddiv {
		width: 100%;
		min-width: 0;
		align-items: center;
	}
}

@media (hover: none) {
  a:hover {
    background-color: transparent;
  }
}