/* html {
	overflow-x: hidden;
} */

body {
	background-color: whitesmoke;
	font-family: "Times Now Light", "Times New Roman", Times, serif;
	line-height: 2.4rem;
	/* overflow-x: hidden; */
}

@font-face {
	font-family: "Times Now Light";
	src: url("fonts/TimesNow-Light.ttf") format("truetype");
}

.border-container {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: auto;
	border: 3px solid whitesmoke;
	opacity: 1;
}

.brothers {
	color: darkgoldenrod;
}

.clubhouse {
	color: royalblue;
}

.reef {
	color: teal;
}

.abi {
	color: purple;
}

.granny {
	color: palevioletred;
}

.header {
	position: fixed;
	top: 1px;
	left: 0;
	left: 0.25rem; /* push right slightly */
	width: calc(98% - 0.25rem); /* reduce width by same amount */
	height: 5rem;
	background-color: whitesmoke;
	display: flex;
	/* align-items: center; */
	justify-content: center;
	z-index: 1000;
	margin-top: 0.125rem;
}

#logo {
	width: 23%;
	position: absolute;
	/* left: 50%; */
	transform: translateX(-50%);
	padding-top: 0.5rem;
}

#welcome {
	font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
	font-size: 1.7rem;
}

.about {
	font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
	position: fixed;
	top: 0.5rem;
	right: 1rem;
	font-size: 1.25rem;
	text-decoration: none;
	color: black;
	border: 1px solid grey;
	border-radius: 50%;
	padding: 0.5rem;
	transform: rotate(7deg);
}

.navbar {
	position: fixed;
	top: 4.5rem; /* matches header height */
	left: 50%; /* center horizontally */
	transform: translateX(-50%);
	width: 98%; /* matches header container width */
	background: whitesmoke;
	display: flex;
	justify-content: space-around;
	padding: 10px 0;
	border-bottom: 1px solid lightgray;
	z-index: 999; /* Add this - just below header */
	box-shadow: 0 0 0 1px whitesmoke; /* Add this */
}

.navbar a {
	font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
	text-decoration: none;
	font-size: 1.2rem;
	color: black;
}

h3 {
	font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
}

.collection-page h3 {
	scroll-margin-top: 9rem;
}

.collection-page .anchor {
	font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
}

body.animation .navbar a {
	opacity: 0; /* start invisible */
	transform: translateY(-10px); /* slight upward offset */
	animation: fadeIn 0.5s forwards;
}

.navbar a.inactive {
	opacity: 0.2;
}

body.animation .navbar a:nth-child(1) {
	animation-delay: 0.2s;
}
body.animation .navbar a:nth-child(2) {
	animation-delay: 0.4s;
}
body.animation .navbar a:nth-child(3) {
	animation-delay: 0.6s;
}
body.animation .navbar a:nth-child(4) {
	animation-delay: 0.8s;
}
body.animation .navbar a:nth-child(5) {
	animation-delay: 1s;
}

@keyframes fadeIn {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.content {
	font-size: 1.1rem;
	/* border: 1px solid green; */
	margin: 12rem auto 3rem;
	width: 51%;
}

.collection-page {
	font-size: 1.3rem;
	/* border: 1px solid green; */
	margin: 15rem auto 3rem;
	width: 51%;
}

h1 {
	font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
	font-size: 2.5rem;
	letter-spacing: 0.025rem;
}

h1.sris {
	font-family: "Courier New", Courier, monospace;
	font-size: 3rem;
	line-height: 3.5rem;
	text-align: center;
}

h1.julian {
	font-family: "Times New Roman", sans-serif;
	font-size: 3rem;
	line-height: 3.5rem;
	text-align: center;
}

h2.julian {
	font-size: 3rem;
	line-height: 3.5rem;
	text-align: center;
	font-family: "Times New Roman", sans-serif;
}

h2.sris {
	font-size: 2.75rem;
	line-height: 3.5rem;
	text-align: center;
	font-family: "Courier New", Courier, monospace;
}

h3.sris-color {
	font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
	font-size: 1.75rem;
	text-align: center;
	text-decoration: underline;
	margin-bottom: 3rem;
}

h4.sris {
	font-size: 1.5rem;
	text-align: center;
	margin-bottom: -1.5rem;
	color: royalblue;
}

h4.julian {
	font-size: 1.5rem;
	text-align: center;
	margin-bottom: -1.5rem;
	color: darkgoldenrod;
}

h4.abi {
	font-size: 1.5rem;
	text-align: center;
	margin-bottom: -1.5rem;
	color: purple;
}

p.sris h3,
h4,
h5 {
	font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
}

h5 {
	margin-bottom: -1rem;
	font-size: 1.25rem;
}

hr {
	margin: -0.5rem auto 2.5rem;
}

a {
	text-decoration: none;
	color: inherit;
}

.joshs-scripts p {
	margin-bottom: 5rem;
}

.collection-page p a:hover {
	text-decoration: underline;
}

.inactive {
	opacity: 0.2;
}

.censored {
	color: transparent;
	text-shadow: 0 0 9px black;
}

.censored-big {
	color: transparent;
	text-shadow: 0 0 22px black;
}

.footer {
	/* border: 1px solid red; */
	display: flex;
	justify-content: flex-end;
	align-items: flex-end; /* pushes the link to the right */
}

#ul-logo {
	width: 4%;
	position: fixed;
	opacity: 0.4;
	bottom: 1rem;
	right: 1rem;
}

