@charset "utf-8";
/* CSS Document */
/* Get Fonts */
@font-face {
	font-family: 'WTSaltburn Regular';
	src: url("wt-saltburn/1_WOFF/WTSaltburn-Regular.woff");
}
@font-face {
	font-family: 'WTSaltburn Italic';
	src: url("wt-saltburn/1_WOFF/WTSaltburn-Italic.woff");
}
@font-face {
	font-family: 'WTSaltburn Heavy';
	src: url('wt-saltburn/1_WOFF/WTSaltburn-Heavy.woff');
}
@font-face {
	font-family: 'WTSaltburn HeavyItalic';
	src: url('wt-saltburn/1_WOFF/WTSaltburn-HeavyItalic.woff');
}
@font-face {
	font-family: 'WTSaltburn Thin';
	src: url('wt-saltburn/1_WOFF/WTSaltburn-Thin.woff');
}
@font-face {
	font-family: 'WTSaltburn ThinItalic';
	src: url('wt-saltburn/1_WOFF/WTSaltburn-ThinItalic.woff');
}
/* Get Fonts */
/*Global Styling*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html {
	scroll-behavior: smooth;
	padding: 0;
	margin: 0;
}

body, h1, h2, h3, h4, h5, h6 {
	font-weight: normal !important;
}
body {
	font-family:'WTSaltburn Regular';
	color: #000000;
	overflow-x: hidden;
	font-size: 1em;
}
main {
	position: relative;
	margin: .5em 1em;
}
/*Global Styling*/
/*Global Font styles*/
h1 {
	font-family: 'WTSaltburn Regular';
	width: 100%;
	font-size: 1em;
}
a {
	text-decoration: none;
	font-family: 'WTSaltburn Regular';
	font-size: 1em;
	color: fuchsia;
}

a:hover {
	color: orangered;
}


/*Global Font styles*/
/*Header*/
header {
	position: relative;
}
.header-text {
	position: relative;
	width: 100%;
	height: auto;
	background: yellow;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	align-items: center;
}
.header-text h1 {
	margin: 0;
	font-family: 'WTSaltburn HeavyItalic';
	color: #000000;
	font-size: 1.3em;
	z-index: 100;
	padding: .3em 0em 0rem .5em;
}

#index {
	background: magenta;
}

#index h1 {
	font-family: 'WTSaltburn Heavy';
}



