@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,400,400italic,600,600italic,700,700italic");

/* Reset */
html, body, div, span, h1, h2, p, pre, a, img, ol, ul, li, header, section {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

header, section {
	display: block;
}

body {
	line-height: 1;
	-webkit-text-size-adjust: none;
	background: #ffffff;
	color: #6e6e6e;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 16pt;
	font-weight: 400;
	line-height: 1.75em;
}

ol, ul {
	list-style: none;
}

input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input, textarea {
	appearance: none;
}

/* Basic */
html {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

*, *:before, *:after {
	box-sizing: inherit;
}

html, body {
	height: 100%;
}

body.is-preload *, body.is-preload *:before, body.is-preload *:after {
	animation: none !important;
	transition: none !important;
}

input, textarea {
	color: #6e6e6e;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 16pt;
	font-weight: 400;
	line-height: 1.75em;
}

a {
	transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
	border-bottom: dotted 1px;
	color: #4eb980;
	text-decoration: none;
}

a:hover {
	border-bottom-color: transparent;
}

i {
	font-style: italic;
}

p, ul {
	margin: 0 0 2em 0;
}

h1 {
	color: #5b5b5b;
	font-weight: 700;
	letter-spacing: 0.125em;
	line-height: 1.75em;
	margin-bottom: 1em;
	text-transform: uppercase;
	text-align: center;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: inherit;
	text-decoration: none;
}

/* Container */
.container {
	margin: 0 auto;
	max-width: 100%;
	width: 51em;
}

@media screen and (max-width: 1280px) {
	.container {
		width: 48em;
	}
}

@media screen and (max-width: 980px) {
	.container {
		width: 95%;
	}
}

@media screen and (max-width: 840px) {
	.container {
		width: 95%;
	}
}

@media screen and (max-width: 736px) {
	.container {
		width: 90%;
	}
}

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

/* Row - Simplified */
.row {
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	align-items: stretch;
}

.row > * {
	box-sizing: border-box;
}

.row > .col-12 {
	width: 100%;
}

/* Form Elements */
label {
	display: block;
	color: #5b5b5b;
	font-size: 0.8em;
	font-weight: 700;
	letter-spacing: 0.125em;
	line-height: 1.75em;
	text-transform: uppercase;
	margin: 0 0 0.5em 0;
}

textarea {
	appearance: none;
	transition: background-color 0.2s ease-in-out;
	background: #fafbfc;
	border-radius: 8px;
	border: 1.5px solid #aaa;
	color: #222;
	display: block;
	outline: 0;
	padding: 10px 12px;
	font-size: 1em;
	width: 100%;
	resize: vertical;
	box-sizing: border-box;
}

textarea:focus {
	border-color: #222;
	background: #fff;
}

::placeholder {
	color: inherit;
	opacity: 0.5;
}

::-webkit-input-placeholder {
	position: relative;
	top: 3px;
}

/* Actions */
ul.actions {
	display: flex;
	cursor: default;
	list-style: none;
	margin-left: -1em;
	padding-left: 0;
	margin-top: 2em;
}

ul.actions li {
	padding: 0 0 0 1em;
	vertical-align: middle;
}

ul.actions.special {
	justify-content: center;
	width: 100%;
	margin-left: 0;
}

ul.actions.special li:first-child {
	padding-left: 0;
}

ul.actions:last-child {
	margin-bottom: 0;
}

@media screen and (max-width: 736px) {
	ul.actions:not(.fixed) {
		flex-direction: column;
		margin-left: 0;
		width: 100%;
	}

	ul.actions:not(.fixed) li {
		flex-grow: 1;
		flex-shrink: 1;
		padding: 1em 0 0 0;
		text-align: center;
		width: 100%;
	}

	ul.actions:not(.fixed) li > * {
		width: 100%;
	}

	ul.actions:not(.fixed) li:first-child {
		padding-top: 0;
	}

	ul.actions:not(.fixed) li input[type="submit"],
	ul.actions:not(.fixed) li input[type="reset"],
	ul.actions:not(.fixed) li input[type="button"],
	ul.actions:not(.fixed) li button,
	ul.actions:not(.fixed) li .button {
		width: 100%;
	}
}

/* Button */
input[type="submit"],
input[type="reset"],
input[type="button"],
.button {
	appearance: none;
	transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
	background: #544d55;
	border-radius: 4px;
	border: 0;
	color: #ffffff;
	cursor: pointer;
	display: inline-block;
	font-size: 0.9em;
	font-weight: 700;
	letter-spacing: 0.125em;
	line-height: 3.25em;
	min-width: 15em;
	padding: 0 1.5em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:hover {
	background: #6e6570;
}

input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
.button:active {
	background: #474148;
}

/* Box */
.box {
	background: #ffffff;
	border: solid 1px rgba(224, 224, 224, 0.75);
	margin-bottom: 6em;
	padding: 3.5em;
}

/* Main container: very light gray */
.box.container {
	background: #f5f6fa;
	border-radius: 18px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.04);
	padding: 40px 24px;
	margin-bottom: 32px;
}

/* Form area: white with a soft shadow */
#form-area {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.10);
	padding: 32px 24px;
	margin-bottom: 24px;
}

#form-area textarea {
	width: 100%;
	color: #222; /* Black text */
	border: 1.5px solid #aaa; /* Lighter gray border */
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 1em;
	transition: border-color 0.2s;
	background: #fafbfc;
	resize: vertical;
	box-sizing: border-box;
}

