html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
}

* {
	padding: 0;
	margin: 0;
}

body {
	position: relative;
}

.fullscreen-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: #F5CF27;
	opacity: 0;
	visibility: hidden;
	z-index: 9999;
	pointer-events: none;
}

.fullscreen-overlay.screenclick {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.full-page-container {
	height: 100vh;
	width: 100vw;
}

main, section {
	flex: 1;
}

.full-page-container::-webkit-scrollbar {
	display: none;
}

.full-page-container {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

li {
	list-style: none;
}

.navlink {
	color: #05520B;
	text-decoration: none;
}

#pagelinks {
	color: #1167F7;
	text-decoration: normal;
}

.container {
	max-width: 100%;
	margin: auto;
}

.sections {
	width: 90%;
	box-sizing: border-box;
	margin: auto;
}

.boxformat {
	margin: 20px;
}

header {
	position: fixed;
	top: 0;
	width: 100%;
	background-color: #F5CF27;
}

.navbar {
	width: 95%;
	margin: auto;
	height: clamp(120px, 27.805vmin, 30vmin);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.navmenu {
	display: none;
}

.branding {
	display: flex;
	justify-content: left;
	align-items: center;
	gap: 2vmin;
}

.logo {
	height: 110px;
	width: 110px;
}

.nav-branding {
	font-size: 3.883vmin;
}

.stacking-navlinks {
	position: fixed;
	top: clamp(120px, 27.805vmin, 30vmin);
	left: 0;
	width: 100vw;
	height: calc(100vh - clamp(120px, 27.805vmin, 30vmin));
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	line-height: 16vmin;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.4s ease-in, opacity 0.4s ease-in, transform 0.4s ease-in;
	padding: 0;
	margin: 0;
	font-size: 5vmin;
	z-index: 10000;
}

footer {
	margin-top: auto;
	width: 100%;
	background-color: #F5CF27;
}

.foot {
	width: 95%;
	margin: auto;
	height: clamp(150px, 18vmax, 20vmax);
	display: flex;
	justify-content: center;
	align-items: center;
}

.foot-menu {
	font-size: 2.5vmin;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 3vmin;
}

.about {
	height: auto;
	padding-top: 33vmin;
	padding-bottom: 2vmin;
	border: 0px solid black;
}

.donate {
	height: auto;
	margin-bottom: 13vmin;
	border: 0px solid black;
}

.SFF-2026 {
	height: auto;
	padding-bottom: 0px;
	border: 0px solid black;
	width: 90%;
	max-width: 90%;
	box-sizing: border-box;
	margin: auto;
	padding-top: 33vmin;
}

.SFF-sections {
	height: auto;
	padding-bottom: 0px;
	padding-top: 0px;
	border: 0px solid black;
	width: 90%;
	max-width: 90%;
	box-sizing: border-box;
	margin: auto;
	color: #ffffff;
}

#links-list {
	display: none;
}

.SFF-bottom-section {
	height: auto;
	padding-bottom: 20.37vmin;
	padding-top: 0px;
	border: 0px solid black;
	width: 90%;
	max-width: 90%;
	box-sizing: border-box;
	margin: auto;
}

.what-weve-done {
	height: auto;
	padding-top: 33vmin;
	margin-bottom: 10vmin;
	border: 0px solid black;
}

#gallery-title {
	padding-top: 33vmin;
}

.gallery {
	width: 100%;
	box-sizing: border-box;
	margin: auto;
	height: auto;
	padding-bottom: 0px;
	border: 0px solid black;
}

.gallery-container {
	height: auto;
	width: 95%;
	padding: 5vmin;
	box-sizing: border-box;
	margin: auto;
	border: 0px solid rgb(11, 111, 12);
}

#gallery-upload {
	margin-bottom: 17vmin;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15vmin, 1fr));
	gap: 3vmin;
	justify-items: center;
	align-items: center;
	margin-top: 0px;
	border: 0px solid black;
}

.gallery-grid img,
.gallery-grid video {
	width: 100%;
	max-width: 300px;
	height: auto;
	border-radius: 10px;
	cursor: pointer;
	transition: transform 0.2s ease;
}

.gallery-grid video {
	max-height: 200px;
}

.gallery-grid img:hover {
	transform: scale(1.05);
	z-index: 1;
	/* zoom effect on hover */
}

#gallery-images {
	max-width: 100%;
	margin: 0;
	border: 0px solid rgb(255, 0, 0);
}

