@import url('https://fonts.googleapis.com/css2?family=Hanalei+Fill&display=swap');

/* I got the body styles from old classwork */
body {
    background-image: url("background_water.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

h1 {
    font-family: "Hanalei Fill", system-ui;
    color: blue;
    border: rgba(8, 0, 255, 0.9) solid 8px;
    border-radius: 20px;
	text-align: center;
    background: rgba(98, 55, 252, 0.5);
}

p {
    font-family: "Hanalei Fill", system-ui;
    border: rgba(255, 255, 255, 0.9) solid 8px;
    border-radius: 30px;
    padding: 10px;
    margin: 10px;
    background: rgba(255, 255, 255, 0.5);
    color: blue;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

#output {
	width: 300px;
	border-radius: 30px;
}

.button_img {
	width: 175px;
}

#flex {
	display: flex;
	margin: auto;
}

#flex div {
	padding: 10px;
	margin: 10px;
}

#output_text {
	background: linear-gradient(to right, rgba(0, 123, 255, 1), rgba(0, 123, 255, 0));
	color: brown;
}

img {
 	pointer-events: none;
}

/* --- Concepts bar & instructions link (used on both pages) --- */

#concepts-bar {
	text-align: center;
	margin: 10px auto 20px;
}

.concept-tag {
	display: inline-block;
	background-color: rgba(8, 0, 255, 0.85);
	color: white;
	font-family: "Hanalei Fill", system-ui;
	font-size: 0.85em;
	padding: 6px 14px;
	border-radius: 20px;
	margin: 4px;
}

.instructions-link {
	text-align: center;
	animation: none;
	background: none;
	border: none;
}

.instructions-link a {
	display: inline-block;
	background-color: #333;
	color: white;
	text-decoration: none;
	padding: 8px 18px;
	border-radius: 20px;
	font-weight: bold;
	font-family: Arial, sans-serif;
}

.instructions-link a:hover {
	background-color: #555;
}

/* --- Instructions page layout --- */

.instructions-body {
	text-align: left;
	font-family: Arial, sans-serif;
	background-image: none;
	background-color: #eaf6ff;
}

.instr-header {
	max-width: 700px;
	margin: 0 auto;
	padding: 30px 25px 10px;
	text-align: center;
}

.instr-eyebrow {
	font-family: "Hanalei Fill", system-ui;
	font-size: 0.9em;
	color: rgba(8, 0, 255, 0.85);
	margin: 0 0 6px;
	background: none;
	border: none;
	animation: none;
	padding: 0;
}

.instr-header h1 {
	font-family: "Hanalei Fill", system-ui;
	font-size: 1.9em;
}

.back-to-game {
	display: inline-block;
	margin-top: 10px;
	color: rgba(8, 0, 255, 0.9);
	text-decoration: none;
	font-weight: bold;
	font-size: 0.9em;
	font-family: Arial, sans-serif;
}

.back-to-game:hover {
	text-decoration: underline;
}

.quick-nav {
	max-width: 700px;
	margin: 0 auto 10px;
	padding: 0 25px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.quick-nav a {
	font-family: Arial, sans-serif;
	font-size: 0.82em;
	font-weight: bold;
	color: #222;
	text-decoration: none;
	background-color: #fff;
	border: 1px solid rgba(8, 0, 255, 0.3);
	padding: 5px 14px;
	border-radius: 20px;
	transition: background-color 0.15s;
}

.quick-nav a:hover {
	background-color: #eef4ff;
	border-color: rgba(8, 0, 255, 0.9);
	color: rgba(8, 0, 255, 0.9);
}

.info-section {
	max-width: 650px;
	margin: 22px auto;
	background-color: rgba(255, 255, 255, 0.92);
	border: rgba(8, 0, 255, 0.9) solid 4px;
	border-radius: 20px;
	padding: 22px 26px;
	animation: none;
	font-family: Arial, sans-serif;
	color: #222;
	scroll-margin-top: 20px;
}

.info-section-head {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
	margin-bottom: 4px;
}

.info-icon {
	font-size: 1.3em;
	line-height: 1;
}

.info-section h2 {
	text-align: center;
	font-family: "Hanalei Fill", system-ui;
	color: blue;
	margin: 0;
}

.cooldown-note {
	font-size: 0.85em;
	background-color: #fff3cd;
	border: 1px solid #ffe08a;
	border-radius: 8px;
	padding: 8px 12px;
}

#certificate-section p {
	text-align: center;
}

/* --- Hint Helper --- */

.hint-card {
	border: 1px solid #ccc;
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 16px;
	background-color: #fafafa;
}

.hint-label {
	margin: 0 0 10px;
	font-size: 1em;
	color: #222;
	font-family: Arial, sans-serif;
}

.hint-text {
	background-color: #eef4ff;
	border-radius: 6px;
	padding: 8px 12px;
	margin: 8px 0;
	font-size: 0.92em;
	font-family: Arial, sans-serif;
}

.hint-answer {
	background-color: #fff3cd;
	border: 1px solid #ffc107;
}

.hint-answer code {
	display: inline-block;
	margin-top: 4px;
	font-family: "Courier New", monospace;
	white-space: pre-wrap;
}

.hint-btn {
	margin-top: 8px;
	background-color: #007bff;
	border: none;
	color: white;
	padding: 8px 16px;
	border-radius: 6px;
	cursor: pointer;
	font-family: Arial, sans-serif;
}

.hint-btn:disabled {
	background-color: #aaa;
	cursor: default;
}

/* --- Predict & Check --- */

.predict-question {
	margin-bottom: 22px;
	padding-bottom: 18px;
	border-bottom: 1px solid #ddd;
}

.predict-question:last-child {
	border-bottom: none;
}

.predict-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.predict-option-btn {
	text-align: left;
	background-color: #eef4ff;
	color: #222;
	font-family: Arial, sans-serif;
	font-size: 0.95em;
	padding: 8px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	cursor: pointer;
}

.predict-option-btn:hover:not(:disabled) {
	background-color: #d9e6ff;
}

.predict-option-btn:disabled {
	cursor: default;
	opacity: 0.75;
}

.predict-correct {
	background-color: #d4edda !important;
	border: 2px solid #28a745 !important;
	opacity: 1 !important;
}

.predict-wrong {
	background-color: #f8d7da !important;
	border: 2px solid #dc3545 !important;
	opacity: 1 !important;
}

.predict-feedback {
	margin-top: 10px;
	font-size: 0.9em;
	font-family: Arial, sans-serif;
}

.predict-feedback-correct {
	color: #1e7e34;
}

.predict-feedback-wrong {
	color: #a71d2a;
}

#creativity-section ul {
	padding-left: 20px;
	font-family: Arial, sans-serif;
}

#creativity-section li {
	margin-bottom: 10px;
}
