/* universal css template */

/* =========================
   Global Styles & Declarations 
   ========================= */
   
/* Fonts */
.jacquard {
  font-family: "Jacquard 12", system-ui;
  font-weight: 400;
  font-style: normal;
}

@font-face {
	font-family: 'pixelTimes';
	src: url('../fonts/Pixel_Times.ttf');
}
@font-face {
	font-family: 'pixelTimesBold';
	src: url('../fonts/Pixel_Times_Bold.ttf');
}





/* general text template and em */
html, body {
	height: auto;
}

body {
	background: white;
	font-size: 20px;
	color: black;
	font-family: 'pixelTimes';
	margin: 0;
}

p {
	font-size: 1em;
	margin: 0.5em 0;
}

* {
	box-sizing: border-box;
}





/* =========================
   Page Framework 
   ========================= */
/*three tiers take up 80% of the middle of the window*/
.banner,
.navbar,
.main-content {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

/* HEADER 
   ------------------------- */
.banner {
	background-color: gainsboro;
	min-height: 110px;
	text-align: center;
	color: black;
	padding: 15px 10px 10px 10px;
	margin-bottom: 0;
	border-width: 2px 2px 0 2px;
	border-style: solid solid none solid;
	border-color: black;
	border-radius: 15px 15px 0 0;
	
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.banner-title {
	font-weight: bold;
	line-height: 1.05;
	margin-bottom: 10px;
	font-size: 40px;
	max-width: 100%;
	text-align: center;
}

.banner-subtitle {
	font-size: 24px;
	color: white;
	line-height: 1;
	margin: 0;
	max-width: 100%;
	text-align: center;
}

/* clamp() doesnt work so ig i have to do this to resize the banner text: */
@media (max-width: 1000px) {
	.banner-title { font-size: 36px; }
	.banner-subtitle { font-size: 22px; }
}


@media (max-width: 300px) {
	.banner-title { font-size: 20px; }
	.banner-subtitle { font-size: 14px; }
}

@media (max-width: 200px) {
	.banner-title { font-size: 17px; }
	.banner-subtitle { font-size: 17px; }
}

/* NAVBAR
   ------------------------- */
/* Navbar_frame_____________ */
.navbar {
	position: sticky;
	top: 0;
	z-index: 1000;
	min-height: 50px;
	height: auto;
	border:4px solid black;
	margin-bottom: 5px;
	padding: 4px; 
	background-color: gainsboro;
	overflow: visible;
}

/* Navbar_selection_panel__ */
.nav-links {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	flex-wrap: wrap;
	list-style-type: none;
	border-top:2px inset grey;
	font-size: 0.9em;
	margin: 0;
	padding: 0;
}

/* Navbar_buttons___________ */
.nav-links a {
	display: block;
	font-family: 'pixelTimes';
	color: black;
	text-align: center;
	padding: 3px;
	text-decoration: none;
	border: 2px solid transparent;
}

.nav-links li {
	flex: 1;
	border-right: 2px solid grey;
	border-bottom: 2px solid grey;
	position: relative;
}

/* any_button_under_cursor */
.nav-links a:hover {
	background-color: white;
	border: 2px inset grey;
	color: blue;
}

/* keep dropdown parent highlighted while submenu is open */
.dropdown:hover .drop-button {
	background-color: white;
	border: 2px inset grey;
	color: black;
}

/* still make the dropdown parent blue when it itself is hovered */
.dropdown > .drop-button:hover {
	color: blue;
}

/* navbar_button_on_active_page */
.nav-links li a.active {
	background-color: gainsboro;
	border: 2px inset lightgray;
	color: grey;
}


/* Dropdown_frame___________ */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  
  background-color: gainsboro;
  border: 2px solid grey;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  
  padding: 0;
  min-width: 140px;
  z-index: 1;
}

/* Dropdown_buttons_________ */
.dropdown-content a {
  color: black;
  padding: 5px 7px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a + a {
  border-top: 2px solid grey;
}



/* Dropdown_functionality___ */
.dropdown:hover .dropdown-content {
  display: block;
}



/* MAIN CONTENT
   ------------------------- */
.main-content {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	gap: 10px;
	margin-top: 8px;
}

.panel {
	display: block;
	min-height: 50px;
	background-color: gainsboro;
	border:2px solid black;
	padding: 3px;
	padding-left: 5px;
}

/* panel extras */
.inner-border {
	display: flex;
	border-top: 2px solid #f0c94a;
	border-left: 2px solid #f0c94a;
	border-right: 2px solid #9f7412;
	border-bottom: 2px solid #9f7412;
}

.panel-window {
	padding: 0;
	overflow: hidden;
}

.panel-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 4px 8px;
	border-bottom: 2px solid grey;
	background-color: silver;
}

.panel-title {
	font-size: 0.9em;
	font-family: 'pixelTimes';
	font-weight: 800;
	line-height: 1;
}

.panel-buttons {
	display: flex;
	gap: 4px;
}

.panel-button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 16px;
	height: 16px;
	border: 2px inset grey;
	background-color: gainsboro;
	font-family: system-ui, sans-serif;
	font-size: 1em;
	font-weight: bold;
	line-height: 1;
}