.center {
	text-align: center;
}

@media (max-width: 1140px) {
	#logo {
		width: 35%;
		position: absolute;
		/* left: 50%; */
		transform: translateX(-50%);
		padding-top: 0.5rem;
	}

	.content {
		font-size: 1.1rem;
		/* border: 1px solid green; */
		margin: 12rem auto 3rem;
		width: 75%;
	}

	.collection-page {
		font-size: 1.3rem;
		/* border: 1px solid green; */
		margin: 15rem auto 3rem;
		width: 75%;
	}

	.collection-page h1 {
		line-height: 3rem;
		margin-top: 1rem;
	}

	.navbar {
		text-align: center;
		line-height: 1.5rem;
	}

	.navbar a {
		/* font-size: 0.9rem; */
	}

	h4.sris {
		font-size: 1.5rem;
		text-align: center;
		margin-bottom: -0.5rem;
		color: royalblue;
	}

	h4.abi {
		font-size: 1.5rem;
		text-align: center;
		margin-bottom: -0.5rem;
		color: purple;
	}

	h4.julian {
		font-size: 1.5rem;
		text-align: center;
		margin-bottom: -1.5rem;
		color: darkgoldenrod;
	}
}

@media (max-width: 500px) {
	#logo {
		width: 60%;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		padding-top: 0.5rem;
	}

	.content {
		font-size: 1.25rem;
		/* border: 1px solid green; */
		margin: 12rem auto 3rem;
		width: 75%;
	}

	.collection-page {
		font-size: 1.3rem;
		/* border: 1px solid green; */
		margin: 15rem auto 3rem;
		width: 75%;
	}

	.navbar {
		text-align: center;
		line-height: 1.5rem;
	}

	.navbar a {
		font-size: 0.9rem;
	}

	.about {
		font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
		position: fixed;
		top: 0.5rem;
		right: 1rem;
		font-size: 1rem;
		text-decoration: none;
		color: black;
		border: 1px solid grey;
		border-radius: 50%;
		padding: 0.25rem;
		transform: rotate(7deg);
	}

	#welcome {
		font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
		font-size: 1.3rem;
	}

	h1 {
		font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
		font-size: 1.75rem;
		letter-spacing: 0.025rem;
	}

	h1.sris {
		font-family: "Courier New", Courier, monospace;
		font-size: 2rem;
		line-height: 3.5rem;
		text-align: center;
	}

	h1.julian {
		font-family: "Abril Fatface", sans-serif;
		font-size: 2rem;
		line-height: 3.5rem;
		text-align: center;
	}

	h2.sris {
		font-size: 2rem;
		line-height: 3.5rem;
		text-align: center;
		font-family: "Courier New", Courier, monospace;
	}

	h2.julian {
		font-size: 2rem;
		line-height: 3.5rem;
		text-align: center;
		font-family: "Abril Fatface", sans-serif;
	}

	h3.sris-color {
		font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
		font-size: 1.75rem;
		text-align: center;
		text-decoration: underline;
		margin-bottom: 3rem;
	}

	h4.sris {
		font-size: 1.25rem;
		text-align: center;
		margin-bottom: -0.5rem;
		color: royalblue;
	}

	h4.abi {
		font-size: 1.25rem;
		text-align: center;
		margin-bottom: -0.5rem;
		color: purple;
	}

	h4.julian {
		font-size: 1.25rem;
		text-align: center;
		margin-bottom: -0.5rem;
		color: darkgoldenrod;
	}

	#ul-logo {
		width: 15%;
		position: fixed;
		opacity: 0.4;
		bottom: 1rem;
		right: 1rem;
	}

	.word-breaker {
		/* This forces the browser to break the word if it overflows its container */
		overflow-wrap: break-word;
	}
}

/* SRIS COLORS */

.color-1 {
	color: #031c37;
}
.color-2 {
	color: #023a6c;
}
.color-3 {
	color: #0c4a8b;
}
.color-4 {
	color: #135db1;
}
.color-5 {
	color: #1a78d5;
}
.color-6 {
	color: #2e95ec;
}
.color-7 {
	color: #39b0ec;
}
.color-8 {
	color: #1ec4ce;
}
.color-9 {
	color: #03c4a7;
}
.color-10 {
	color: #1de9b6;
}

.locked::after {
	content: "🔒";
	font-size: 0.85em;
	margin-left: 1rem;
	vertical-align: middle;
	opacity: 0.75;
}

#poster-container {
	display: flex;
	justify-content: center;
}

#poster {
	width: 90%;
}
