@import url('../fonts/GaramondPremrPro.css');

html {
	font-size: 1.25rem;
}

body {
	font-family: 'Garamond Premiere Pro', Georgia, serif;
	background-color: #f8f9fa;
	color: #5b6167;
}

h1,
h2 {
	font-family: 'Garamond Premiere Pro Display', Georgia, serif;
}

h3,
h4,
h5,
h6 {
	font-family: 'Garamond Premiere Pro Subhead', Georgia, serif;
}

.fst-italic {
	font-family: 'Garamond Premiere Pro Subhead', Georgia, serif;
	font-style: italic;
}

.navbar {
	background-color: #e8f4f8;
}

.jumbotron {
	background-color: #e9ecef;
	padding: 4rem 2rem;
}

.card {
	border: none;
	transition: transform 0.3s;
}

.card:hover {
	transform: translateY(-5px);
}

.btn-primary {
	background-color: #4da3ff;
	border-color: #4da3ff;
}

.btn-primary:hover {
	background-color: #007bff;
	border-color: #007bff;
}

.footer {
	background-color: #ffffff;
	padding: 1rem 0;
}

.gold {
	color: #f7e98e;
}

.nav-color {
	color: #1E88E5;
	text-decoration: none;
}

span.templai {
	color: #1E88E5;
	font-weight: 500;
}

div.chat-container {
	position: relative;
	min-height: 200px;
}

.dnone {
	display: none;
}

.dflex {
	display: flex;
}

.hero-section {
	background-image: url('../img/banner-wide.webp');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #ffffff;
	/* Change text color to ensure readability */
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	/* Optional: adds shadow to text for better contrast */
	position: relative;
}

.hero-section::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.30);
	/* Adds a dark overlay to improve text readability */
}

.hero-section .container {
	position: relative;
	/* Ensures content is above the overlay */
	z-index: 1;
}

.text-sc {
	font-variant: small-caps;
}

#chat-container {
	border: 1px solid #ccc;
	padding: 20px;
	height: 300px;
	overflow-y: auto;
	margin-bottom: 20px;
}

.loading-overlay {
	position: relative;
}

.loading-message {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 24px;
	font-weight: bold;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 10px;
	border-radius: 5px;
	display: none;
}

.loading-overlay.loading {
	opacity: 0.5;
}

.loading-overlay.loading .loading-message {
	display: block;
	animation: blink 1s infinite;
}

@keyframes blink {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0.5;
	}

	100% {
		opacity: 1;
	}
}

div.footnote {
	text-align: center;
	font-family: 'Courier New', Courier, monospace;
	font-size: 0.8rem;
	font-weight: lighter;
}

#user-input {
	min-height: 1em;
	max-height: 300px !important;
	width: 100%;
	resize: none;
	overflow-y: hidden;
	padding: 10px;
	font-family: 'Garamond Premiere Pro', Georgia, serif;
	line-height: 1.5;
	border: 1px solid #ccc;
	border-radius: 4px;
}