/* ────────────────────────────────────────────────────────────
   FONT IMPORTS
──────────────────────────────────────────────────────────── */
@import url("Papyrus/stylesheet.css");
@import url("Candara/stylesheet.css");
@import url("Candara/stylesheet.css");
@import url("Papyrus/stylesheet.css");



@font-face {
  font-family: 'Papyrus';
  src: url('fonts/Papyrus.ttf') format('truetype');
}

@font-face {
  font-family: 'Candara';
  src: url('fonts/Candara.ttf') format('truetype');
}

/* ────────────────────────────────────────────────────────────
   GLOBAL BASE
──────────────────────────────────────────────────────────── */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Papyrus', 'Candara', serif;
  background-color: #CCCCCC;
  background-size: cover;
  color: #333333;
  transition: background-image 0.5s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Themes */
body[data-theme="Big-Sky1"] { background-image: url(images/Big-Sky1.JPG); }
body[data-theme="Twilight3"] { background-image: url(images/Twilight3.JPG); }
body[data-theme="Forest2"] { background-image: url(images/Forest2.JPG); }
body[data-theme="Grass5"] { background-image: url(images/Grass5.JPG); }
body[data-theme="Forest6"] { background-image: url(images/Forest6.JPG); }

/* Page Wrapper */
#Page, #Page3 {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ────────────────────────────────────────────────────────────
   TOP RITUAL BAR — FLEXBOX + 13px TITLE OFFSET
──────────────────────────────────────────────────────────── */

.top-bar {
  background-color: rgba(51,51,51,0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 20px;
  margin: 5px;
  border-radius: 6px;
}

/* Left side: Logo + Title */
.left-group {
  display: flex;
  align-items: flex-start; /* allows logo to sit slightly higher */
  gap: 16px;
  filter: drop-shadow(0 0 10px #ffffff);
}

/* Logo stays slightly higher than the title */
.left-group img {
  margin-top: 0px; /* logo baseline */
}

/* Title block */
.studio-title.panel {
	display: flex;
	flex-direction: column;
	justify-content: center; /* vertical centering */
	margin-top: 13px; /* ← your O1 offset: title sits 13px lower than logo */
	font-family: Papyrus;
	font-size: 80px;
	color: #ffffff;
	text-shadow: 0 0 10px #ffffff;
	line-height: 1.1;
}

/* Tagline */
.studio-title.panel2 {
	font-family: Candara;
	font-size: 40px;
	color: #ffffff;
	text-shadow: 0 0 13px #ffffff; /* S2 medium spacing */
}


.studio-title.panel3 {
	font-family: Papyrus;
	font-size: 20px;
	color: #ffffff;
	text-shadow: 0 0 13px #ffffff;
	margin-top: 12px; /* S2 medium spacing */
}
.studio-title.panel4 {
	font-family: Candara;
	font-size: 18px;
	color: #ffffff;
	text-shadow: 0 0 13px #ffffff;
	margin-top: 12px; /* S2 medium spacing */
}




/* Right side: Theme switcher + Vet badge */
.right-group {
	display: flex;
	align-items: center;
	gap: 12px;
	float: right;
}

/* Theme switcher */
.theme-switcher2 {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #ffffff;
	font-family: Candara;
	float: right;
}

#themeSelect {
	background-color: #1c2a38;
	color: #e0f0ff;
	border: none;
	border-radius: 7px;
	box-shadow: 0 0 5px #6ec6ff;
	float: right;
	padding-top: 6px;
	padding-right: 10px;
	padding-bottom: 6px;
	padding-left: 10px;
}

/* Vet badge */
#Vet {
	width: 250px;
	height: 60px;
	background-image: url(images/Veteran%20Owned.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: scroll;
	float: right;
}


#Title2{
	display: flex;
	align-items: center;
	gap: 12px;
	float: right;
}