#form-area textarea:focus {
	border-color: #222; /* Black border on focus */
	outline: none;
	background: #fff;
}

/* Result Container */
#result-container {
	background: #ffffff;
	border: solid 1px rgba(224, 224, 224, 0.75);
	border-radius: 4px;
	margin: 2em 0;
	padding: 2em;
	text-align: right;
	transition: all 0.3s ease;
	opacity: 0;
	transform: translateY(20px);
}

#result-container.show {
	opacity: 1;
	transform: translateY(0);
}

#result-container h3 {
	color: #5b5b5b;
	font-weight: 700;
	letter-spacing: 0.125em;
	line-height: 1.75em;
	margin-bottom: 1em;
	text-transform: uppercase;
}

#result-container p {
	color: #6e6e6e;
	font-size: 1.1em;
	line-height: 1.6em;
	margin-bottom: 1.5em;
}

/* Another Button */
#another-btn {
	appearance: none;
	transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, transform 0.2s;
	background: #4eb980;
	border-radius: 4px;
	border: 0;
	color: #ffffff;
	cursor: pointer;
	display: inline-block;
	font-size: 0.9em;
	font-weight: 700;
	letter-spacing: 0.125em;
	line-height: 3.25em;
	min-width: 15em;
	padding: 0 1.5em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	margin-top: 1em;
}

#another-btn:hover {
	background: #3da06b;
	transform: translateY(-2px);
}

#another-btn:active {
	background: #2d8a5a;
}

/* Loader */
.loader {
	display: none;
	margin: 40px auto;
	border: 8px solid rgba(255, 255, 255, 0.1);
	border-top: 8px solid #4eb980;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	animation: spin 1.2s linear infinite !important;
	z-index: 20;
	box-shadow: 0 0 15px #4eb980;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Add this after the .loader class definition */
body.is-preload .loader {
	animation: spin 1.2s linear infinite !important;
}

/* #loader p {
	color: #6e6e6e;
	font-size: 0.9em;
	letter-spacing: 0.125em;
	text-transform: uppercase;
	margin: 0;
} */

/* Header */
#header {
	background-attachment: scroll, scroll, fixed;
	background-image: url("images/top-3200.svg"), url("images/overlay.png"), url("../../images/header.jpg");
	background-position: bottom center, top left, center center;
	background-repeat: repeat-x, repeat, no-repeat;
	background-size: 3200px 460px, auto, cover;
	color: rgba(255, 255, 255, 0.8);
	padding: 10em 0 20em 0;
	position: relative;
	text-align: center;
}

#header:before, #header:after {
	background: rgba(224, 224, 224, 0.75);
	content: '';
	left: 50%;
	position: absolute;
	width: 1px;
	z-index: 0;
}

#header:before {
	height: calc(100% - 50px);
	opacity: 0.15;
	top: 0;
}

#header:after {
	bottom: 0;
	height: 50px;
}

#header a {
	border-bottom-color: rgba(255, 255, 255, 0.35);
	color: rgba(255, 255, 255, 0.8);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

#header a:hover {
	border-bottom-color: transparent;
	color: #4eb980;
	transform: translateY(-2px);
}