.panel-content {
	padding: 10px;
}
/* Page_columns_____________ */
.sidebar-left, .sidebar-right, .main-column {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
	
.sidebar-left, .sidebar-right {
	flex: 1;
	font-size: 0.75em;
	text-align: left;
	min-width: 200px;
}

.main-column {
	flex: 3;
	font-size: 0.75em;
	text-align: left;
}

/* two panels side by side inside the middle column */
.main-row-two {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	width: 100%;
}

.main-row-two .panel {
	flex: 1 1 0;
	min-width: 250px;
}

/* FOOTER
   ------------------------- */
.footer {
	font-size: 0.65em;
	text-align: center;
	margin-top: 10px;
}





/* =========================
   Components & UI Elements 
   ========================= */

.panel-header {
	margin-bottom:3px; 
	padding-bottom: 2px;
	border-bottom: 2px solid #9b6b89;
	font-size:1.25em;
}

.box {
	display: inline-block;
	width: 97%;
	background-color:rgb(250, 180, 220, 0.2);
	border:2px solid HotPink;
	padding: 0px 10px 0px 10px;
	color:rgb(95, 55, 80);
	margin: 5px;
}

/* image alignment clases */
.img-left {
	float: left;
	max-width: 100%;
	height: auto;
	margin: 0 12px 8px 0;
}

.img-right {
	float: right;
	max-width: 100%;
	height: auto;
	margin: 0 0 8px 12px;
}

.img-center {
	text-align: center;
}

.img-center img {
	display: inline-block;
	max-width: 100%;
	height: auto;
}

.clearfix::after {
	content: "";
	display: block;
	clear: both;
}

/* Caption below image */
.img-caption {
	font-size: 0.7em;
	line-height: 0.7;
	margin-top: 0px;
	text-align: center;
}

/* Gallery */
.stretch-gallery {
	display: flex;
	gap: 6px;
	width: 100%;
	height: 160px;
	overflow: hidden;
}

.stretch-gallery img {
	flex: 1;
	min-width: 0;
	height: 100%;
	object-fit: cover;
	border: 2px solid #5f3750;
	transition: flex 0.25s ease;
}

.stretch-gallery img:hover {
	flex: 3;
}

/* indentation (not 1st para) */
.indent-paras p + p {
	text-indent: 2em;
}

.text-center {
	text-align: center;
}

/* custom bullets */
.panel .custom-bullets {
	margin-top: 4px;
}
.custom-bullets {
	list-style: none;
	margin: 0;
	padding: 4px 0 0 0;
}
.custom-bullets li {
	position: relative;
	margin: 4px 0;
	padding-left: 20px;
}
.custom-bullets li::before {
	content: "•";
	position: absolute;
	left: 0;
	top: 0;
}

/* Under_construction_______*/
.construction-box {
	background-color:seashell;
	border:2px solid black;
}
.under-construction {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	border:4px dashed black;
	background-color:rgba(230, 220, 90, 0.7);
	min-width: 30%;
	max-width: 500px;
	margin: auto;
	padding: 0px 15px 5px 15px;
	font-size: 1em;
	color: black;
	text-shadow: 0 0 1px #000000;
	text-align: center;
}
.under-construction img {
	height: auto;
	width: 95%;
	max-width: 500px;
	vertical-align:sub;
}

/* Spelling_mistake_________*/
.spellcheck {
	text-decoration-line: underline; 
	text-decoration-color: red; 
	text-decoration-style: wavy;
}

/* Animated rainbow text */
.animated-rainbow {
    background: linear-gradient(to left, #f00, #ff2b00, #f50, #ff8000, #fa0, #ffd500, #ff0, #d4ff00, #af0, #80ff00, #5f0, #2bff00, #0f0, #00ff2a, #0f5, #00ff80, #0fa, #00ffd5, #0ff, #00d5ff, #0af, #0080ff, #05f, #002aff, #00f, #2b00ff, #50f, #8000ff, #a0f, #d400ff, #f0f, #ff00d4, #f0a, #ff0080, #f05, #ff002b, #f00);
    animation: rainbow-move-left-right 5s linear infinite alternate;
    -webkit-background-clip: text;
    background-clip: text;
   -webkit-text-fill-color: transparent;
}
@keyframes rainbow-move-left-right {
    0% {background-position: 0 0    }
    100% {background-position: -500px 0}
}

/* loading elipses */
.loading-elipses::after {
	content: "";
	animation: dots 1.2s steps(4, end) infinite;
}

@keyframes dots {
	0%   { content: ""; }
	25%  { content: "."; }
	50%  { content: ".."; }
	75%  { content: "..."; }
	100% { content: ""; }
}


/* Blinkie_sizing___________*/
.blinkie {
width: 90%;
max-width: 200px;
height: auto;
}





/* UNUSED CODE
a:link {color: #645dea;}
a:visited {color: #8684ba;}
a:hover {color: #ea5dad;}
a:active {color: blue;} 

test:link, test:visited {
  background-color: white;
  color: black;
  border: 2px solid green;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

test:hover, test:active {
  background-color: green;
  color: white;
}
*/