/* ────────────────────────────────────────────────────────────
   CENTRAL PANEL
──────────────────────────────────────────────────────────── */
.center-panel {
  background-color: rgba(51,51,51,0.6);
  padding: 16px;
  margin: 13px;
  border-radius: 7px;
  box-shadow: 0 0 8px #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Question Banner */
.question-banner {
  background-color: rgba(51,51,51,0.7);
  padding: 20px;
  border-radius: 7px;
  text-align: center;
  color: #fff;
  box-shadow: 0 0 8px #fff;
}

/* Tile Bar */
#Tile-Bar {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 3px;
	margin-bottom: 3px;
}

#Tile-Bar button {
  background-color: rgba(51,51,51,0.7);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 7px;
  box-shadow: 0 0 8px #fff;
}

/* ────────────────────────────────────────────────────────────
   ABOUT PAGE — FLEXBOX UPGRADE
──────────────────────────────────────────────────────────── */
.Demographics-panel {
  background-color: rgba(255,255,255,0.6);
  padding: 16px;
  border-radius: 7px;
  box-shadow: 0 0 8px #fff;
  display: flex;
  flex-direction: column;
  gap: 40px; /* ← Your choice C: consistent spacing */
}

/* Section Title */
#Self {
  font-size: 80px;
  color: #fff;
  text-shadow: 0 0 13px #fff;
  margin-left: 160px;
}

/* Dauntless Water Section */
#About-LogoWrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#Dauntless-Logo-About img {
  filter: drop-shadow(0 0 10px #fff);
}

#About {
  max-width: 1200px;
  width: 100%;
}

.About-body {
  font-family: Candara;
  font-size: 18px;
  color: #000;
  line-height: 1.4;
}

/* Element Rescue Section */
#About-LogoWrap2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#ER-Logo img {
  filter: drop-shadow(0 0 10px #fff);
}

#About-Name {
  font-family: Papyrus;
  font-size: 24px;
  color: #fff;
  text-shadow: 0 0 13px #fff;
}

#About-Tagline {
  font-family: Candara;
  font-size: 18px;
  color: #fff;
  text-shadow: 0 0 13px #fff;
}

/* ────────────────────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────────────────────── */
#Legal {
  display: flex;
  flex-direction: row;        /* side-by-side */
  justify-content: center;    /* center the whole row */
  align-items: center;        /* vertical alignment */
  gap: 30px;                  /* spacing between the three items */
  padding: 20px;
  margin-top: 40px;
  flex-wrap: wrap;            /* allows wrapping on small screens */
}

/* DMCA badge */
#DMCA img {
  display: block;
  height: auto;
  filter: drop-shadow(0 0 5px #ffffff);
}

/* Cloudflare badge */
#Flare img {
  display: block;
  height: auto;
  filter: drop-shadow(0 0 5px #ffffff);
}

/* Owner text */
#Owner {
	font-family: papyrus;
	font-size: 18px;
	color: #ffffff;
	text-shadow: 0 0 10px #ffffff;
	white-space: nowrap;        /* keeps the line together */
}


/* ────────────────────────────────────────────────────────────
   REMOVE WHISPER WOLF
──────────────────────────────────────────────────────────── */
#whisper-wolf { display: none !important; }


/* ────────────────────────────────────────────────────────────
   Loading Bar
──────────────────────────────────────────────────────────── */

/* ────────────────────────────────────────────────────────────
   FULL-SCREEN LOADING PAGE — FLEXBOX VERSION
──────────────────────────────────────────────────────────── */

#loadingContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;      /* centers vertically */
  align-items: center;           /* centers horizontally */
  height: 100vh;                 /* full screen */
  width: 100%;
  text-align: center;
  padding: 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* Logo */
#LoadingLogo {
  width: 600px;
  height: 200px;
  background-image: url(images/DauntlessLogo.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 0 13px #ffffff);
  margin-bottom: 40px; /* same spacing as original */
}

/* Loading text */
.loading-text {
	font-family: Papyrus;
	font-size: 40px;
	color: #33CCFF;
	text-shadow: 0 0 13px #ffffff;
	margin-bottom: 30px; /* original spacing */
	margin-top: 30px;
}