#header a::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: #4eb980;
	transition: width 0.3s ease;
}

#header a:hover::before {
	width: 100%;
}

#header strong, #header b {
	color: #ffffff;
}

#header h1, #header h2, #header h3, #header h4, #header h5, #header h6 {
	color: #ffffff;
}

#header input[type="submit"],
#header input[type="reset"],
#header input[type="button"],
#header .button {
	background: #ffffff;
	color: #544d55;
}

#header .logo {
	background: #ffffff;
	border-radius: 40%;
	color: #ffffff;
	cursor: default;
	display: inline-block;
	font-size: 2.25em;
	height: 2.35em;
	line-height: 2.75em;
	margin: 0 0 0.75em 0;
	text-align: center;
	width: 2.35em;
}

#header h1 {
	font-size: 2.5em;
	margin: 0;
	color: #fff;
}

#header p {
	font-size: 1.5em;
	line-height: 1.5em;
	margin: 0.25em 0 0 0;
}

/* Main */
#main {
	padding: 6em 0 5em 0;
	position: relative;
	z-index: 1;
}

#main:before {
	background: rgba(224, 224, 224, 0.75);
	content: '';
	height: 100%;
	left: 50%;
	position: absolute;
	top: 0;
	width: 1px;
	z-index: -1;
}

/* Responsive */
@media screen and (max-width: 1680px) {
	body, input, select, textarea {
		font-size: 14pt;
	}

	h2 {
		font-size: 1.5em;
	}

	h3 {
		font-size: 1.25em;
	}

	#header {
		padding: 8em 0 16em 0;
	}

	#header h1 {
		font-size: 2.25em;
	}

	#header p {
		font-size: 1.25em;
		line-height: 1.65em;
	}
}

@media screen and (max-width: 1280px) {
	body, input, select, textarea {
		font-size: 13pt;
	}

	h2 {
		font-size: 1.35em;
	}

	h3 {
		font-size: 1.15em;
	}

	.box {
		padding: 2.5em;
		margin-bottom: 4em;
	}

	#header {
		background-attachment: scroll, scroll, scroll;
		background-image: url("images/top-1600.svg"), url("images/overlay.png"), url("../../images/header.jpg");
		background-size: 1600px 230px, auto, cover;
		padding: 6em 0 12em 0;
	}

	#header:before {
		height: calc(100% - 25px);
	}

	#header:after {
		height: 25px;
	}

	#header h1 {
		font-size: 2em;
	}

	#header p {
		font-size: 1.15em;
	}

	#main {
		padding: 4em 0 3em 0;
	}
}

@media screen and (max-width: 980px) {
	body, input, select, textarea {
		font-size: 12pt;
	}
}

@media screen and (max-width: 736px) {
	h2 {
		font-size: 1em;
	}

	h3 {
		font-size: 1em;
	}

	.box {
		padding: 2em;
		margin-bottom: 2em;
	}

	#header {
		background-image: url("images/top-1280.svg"), url("images/overlay.png"), url("../../images/header.jpg");
		background-size: 1280px 184px, auto, cover;
		padding: 3em 0 7em 0;
	}

	#header:before {
		height: calc(100% - 20px);
	}

	#header:after {
		height: 20px;
	}

	#header .logo {
		font-size: 1.5em;
	}

	#header h1 {
		font-size: 1.25em;
	}

	#header p {
		font-size: 1em;
	}

	#main {
		padding: 2em 0 2em 0;
	}
}

@media screen and (max-width: 480px) {
	input[type="submit"],
	input[type="reset"],
	input[type="button"],
	.button {
		display: block;
		width: 100%;
	}

	.box {
		padding: 2em 1em;
	}

	#main {
		padding-left: 1em;
		padding-right: 1em;
	}

	#header {
		padding-left: 2em;
		padding-right: 2em;
	}

	#header br {
		display: none;
	}
}

#QuestionText {
    margin-bottom: 20px;
}

footer {
    background: #f5f6fa;
    border-top: 1px solid #e0e0e0;
    margin-top: 30px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-left: 20px;
    font-size: 1em;
    color: #555;
}

.github-link {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.github-link:hover {
    color: #acacac;
}

.footer-content i.fab.fa-github {
    font-size: 1.2em;
}