.lightbox {
	display: none;
	/* hidden by default */
	position: fixed;
	z-index: 10003;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
	margin: auto;
	display: block;
	padding-top: 40vmin;
	padding-bottom: 2vmin;
	max-width: 70%;
	max-height: 80%;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.lightbox .close {
	position: absolute;
	top: 20px;
	right: 35px;
	color: white;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	transition: 0.3s;
}

.lightbox .close:hover {
	color: #ccc;
}

.lightbox .prev,
.lightbox .next {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	color: white;
	font-size: 50px;
	font-weight: bold;
	cursor: pointer;
	padding: 16px;
	transition: 0.3s;
	user-select: none;
}

.lightbox .prev {
	left: 20px;
}

.lightbox .next {
	right: 20px;
}

.lightbox .prev:hover,
.lightbox .next:hover {
	color: #ccc;
}

.boxhead {
	font-size: clamp(1.5rem, 2.5vmax, 4rem);
}

.boxtext {
	font-size: clamp(1.1rem, 1.3vmax, 3rem);
	font-weight: 400;
	line-height: 1.5;
}

.indented-paragraph {
	text-indent: 3em;
}

.coming-soon-announcements {
	font-size: 3rem;
	color: #F54927;
}

.centered-image {
	text-align: center;
}

#delanie {
	height: 40vmin;
	width: auto;
}

#special-head {
	color: #05520B;
}

button:active {
	transform: translateY(2px);
}

@media screen and (max-width :600px) {
	.branding {
		gap: 3.5vmin;
	}

	.nav-branding {
		font-size: 4vmin;
	}

	#text-above-image {
		text-align: justify;
	}

	#reese {
		height: 72.137vmin;
		width: 68.333vmin;
	}

	#juliana {
		height: 85.333vmin;
		width: 64vmin;
	}

	#stadion {
		height: 40vmin;
		width: auto;
	}

	.stacking-navlinks.show {
		opacity: 1;
		transform: translateY(0);
		max-height: 100vh;
		padding-top: 19vmin;
	}

	.stacking-navlinks .nav-link {
		opacity: 0;
		transform: translateY(-10px);
		transition: opacity 0.3s ease-in, transform 0.3s ease-in;
	}

	.stacking-navlinks.show .nav-link {
		opacity: 1;
		transform: translateY(0);
		text-align: center;
	}

	.stacking-navlinks.show .nav-link:nth-child(1) {
		transition-delay: 0.1s;
	}

	.stacking-navlinks.show .nav-link:nth-child(2) {
		transition-delay: 0.2s;
	}

	.stacking-navlinks.show .nav-link:nth-child(3) {
		transition-delay: 0.3s;
	}

	.stacking-navlinks.show .nav-link:nth-child(4) {
		transition-delay: 0.4s;
	}

	.stacking-navlinks.animating-out .nav-link {
		opacity: 0;
		transition: 0s;
		transform: translateY(-10px);
	}

/*	.stacking-navlinks.animating-out .nav-link:nth-child(1) {
		transition-delay: 0.4s;
	}

	.stacking-navlinks.animating-out .nav-link:nth-child(2) {
		transition-delay: 0.3s;
	}

	.stacking-navlinks.animating-out .nav-link:nth-child(3) {
		transition-delay: 0.2s;
	}

	.stacking-navlinks.animating-out .nav-link:nth-child(4) {
		transition-delay: 0.1s;
	}*/

	.hamburgerbutton {
		position: fixed;
		top: 11.3vmin;
		left: 84vw;
		width: 30px;
		height: 25px;
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		cursor: pointer;
		background-color: rgba(255, 255, 255, 0);
		border: none;
		z-index: 10001;
	}

	.hamburgerbutton span {
		display: block;
		height: 3px;
		width: 100%;
		background: #000000;
		border-radius: 3px;
		transition: all 0.3s ease;
	}

	.hamburgerbutton.buttonclicked span:nth-child(1) {
		transform: rotate(45deg) translate(6px, 6px);
	}

	.hamburgerbutton.buttonclicked span:nth-child(2) {
		opacity: 0;
	}

	.hamburgerbutton.buttonclicked span:nth-child(3) {
		transform: rotate(-45deg) translate(6px, -6px);
	}

	.bar {
		width: 100%;
		height: 3px;
		background-color: black;
	}
}

@media(max-width:1500px) {
	.container {
		width: 100%;
	}

	.sections {
		width: 90%;
	}

	footer {
		width: 100%;
	}
}

/* Samsung Galaxy Flip and other folding phones */
@media screen and (max-width: 374px) {
	.boxtext {
		font-size: clamp(0.9rem, 3.5vw, 1.2rem);
	}

	.coming-soon-announcements {
		font-size: clamp(1.2rem, 6vw, 2rem);
	}

	.nav-branding {
		font-size: clamp(2.5vmin, 5vw, 3.5vmin);
	}
}

/* Samsung Galaxy Flip folded state (tall narrow screen) */
@media screen and (max-width: 413px) and (min-height: 800px) {
	.boxtext {
		font-size: clamp(1rem, 2.5vh, 1.3rem);
		line-height: 1.4;
	}

	.coming-soon-announcements {
		font-size: clamp(1.3rem, 3vh, 1.8rem);
	}

	footer {
		margin-left: 3vmin;
		margin-right: 3vmin;
	}

	.foot-menu {
		padding-left: 3vmin;
		padding-right: 3vmin;
		gap: 2vmin;
		font-size: 2vmin;
	}
}