/* Progress bar */
.progress-bar {
	width: 600px;
	height: 13px;
	border-radius: 7px;
	overflow: hidden;
	background-color: #666666;
	opacity: 0.62;
	filter: drop-shadow(0 0 10px #ffffff);
	margin-top: 7px;
	margin-bottom: 13px;
	
}

.progress-fill {
  width: 0%;
  height: 100%;
  background-color: #FF0000;
  border-radius: 7px;
  transition: width 0.3s ease;
  filter: drop-shadow(0 0 13px #ffffff);
}


/* ────────────────────────────────────────────────────────────
   Logos
──────────────────────────────────────────────────────────── */

#DauntlessLogo2 {
  width: 600px;
  height: 200px;
  background-image: url("images/Dauntless-Logo-200.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 0 13px #ffffff);
  margin-bottom: 20px;
}

#DauntlessLogo3 {
	width: 600px;
	height: 200px;
	background-image: url(images/Dauntless-Logo-500.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	filter: drop-shadow(0 0 13px #ffffff);
	margin-bottom: 20px;
	background-attachment: scroll;
}

#Dauntless {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#DauntlessLogo2 {
  width: 600px;
  height: 200px;
  background-image: url("images/Dauntless-Logo-200.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 0 13px #ffffff);
}


#Dauntless-text {
  display: flex;
  flex-direction: column;     /* stack title over tagline */
  justify-content: center;
  text-align: left;
}

/* ────────────────────────────────────────────────────────────
   SOUNDX AUDIO PANEL — FLEXBOX VERSION
──────────────────────────────────────────────────────────── */

#SoundX {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-top: 40px;
	margin-bottom: 40px;
	padding: 20px;
	background-color: rgba(51,51,51,0.6);
	border-radius: 7px;
	box-shadow: 0 0 10px #ffffff;
	width: 100%;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	height: auto;
}

/* Audio controls container */
.audio-controls {
	display: flex;
	flex-wrap: wrap;          /* allows wrapping on small screens */
	justify-content: center;
	gap: 10px;
}

/* Buttons */
.audio-controls button {
  font-family: Candara, sans-serif;   /* restores correct icon rendering */
  font-size: 18px;                    /* keeps icons readable */
  line-height: 1;                     /* prevents clipping */
  background-color: rgba(51,51,51,0.7);
  color: #ffffff;
  border: none;
  padding: 10px 14px;
  border-radius: 7px;
  cursor: pointer;
  box-shadow: 0 0 8px #ffffff;
  font-weight: 600;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Hover effect */
.audio-controls button:hover {
  background-color: rgba(255,255,255,0.2);
  transform: scale(1.05);
}

/* Active press */
.audio-controls button:active {
  transform: scale(0.97);
}

/* ────────────────────────────────────────────────────────────
   ER — FLEXBOX VERSION
─/* ER / NMS Block */
#ER {
  display: flex;
  flex-direction: row;        /* logo left, text right */
  align-items: center;        /* vertical alignment */
  justify-content: center;    /* center the whole block */
  gap: 20px;                  /* spacing between logo and text */
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Logo */
#NMSLogo {
	width: 60px;
	height: 60px;
	background-image: url(images/Logo%2050%20PX.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	filter: drop-shadow(0 0 13px #ffffff);
}

/* Text block (title + tagline stacked) */
.er-text {
  display: flex;
  flex-direction: column;     /* stack title over tagline */
  justify-content: center;
  text-align: left;
}

/* Title */
.studio-title.panel3 {
	font-family: Papyrus;
	font-size: 20px;
	color: #ffffff;
	text-shadow: 0 0 13px #ffffff;
	margin: 0;
}

/* Tagline */
.studio-title.panel4 {
	font-family: Candara;
	font-size: 20px;
	color: #ffffff;
	text-shadow: 0 0 13px #ffffff;
	margin: 0;
}