/*Header*/
/* ---------------- Organization Bar ---------------- */
.sort-bar {
	width: 100%;
	margin-top: 2em;
}
.sort-bar p {
	margin: 0;
	padding: 0;
}
.sort-bar-line {
	width: 100%;
	height: 4px;
	background: yellow;
	border-top: 1px solid black;
	margin-bottom: .5em;
	padding: 0;
}
.sort-buttons {
	display: flex;
	gap: 1em;
}
.sort-buttons a {
	color: black;
	padding: 0 .2em .9em .2em;
	height: 1em;
	width: auto;
	background: white;
	border: 3px solid yellow;
	box-shadow: 0 0 0 1px black;
}
.sort-buttons .active {
	background: yellow;
}
.sort-buttons a:hover {
	background: yellow;
}
/* ---------------- Directory Layout ---------------- */
.directory {
	margin: 2em 2em 2em .5em;
}
/* Folder container */
.folder {
	padding: .5em 0;
}
.folder-content {
	margin-left: 1rem;
	/* Indent nested content */
	display: none;
	/* initially hidden */
}
/* ---------------- Folder Title with Arrow and Double-Line Effect ---------------- */
.folder-title {
	position: relative;
	cursor: pointer;
	padding-left: 1.5em;
	/* space for the arrow box */
	padding-bottom: .4em;
	/* extra space for the line */
	margin-bottom: 0;
}
.folder-title::before {
	content: "\25B6";
	/* right-pointing triangle */
	position: absolute;
	font-size: 1.5em;
	left: 0;
	top: .1em;
	width: .5em;
	height: .5em;
	line-height: .7em;
	text-indent: -.1em;
	text-align: left;
	/* black border for arrow box */
	background-color: white;
	z-index: 2;
}
/* When open, change arrow to down-pointing */
.folder-title.open::before {
	content: "\25BC";
}
/* Double-line effect under the folder title */
.folder-title::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0em;
	/* adjust as needed */
	height: 4px;
	/* thickness of yellow line */
	background: yellow;
	box-shadow: 0 -1.5px 0 black;
	/* thin black line on top */
	z-index: 1;
}
/* ---------------- Thumbnails (Dropdown) ---------------- */
.folder-content.open .thumbnails {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(100px, 100fr));
	gap: .1em;
	justify-items: center;
	width: 100%;
	box-sizing: border-box;
	/* Container styles */
	margin-top: -4px;
	padding: 5px;
	border: 4px solid yellow;
	box-shadow: 0 0 0 1.5px black;
}
.thumbnails img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin: 0;
	padding: 0;
	border: none;
}
.thumbnails img:hover {
	cursor: pointer;
}
/* ---------------- Carousel ---------------- */
/* Carousel Overlay */
.carousel-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	background-color: hsla(0,0%,100%,0.75);
	backdrop-filter: blur(5px);
	z-index: 999;
}
/* Carousel Content Container */
.carousel-content {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
}
/* Scroll Feed Container */
.scroll-feed {
	flex: 1;
	/* Take up remaining vertical space */
	display: flex;
	overflow-x: scroll;
	/* Horizontal scroll on desktop */
	scrollbar-gutter: stable;
	scroll-behavior: smooth;
	/* Smooth scrolling */
	padding: 1rem;
	gap: .5rem;
	/* spacing between images */
	align-items: center;
	justify-items: center;
	justify-content: flex-start;
}
.scroll-feed img {
	max-height: 70vh;
	/* or any desired max size */
	max-width: 1000px;
	object-fit: cover;
}
/* UI Bar at Bottom */
.carousel-ui {
	position: relative;
	height: 3rem;
	background: white;
	color: black;
	z-index: 10000;
	/* very high to ensure it's on top */
	pointer-events: auto;
}
/* Folder title on the left */
.folder-name {
	font-family: 'WTSaltburn Heavy';
	position: absolute;
	left: 0.5rem;
	top: 1em;
	transform: translateY(-50%);
	white-space: nowrap;
	z-index: 10001;
	pointer-events: auto;
}
/* Navigation buttons on the right */
.nav-buttons {
	position: absolute;
	right: 3rem;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	gap: 0.5rem;
	z-index: 10001;
	pointer-events: auto;
	padding: 0;
	margin: 0;
}
button {
	/* Reset default appearance */
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: none;
	margin: 0;
	font: inherit;
	color: inherit;
	cursor: pointer;
}
/* Styling for buttons */
.nav-buttons button, .close-btn {
	background: white;
	border: 4px solid yellow;
	box-shadow: 0 0 0 1.5px black;
	padding: .15em 0 0 0 ;
	font-size: 1.5rem;
	margin: 0;
	width: 2rem;
	height: 2rem;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10002;
	pointer-events: auto;
}
/* Close button, positioned at the far right */
.close-btn {
	color: red;
	position: absolute;
	right: 0.5rem;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: auto;
	font-size: 2em;
	font-weight: 900;
}
/* ===== Custom Scrollbar Styling for WebKit Browsers (Chrome, Safari, Edge) ===== */
.scroll-feed::-webkit-scrollbar {
	height: 12px;
	/* fixed height for horizontal scrollbar */
	width: 12px;
}
.scroll-feed::-webkit-scrollbar-track {
	background: yellow;
	/* track color */
	border-top: 1px solid black;
	border-bottom: 1px solid black;
}
.scroll-feed::-webkit-scrollbar-thumb {
	background: white;
	/* thumb color */
	border-radius: 0px;
	/* rounded thumb */
	border: 2px solid black;
}
.scroll-feed::-webkit-scrollbar-thumb:hover {
	background: white;
}
/* ===== Custom Scrollbar Styling for Firefox ===== */
/* ------- MOBILE / PORTRAIT STYLES ------- */
/* When the screen is narrow or in portrait,switch to vertical scroll. Adjust as needed. */
@media (max-width: 1500px) and (orientation:portrait) {
	
	body {
		font-size: 2em;
	}
	
	#header-text {
		font-size: 1.05em;
	}
	
	.folder-content.open .thumbnails {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}
	
	.sort-buttons {
		width: 100%;
		gap: .5em;
	}
	
	.sort-buttons a {
		flex: 1 1;
		text-align: center;
		padding-bottom: 1.2em;
		padding-top: .1em;
	}
	
	.folder {
		margin: .7em 0;
	}
	
	.scroll-feed {
		flex-direction: column;
		/* vertical layout */
		overflow-y: auto;
		/* vertical scroll */
		overflow-x: hidden;
		align-items: flex-start;
		justify-content: flex-start;
	}
	.scroll-feed img {
		width: 100%;
	}
	
	.carousel-ui {
		height: 4em;
		border-top: 4px solid yellow;
		box-shadow: 0 0 0 1.5px black;
	}
	
	.nav-buttons {
		visibility: collapse;
	}
	
	.close-btn {
		font-size: 3em;
		width: .7em;
		height: .7em;
		right: .2em;
	}
	
	.folder-name {
		top: 1.3em;
	}
	
}

.disclaimer {
	position: absolute;
	width: 100%;
	text-align: center;
	top: 5vw;
	z-index: 1000;
}
.subfolders {
	margin-left: 1rem;
	/* Indent subfolder list, if desired */
}
.subfolder {
	margin-bottom: 0.5rem;
}
.subfolder-title {
	cursor: pointer;
	padding: 0.5rem;
	background: #eee;
	/* Or any style you want */
	position: relative;
}
.subfolder-title.open::after {
	content: "";
	/* Add a double-line effect if desired, similar to .folder-title */
}
.sub-thumbnails {
	display: none;
	/* hidden by default, toggled by JS */
	margin-top: 0.25rem;
	padding: 5px;
	border: 2px solid yellow;
	/* example styling */
}