html {
	scroll-behavior: smooth;
}

main {
  font-family: "Barlow", sans-serif;
  font-style: normal;
  font-size: 1.1em;
}

main p {
	line-height: 2rem;
}

h2, h3, h4, h5, h6 {
	font-weight: bold;
}

h2 {
	margin-top: 20px;
}

h1 {
	margin-bottom: 0;
}

/*Jumbo............................................*/

#Jumbo div {
	color:black;
	background: rgba(256,256,256,.7);
	max-width: max-content;
	border-radius: 2px;
	text-align: center;
}

#mainPhoto {
	width: 100%;
}
#mainPhoto picture{
	width: 100%;
}

#lowerContent{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

#tableofcontents{
	border: solid black 1px;
	border-bottom: 0;
	width:15%;
}

#rightSideBar {
	width: 15%;
	color: white;
	padding: 5px;
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: darkgreen;
}

#sidebarInner {
	padding: 5px;
	padding-top: 20px;
	display: flex;
	flex-direction: column;
	position: sticky;
    top: 40px;
    font-size: .8em;
    transition-duration: .5s;
}

#sidebarInner ul {
	padding-left: 20px;
}

#sidebarInner a {
	color: white;
}

#rightSideBar h2 {
	margin: 8px 0;
}

#tableofcontents ol{
	padding: 0;
	list-style-position: inside;
}

#tocinner{
	margin: 10px 5px;
	padding: 5px;
	border: solid black 1px;
	box-shadow: 1px 1px 2px black;
	display: flex;
	flex-direction: column;
	position: sticky;
  top: 75px;
  font-size: 1em;
}

#mainContent{
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	margin: 0 auto;
	width: 70%;
}

#mainContent h2 {
	text-align: center;
	margin: 10px 0 40px 0;
}

.mainContentSection {
	padding: 10px 40px;
	border-bottom: black solid 1px;
}

#stickyUp {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index:1;
	padding: 1px;
	font-size: 1.5em;
}

.responsive-img {
  width: 100%;
  height: auto;
  display: block;
}

#stickyUp h2 {
	margin: 0;
}

.smallerPhotoDiv {
	float: right;
	width: 350px;
	margin-left: 20px;
}

.smallestPhotoDiv {
	float: right;
	width: 250px;
	margin-left: 20px;
}

.smallerPhotoDivLeft {
	float: left;
	width: 350px;
	margin-right: 20px;
}

.smallestPhotoDivLeft {
	float: left;
	width: 250px;
	margin-right: 20px;
}

.smallerPhoto {
	width: 350px;
	border-radius: 5px;
	box-shadow: 2px 2px 5px black;
}

.smallestPhoto {
	width: 250px;
	border-radius: 5px;
	box-shadow: 2px 2px 5px black;
}

figcaption {
	background-color: rgb(240,240,240);
	font-size: small;
	padding: 5px;
}

.video-float-right {
  float: right;
  width: 70%;
  margin-left: 1rem;
  margin-bottom: 1rem;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/*Footer.......................*/

footer {
	width: 100%;
	height:60vh;
	display: flex;
	flex-direction: column;
}

#upper {
	background-color: #191919;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
}

#lower {
	background-color: black;
	flex-grow: 1.5;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}

#copyright {
	color: rgba(256,256,256,.5);
	transition: .5s;
	padding: 0 20px;
}

#upCircle {
	height: 75px;
	width: 75px;
	border-radius:100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	font-size: 4rem;
	margin:0;
	padding: 0;
	position: relative;
	top: 37px;
}

h3#references + ol a {
  white-space: normal;           /* Allow normal wrapping */
  overflow-wrap: break-word;     /* Break long words if needed */
  word-wrap: break-word;         /* Fallback for older browsers */
  word-break: break-all;         /* If necessary, break words anywhere */
}

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

@media (max-width: 820px){


	nav ul {
		flex-direction: column;
		align-items: center;
		width: 100%;
		list-style-type: none;
	}

	nav, #nav1 {
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	nav li {
		margin: 10px 0;
		font-size: large;
	}

	#navbar {
		position: static;
	}

	#navbar li {
		margin: 5px 0;
		font-size: large;
	}

	main {
		flex-direction: column;
		align-items: center;
	}

	#lowerContent {
		flex-direction: column;
	}
	#tableofcontents {
		width: 100%;
	}
	#stickyUp {
		display: none;
	}
	.mainContentSection{
		padding: 0;
	}

}

@media (max-width: 465px){
	#mainJumbo p{
		margin: 0;
	}

	h1 {
		font-size: 1.875rem;
	}
}

@media (max-width: 600px) {
  .container-70 {
    width: 100%; /* Full width on small screens */
    padding: 0 1rem;
  }
}